help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

saveas command requires pause


From: Fritz Sonnichsen
Subject: saveas command requires pause
Date: Fri, 15 Jun 2018 07:38:35 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

I am using the saveas(H,filename) command to save jpgs of plots. I note that if I run many consecutive plots, several are missing (e.g. do not get saved).  The workaround for me was to put a pause command between each plot/save sequence:

H3=plot(VC)
  title("Drift of Cell: Current","fontsize",14)
  pause(4)
  saveas (H3, "C:/Users/fs/Desktop/gus/plot3.jpg");

I am using the qt graphics package. Any comments here? Perhaps Octave is multhreading this and not waiting for the prior plot to finish.

thanks
fritz




reply via email to

[Prev in Thread] Current Thread [Next in Thread]