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
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 Center 및 File Exchange에서 Axis Labels에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!