[Matplotlib-users] Tutorial topics for SciPy'09 Conference

2009-06-01 Thread Fernando Perez
Hi all, The time for the Scipy'09 conference is rapidly approaching, and we would like to both announce the plan for tutorials and solicit feedback from everyone on topics of interest. Broadly speaking, the plan is something along the lines of what we had last year: one continuous 2-day tutorial

Re: [Matplotlib-users] x= / y= labels default format is wrong

2009-06-01 Thread Xavier Gnata
John Hunter wrote: > On Sat, May 30, 2009 at 6:46 PM, Eric Firing wrote: > > >> Possible, but I think there is a much better solution along the lines I >> suggested earlier. I have it partly implemented. To really do it right >> will require a little bit of work on all the interactive backend

Re: [Matplotlib-users] savefig behaviour with transparent patches

2009-06-01 Thread John Hunter
On Mon, Jun 1, 2009 at 4:37 PM, Kurt Forrester wrote: > > I am searched the mailing list and web without success with this problem. I > am getting unexpected behaviour when using savefig in the eps format. PS/EPS do not support alpha transparency. This is not a limitation of mpl, but of the for

[Matplotlib-users] savefig behaviour with transparent patches

2009-06-01 Thread Kurt Forrester
I am searched the mailing list and web without success with this problem. I am getting unexpected behaviour when using savefig in the eps format. The pdf renders the figure as it appears in the plot figure however the alpha for the patches is lost when saving as eps (see code below). Any help

Re: [Matplotlib-users] display a path?

2009-06-01 Thread lucab
Mike, thanks so much for the response. my intent is to build compound paths that (ideally) include bezier curve approximations to circle segments and straight-line elements. the final output will most likely be an SVG file so it would be nice to keep the beziers. but since i'm new to matplotlib,

Re: [Matplotlib-users] Non-X11 fallback on import

2009-06-01 Thread Drain, Theodore R
FYI I just went through this w/ an application of ours. There is no easy way to handle this. You can do this: Display* disp = XOpenDisplay( 0 ); if ( ! disp ) { // no DISPLAY variable is set - no x connection } However, if the DISPLAY variable is set but doesn't point to a usable x-server

Re: [Matplotlib-users] Non-X11 fallback on import

2009-06-01 Thread Christopher Barker
Alexander Lamaison wrote: > I would like it to work > is to use the default backend if X is available and, otherwise, fall > back to using the Agg backend. How can I do this? I had a similar need a good while back with wxPython. I found some C code on the net that tries to connect to an X server

[Matplotlib-users] Labeling X-axis with time data

2009-06-01 Thread pgb205
et say i have two arrays time_array=[00:00:00,00:00:10...17:59:50,18:00:00] and data_array=[1,12..34,2] both of them with the same number of elements. I want to graph data_array on y axis vs time_array on x_axis. However, I'm unable to do this using matplotlib because it complains time_array is no

[Matplotlib-users] Non-X11 fallback on import

2009-06-01 Thread Alexander Lamaison
I have a script that uses matplotlib to plot graphs both displayed as a GUI and as PDF documents. The script may need to be run from remote terminals without X11-passthrough so they way I would like it to work is to use the default backend if X is available and, otherwise, fall back to using the A

Re: [Matplotlib-users] display a path?

2009-06-01 Thread Michael Droettboom
If your path has bezier curve segments, then, yes, PathPatch is the most direct method (see the dolphin.py example). However, if you just need a series of line segments, then Polygon is probably much simpler for filling areas. Mike lucab wrote: > i apologize in advance for what is undoubtedly

Re: [Matplotlib-users] computer modern

2009-06-01 Thread Michael Droettboom
There's no easy way to do what you ask. You can, however, use math mode to get to those characters in STIX. For example, set mathtext.fontset to "stix" and then: r'$\mathcal{Caligraphic} \mathtt{Monospace}$' Mike Nicolas Pourcelot wrote: > Thanks, it works well. > > However, I forgot that