From: Ethan M. <merritt@u.washington.edu> - 2004-02-25 20:16:57
|
Your expectation is not correct. There is no such thing as "going back to" a previous plot and adding something to it. This has nothing to do with x11; it is just the way gnuplot works. You can choose a previous output device for a new plot, but the new plot simply replaces the old plot. It does not "add to" it. On Wednesday 25 February 2004 12:05 pm, Dmitri A. Sergatskov wrote: > I played with new this feature of X11 terminal and the behavior was not > what I expected. > Perhaps this is a "feature" rather than the bug, but I'd like to hear > confirmation one way or another. > > gnuplot> set term x11 0 > Terminal type set to 'x11' > Options are '0' > gnuplot> plot sin(x) > (Plot sin(x) in window "0") > gnuplot> set term x11 1 > Terminal type set to 'x11' > Options are '1' > gnuplot> plot sin(2*x) > (This opens the second window and plot sin(2*x), so far so good. > Now I want to go back to window 0 and _add_ cos(x) to the plot) > gnuplot> set term x11 0 > Terminal type set to 'x11' > Options are '0' > gnuplot> replot cos(x) > (sin(x) plot is gone and I have sin(2*x) and cos(x) in windows "0") > > Is it what suppose to happen? > > Sincerely, > > Dmitri. > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center (206)543-1421 Mailstop 357742 University of Washington, Seattle, WA 98195 |