You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(15) |
Sep
(21) |
Oct
(15) |
Nov
|
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(7) |
Feb
(6) |
Mar
(2) |
Apr
(5) |
May
(6) |
Jun
(3) |
Jul
(4) |
Aug
(4) |
Sep
(3) |
Oct
(14) |
Nov
(16) |
Dec
(10) |
2004 |
Jan
(5) |
Feb
(10) |
Mar
(4) |
Apr
(8) |
May
(1) |
Jun
(5) |
Jul
(5) |
Aug
(4) |
Sep
(10) |
Oct
(3) |
Nov
(4) |
Dec
|
2005 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(15) |
May
(12) |
Jun
(1) |
Jul
(4) |
Aug
(3) |
Sep
(6) |
Oct
(7) |
Nov
(21) |
Dec
(11) |
2006 |
Jan
(16) |
Feb
(12) |
Mar
(4) |
Apr
(6) |
May
(5) |
Jun
(9) |
Jul
|
Aug
(5) |
Sep
(1) |
Oct
(10) |
Nov
(4) |
Dec
(3) |
2007 |
Jan
(6) |
Feb
(4) |
Mar
(6) |
Apr
(11) |
May
(1) |
Jun
(21) |
Jul
|
Aug
(6) |
Sep
(2) |
Oct
(4) |
Nov
|
Dec
|
2008 |
Jan
(14) |
Feb
(1) |
Mar
(5) |
Apr
(22) |
May
(4) |
Jun
(1) |
Jul
(7) |
Aug
(5) |
Sep
(7) |
Oct
(3) |
Nov
|
Dec
(1) |
2009 |
Jan
(14) |
Feb
(1) |
Mar
(9) |
Apr
(5) |
May
(6) |
Jun
(7) |
Jul
(8) |
Aug
(3) |
Sep
|
Oct
|
Nov
(2) |
Dec
(4) |
2010 |
Jan
(2) |
Feb
|
Mar
(6) |
Apr
(6) |
May
(34) |
Jun
|
Jul
(8) |
Aug
(3) |
Sep
|
Oct
(5) |
Nov
(3) |
Dec
(1) |
2011 |
Jan
|
Feb
(4) |
Mar
(3) |
Apr
|
May
|
Jun
(5) |
Jul
(9) |
Aug
(5) |
Sep
(9) |
Oct
(3) |
Nov
(10) |
Dec
(1) |
2012 |
Jan
(1) |
Feb
(3) |
Mar
(2) |
Apr
|
May
(2) |
Jun
(1) |
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
(3) |
Nov
(2) |
Dec
(9) |
2014 |
Jan
(1) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
2016 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: BBands <bb...@ya...> - 2008-04-29 21:02:53
|
Well, it took a lot of digging to figure this one out. I won't bore you with the details; the bottom line is that the gnuplot.py directory was misnamed. On Windows 2000 it was C:\Python25\Lib\site-packages\gnuplot instead of C:\Python25\Lib\site-packages\Gnuplot jab--who has a MUCH cleaner workstation now John Bollinger, CFA, CMT www.BollingerBands.com If you advance far enough, you arrive at the beginning. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |
From: Michael H. <mh...@al...> - 2008-04-29 20:34:37
|
BBands wrote: > I am running the SVN version of Gnuplot.py, Python 2.5.2 and gnuplot 4.1. > > import Gnuplot fails > > import gnuplot succeeds > > Since test.py and demo.py emply the Gnuplot syntax this seems a bit odd. > > I must be missing something, but I am not sure what. Yes, the Python module is called "Gnuplot", not "gnuplot". My guess is that either you have some other unrelated gnuplot module installed, or you are on an OS with a case-insensitive filesystem and somehow the main directory got installed with a lowercase letter instead of uppercase. Michael |
From: BBands <bb...@ya...> - 2008-04-29 16:00:02
|
I am running the SVN version of Gnuplot.py, Python 2.5.2 and gnuplot 4.1. import Gnuplot fails import gnuplot succeeds Since test.py and demo.py emply the Gnuplot syntax this seems a bit odd. I must be missing something, but I am not sure what. jab John Bollinger, CFA, CMT www.BollingerBands.com If you advance far enough, you arrive at the beginning. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |
From: Michael H. <mh...@al...> - 2008-04-29 15:48:14
|
Mark Alford wrote: > On Mon, 28 Apr 2008, John K. Parejko wrote: >> The version of Gnuplot.py in SVN replaces Numeric with numpy. It hasn't been >> turned into a release yet, but if you can download the latest subversion >> trunk (there should be information on how to do this from the sourceforge >> page), it should work just fine with numpy. > > What is stopping us from turning the SVN version in to a release? > I tested it on Fedora and it works fine. > Is there anything else that I and others can do to expedite the process? All that is missing is a volunteer who will follow through. If you want to be that person, let me know what your sourceforge username is and I'll give you the necessary permissions. There's even a document RELEASES.txt telling roughly what I had to do to make the last release. Michael |
From: Mark A. <al...@wu...> - 2008-04-29 15:01:58
|
On Mon, 28 Apr 2008, John K. Parejko wrote: > The version of Gnuplot.py in SVN replaces Numeric with numpy. It hasn't been > turned into a release yet, but if you can download the latest subversion > trunk (there should be information on how to do this from the sourceforge > page), it should work just fine with numpy. What is stopping us from turning the SVN version in to a release? I tested it on Fedora and it works fine. Is there anything else that I and others can do to expedite the process? |
From: Benny M. <ben...@gm...> - 2008-04-29 10:03:31
|
2008/4/29 Johan Ekh <ekh...@gm...>: > Thanks Benny, > I think I may have an old version of Gnuplot.py. When I use "with_" I get > an error and when I use "with" > I still get the same behavior as before. > > How do I download and install the most recent version? obtain the version in svn, then run : python setup.py install > > > /Johan > > 2008/4/29 Benny Malengier <ben...@gm...>: > > Please, have a look in test.py file in subversion. > > > > To plot this do: > > > > import Gnuplot > > > > > > x = linspace(0.0, 1.8, 18) > > > y = 3 - 2*x + 2*sin(4*x) > > > points2 = transpose(array([x,y])) > > > > --> no, not needed ! > > > > > > > > > > > g = Gnuplot.Gnuplot(persist=1) > > > d = Gnuplot.Data(points2, with='linespoints', title='points2') > > > > --> no, do: > > d = Gnuplot.Data(x, y, with_='linespoints', title='points2') > > > > Benny > > > > > |
From: Johan E. <ekh...@gm...> - 2008-04-29 09:49:30
|
Thanks Benny, I think I may have an old version of Gnuplot.py. When I use "with_" I get an error and when I use "with" I still get the same behavior as before. How do I download and install the most recent version? /Johan 2008/4/29 Benny Malengier <ben...@gm...>: > Please, have a look in test.py file in subversion. > > To plot this do: > > import Gnuplot > > > > x = linspace(0.0, 1.8, 18) > > y = 3 - 2*x + 2*sin(4*x) > > points2 = transpose(array([x,y])) > > --> no, not needed ! > > > > > > > g = Gnuplot.Gnuplot(persist=1) > > d = Gnuplot.Data(points2, with='linespoints', title='points2') > > --> no, do: > d = Gnuplot.Data(x, y, with_='linespoints', title='points2') > > Benny > > |
From: Benny M. <ben...@gm...> - 2008-04-29 09:23:34
|
Please, have a look in test.py file in subversion. To plot this do: import Gnuplot > > x = linspace(0.0, 1.8, 18) > y = 3 - 2*x + 2*sin(4*x) > points2 = transpose(array([x,y])) --> no, not needed ! > > > g = Gnuplot.Gnuplot(persist=1) > d = Gnuplot.Data(points2, with='linespoints', title='points2') --> no, do: d = Gnuplot.Data(x, y, with_='linespoints', title='points2') Benny |
From: Johan E. <ekh...@gm...> - 2008-04-29 08:50:09
|
Hi all, I'm trying to make my first plot using Gnuplot.py. I'm using scipy and numpy and I have issued the following commands in my script: import Gnuplot x = linspace(0.0, 1.8, 18) y = 3 - 2*x + 2*sin(4*x) points2 = transpose(array([x,y])) g = Gnuplot.Gnuplot(persist=1) d = Gnuplot.Data(points2, with='linespoints', title='points2') g.plot(d) However, the plot consists of only one point, even though the vectors x and y look as I expect. I also get the following message: In [3]: Warning: empty x range [0:0], adjusting to [-1:1] Warning: empty y range [3:3], adjusting to [2.97:3.03] gnuplot_x11: Some character sets not available Does anyone know what I'm doing wrong? Best regards, Johan |
From: John K. P. <par...@sp...> - 2008-04-29 02:34:52
|
> So the question is: what should I do? > gnuplot-py requires Numeric which requires python 2.4 > > Isn't there a way to make gnuplot-py working with the new "num-py" > module and so with python 2.5? The version of Gnuplot.py in SVN replaces Numeric with numpy. It hasn't been turned into a release yet, but if you can download the latest subversion trunk (there should be information on how to do this from the sourceforge page), it should work just fine with numpy. John |
From: mattia p. <ma...@cs...> - 2008-04-28 22:44:31
|
Hello, I am a windows user and I need to make 2D-3D graphs. I used python to manage the data so I thought to integrate python with gnuplot. Surfing on the internet, I found the popular module gnuplot-py. To install gnuplot-py, "Numeric" module is required. But the site I found was about "num-py" an upgrade of Numeric and I installed it. But gnuplot-py does require "Numeric". So I tried to download Numeric and install it, but Numeric does not install on Python 2.5 So the question is: what should I do? gnuplot-py requires Numeric which requires python 2.4 Isn't there a way to make gnuplot-py working with the new "num-py" module and so with python 2.5? Thank you. /MP |
From: Benny M. <ben...@gm...> - 2008-04-25 07:32:41
|
The plot is a built in function working on the Gnuplot.Data, eg: data[i] = Gnuplot.Data(self.grid_x, self.sol[i],with_='lines', title='Solution at t=%g' %(time)) where sol is a solution over a grid, then eg to plot a number of profiles: g.title('Concentration profiles') g.xlabel('x [1e-6 m]') g.ylabel('Conc [mol/mm^3]') g.plot(data[0]) for val in data[1:]: g.replot(val) So it does not work on polar, to do what you want, keep interacting with gnuplot commands, so: g('set terminal x11') > g('set output') > g('set polar') > g('unset border') > g('unset xtics') > g('unset ytics') > g('set size square') > g('set xrange[-2:2]') > g('set yrange[-2:2]') and not: g.plot(1.7) instead: g.('plot(1.7)') Benny > > |
From: Baphijmm <bap...@gm...> - 2008-04-24 22:10:18
|
Hello, I have just begun to use python at all, much less gnuplot.py; I have to say first that so far, this is a great tool and I'm very glad it's out there and available. Now, at the moment I'm having a problem getting the utility to plot a polar circle. Below is the code being used: g('set terminal x11') g('set output') g('set polar') g('unset border') g('unset xtics') g('unset ytics') g('set size square') g('set xrange[-2:2]') g('set yrange[-2:2]') g.plot(1.7) It seems perfectly fine until it gets to the actual g.plot() part, where it gives me this error: Traceback (most recent call last): File "./pytest", line 83, in <module> g.plot(1.7) File "/opt/csw/lib/python/site-packages/Gnuplot/_Gnuplot.py", line 273, in plot self._add_to_queue(items) File "/opt/csw/lib/python/site-packages/Gnuplot/_Gnuplot.py", line 243, in _add_to_queue self.itemlist.append(PlotItems.Data(item)) File "/opt/csw/lib/python/site-packages/Gnuplot/PlotItems.py", line 543, in Data utils.write_array(f, set) File "/opt/csw/lib/python/site-packages/Gnuplot/utils.py", line 95, in write_array assert set.shape[0] > 0 IndexError: tuple index out of range This exact same set of equivalent commands produces a circle of radius 1.7 in gnuplot. Am I doing something wrong with the python itself? The documentation is highly sparse, and doesn't mention polar coordinate systems at all; as such, I couldn't find the answer there. |
From: <bm...@ca...> - 2008-04-16 08:35:22
|
Quoting diljeet kaur <dil...@ya...>: > > > hi > im new to gnuplot...so new,that after indeterminant number of > attempts to install gnuplot.py., im still trying to do same > > i have downloaded gnuplot-py-1.7.tar & untarred it no, you should check out the svn version with the svn command, then install from the dir you checked the repository out. 1.7 is too old. > even gave python setup.py install in directory created by untarring ok > It seemingly installs gnuplot correctly it seems so > but i cannot use it from a python ide > it gives following traceback in the dir you have a test.py program, try that by runniing: python test.py also errors? > > import Gnuplot,Gnuplot.funcutils > File "/usr/local/lib/python2.5/site-packages/Gnuplot/--init--.py" , > line 165 , in <module> > from gp import Gnuplot0pts , GnuplotProcess, test_persist > File "/usr/local/lib/python2.5/site-packages/Gnuplot/gp.py", line 41, > in <module> > from gp_unix import Gnuplot0pts , GnuplotProcess, test_persist > File "/usr/local/lib/python2.5/site-packages/Gnuplot/gp_unix.py", > line 116, in <module> > from os import popen > File "/usr/local/lib/python2.5/site-packages/Gnuplot/os..py", line > 134, in <module> > from os.path import > (curdir,pardir,sep,pathsep,defpath,extsep,altsep.devnull) > ImportError:No module named path ?? I would supposse the os.path module can be imported on your setup. Trhy it. On my box: python Python 2.5.1 (r251:54863, Mar 7 2008, 03:19:34) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from os.path import >>> (curdir,pardir,sep,pathsep,defpath,extsep,altsep,devnull) >>> so that statement works just fine here. > > Note:(I have manually copied this traceback ,so,pls ignore trivial errors) > > Also i don't get wgnuplot.exe in tar you wouldn't in linux no, that is a windows executable. > Also,where should Numeric be installed.,,in directory of gnuplot or > in of python I have it in python as a package. Also scipy. Benny > Kindly help > > > Unlimited freedom, unlimited storage. Get it now, on > http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |
From: diljeet k. <dil...@ya...> - 2008-04-16 03:05:27
|
hi im new to gnuplot...so new,that after indeterminant number of attempts to install gnuplot.py., im still trying to do same i have downloaded gnuplot-py-1.7.tar & untarred it even gave python setup.py install in directory created by untarring It seemingly installs gnuplot correctly but i cannot use it from a python ide it gives following traceback import Gnuplot,Gnuplot.funcutils File "/usr/local/lib/python2.5/site-packages/Gnuplot/--init--.py" , line 165 , in <module> from gp import Gnuplot0pts , GnuplotProcess, test_persist File "/usr/local/lib/python2.5/site-packages/Gnuplot/gp.py", line 41, in <module> from gp_unix import Gnuplot0pts , GnuplotProcess, test_persist File "/usr/local/lib/python2.5/site-packages/Gnuplot/gp_unix.py", line 116, in <module> from os import popen File "/usr/local/lib/python2.5/site-packages/Gnuplot/os..py", line 134, in <module> from os.path import (curdir,pardir,sep,pathsep,defpath,extsep,altsep.devnull) ImportError:No module named path Note:(I have manually copied this traceback ,so,pls ignore trivial errors) Also i don't get wgnuplot.exe in tar Also,where should Numeric be installed.,,in directory of gnuplot or in of python Kindly help Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ |
From: Benny M. <ben...@gm...> - 2008-04-15 06:57:16
|
2008/4/13, zhang chi <zha...@gm...>: > > hi > I have a 10X10 matrix in python, I want to draw a 3d graphic for this > matrix by using gnuplot.py. Zhang, gnuplot contains a test program with examples. Locate the gnuplot data, and open the test.py file. There you will find code to test the GridData way of using gnuplot. You find examples of what you want to do. For your reference, a copy here of that test: # set up x and y values at which the function will be tabulated: x = numpy.arange(35)/2.0 y = numpy.arange(30)/10.0 - 1.5 # Make a 2-d array containing a function of x and y. First create # xm and ym which contain the x and y values in a matrix form that # can be `broadcast' into a matrix of the appropriate shape: xm = x[:,numpy.newaxis] ym = y[numpy.newaxis,:] m = (numpy.sin(xm) + 0.1*xm) - ym**2 wait('a function of two variables from a GridData file') g('set parametric') g('set data style lines') g('set hidden') g('set contour base') g.xlabel('x') g.ylabel('y') g.splot(Gnuplot.GridData(m,x,y, binary=0, inline=0)) How to do this work? I try the following code ,but it did not work. > > #!/usr/bin/env python > > import Gnuplot, Gnuplot.funcutils > from numpy import * > import time > > g = Gnuplot.Gnuplot(debug=1) > > g.set(xrange=(0,10)) > g.set(xrange=(0,10)) > g.set(zrange=(0,10)) > z = ones((10,10)) > g.splot('z') > time.sleep(5) > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Gnuplot-py-users mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-py-users > > |
From: zhang c. <zha...@gm...> - 2008-04-13 02:03:27
|
hi I have a 10X10 matrix in python, I want to draw a 3d graphic for this matrix by using gnuplot.py. How to do this work? I try the following code ,but it did not work. #!/usr/bin/env python import Gnuplot, Gnuplot.funcutils from numpy import * import time g = Gnuplot.Gnuplot(debug=1) g.set(xrange=(0,10)) g.set(xrange=(0,10)) g.set(zrange=(0,10)) z = ones((10,10)) g.splot('z') time.sleep(5) |
From: novakyu <no...@gm...> - 2008-04-12 01:47:14
|
On Fri, Apr 11, 2008 at 6:21 PM, zhang chi <zha...@gm...> wrote: > g = Gnuplot.Gnuplot(debug=1) > g('set key left box') > g('set samples 50') > g.plot([[-10:10]],sin(x),atan(x),cos(atan(x))) > time.sleep(5) According to Gnuplot documentation (try "help(Gnuplot.Gnuplot.plot)"), the arguments to the plot() has to be either a PlotItem object or a string (or something that can be convertible to those). Changing the g.plot command to g.plot('sin(x)', 'atan(x)', 'cos(atan(x))') seems to work, and it seems rather silly to specify [-10:10], given that that's the default range, but if you need to, you can probably do it by issuing a command to set xrange to what you want. Regards, Andrzej P.S. I think py-gnuplot has many of the common functions and methods built-in---what you have here as raw gnuplot command probably can be written in terms of methods provided by py-gnuplot, although the end result is more or less the same. |
From: zhang c. <zha...@gm...> - 2008-04-12 01:21:23
|
hi I am a beginner to use py-gnuplot, here are gnupot commands, and I want to realize them in py-gnuplot, but my program can't run. gnuplot: set key left box set samples 50 plot [-10:10] sin(x),atan(x),cos(atan(x)) my program: #!/usr/bin/env python import Gnuplot, Gnuplot.funcutils from numpy import * import time g = Gnuplot.Gnuplot(debug=1) g('set key left box') g('set samples 50') g.plot([[-10:10]],sin(x),atan(x),cos(atan(x))) time.sleep(5) |
From: Michael H. <mh...@al...> - 2008-03-14 18:08:42
|
Mark Alford wrote: > I have been using gnuplot-py-1.7 for many years. > I would like to help testing/development of gnuplot-py-1.8 under Fedora > Core Linux. But I don't know how to get the latest version. I have never > used subversion. > > Could someone tell me a simple series of steps for downloading > the latest version of the code? Your help is much appreciated. It's been a long time since Gnuplot.py has had any serious maintenance. To check out the current trunk version, type: svn co https://gnuplot-py.svn.sourceforge.net/svnroot/gnuplot-py/trunk gnuplot-py This will create a subdirectory called "gnuplot-py" under your current directory containing the current cvs2svn source code. Once you have made some changes, you can create a patch by typing "svn diff" in the gnuplot-py directory. Please test any changes against the test suite to make sure you haven't broken anything. Michael |
From: Mark A. <al...@wu...> - 2008-03-14 16:30:43
|
I have been using gnuplot-py-1.7 for many years. I would like to help testing/development of gnuplot-py-1.8 under Fedora Core Linux. But I don't know how to get the latest version. I have never used subversion. Could someone tell me a simple series of steps for downloading the latest version of the code? Thank you Mark |
From: Andriy G. <av...@ic...> - 2008-03-13 18:19:48
|
It seems that there is a bug in Gnuplot/utils.py write_array for the case of 2 dimensional array. I use gnuplot.py 1.7 with python 2.5 on FreeBSD. for point in set[1:]: f.write(nest_sep + nest_prefix) f.write(fmt % tuple(point.tolist())) I think that write_array is called with array as a parameter, not a regular list and it seems that slice syntax is not exactly applicable to arrays in the same way as it is for lists. It seems that no iterations actually happened and only data for set[0] was written to a file. I had to change the quoted code to the following: for point in set.tolist()[1:]: f.write(nest_sep + nest_prefix) f.write(fmt % tuple(point)) The problem was doing stuff like the following: x = Numeric.arange(10) / 10. y = Numeric.sin(x) g = Gnuplot.Gnuplot() g.plot(Gnuplot.Data(x,y)) Only one point was plotted. P.S. I think that this link pretty well describes things for python 2.5 and Numeric (array): http://projects.scipy.org/pipermail/numpy-discussion/2006-November/024428.html -- Andriy Gapon |
From: Michael H. <mh...@al...> - 2008-03-05 20:57:39
|
Mustafa Burak Boz wrote: > I want to plot a second histogram on the top the first one. Is there a > way to do that with gnuplot.py ? Sorry, I don't think gnuplot even supported histograms when Gnuplot.py was written, and right now nobody is actively maintaining Gnuplot.py. (Volunteers always welcome!) Michael |
From: Mustafa B. B. <mbu...@gm...> - 2008-03-05 20:22:58
|
Hi there, I want to plot a second histogram on the top the first one. Is there a way to do that with gnuplot.py ? here is the script that I use to generate the first histogram: g=Gnuplot.Gnuplot(persist=1) max_x=find_max_x(x_y) max_y=find_max_y(x_y) g("set style data histograms ") g("set style fill solid 1.0 border -1") g("set xrange [0:"+str(max_x)+"]") g("set yrange [0:"+str(max_y+10)+"]") graph=Gnuplot.Data(x_y,with="boxes 3") g.plot(graph) g.hardcopy(of1+".ps",enhanced=1,color=1) In the Gnuplot manual, it is described like this: newhistogram { "title" } { <linestyle> }. For example set style histogram cluster plot newhistogram "Set A", ’a’ using 1, ’’ using 2, ’’ using 3, \ newhistogram "Set B", ’b’ using 1, ’’ using 2, ’’ using 3 How can I do this in gnuplot.py and does g.hardcopy method give me the graph of 2 hostograms ? Thank in advance... mbb |
From: Chip W. <cw...@ly...> - 2008-02-01 03:24:08
|
I ran into a similar issue about a year ago using gnuplot.py on cygwin/windows (with a Intel Core Duo). I remember solving it in a similar manner with the delay and then using something slightly different like waiting for the call to return before moving on. -chip -- On Thursday, January 31, 2008 3:43 PM -- kk...@ma... wrote: > When I try to open more than 6 gnuplot windows at the same time I get > following issues: > - new windows aren't opened > - gnuplot 'save' doesn't work > > I suppose that problem is in gnuplot perfomance. I mean that gnuplot > get new request before old request is not yet proccessed. Or maybe it > is SMP issue cause I have Intel Core Duo. Anyway, I've found some > workaround: I've modified __call__ method with short delay. I know > it's ugly but it works > > def __call__(self, s): > """Send a command string to gnuplot. > > Send the string s as a command to gnuplot, followed by a > newline. All communication with the gnuplot process (except > for inline data) is through this method. > > """ > > self.gnuplot(s) > if self.debug: > # also echo to stderr for user to see: > sys.stderr.write('gnuplot> %s\n' % (s,)) > time.sleep(0.1); > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft Defy all challenges. > Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gnuplot-py-users mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-py-users |