Re: [Matplotlib-users] Plot marker based on other value

2010-03-17 Thread Gökhan Sever
On Wed, Mar 17, 2010 at 9:29 PM, Vincent Davis wrote: > I am doing a fairly basic plot plot(ydata) but would like to condition the > marker on another array, for example if I have ydata and markerdata then for > markerdata > 0 use use a '+' and for markerdata <0 use a '-' and for > markerdata = 0

[Matplotlib-users] Plot marker based on other value

2010-03-17 Thread Vincent Davis
I am doing a fairly basic plot plot(ydata) but would like to condition the marker on another array, for example if I have ydata and markerdata then for markerdata > 0 use use a '+' and for markerdata <0 use a '-' and for markerdata = 0 '.' How do I do this? *Vincent Davis 720-301-3003 * vinc.

[Matplotlib-users] Polar 3D plot?

2010-03-17 Thread klukas
I'm guessing this is currently impossible with the current mplot3d functionality, but I was wondering if there was any way I could generate a 3d graph with r, phi, z coordinates rather than x, y, z? The point is that I want to make a figure that looks like the following: http://upload.wikimedia

Re: [Matplotlib-users] [CJK] can create png but not eps

2010-03-17 Thread David
Dear Michael, I deeply appreciate your help with this! On 17/03/10 20:34, Michael Droettboom wrote: I have tried import matplotlib matplotlib.use('GtkCairo') as you suggested, but they had no effect whatsoever. Even the error output is the same. I'm surprised that isn't having any effect. T

[Matplotlib-users] serializing a graph

2010-03-17 Thread Ilya Shlyakhter
Is it possible to serialize a figure constructed in matplotlib/pyplot, so that you could quickly load it and then save it in new formats and/or interactively explore it? thanks, ilya -- Download Intel® Parallel Studio Ev

Re: [Matplotlib-users] figure: centering data and plot.svg borders

2010-03-17 Thread Friedrich Romstedt
Maybe: from matplotlib import pyplot as plt figureOne = plt.figure() axesOne = figureOne.add_axes([0, 0, 1, 1]) axesOne.plot([-1, 1], [-2, 2]) axesOne.plot([-2, 2], [-1, 1]) axesOne.set_xlim((-3, 3)) axesOne.set_ylim((-3, 3)) figureOne.set_figwidth(2) figureOne.set_figheight(2) plt.savefig("Fri

[Matplotlib-users] figure: centering data and plot.svg borders

2010-03-17 Thread tomislav_ma...@gmx.com
Hi everyone, Is there a straightforward way for me to ensure that my data is centered: allways present on the figure? I'm plotting the results from complicated geometrical calculations and I need high dpi so that I can debug the code. I've recorded the session in a log file and I've modified the

Re: [Matplotlib-users] skipping mpl-axes-interaction during key_press_event's

2010-03-17 Thread Matthias Michler
On Wednesday 17 March 2010 15:05:32 John Hunter wrote: > On Wed, Mar 17, 2010 at 4:10 AM, Matthias Michler > > wrote: > > once more I'd like to ask for comments about my feature request and > > proposed patch. > > Should I post it at the 'feature request' or  'patch' tracker? > > > > Thanks in adv

Re: [Matplotlib-users] skipping mpl-axes-interaction during key_press_event's

2010-03-17 Thread John Hunter
On Wed, Mar 17, 2010 at 4:10 AM, Matthias Michler wrote: > once more I'd like to ask for comments about my feature request and proposed > patch. > Should I post it at the 'feature request' or  'patch' tracker? > > Thanks in advance for any comments. Hey Matthias -- This should be placed on the p

Re: [Matplotlib-users] [CJK] can create png but not eps

2010-03-17 Thread Michael Droettboom
David wrote: > Dear Michael, > > thanks for your input. So far, though, no luck. > > I have deleted "SimHei" in matplotlibrc, and I can then continue > generating CJK characters. The png is generated, the eps is not. Thus, > no change. The error output is also the same: > > RuntimeError: Face has

Re: [Matplotlib-users] skipping mpl-axes-interaction during key_press_event's

2010-03-17 Thread Matthias Michler
On Thursday 04 March 2010 09:43:40 Matthias Michler wrote: > On Wednesday 03 March 2010 19:10:10 Matthias Michler wrote: > > Hello list, > > > > I'd like to bring something back, which was discussed in sep-dec 2008 > > "OSX 10.5 event.key bug", which was initially posted by James Schombert. > > >