|
From: Milind G. <mil...@gm...> - 2013-06-12 21:52:36
|
Thanks for the reply. I didn't know about the figure command. I have used that in MATLAB, didn't know it exists here too. I cannot find it in the documentation though and just typing figure on the command gives invalid command response from gnuplot. How do I use it? Also does a figure come in separate windows like MATLAB or is it more like a subplot in the same window? Thanks On Wed, Jun 12, 2013 at 12:29 PM, Jefferson Stafusa E. Portela < st...@gm...> wrote: > 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 >> > > |