is it possible to plot and save figure in console mode?
8 views (last 30 days)
Show older comments
using the plot function in -nodisplay mode is possible without error or warning? and the plot can be saved in .pgn format?
0 Comments
Answers (1)
Thorsten
on 28 Jun 2015
x = 1:10; y = x;
h = plot(x, y);
% Save plot in png format using hgsave
hgsave(h, 'sample.png');
2 Comments
See Also
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!