필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
nancy
nancy 2018년 4월 18일
댓글: dpb 2018년 4월 21일
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