Plotrand
Syntax is the same as linkaxes, except without passing in the handles to the axes to link. It replaces: figure; ax(1) = subplot(2,1,1); plot(rand(10,1)); ax(2) = subplot(2,1,2); plot(1:10); linkaxes(ax,'x') clear axwith: figure; subplot(2,1,1); plot(rand(10,1)); subplot(2,1,2); plot(1:10);...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): Link All Axes in Figure (Sripts) Download |
This is really a small hack that I wanted to share just to inspire more people to make interactive Matlab graphics. Use it as is or use the code as a template to do more advanced stuff.Here is how it works (for a 2-D patch):% First make the patch ... t = 0:2*pi/20:2*pi; X = 3 + sin(t); Y = 2 +...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Moveit2 - Move a graphical object with the mouse Download |
LEGENDTITLE adds a title inside the legend axes.LEGENDTITLE(LEGH,TITLESTR) adds the title TITLESTR to the legend LEGHLEGENDTITLE(TITLESTR) adds the title to the current legend in the current axes.LEGENDTITLE(...,Param,Val) sets the specified properties for the text object.H = LEGENDTITLE(...)...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): LEGENDTITLE Download |
This function adds a grid to 2D plots. The grid contains out of lines which can be modified by linestyles and color information. This function expands the functionality of the normal grid implemented in MATLAB plots.plot(rand(1,10));set(gcf,'color',[1 1 1]);grid2(gca,'color',[0.7 0.7...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): grid2 - add a grid to 2D plots Download |
Allows fully utilizing the figure surface by defining margins, by wrapping the existing subplot function. Unfortunately the original subplots function spends lavishly the figure area , without allowing the user to control it in a convenient manner. In addition to subplot functionality (fully...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 481.28 KB | Download (49): Controllable tight subplot Download |
Allows to control the distance between subplots, add labels on rows/columns only and more.% simple example:subplot1(2,3);subplot1(1); plot(rand(10,1));subplot1(2); plot(rand(10,1));
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): An improved subplot function Download |