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
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
1
(2) |
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
(2) |
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
|
|
|
|
|
From: BBands <bb...@ya...> - 2005-07-12 19:32:59
|
--- BBands <bb...@ya...> wrote: > Here is an unexpected result: > > >>> import Gnuplot > >>> gp = Gnuplot.Gnuplot() > >>> a = range(10) > >>> gp.plot(a, with='lines') > > Traceback (most recent call last): > File "<pyshell#3>", line 1, in -toplevel- > gp.plot(a, with='lines') > File > "d:\python24\Lib\site-packages\Gnuplot\_Gnuplot.py", > line 269, in plot > apply(self.set, (), keyw) > File > "d:\python24\Lib\site-packages\Gnuplot\_Gnuplot.py", > line 441, in set > raise 'option %s is not supported' % (k,) > option with is not supported > >>> > > What am I missing? Solved. Here is how in case anyone else stumbles. >>> import Gnuplot >>> gp = Gnuplot.Gnuplot() >>> a = range(10) >>> gp.plot(Gnuplot.Data(a, with='lines')) jab John Bollinger, CFA, CMT www.BollingerBands.com If you advance far enough, you arrive at the beginning. ____________________________________________________ Sell on Yahoo! Auctions no fees. Bid on great items. http://auctions.yahoo.com/ |
From: BBands <bb...@ya...> - 2005-07-12 18:52:27
|
Here is an unexpected result: >>> import Gnuplot >>> gp = Gnuplot.Gnuplot() >>> a = range(10) >>> gp.plot(a, with='lines') Traceback (most recent call last): File "<pyshell#3>", line 1, in -toplevel- gp.plot(a, with='lines') File "d:\python24\Lib\site-packages\Gnuplot\_Gnuplot.py", line 269, in plot apply(self.set, (), keyw) File "d:\python24\Lib\site-packages\Gnuplot\_Gnuplot.py", line 441, in set raise 'option %s is not supported' % (k,) option with is not supported >>> What am I missing? TIA, jab John Bollinger, CFA, CMT www.BollingerBands.com If you advance far enough, you arrive at the beginning. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Michael H. <mh...@al...> - 2005-07-01 19:30:26
|
Steven Waldauer wrote: > a_mag = Gnuplot.Data(w, cols=(1,6), inline=1) > mags.append(a_mag) > > s_mag = Gnuplot.Data(w, cols=(1,10), inline=1) > mags.append(s_mag) > > when I use the command: > g.plot(a_mag, s_mag) > > everything works fine. I would like however to add or remove certain > plots from within the script, but alas the command: > > g.plot(mags) > > or > g.plot(tuple(mags)) > > does not work. I get the following error messages: What you want is g.plot(*mags) or, if you are using an older version of Python, apply(g.plot, tuple(mags)) Michael |
From: Juho S. <juh...@as...> - 2005-07-01 07:55:55
|
Hi, I think g.plot() eats Gnuplot.Data objects, not lists. So you can have g.plot(data1, data2, ... dataN) but not g.plot([data1, data2, ... dataN]) Copies of all input to g.plot is added to g.itemlist... after the command above you have g.itemlist as [data1, data2, ..., dataN]. To add a line to the plot after g.plot(data) you could use newdata = Gnuplot.Data(whateveryouhave) g.replot(newdata) Now the itemlist would be [data1, data2, ..., dataN, newdata]. The way I remove stuff from the itemlist is a bit ugly. If you know the position of the unwanted item in the datalist (here assumed 1), you can do del g.itemlist[1] This does not delete you data, only the copy stored in the itemlist. After del, the itemlist would be [data1, data3, ..., dataN, newdata] Then use g.refresh() to update the plot and data2 is no longer visible. For this you need your own bookkeeping on the data in itemlist, to know the indices. If the itemlist goes empty you might get trouble. -- Juho Schultz e-mail: juh...@as... www.astro.helsinki.fi/~jschultz Observatory P.O. Box 14 FIN-00014 University of Helsinki FINLAND On Thu, 30 Jun 2005, Steven Waldauer wrote: > >I have a pretty simple script working right now, and I'm still >relatively new to python so if I'm going at this in a stupid way, >please let me know. > >right now it has the following: > > a_mag = Gnuplot.Data(w, cols=(1,6), inline=1) > a_mag.set_option(title='Amide Dipole') > a_mag.set_option(with='lines') > > mags.append(a_mag) > > s_mag = Gnuplot.Data(w, cols=(1,10), inline=1) > s_mag.set_option(title='Side Chain Dipole') > s_mag.set_option(with='lines') > > mags.append(s_mag) > >when I use the command: > g.plot(a_mag, s_mag) > >everything works fine. I would like however to add or remove certain >plots from within the script, but alas the command: > > g.plot(mags) > >or > g.plot(tuple(mags)) > >does not work. I get the following error messages: > >Traceback (most recent call last): > File "./fasttest.py", line 215, in ? > g.plot(mags) > File "/usr/local/lib/python2.4/site-packages/Gnuplot/_Gnuplot.py", >line 273, in plot > self._add_to_queue(items) > File "/usr/local/lib/python2.4/site-packages/Gnuplot/_Gnuplot.py", >line 243, in _add_to_queue > self.itemlist.append(PlotItems.Data(item)) > File "/usr/local/lib/python2.4/site-packages/Gnuplot/ >PlotItems.py", line 513, in Data > set = utils.float_array(set[0]) > File "/usr/local/lib/python2.4/site-packages/Gnuplot/utils.py", >line 36, in float_array > return Numeric.asarray(m, Numeric.Float32) > File "/usr/local/lib/python2.4/site-packages/Numeric/Numeric.py", >line 134, in asarray > return multiarray.array(a, typecode, copy=0, savespace=savespace) >AttributeError: _InlineFileItem instance has no attribute '__float__' > >Any suggestions? > >Thanks for any help, > >Steve > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Gnuplot-py-users mailing list >Gnu...@li... >https://lists.sourceforge.net/lists/listinfo/gnuplot-py-users > |