|
From: Milind G. <mil...@gm...> - 2013-06-12 17:45:28
|
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
|