[Matplotlib-users] [matplotlib] gscatter

2008-01-10 Thread Giorgio . Luciano
I was wondering if there exist a functino like Matlab (TM) gscatter in matplot lib but I coulnd't find one. I also seen that in matplot lib we are limited to 10 symbols in scatter while in MT we have 13 (and I have to plot 12 :))) is it possible to implement the new function (gscatter) and other

Re: [Matplotlib-users] [matplotlib] gscatter

2008-01-10 Thread Manuel Metz
Hi, you are limited to 10 named symbols. But you can use much more symbols with scatter !!! Have a look at examples/scatter_star_symbols.py. You can use: pylab.scatter(x,y,marker=(5,0)) produces a 5-sided regular polygon. pylab.scatter(x,y,marker=(5,1)) produces a starlike polygon

Re: [Matplotlib-users] problem with ticker and mathtext

2008-01-10 Thread Matthias Michler
Hello Mike, Hello list, thanks for your reply. On Wednesday 09 January 2008 17:58, Michael Droettboom wrote: The default mathtext font should have the times symbol. Are you making any other changes that would affect the selection of mathtext fonts? I don't think that I changed anything. I

Re: [Matplotlib-users] [matplotlib] gscatter

2008-01-10 Thread Manuel Metz
[EMAIL PROTECTED] wrote: Thanks ! i didn't know that. Do you know also if it is possible to have something similar to a scatter group ? Sorry, but what do you mean by scatter group ? Thanks Giorgio - Check out the

Re: [Matplotlib-users] [matplotlib] gscatter

2008-01-10 Thread Manuel Metz
[EMAIL PROTECTED] wrote: matalb has a gscatter command that work like this GSCATTER(X,Y,G) creates a scatter plot of the vectors X and Y grouped by G. Points with the same value of G are shown with the same color and marker. G is a grouping variable defined as a vector, a cell

[Matplotlib-users] show() not returning when figure closed if function called from another module

2008-01-10 Thread Henry Proudhon
Hi Matplotlib users, I'm experiencing some problems when closing a figure (I'm using matplotlib 0.91.0). the function is working correctly when invoked inside the module where it is defined: from pylab import * def test(): t = arange(0.0, 1.0+0.01, 0.01) s = cos(2*2*pi*t) plot(t, s,

[Matplotlib-users] rectangular bracket in mathtext

2008-01-10 Thread Matthias Michler
Hello list, the little example below leads to an error on my system (output is attached). I used this some time ago and it worked. Now I'm using the release 0.91.2. Is there a reason to use rectangular brackets not in mathtext? (same problem occur with '{' for me.) best regards and thanks in

Re: [Matplotlib-users] rectangular bracket in mathtext

2008-01-10 Thread Michael Droettboom
You need to escape the [: mpl_pp.xlabel(r$\[$) [] and {} have special meanings in math syntax, so to use them literally, they need to be escaped. Cheers, Mike Matthias Michler wrote: Hello list, the little example below leads to an error on my system (output is attached). I used this

Re: [Matplotlib-users] Can't run matplotlib without tk backend on windows?

2008-01-10 Thread Darren Dale
On Wednesday 09 January 2008 10:15:54 am Francesco Pretto wrote: 2008/1/9, Darren Dale [EMAIL PROTECTED]: setup.py attempts to select the appropriate backend for you, based on what backends were available at build time. That selection is written into the default matplotlibrc file, which

[Matplotlib-users] Pixel coordinates and plot_date()

2008-01-10 Thread Erik Cederstrand
Hi! I'm trying to make a clickable plot_date() plot (using the Pylons framework). What I need is the pixel coordinates of the data points I give to plot_date(), but the trans.seq_x_y() function doesn't like Datetime: xcoords, ycoords = trans.seq_x_y(x, y) float() argument must be a

Re: [Matplotlib-users] Arrows that shimmy

2008-01-10 Thread Norman Davis
On Jan 9, 2008 11:53 AM, John Hunter [EMAIL PROTECTED] wrote: On Jan 9, 2008 9:11 AM, Michael Droettboom [EMAIL PROTECTED] wrote: You could comment out these two lines: x = (int)x + 0.5; y = (int)y + 0.5; and see if that corrects your wiggliness problem, just to confirm