Re: [Matplotlib-users] Newbie question - rotated XY chart

2008-09-24 Thread greg7201
That does the trick. I assumed that swaping the plot parameters would cause other problems, but it doesn't. That was simple! Thanks! Starting with the obvious -- x and y are arbitrary, so instead of plot (x, y) you can plot(y, x) If you need the data to be descending (smaller values o

Re: [Matplotlib-users] Newbie question - rotated XY chart

2008-09-24 Thread John Hunter
On Wed, Sep 24, 2008 at 8:04 PM, greg7201 <[EMAIL PROTECTED]> wrote: > > I am such a matplotlib newbie... but it looks very cool. > > I need to create a basic graph, EXCEPT the x axis needs to go down the page, > and the y axis is across the bottom. (The chart is to display drilling > information

[Matplotlib-users] Newbie question - rotated XY chart

2008-09-24 Thread greg7201
I am such a matplotlib newbie... but it looks very cool. I need to create a basic graph, EXCEPT the x axis needs to go down the page, and the y axis is across the bottom. (The chart is to display drilling information and the norm for drilling engineers is to display depth - the x axis - down the

Re: [Matplotlib-users] place a wxPopupWindow based on pick event location

2008-09-24 Thread Anthony Floyd
On Wed, Sep 24, 2008 at 8:28 AM, C M <[EMAIL PROTECTED]> wrote: > On Tue, Sep 23, 2008 at 7:22 PM, Anthony Floyd <[EMAIL PROTECTED]> wrote: >> On Tue, Sep 23, 2008 at 3:28 PM, C M <[EMAIL PROTECTED]> wrote: [snip] > Thank you for the help. Unfortunately, I used some of your code and still had >

[Matplotlib-users] imshow inconsistency from version 0.91 to 0.98

2008-09-24 Thread Haibao Tang
Hi all, I have some broken scripts recently due to the upgrade from 0.91 to 0.98, most of them related to the imshow function. For example, when I run the following script, from matplotlib.cm import * from pylab import * figure(1, (8, 10))

Re: [Matplotlib-users] subplot within subplot

2008-09-24 Thread charles reid
Tricky! That is exactly what I was looking for. Thanks John. Charles == Out of damp and gloomy days, out of solitude, out of loveless words directed at us, conclusions grow up in us like fungus: one morning they are there, we know not how, and they gaze upon us, morose and gray. Woe t

Re: [Matplotlib-users] subplot within subplot

2008-09-24 Thread John Hunter
On Wed, Sep 24, 2008 at 1:21 PM, charles reid <[EMAIL PROTECTED]> wrote: > Hi - > > I haven't had any luck finding any examples of putting a subplot within a > subplot in the documentation/website/example files. Is this possible? For > example, I would want something like this: >

[Matplotlib-users] subplot within subplot

2008-09-24 Thread charles reid
Hi - I haven't had any luck finding any examples of putting a subplot within a subplot in the documentation/website/example files. Is this possible? For example, I would want something like this: __ | | | | | | |

Re: [Matplotlib-users] Question on date plotting

2008-09-24 Thread Saju Pillai
On 24-Sep-08, at 6:15 PM, John Hunter wrote: > On Wed, Sep 24, 2008 at 6:05 AM, Saju Pillai <[EMAIL PROTECTED]> > wrote: >> Hi, >> >> Just started playing with matplotlib and it is very impressive. >> >> I have a question on controlling the x-axis values being plotted. >> Say I am recording a s

Re: [Matplotlib-users] importing pylab??

2008-09-24 Thread Saber Mbarek
> locale -a locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_COLLATE to default locale: No such file or directory C POSIX Yes I think there is missing package, so i will look

Re: [Matplotlib-users] importing pylab??

2008-09-24 Thread Michael Droettboom
[EMAIL PROTECTED] is perfectly valid and works fine with Python 2.5.2 on my machine, so it would appear it's not a Python shortcoming. I suspect this is related to these lines: Saber Mbarek wrote: > locale: Cannot set LC_CTYPE to default locale: No such file or directory > locale: Cannot set LC_

Re: [Matplotlib-users] Question on date plotting

2008-09-24 Thread John Hunter
On Wed, Sep 24, 2008 at 6:05 AM, Saju Pillai <[EMAIL PROTECTED]> wrote: > Hi, > > Just started playing with matplotlib and it is very impressive. > > I have a question on controlling the x-axis values being plotted. > Say I am recording a stock price every hour from say 10am to 3pm on a > daily b

[Matplotlib-users] Problems with FAQ

2008-09-24 Thread Thomas Guettler
Hi, the FAQ solution to "How do I make vertical xticklabels?" does not work: Python 2.5.1 (r251:54863, Jan 10 2008, 18:00:49) [GCC 4.2.1 (SUSE Linux)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from pylab import * >>> plot([1,2,3,4], [1,4,9,16]) [] >>>

Re: [Matplotlib-users] importing pylab??

2008-09-24 Thread Saber Mbarek
hier is the output of locale: locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory [EMAIL PROTECTED] LANGUAGE=de_DE:de:en_GB:en LC_

Re: [Matplotlib-users] importing pylab??

2008-09-24 Thread Michael Droettboom
It seems you have your locale set to something that Python doesn't support. Can you send the output of "locale" to this list? For example, I have: > locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" L

[Matplotlib-users] importing pylab??

2008-09-24 Thread Saber Mbarek
Hi, I installed scipy a few days ago on my laptop (with os linux debian), but while importing the pylab module from the python-matplotlib (version 0.98.1-1) I got the following error: - Pyt

[Matplotlib-users] Question on date plotting

2008-09-24 Thread Saju Pillai
Hi, Just started playing with matplotlib and it is very impressive. I have a question on controlling the x-axis values being plotted. Say I am recording a stock price every hour from say 10am to 3pm on a daily basis. I am trying to plot a multi-day chart such that after the data for 3pm

Re: [Matplotlib-users] Information request

2008-09-24 Thread De Pauw Antoine
Jeff, Thanks for your help, I now know that it's a missing data problem However, I need to make, for example, orthographic maps of ozone centered on the polar region, and there is no possibility to cut the unaesthetic regions of the plot in that case I'll try to plot a data grid containing the w