
#1
Mar409, 09:16 AM

P: 297

Hey, I am making some plots in a loop and I want to save the different plots in different files.
I am new to Matlab so I don't know what to do, I tried the command print('dpdf','plot n = %s'n) ,but that was an 'Unexpected MATLAB expression.' 



#2
Mar509, 02:52 AM

Sci Advisor
P: 1,724

Take a look through the pertinent MATLAB documentation page:
http://www.mathworks.com/access/help...ref/print.html (Exporting to various formats is about halfway through). Note that you should probably resize the plot (to, say, Letter or A4 size) prior to exporting, otherwise things may look rather pixellated (though there is an option for vector output). 



#3
Mar509, 04:11 AM

P: 297

Thanks.



Register to reply 
Related Discussions  
MATLAB for loop saving results of 3 variables  Math & Science Software  3  
3d plot in matlab  General Engineering  6  
Matlab: How to plot 'text'  Math & Science Software  1  
Matlab file saving.  Math & Science Software  3  
Matlab: Saving and Running Mfiles  Math & Science Software  3 