|
From: Fabi R. <fa...@ai...> - 2010-05-31 17:03:55
|
Hi,
You can use multiplot instead of replot...this allows you more freedom and
will skip you from the annoying limited number of threads. Example;
Graph=Gnuplot.Gnuplot(debug=1,persits=1)
Graph('set multiplot')
Graph.plot ( data 1, data2... (anything you want to plot))
If you plot several graphs at the same time, like using a loop,
for i in irange:
Graph.plot(data[i])
Graph('set nomultiplot')
These 'set multiplot' and 'set nomultiplot' are
really essential.
Cheers
--
Fabi Rabarison
Strathclyde University
>
>
>
>
> ok
> thanks
> by the way this program gives mistake
> at
>
> finally:
> os.unlink(filename1)
> os.unlink(filename2)
>
> WindowsError: [Error 32] The process cannot access the file because it is
> being used by another process:
> 'c:\\users\\sandy~1.ste\\appdata\\local\\temp\\tmpdkamdd'
> File "C:\start_Feb_8\my_PY_code\May_22_gnuplot_test.py", line 335, in
> <module>
> main()
> File "C:\start_Feb_8\my_PY_code\May_22_gnuplot_test.py", line 330, in main
> os.unlink(filename2)
> S
>
> Date: Thu, 20 May 2010 09:50:12 +0200
> From: ben...@gm...
> To: cd...@li...
> CC: gnu...@li...
> Subject: Re: [Gnuplot-py-users] is it possible to continue to Debug
> when figure is created??
>
>
>
> 2010/5/18 Sandy Ydnas <cd...@li...>
>
>
>
>
>
>
> ok
>
> now the Gnuplot istalled
>
> and I do not have errors for
>
>
>
> from numpy import *
>
> import Gnuplot
>
> Gnuplot.GnuplotOpts.prefer_inline_data = 1
>
>
>
> Gnuplot.GnuplotOpts.prefer_fifo_data = 0
>
>
>
> g = Gnuplot.Gnuplot(persist=0)
>
>
>
> what next any simple example file can be helpful
>
> The Gnuplot installation contains a test.py with examples and showing how
> to plot with gnuplot
>
>
> Benny
>
>
> _________________________________________________________________
> Hotmail: Trusted email with powerful SPAM protection.
> https://signup.live.com/signup.aspx?id=60969------------------------------------------------------------------------------
>
> _______________________________________________
> Gnuplot-py-users mailing list
> Gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-py-users
>
|