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

Antworten (1)

the cyclist
the cyclist am 8 Dez. 2011

0 Stimmen

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

5 Kommentare

Matmien
Matmien am 8 Dez. 2011
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 am 8 Dez. 2011
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 am 8 Dez. 2011
save polar view in jpg with specific directory
the cyclist
the cyclist am 8 Dez. 2011
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 am 8 Dez. 2011
Also, I just noticed, shouldn't that be '-djpeg' rather than '-djpg'?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Environment and Settings finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 8 Dez. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by