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: Stefan Neumann
Subject: Re: Showing plots in the middle of code
Date: Tue, 27 Apr 2010 00:25:23 +0200



2010/4/26 Stefan Neumann <address@hidden>


2010/4/26 Carnë Draug <carandraug.ml@gmail.com>

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


This works too (windows XP, not sure about Linux).  Both the graph and the file-selection appear after a few seconds. If you do not want to save then press ESC in zenity.

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



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]