Re: [Matplotlib-users] Drawing lots of lines or polygons

2007-05-18 Thread Christopher Barker
Bill Baxter wrote: > That does look like what I'm after. Two things are unclear to me from > the docs you pointed to: > 1) How do you actually add something to a plot with those? Are they > automatically added to the current figure just by creating them? I'm no expert, but it looks like you

Re: [Matplotlib-users] Drawing lots of lines or polygons

2007-05-18 Thread Bill Baxter
That does look like what I'm after. Two things are unclear to me from the docs you pointed to: 1) How do you actually add something to a plot with those? Are they automatically added to the current figure just by creating them? 2) How do patch/poly collections determine the edges? All I can see

Re: [Matplotlib-users] Generating and saving figures without actually displaying them

2007-05-18 Thread Christopher Barker
Darren Dale wrote: > On Friday 18 May 2007 12:39:29 pm kaushik.ghose wrote: >> Is there a way to disable drawing on the device and just have 'virtual' >> drawing to a file? > > Try using the agg backend Which you can do by either: * changing the default backend in .matplotlibrc or * Puttin

Re: [Matplotlib-users] Generating and saving figures without actually displaying them

2007-05-18 Thread Darren Dale
On Friday 18 May 2007 12:39:29 pm kaushik.ghose wrote: > Hello, > > I want to run a python program on a remote machine via ssh. It generates > figures and saves them to files. I don't need/want to see the figures as > they are being generated and saved. > > When I do this on the remote machine (whi

[Matplotlib-users] Generating and saving figures without actually displaying them

2007-05-18 Thread kaushik.ghose
Hello, I want to run a python program on a remote machine via ssh. It generates figures and saves them to files. I don't need/want to see the figures as they are being generated and saved. When I do this on the remote machine (which is running linux) I get a display error _tkinter.TclError: n

[Matplotlib-users] box chart

2007-05-18 Thread Jonathon Anderson
I am tracking and visualizing temperatures for the nodes of a computing cluster. I am already using matplotlib to render historical temperature data as a line plot, but I also want to be able to show averages over a time range. I want to represent this as a 2-D array of boxes shaded with a gradien

Re: [Matplotlib-users] using different font families with?LaTeX-generated text

2007-05-18 Thread Alexander Schmolck
Darren Dale <[EMAIL PROTECTED]> writes: >> Well, if ever there was a compelling use-case for an >> undocumented/unsupported feature it would be this one, I think. > > Alright, svn 3277 lets you add additional commands to the preamble: > > text.latex.preamble : \usepackage{bm},\renewcommand{etc...}

Re: [Matplotlib-users] Drawing lots of lines or polygons

2007-05-18 Thread Christopher Barker
Bill, I'm not totally sure if it will help for this, but try checking out matplotlib.collections.LineCollection and matplotlib.collections.PolyCollection http://matplotlib.sourceforge.net/matplotlib.collections.html -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Divisio

[Matplotlib-users] Patch to fix stale tex cache issues [Was: using different font families with?LaTeX-generated text]

2007-05-18 Thread Alexander Schmolck
Darren Dale <[EMAIL PROTECTED]> writes: > You should also make your rc changes before importing pylab. That might be > considered a bug, and would take some work to fix. I think I've fixed the bug (well, mostly see TODO), as well as a few other minor bugs: - ``__init__.py`` * defaultParams va

[Matplotlib-users] Warnings in Extensions.hxx

2007-05-18 Thread Xavier Gnata
Hi, I can see lots of warnings like : ./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect All of them are in Extensions.hxx. They look fully harmless but it could be could a good thing to get them fixed. If needed I could propose a patch. BTW : gcc version 4.1.3 200705

[Matplotlib-users] Climate Diagrams - two axes with different scale

2007-05-18 Thread Alfredo Sotelo
Hi, I was trying to create a function to draw climate diagrams like this one . Basically is a two lines plot, monthly average temperature and monthly accumulated rainfall, drawn with same X axis but diferrent Y axes (rainfall is half scale of temperature, eg.

[Matplotlib-users] Setting zorder for twinx plots

2007-05-18 Thread Jose Gomez-Dans
Hi, We are trying to plot a climogram (where you have temperature on the left hand axis, and precipitation on the RHS). The data need to be properly scaled as well. We have used twinx() to get the two axes. However, the precipitation (plotted as bars) goes over the temperature line, when it should