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
(1) |
5
|
6
(1) |
7
(1) |
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
|
|
|
|
From: Andrew S. <and...@ad...> - 2003-09-07 01:23:33
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I get the same thing on fink's gnuplot 3.8i, but on a self compiled gnuplot (on x86 debian linux) it works as expected. Granted, that isn't OS X, but I imagine the fink maintainer just didn't compile something or whatnot. I would try compiling your own gnuplot (make sure you set the configure options appropriately). Then put the full path to your new version in the gp_macosx.py file (set the variable gnuplot_command). Cheers! Andrew Peter Stoltz wrote: > Now my problem: I would like to make color contour plots > (with pm3d for instance) to png, but I can't find palette > settings that will allow this. The code is shown below. > When I run this code, I get: > > [localhost] pstoltz% python demo.py > Error: terminal "png" does not support continous colors. -----BEGIN PGP SIGNATURE----- iD8DBQE/Wohq1xWcCSPVbpgRAiv2AJ4nyc+uQ3dKps/i3PnpDst6uUs2KwCfZdva BtaDMcFF4xMbGkyLmhtOqXM= =init -----END PGP SIGNATURE----- |
From: Peter S. <ps...@tx...> - 2003-09-06 15:08:57
|
Hi all, I realize this question isn't specific to gnuplot-py, but gnuplot-py users seem to be on the cutting edge of gnuplot use, so I thought someone here might be able to help me. First of all, I am running Mac OS 10.2.6, gnuplot 3.8i (from FINK), and the latest gnuplot-py (from CVS to get the bug fix for temporary file deletion). Now my problem: I would like to make color contour plots (with pm3d for instance) to png, but I can't find palette settings that will allow this. The code is shown below. When I run this code, I get: [localhost] pstoltz% python demo.py Error: terminal "png" does not support continous colors. And the resulting png is drawn without pm3d. I thought the 'set palette maxcolors' should fix the continuous color problem? Is there some specific palette setting I *can* use to write to png? Any help appreciated. And I'd like to second the motion that a new release of gnuplot-py (with the temp file deletion fixed) happen as soon as time allows! Thanks, Peter =========================================== #! /usr/bin/env python import Gnuplot from Numeric import arange, sin, NewAxis g=Gnuplot.Gnuplot() x = arange(35)/2.0 y = arange(30)/10.0 - 1.5 xm = x[:,NewAxis] ym = y[NewAxis,:] m = (sin(xm) + 0.1*xm) - ym**2 g('set data style lines') g('set hidden') g('set contour base') g('set pm3d at sb') g('set palette maxcolors 8') g('set term png') g('set output "out.png"') g.title('An example of a surface plot') g.xlabel('x') g.ylabel('y') g.splot(Gnuplot.GridData(m,x,y, binary=0)) |
From: <kai...@t-...> - 2003-09-04 20:19:26
|
David Porter wrote: >Mike > I have a few Python/Gnuplot questions that I hope you may have an answer to. > I'm sending a copy of this response to the gnuplot-py-users mailing list. Please consider subscribing and sending future questions to the list. >1. How do you have a multi-line title? I have tried g.title("line1\nline2\nline3") and only line1 shows up on the plot. I have debug=1 and what I see is: >gnuplot> set title "line1 >line2" >what I think it should be is: >gnuplot> set title "line1\nline2" > Then an immediate solution would be to type >>> g.title("line1\\nline2\\nline3") or >>> g.title(r"line1\nline2\nline3") Perhaps Gnuplot.py should quote newlines automatically? If so, what other characters should it quote? >2. Adding labels, I have been able to add a label with the following: >g('set label "Label text" at 0, floating point value') where floating point value is a real number on the y axis. What happens if "Label text is a string and floating point value is a variable: >label_test = "Label Text" >y1 = floating point value >g('set label label_text, 0, y1') >I guess the real question is how to tell gnuplot-py label_text is a string and y1 is a floating point value? > > You just need to use Python's "%" string operator: >>> g('set label "%s", 0, %g' % (label_test, y1,)) See the python tutorial or the python library reference (the section called "String Formatting Operations") at www.python.org for more information. Michael -- Michael Haggerty mh...@al... |