From: Le He on
Hi,

I am ssh connecting to a linux server and do some Matlab programming. I would like to save invisible plot by something like:

figH = figure('visible','off') ;
% Plot something
% save the plot as an image with same size as the plot
close(figH) ;

saveas() and print() will save image with size different than that of the plot. Also for print(), all three renderer modes (-opengl, -ZBuffer and -painters) can not be used in terminal emulation mode on the linux server. getframe() doesn't work in terminal either. I wonder how I can solve these problems?

Thanks and regards!