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
|
3
|
4
|
5
|
6
(2) |
7
(2) |
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
(1) |
20
(1) |
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
|
From: Michael H. <mh...@al...> - 2005-09-07 18:52:41
|
Zoe Cournia wrote: > Thank you for the answer. Indeed it works like this now. > The structure of the files however, require that the command in gnuplot is: > > plot 'temp/spectra9.dat' u 1:2 > > otherwise the file cannot be plotted (bad data in line 0) > so is there a way to incorporate the 'u 1:2' command in the g.plot > command that you siggest? > > g.plot(Gnuplot.File('temp/spectra'+str(i)+'.dat')) g.plot(Gnuplot.File('temp/spectra'+str(i)+'.dat', using=1:2)) I recommend looking in demo.py for lots of examples like this. Michael |
From: Zoe C. <zoe...@iw...> - 2005-09-07 13:56:26
|
Dear Michael, Thank you for the answer. Indeed it works like this now. The structure of the files however, require that the command in gnuplot is: plot 'temp/spectra9.dat' u 1:2 otherwise the file cannot be plotted (bad data in line 0) so is there a way to incorporate the 'u 1:2' command in the g.plot command that you siggest? g.plot(Gnuplot.File('temp/spectra'+str(i)+'.dat')) thank you Zoe Michael Haggerty wrote: >Zoe Cournia wrote: > > >>I am trying to plot a series of files with python and gnuplot named >>sequentially as: >> >>temp/spectra1.dat >>temp/spectra2.dat >>temp/spectra3.dat ..... and so on >> >>I am generating each of these files in a loop and try to open them and >>store each file in a postscript file as: >> >> >> >>>for i in range(1,detectors): >>> data = open('temp/spectra'+str(i)+'.dat','r') >>> g.plot(data) >>> g.hardcopy('gp_test'+str(i)+'.ps', enhanced=0, color=1) >>> g.q >>> >>> > >To plot a file, you don't open the file using Python but rather pass the >plot method a Gnuplot.File object, like > > g.plot(Gnuplot.File('temp/spectra'+str(i)+'.dat')) > >With that change, I think it should work. > >(Of course, you could alternatively open the file using python, read the >data into a python array, then plot the array, but that approach doesn't >have any advantages unless you want to process the data before plotting it.) > >Michael > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Gnuplot-py-users mailing list >Gnu...@li... >https://lists.sourceforge.net/lists/listinfo/gnuplot-py-users > > > -- ----------------------------------------------------------------- | Zoe Cournia, Dipl.-Chem. Phone: | | University of Heidelberg +49 6221 548808 (office) | | IWR - Computational Biophysics +49 179 4840634 (mobile) | | Im Neuenheimer Feld 368 +49 6221 346050 (home) | | D-69120 Heidelberg Fax: +49 6221 548868 | | | | email: zoe...@iw... | | http://spider.iwr.uni-heidelberg.de/~cournia/ | ----------------------------------------------------------------- |