Re: [Matplotlib-users] embedding figures inside another (coordinates)

2009-04-02 Thread oyarsa the old
Hi, Thanks for your reply ! The thread you pointed me to, was useful, though I didnt uderstand everything in it yet. However, I found that the following works for what I want ... though it does what I want, am I making some horrible mistake which will come around and haunt me later ? plsub = subp

Re: [Matplotlib-users] Scatter plots, pdf and rasterization (Tiago Pereira)

2009-04-02 Thread Adam J Richards
I have had a similar problem to you. If you save a plot in vector (svg) format then turn it into a pdf then all parts of the plot are saved as individual layers and the file can take a long time to load -- say from within in a LaTex pdf. One option is to save the file in a raster format (*.jpg, *

Re: [Matplotlib-users] embedding figures inside another (coordinates)

2009-04-02 Thread John Hunter
On Thu, Apr 2, 2009 at 6:47 AM, oyarsa the old wrote: > Hi, > > Thanks for your reply ! The thread you pointed me to, was useful, though I > didnt uderstand everything in it yet. > However, I found that the following works for what I want ... though it does > what I want, am I making some horrible

Re: [Matplotlib-users] imshow without resampling

2009-04-02 Thread Thomas Robitaille
I've looked into this some more, and while pcolor draws pixels inefficiently as polygons, pcolorfast does appear to be writing the data as a bitmap into the eps file, so this is closer to what I need. However, while this works great with the SVG driver, it seems that pcolorfast still produce

[Matplotlib-users] Being able to move figure around during time.sleep()

2009-04-02 Thread VGC123
Hi all, I am experiencing the following difficulty: My program basically loops and wants to redraw a plot (using imshow() ) every 5 seconds or so. So it looks something like: ion() while 1: do redraw business.. time.sleep(5) The redrawing shows up fine, the only problem is that durin

Re: [Matplotlib-users] question about levels & colormaps for contour functions

2009-04-02 Thread ori-pao
I find you? Paola Pablo Romero-2 wrote: > > > Hi, > > I would like to know how I can pass an array of levels and also a colormap > to the contour() function and have the levels span the entire colormap. > example... > > if I do the following > > > Lv=(1,3,5,6,7,8,9,10,12,14,16,18,20

Re: [Matplotlib-users] Using Windows Binary to install MatPlotLib in different site-packages folder

2009-04-02 Thread Christopher Barker
R. Haynie wrote: > I am using VirtualEnv to have multiple virtual environments that have > their own site-packages folder. So each environment is its own sandbox. another reason why core python really needs to have an "official" versioning system - either something like virtualenv, or (my prefe

Re: [Matplotlib-users] Being able to move figure around during time.sleep()

2009-04-02 Thread Christopher Barker
VGC123 wrote: > I am using MPL on windows with the 'Qt4Agg' backed, and running this code > from ipython (on the command line). I don't quite understand the threading > model of the GUI kit, vs. the main thread, so could someone enlighten me how > it works roughly, and what I need to do in a multi

[Matplotlib-users] spie charts in matplotlib?

2009-04-02 Thread totallyunimodular
I am interested in making spie charts in matplotlib, as discussed http://www.nabble.com/forum/NewTopic.jtp?forum=2906 here and http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=106 available in R . Additionally, I would like to have a grid of such charts within a single graphic fram

Re: [Matplotlib-users] Being able to move figure around during time.sleep()

2009-04-02 Thread Jae-Joon Lee
I guess you're using ipython in pylab mode, correct? If you want to make a standalone application, I recommend you not to use ipython pylab mode. Instead, use your own gui toolkit. Take a look at following examples. http://matplotlib.sourceforge.net/examples/user_interfaces/index.html However, a

Re: [Matplotlib-users] Plotting Scalar on a Circular Grid

2009-04-02 Thread Jae-Joon Lee
On Wed, Apr 1, 2009 at 6:50 AM, Lorenzo Isella wrote: > Now, I would like to plot exactly the same function but on a circular > domain (circle of radius 1 centered at (0,0)). You have an image with x,y spanning from -1 to 1. How do you transform your x,y coordinate to r, theta? Or, x,y in your ex

Re: [Matplotlib-users] spie charts in matplotlib?

2009-04-02 Thread John Hunter
On Thu, Apr 2, 2009 at 3:11 PM, totallyunimodular wrote: > > I am interested in making spie charts in matplotlib, as discussed > http://www.nabble.com/forum/NewTopic.jtp?forum=2906 here  and > http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=106 available > in R . Additionally, I woul

Re: [Matplotlib-users] Using Windows Binary to install MatPlotLib in different site-packages folder

2009-04-02 Thread R. Haynie
Christopher Barker wrote: block quote R. Haynie wrote: block quote I am using VirtualEnv to have multiple virtual environments that have their own site-packages folder. So each environment is its own sandbox. block quote end another reason why core python really needs to have an "official

Re: [Matplotlib-users] spie charts in matplotlib?

2009-04-02 Thread Brian Granger
Wow, it is really striking how much better the matplotlib version of this plot is compared to R. Very nice! Brian On Thu, Apr 2, 2009 at 7:21 PM, John Hunter wrote: > On Thu, Apr 2, 2009 at 3:11 PM, totallyunimodular wrote: >> >> I am interested in making spie charts in matplotlib, as discusse

Re: [Matplotlib-users] error bars on a log log plot

2009-04-02 Thread Cohen-Tanugi Johann
hello. Anyone? I would very much love to see this fixed, and I am ready to help out, but I do not know how to browse through the code. Despite the fact that log(errors) should of course not be used, but rathter errors/values/log(10), Michael's point still remains : values- errors in log sca