How to save multiple figures in seperate folders for plot yy axis?

1 次查看(过去 30 天)
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 个评论
nancy
nancy 2018-4-21
Ok, I will try your suggestion then, ıf I come across any problems, I will ask again.. Thanks a lot for your help..
dpb
dpb 2018-4-21

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).

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Axis Labels 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by