help-octave
[Top][All Lists]
Advanced

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

Re: Showing plots in the middle of code


From: Sebastian
Subject: Re: Showing plots in the middle of code
Date: Mon, 26 Apr 2010 20:29:50 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4

Hi,

did you try to run "drawnow"?

http://www.gnu.org/software/octave/doc/interpreter/Two_002dDimensional-Plotting.html

Bye
Sebastian

Am 26.04.10 19:51, schrieb Carnë Draug:
Hi

I'm trying to write a script that will load some files, show me the
plot, and then ask if I want to save it. However, it doesn't show the
plot, only at the end of the code. Heres's some code example

a = 1:4; b = 1:4;
plot(a,b);              # Graph should appear here
zenity_file_selection   # Not after this

I tried to use figure(1) and figure(1, "visible", "on") after plotting
but still nothing.

Any help will be most appreciated.

Carnë Draug




_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave



reply via email to

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