The following code can be used to edit plots in old Simulink 2009.
Code used.
++++++++++++++++++++++++++++++
set(0,'ShowHiddenHandles','on')
set(gcf,'menubar','figure')
++++++++++++++++++++++++++++++
Code used.
++++++++++++++++++++++++++++++
set(0,'ShowHiddenHandles','on')
set(gcf,'menubar','figure')
++++++++++++++++++++++++++++++
The matlab code for plotting multiple figures in one main boxed frame is given below. Consider that we want to plot 9 graphs in one figure similar to figure 1 below. This blog post will be updated when required.
| Figure 1: M x N matrix |
figure ;
subplot(3,3,1) % makes a three into three metrix and place the graph in position 1
plot (xxx)
hold on
plot (uuuu,'red')
plot (yyyy)
subplot(3,3,2) % put the result in place 2
plot (XXXXX)
hold on
plot (XXXXa,'red')
plot (XXXXX,'green')
subplot(3,3,3)
subplot(3,3,4)
and so on
subplot (3,3,[8,9]) Plot the graph on two boxes i.e 8 and 9
For worldwide viewers
For viewers in Pakistan
The dSPACE is used widely now a days to validate the theoretical algorithms. The data file is usually in Microsoft access format that can be plotted using MATLAB. The data extraction is particularly helpful in genrating IV and PV curves based on the experimental data.
I was working on a figure and when i copied the figure from MATLAB and pasted in the visio by using CTRL C+ CTRL V the result was a faded figure. The solution is that save the figure as a jpg or png and then insert it into visio using INSERT > PICTURE> From file.