Note that we then simply create each plot in the usual way.
How to get mat lab to show multiple plots.
I want both to be displayed in separate window.
I use a matlab program for my project.
Then reset the hold state to off.
However you can use the hold on command to combine multiple plots in the same axes.
Next we create a figure window with figure function and immediately after we use the command hold on this tells matlab to put all of the plots from this point forward into the current figure window.
Then reset the hold state to off.
How would i put them all on one script and have all plots displayed as separate figures.
For example plot two lines and a scatter plot.
For example plot two lines and a scatter plot.
By default new plots clear existing plots and reset axes properties such as the title.
By default new plots clear existing plots and reset axes properties such as the title.
I want another graph of a on x axis and c on y axis likewise c on x axis and b on y axis.
I use multiple colors here to.
There i want to produce two graphs at different instances.
I cant figure out how to get multiple plots because it is generating plot of last command only.
However you can use the hold on command to combine multiple plots in the same axes.
In the code we first create a vector for x and evaluate the three functions we wish to plot.
They are all graphs.
Is it possible in matlab.
Hi i have 3 scripts which all produce a figure.
I believe you have to use the figure function.