Re: [Matplotlib-users] quiver questions/issues (bug?)

2009-05-19 Thread Eric Firing
Christopher Barker wrote: > Christopher Barker wrote: >>> If you are not running from svn, a workaround may be to specify the >>> angles as an ndarray or masked array with the shape set to (N,1) where N >>> is the number of arrows. >> Yes, that seems to work. Thanks! > > However, I'm a bit confu

Re: [Matplotlib-users] About matplotlib.finance

2009-05-19 Thread John Hunter
On Tue, May 19, 2009 at 2:33 PM, David Anderson wrote: > Nice, and thanks, I'm making the charts just to my own purposes, and hopelly > use it as my Graduation ending job (I don't know ow to say this in english, > basically is the app that you deliver before getting the degree), and I wish > to im

Re: [Matplotlib-users] quiver questions/issues (bug?)

2009-05-19 Thread Christopher Barker
Christopher Barker wrote: >> If you are not running from svn, a workaround may be to specify the >> angles as an ndarray or masked array with the shape set to (N,1) where N >> is the number of arrows. > > Yes, that seems to work. Thanks! However, I'm a bit confused now -- if I specify the angle

Re: [Matplotlib-users] About matplotlib.finance

2009-05-19 Thread David Anderson
Nice, and thanks, I'm making the charts just to my own purposes, and hopelly use it as my Graduation ending job (I don't know ow to say this in english, basically is the app that you deliver before getting the degree), and I wish to improve the api, by now this is the best api to plot financial cha

Re: [Matplotlib-users] About matplotlib.finance

2009-05-19 Thread John Hunter
On Tue, May 19, 2009 at 2:09 PM, David Anderson wrote: > In the documentation page there's no info about .finance, even looking on > the search tool I couldn't find anything: > http://matplotlib.sourceforge.net/search.html?q=finance&check_keywords=yes&area=default > > About the code, I found it =)

Re: [Matplotlib-users] About matplotlib.finance

2009-05-19 Thread David Anderson
In the documentation page there's no info about .finance, even looking on the search tool I couldn't find anything: http://matplotlib.sourceforge.net/search.html?q=finance&check_keywords=yes&area=default About the code, I found it =) On Tue, May 19, 2009 at 4:05 PM, Ryan May wrote: > On Tue, May

Re: [Matplotlib-users] About matplotlib.finance

2009-05-19 Thread Ryan May
On Tue, May 19, 2009 at 1:33 PM, David Anderson wrote: > Hi, I've seen some examples with it, but I couldn't find any docs about it, > Is there any? If not Where Can I get the source code for it to take a look? > Another thing, what about this example: > http://matplotlib.sourceforge.net/examples/

[Matplotlib-users] About matplotlib.finance

2009-05-19 Thread David Anderson
Hi, I've seen some examples with it, but I couldn't find any docs about it, Is there any? If not Where Can I get the source code for it to take a look? Another thing, what about this example: http://matplotlib.sourceforge.net/examples/pylab_examples/plotfile_demo.htmlWhere can I get the csv files u

Re: [Matplotlib-users] subplot

2009-05-19 Thread Ryan May
On Tue, May 19, 2009 at 12:00 PM, Jae-Joon Lee wrote: > I think there is no functionality difference between subplot2grid and > SM Window. And the syntax of the subplot2grid seems much more cleaner, > especially when you have large number of cells. So, I'm +1 for > subplot2grid in this regard. >

Re: [Matplotlib-users] subplot

2009-05-19 Thread Christopher Barker
Jae-Joon Lee wrote: > I guess you're referring to mplsizer by Andrew Straw? > > http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/toolkits/mplsizer/ yup -- that's it. It looks like it hasn't been touched in a year or so. Maybe this is a good time to revive it? I think it's a great id

Re: [Matplotlib-users] subplot

2009-05-19 Thread Jae-Joon Lee
On Tue, May 19, 2009 at 12:51 PM, Christopher Barker wrote: > Alan G Isaac wrote: >> Using a location along with >> a rowspan and colspan is a >> very established convention. > > This is used by the wxPython GridBagSizer as well. > > Speaking of which, I recall a good while back someone was workin

Re: [Matplotlib-users] subplot

2009-05-19 Thread Jae-Joon Lee
I think there is no functionality difference between subplot2grid and SM Window. And the syntax of the subplot2grid seems much more cleaner, especially when you have large number of cells. So, I'm +1 for subplot2grid in this regard. One thing I like about my option 3 is that it can have some benef

Re: [Matplotlib-users] subplot

2009-05-19 Thread Christopher Barker
Alan G Isaac wrote: > Using a location along with > a rowspan and colspan is a > very established convention. This is used by the wxPython GridBagSizer as well. Speaking of which, I recall a good while back someone was working on a axes layout system modeled after wx Sizers -- anyone know what h

Re: [Matplotlib-users] segfault while getting fig_manager while embedded in Wx

2009-05-19 Thread Christopher Barker
John Hunter wrote: > You cannot import pylab or pyplot is you are embedding mpl in wx > (totally unsupported and expected to fail) -- you need to follow the > patterns in > > http://matplotlib.sourceforge.net/examples/user_interfaces/index.html or use wxMPL: http://agni.phys.iit.edu/~kmcivor/wxm

Re: [Matplotlib-users] globally turn of anti-aliasing for png

2009-05-19 Thread Christopher Barker
> On Tue, May 19, 2009 at 3:57 AM, Thomas Pfaff wrote: >> I want to put graphs into a PowerPoint Presentation but there, anti-aliased >> png-graphics look blurry. I have had issues with alpha PNGs in PP, but I think if you play with the resolution, you should be able to get something that looks

Re: [Matplotlib-users] EMF export doesn't work

2009-05-19 Thread Thomas Pfaff
Hi Sebastian, as far as I remember ImageMagick just puts a bitmap representation of the image into the EMF-file (as does IrfanView and many others). What I want to have is vectors, though. Bests, Thomas > -Original Message- > From: Sebastian Busch [mailto:webmas...@thamnos.de] > Sent:

Re: [Matplotlib-users] segfault while getting fig_manager while embedded in Wx

2009-05-19 Thread John Hunter
On Tue, May 19, 2009 at 10:10 AM, guillaume ranquet wrote: > this bit of code: > > manager = pylab.get_current_fig_manager() > > segfaults when I'm using pylab embedded in Wx. > it works well with gtkAgg. > > I'm using it in an event handler, directly taken from the cookbook: > http://www.scipy.or

[Matplotlib-users] segfault while getting fig_manager while embedded in Wx

2009-05-19 Thread guillaume ranquet
this bit of code: manager = pylab.get_current_fig_manager() segfaults when I'm using pylab embedded in Wx. it works well with gtkAgg. I'm using it in an event handler, directly taken from the cookbook: http://www.scipy.org/Cookbook/Matplotlib/Interactive_Plotting I wonder what I'm doing wrong?

Re: [Matplotlib-users] globally turn of anti-aliasing for png

2009-05-19 Thread John Hunter
On Tue, May 19, 2009 at 3:57 AM, Thomas Pfaff wrote: > Hi all, > > > > Is there a way to completely turn of anti-aliasing when saving to png? > > > > I want to put graphs into a PowerPoint Presentation but there, anti-aliased > png-graphics look blurry. > > I found how to turn anti-aliasing off fo

Re: [Matplotlib-users] Slow interactive plotting

2009-05-19 Thread guillaume ranquet
guillaume ranquet wrote: >> On Mon, May 18, 2009 at 10:23 AM, guillaume ranquet wrote: I'm trying to get approx 4k points plotted into 5 subplots which I would like interactive (ie: ability to zoom/pan ...). there's nothing special except that the subplots share axe x. >>>

Re: [Matplotlib-users] EMF export doesn't work

2009-05-19 Thread John Hunter
On Tue, May 19, 2009 at 3:50 AM, Thomas Pfaff wrote: > Hello there, > > when I started with matplotlib I was really enthusiastic that I can throw > all those Excel, IDL, Matlab and whatever else I used until now overboard > and do everything from data processing to visualization in beloved Python.

Re: [Matplotlib-users] looking for example to draw rectangles with colormap

2009-05-19 Thread John Hunter
On Tue, May 19, 2009 at 2:21 AM, Jean-Christophe Penalva wrote: > i'm trying to use matplotlib to draw some rectangles on one screen. Every > rectangle has is own position (x,y) is own size, and each of them must have a > fill color in a colormap. > Is there an example somewhere ? > Easiest is

Re: [Matplotlib-users] Error from ``python setupegg.py develop`` using trunk

2009-05-19 Thread Jouni K . Seppänen
Michael Droettboom writes: >> $ python setup.py build_ext --inplace >> $ python setupegg.py develop > I have no idea what the second line does either -- and I've always done > just fine without it ;) AFAIK, the second line does the same thing as the first one, and then makes a matplotlib.egg-l

Re: [Matplotlib-users] Error from ``python setupegg.py develop`` using trunk

2009-05-19 Thread Tony S Yu
On May 19, 2009, at 8:33 AM, Michael Droettboom wrote: > I have no idea what the second line does either -- and I've always > done just fine without it ;) > > The error message is puzzling, since matplotlib does even use swig > currently. Sorry for the noise; I think you're right: this error

Re: [Matplotlib-users] OT: EMF export doesn't work

2009-05-19 Thread Alan G Isaac
On 5/19/2009 4:50 AM Thomas Pfaff apparently wrote: > Now, here at work I have to use a Windows PC and PowerPoint and graphics > just look best in PowerPoint if they are in EMF format. Can you explain this? Doesn't PDF work fine? Alan Isaac --

Re: [Matplotlib-users] Error from ``python setupegg.py develop`` using trunk

2009-05-19 Thread Michael Droettboom
I have no idea what the second line does either -- and I've always done just fine without it ;) The error message is puzzling, since matplotlib does even use swig currently. Mike Tony S Yu wrote: > Hi, > > I run mpl from the svn trunk, but I ran into a problem today after > pulling the newes

[Matplotlib-users] scatter plot

2009-05-19 Thread Bala subramanian
Friends, Someone please suggest me how to make scatter plot with a matrix data such as the one attached. Is is possible to feed a matrix to scatter function directly and plot the value in each row of the matrix. Thanks, Bala test Description: Binary data

Re: [Matplotlib-users] multiple plots in 1 figure

2009-05-19 Thread Armin Moser
Sandro Tosi schrieb: > On Tue, May 19, 2009 at 12:54, wrote: >> Could you help me with plotting the columns of a matrix vs it's index in 1 >> figure. S if i have an m *n matrix i have to have n plots in 1 figure. > > simply issue multiple times "plot()" with the give information, then > call pyp

Re: [Matplotlib-users] multiple plots in 1 figure

2009-05-19 Thread Abhinav Verma
you can use - from pylab import plotfile, show plotfile("filename", (0,1,2,3,4,5,6)) # for a 7 column data show() -- cheers, Abhi On Tue, May 19, 2009 at 12:54 PM, wrote: > > Dear matplotLib Users, > > Could you help me with plotting the columns of a matrix vs it's in

Re: [Matplotlib-users] multiple plots in 1 figure

2009-05-19 Thread Sandro Tosi
On Tue, May 19, 2009 at 12:54, wrote: > Could you help me with plotting the columns of a matrix vs it's index in 1 > figure. S if i have an m *n matrix i have to have n plots in 1 figure. simply issue multiple times "plot()" with the give information, then call pyplot.show(); something like i

[Matplotlib-users] multiple plots in 1 figure

2009-05-19 Thread sandeep . prasad
Dear matplotLib Users, Could you help me with plotting the columns of a matrix vs it's index in 1 figure. S if i have an m *n matrix i have to have n plots in 1 figure. Regards, Sandeep Prasad Tata Consultancy Services Plot No 1, Survey No. 64/2, Software Units Layout Serilingampally Mandal, Mad

Re: [Matplotlib-users] EMF export doesn't work

2009-05-19 Thread Sebastian Busch
Thomas Pfaff wrote: > ... EMF format. ... no converter on the market to properly > convert any other vector format matplotlib can produce to EMF. ... hey thomas! what about convert from imagemagick? "convert test.ps test.emf" gives some output -- if this is indeed a correct emf file i cannot tell

[Matplotlib-users] globally turn of anti-aliasing for png

2009-05-19 Thread Thomas Pfaff
Hi all, Is there a way to completely turn of anti-aliasing when saving to png? I want to put graphs into a PowerPoint Presentation but there, anti-aliased png-graphics look blurry. I found how to turn anti-aliasing off for lines, but texts and axes are still anti-aliased. Is there a way t

Re: [Matplotlib-users] EMF export doesn't work

2009-05-19 Thread Thomas Pfaff
Hello there, when I started with matplotlib I was really enthusiastic that I can throw all those Excel, IDL, Matlab and whatever else I used until now overboard and do everything from data processing to visualization in beloved Python. Now, here at work I have to use a Windows PC and PowerPoint a

[Matplotlib-users] looking for example to draw rectangles with colormap

2009-05-19 Thread Jean-Christophe Penalva
Hello, i'm trying to use matplotlib to draw some rectangles on one screen. Every rectangle has is own position (x,y) is own size, and each of them must have a fill color in a colormap. Is there an example somewhere ? Thank you.