[Matplotlib-users] How to save file in to image in desired resolution in matplotlib?

2010-03-31 Thread yogesh karpate
Dear All, I am using one image of 235X130 and plotting the curve on it, now when i save it it goes in the resoltuion of 800X600, I want to keep the resolution intact.What can be done for that to keep the resolution same? I am using

Re: [Matplotlib-users] How to save file in to image in desired resolution in matplotlib?

2010-03-31 Thread Matthias Michler
On Wednesday 31 March 2010 09:24:10 yogesh karpate wrote: Dear All, I am using one image of 235X130 and plotting the curve on it, now when i save it it goes in the resoltuion of 800X600, I want to keep the resolution intact.What can be done for that to keep the resolution

Re: [Matplotlib-users] permille sign in labels

2010-03-31 Thread Nils Wagner
On Wed, 24 Mar 2010 10:14:29 -0400 Michael Droettboom md...@stsci.edu wrote: You can use Unicode. ylabel(u'\u2030') http://www.unicode.org/charts/charindex.html Mike Degree Celsius u'\u2103' doesn't work. /usr/local/lib64/python2.4/site.packages/matplotlib/mathtext.py:722:

[Matplotlib-users] How to show last value on the line

2010-03-31 Thread Omer Khalid
Hi, I have produced number of charts in my research thesis. On any given chart, there are number of lines. I would like to display the last value on each line to show at which precise value it's ending. Thanks, Omer --

[Matplotlib-users] How to show separate legend for each subplot

2010-03-31 Thread Omer Khalid
Hi, I am wondering is there a way one could show a separate legend for each subplot in a figure? I would really really appreciate any ideas on this. Thanks, Omer -- Download Intel#174; Parallel Studio Eval Try the new

Re: [Matplotlib-users] How to show separate legend for each subplot

2010-03-31 Thread PHobson
From: Omer Khalid [mailto:omer.kha...@cern.ch] Sent: Wednesday, March 31, 2010 6:20 AM To: Matplotlib Users Subject: [Matplotlib-users] How to show separate legend for each subplot Hi, I am wondering is there a way one could show a separate legend for each subplot in a figure? I would really

Re: [Matplotlib-users] How to show last value on the line

2010-03-31 Thread PHobson
From: Omer Khalid [mailto:omer.kha...@cern.ch] Sent: Wednesday, March 31, 2010 6:14 AM To: Matplotlib Users Subject: [Matplotlib-users] How to show last value on the line Hi, I have produced number of charts in my research thesis. On any given chart, there are number of lines. I would like to

Re: [Matplotlib-users] How to show separate legend for each subplot

2010-03-31 Thread Omer Khalid
Hi Paul, Thanks for your prompt response. It did help :) But it seems that axis don't seems to accept title, xlable and ylable values any more. Any ideas on that? Cheers Omer On Wed, Mar 31, 2010 at 17:43, phob...@geosyntec.com wrote: From: Omer Khalid [mailto:omer.kha...@cern.ch] Sent:

Re: [Matplotlib-users] How to show separate legend for each subplot

2010-03-31 Thread Ryan May
On Wed, Mar 31, 2010 at 10:21 AM, Omer Khalid omer.kha...@cern.ch wrote: Hi Paul, Thanks for your prompt response. It did help :) But it seems that axis don't seems to accept title, xlable and ylable values any more. Any ideas on that? If you're trying to use the functions plt.title() and

[Matplotlib-users] a quick way to plot 3D surface with point coordination?

2010-03-31 Thread ericyosho
Hi, All, I have a bunch of 3D points with coordinations in a dict pointset = { (x1,y1):z1, (x2,y2):z2, ... } It seems I have to 1. fire a loop to change each item and convert the whole dictionary into arrays; x = [] y = [] for i in pointset.items(): x.append(i[0][0]) y.append(i[0][1])

[Matplotlib-users] bus error on os x 10.6

2010-03-31 Thread Gideon Simpson
I'm using the prebuilt OS X dmg distribution of matplotlib with the mac python 2.6.4 installation on os x 10.6.3. I find that if I try to use savefig to pdf format, my program terminates with a bus error. There is no such error if I save to eps format. -gideon

Re: [Matplotlib-users] a quick way to plot 3D surface with point coordination?

2010-03-31 Thread Alan G Isaac
On 3/31/2010 10:40 PM, ericyosho wrote: send x and y ranges to meshgrid Does this mean you have the entire grid of points? In any case, you can get an array of your points as np.array([(x,y,z) for (x,y),z in d.iteritems()]) fwiw, Alan Isaac