Re: [Matplotlib-users] unfilled markers?

2009-01-28 Thread John Hunter
On Wed, Jan 28, 2009 at 9:42 AM, Rob Hetland wrote: > > On Jan 27, 2009, at 1:02 PM, Eric Firing wrote: > >> Setting >> mfc to "none" is what turns off the filling. > > As a slightly off-topic question, is there a reason that the argument > is the string 'none' instead of a normal python None? No

Re: [Matplotlib-users] universal_newline in matplotlib 0.91.2?

2009-01-28 Thread John Hunter
On Wed, Jan 28, 2009 at 2:11 PM, Christopher Barker wrote: > But why the heck not? and according to the OP, Excel does create such files. > > Personally, I try to ALWAYS use 'U' when opening text files -- it can > save headaches, and I see no downside. It really should be the default > -- it's no

Re: [Matplotlib-users] universal_newline in matplotlib 0.91.2?

2009-01-28 Thread Christopher Barker
John Hunter wrote: > On Mon, Jan 26, 2009 at 1:10 PM, Christopher Barker >> Shouldn't csv2rec open files in Universal mode by default anyway? > > The only down side I can see to this is universal support can be > disabled at build time, though it is on by default. At least this is > my interpret

Re: [Matplotlib-users] Ploting f(x;y)=0

2009-01-28 Thread Rob Hetland
On Jan 28, 2009, at 8:26 AM, projet...@club-internet.fr wrote: > I'm looking a solution for ploting relation like f(x;y)=0. I usually just contour the function over the region. E.g., >>> import numpy as np >>> import matplotlib.pyplot as plt >>> x, y = mgrid[-10:10:50j, -10:10:50j] >>> f =

Re: [Matplotlib-users] unfilled markers?

2009-01-28 Thread Rob Hetland
On Jan 27, 2009, at 1:02 PM, Eric Firing wrote: > Setting > mfc to "none" is what turns off the filling. As a slightly off-topic question, is there a reason that the argument is the string 'none' instead of a normal python None? -Rob Rob Hetland, Associate Professor Dept. of Oceanograph

Re: [Matplotlib-users] Drawing Splines

2009-01-28 Thread João Luís Silva
Mostafa Razavi wrote: > Basically, my problem is that there are a set of points given and I > should calculate and draw a cubic spline that interpolates them. My > instructor has suggested using Matlab, but I don't have it, and I don't > know how to use it. Besides, I always prefer Python, if p

Re: [Matplotlib-users] Drawing Splines

2009-01-28 Thread Mostafa Razavi
John Hunter wrote: > On Tue, Jan 27, 2009 at 12:44 PM, Mostafa Razavi wrote: > >> At http://www.scipy.org/Cookbook/Matplotlib/SigmoidalFunctions I read >> that matplotlib supports drawing arbitrary paths with splines, but the >> functionality hasn't been exposed to the user. Can anyone tell me

Re: [Matplotlib-users] unable to create legend for vlines graph

2009-01-28 Thread Jae-Joon Lee
This is a bug introduced in the recent version of MPL. While it is fixed in the maintenance branch, there is no release yet. You may 1) try the svn version or 2) apply the patch by yourself. http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/v0_98_5_maint/lib/matplotlib/legend

[Matplotlib-users] matplotlib equivalent to MATLAB meshc?

2009-01-28 Thread rmber
I'd like to make a mesh plot that has colors in it and a countor plot below it just like in matlab's meshc function. Is there a builtin function that does this, or how could I go about doing it from scratch? Thanks, Ryan -- View this message in context: http://www.nabble.com/matplotlib-equiv

[Matplotlib-users] Installing latest version of matplotlib for enthought python

2009-01-28 Thread Jeremy Conlin
I installed EPD and now would like to install the latest version of matplotlib so I can try out the new CocoaAgg background. I can download the binary mpkg from sourceforge, but it won't work for me because my python version isn't the python from python.org. Can someone help me get this installed

[Matplotlib-users] Problems with the command "show".

2009-01-28 Thread Oscar ¿?
Hi folks, I have a problem when I use the command "show" in matplotlib. I have this code (campo is a matrix of float numbers): from matplotlib.pyplot import figure, show, savefig from matplotlib import cm, colors fig=figure() a=fig.add_subplot(111) a.pcolormesh(vx,vz,campo) s

[Matplotlib-users] unable to create legend for vlines graph

2009-01-28 Thread Nitin Bhide
Hi, I am unable to create legend for vlines graph. I have modified the vline_demo.py to demonstrate the problem (see below) #!/usr/bin/env python from matplotlib.pyplot import * from numpy import sin, exp, absolute, pi, arange from num

[Matplotlib-users] Ploting f(x;y)=0

2009-01-28 Thread projetmbc
Title: Flashmail Hello, I'm looking a solution for ploting relation like f(x;y)=0.   Best regards. Christophe. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.

Re: [Matplotlib-users] plotting durations

2009-01-28 Thread John Hunter
On Tue, Jan 27, 2009 at 11:00 PM, C M wrote: > I don't think there is a built-in way to do this, but > I thought I'd check first. Can matplotlib (somehow) > directly plot a duration of time, such as in the form: > 0:01:39.983001 (h:m:s:microsec) In general, you must first convert your data to f

Re: [Matplotlib-users] tgif

2009-01-28 Thread John Hunter
On Wed, Jan 28, 2009 at 3:05 AM, dikshie wrote: > hi, > does matplotlib support tgif? No, you can see a list of outputs at http://matplotlib.sourceforge.net/faq/installing_faq.html#backends JDH -- This SF.net email i

Re: [Matplotlib-users] tgif

2009-01-28 Thread Jeff Whitaker
dikshie wrote: > hi, > does matplotlib support tgif? > > > with best regards, > I had to google tgif to find out that it is the file format output by the tgif drawing program (http://bourbon.usc.edu:8001/tgif/current.html). It is not an image format, and matplotlib cannot read or write it.

[Matplotlib-users] tgif

2009-01-28 Thread dikshie
hi, does matplotlib support tgif? with best regards, -- -dikshie- -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___