How to save multiple figures in seperate folders for plot yy axis?
1 view (last 30 days)
Show older comments
Hi
How can I save multiple figures plotted in double y-axis graphics in seperate folders?
My matlab code for plotyy axis starts as below:
figure;[haxes,hline1,hline2] = plotyy(dat_s,M1_T,dat_s,T);
For one y-axis we use fullfile command, I have asked in my previous question and I have got this answer. But for double yy axis how can I save figures as fig. file and jpg. file in separate folders?
For example;
X.fig and X.jpg in A folder.
and
Y.fig and Y.jpg in B folder.
Thanks a lot..
7 Comments
dpb
on 21 Apr 2018
Sounds like a plan.. :)
The point is, don't mix up what are really independent parts of the problem; naming the file and where you store it are one issue, how you store the data inside it is another.
Granted, one wants an extension to match the content, but ML will take care of that for you automatically unless you want something other than a default value (which is not, generally, a wise thing).
Answers (0)
See Also
Categories
Find more on Axis Labels in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!