|
From: Jefferson S. E. P. <st...@gm...> - 2013-06-12 19:29:50
|
A quick reaction: instead of resetting the 'term' you could try creating new figures, with, say, 'figure(2)'. Then to go back to a n-th figure, just type 'figure(n)'. Hope that helps. []s Stafusa On Wed, Jun 12, 2013 at 7:45 PM, Milind Gupta <mil...@gm...>wrote: > Hi, > I just started using gnuplot. What I am trying to do is have 2 plots > and change settings in both of them but not necessarily in 1 sequential > order. For example I do this: > > > gnuplot> set term wxt 0 > gnuplot> set title "My 1st plot" > gnuplot> plot sin(x)/x > gnuplot> set term wxt 1 > gnuplot> plot sin(x) > gnuplot> set term wxt 0 > gnuplot> set title "My 1st plot revisit" > gnuplot> replot > > 1st Problem: > After the 1st plot statement I have a sin(x)/x plot with the title My 1st > plot - so far so good > Then I have a second plot window but the title carries over! This is my 1st > problem. > > Does the settings that have been done for 1 plot always carry over? Is > there any way to start fresh for the new plot with the default settings? > > 2nd problem: > After the second plot I go back to the 1st window and change my title and > do a replot. It changes the plot to a sin(x) plot. So it has no tracking of > what plot each window has. > > I would really like to have each plot as a separate object in which I can > manipulate and change its parameters and changing one should not affect the > settings of the other if I redraw it. > > Is it possible to do that? > > Thanks, > Milind > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |