How can I save multiple figures with partly same variable name?
    5 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    Robert Berghaus
 il 5 Mar 2017
  
    
    
    
    
    Modificato: Stephen23
      
      
 il 5 Mar 2017
            I want to save many figures in one script with partly the same name. Therefore I want to define a variable in the beginning and then have this part in the saving name of all figures with slightly different ending. For example:
name=('picture')
figure %1
surf(peaks)
savefig('Peaks' name '.fig')  %Peakspicture.fig
figure %2
scatter(peaks)
savefig('scatterbla' picture '.fig')  %scatterblapicture.fig
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

