How to save file as pdf?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
imagesc(x,y,img), colorbar, %color plot
objectiveoutput = saveas(gcf,'objective.pdf'); %saving image as pdf
The above is a plot i wish to save however I am receiving the error that there is too many outputs.
Any help?
0 Commenti
Risposta accettata
madhan ravi
il 13 Dic 2018
Modificato: madhan ravi
il 13 Dic 2018
saveas(gcf,'objective.pdf') % without objectiveoutput =
0 Commenti
Più risposte (1)
YT
il 13 Dic 2018
Modificato: YT
il 13 Dic 2018
Well I don't think you can call saveas with an output argument which is why it gave you the error (see saveas documentation here). Just remove it and it will probably be fine
saveas(gcf,'objective.pdf');
0 Commenti
Vedere anche
Categorie
Scopri di più su Printing and Saving 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!