help-octave
[Top][All Lists]
Advanced

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

Re: Saves incomplete, multi-plot figure to file.


From: Nicholas Jankowski
Subject: Re: Saves incomplete, multi-plot figure to file.
Date: Mon, 13 May 2013 11:32:01 -0400


On Mon, May 13, 2013 at 11:21 AM, Ben Abbott <address@hidden> wrote:
On May 13, 2013, at 11:13 PM, gholladay wrote:

> One additional piece of information that might be helpful is that, while the
> 'saveas' is in process, the interim window with the plot displayed against a
> black background remains open the entire time with the title "Figure 1 (Not
> Responding).  Is there a way to disable display of this window that might
> speed up the 'saveas' function?

The fltk toolkit requires the figure to be displayed in order to print() or saveas()

If part of the figure is off the screen it will not render correctly..

Ben


Here's an older thread describing the process of plotting without displaying the plots. As Ben said, however, you'll have to switch to gnuplot, as it doesn't' work with fltk, as i found out later. :)

generally, use something like the following:

octave:1> figure(1, "visible", "off");
octave:2> plot(sin(1:100));
octave:3> print -dpng "/tmp/sin.png"

http://octave.1599824.n4.nabble.com/Saving-pngs-without-plotting-to-screen-first-td1628966.html#a1628970

reply via email to

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