Save polar plot automatically
Afficher commentaires plus anciens
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....
Réponses (1)
the cyclist
le 8 Déc 2011
0 votes
Use the print() command, which saves figures to disk in a variety of formats.
5 commentaires
Matmien
le 8 Déc 2011
the cyclist
le 8 Déc 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
le 8 Déc 2011
the cyclist
le 8 Déc 2011
What I mean is this:
When you run the code, does MATLAB report an error? What is the MATLAB error message?
the cyclist
le 8 Déc 2011
Also, I just noticed, shouldn't that be '-djpeg' rather than '-djpg'?
Catégories
En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!