Save polar plot automatically

Hello
there are my command:
figure; polarview(THETA,RHO,MULT,PRN); xlabel([datestr(JD(T1)) ' -------- Unfiltered -------- ' datestr(JD(T2))]) T=title(['TEQC Report file: ' strrep(file,'_','-')]);set(T,'fontsize',8)
figure; polarview(THETA,RHO,HFMULT,PRN); xlabel([datestr(JD(T1)) ' -------- Filtered -------- ' datestr(JD(T2))]) T=title(['TEQC Report file: ' strrep(file,'_','-')]);set(T,'fontsize',8)
How to save this figure aotomatically....

답변 (1개)

the cyclist
the cyclist 2011년 12월 8일

0 개 추천

Use the print() command, which saves figures to disk in a variety of formats.

댓글 수: 5

Matmien
Matmien 2011년 12월 8일
h=figure;
polarview(THETA,RHO,HFMULT,PRN); xlabel([datestr(JD(T1)) ' -------- Filtered -------- ' datestr(JD(T2))]) T=title(['TEQC Report file: ' strrep(file,'_','-')]);set(T,'fontsize',8)
save='C:\Users\muhaimin\Desktop\Soft code\Cuba download banya';
print(h,'-djpg',save);
we have problem with this code. can u see
the cyclist
the cyclist 2011년 12월 8일
Can you be more specific about what the problem is? Are you getting an error message? If so, what's the message?
(Also, it is a bad idea to call a variable "save", which is a MATLAB keyword.)
Matmien
Matmien 2011년 12월 8일
save polar view in jpg with specific directory
the cyclist
the cyclist 2011년 12월 8일
What I mean is this:
When you run the code, does MATLAB report an error? What is the MATLAB error message?
the cyclist
the cyclist 2011년 12월 8일
Also, I just noticed, shouldn't that be '-djpeg' rather than '-djpg'?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Environment and Settings에 대해 자세히 알아보기

질문:

2011년 12월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by