Re: [Matplotlib-users] xscale and yscale

2011-02-22 Thread Alan G Isaac
On 2/22/2011 7:47 AM, Waléria Antunes David wrote: > I tried what Ben said: ax.set_ylim(bottom=1) ..., but changed nothing. Put it last, *after* all plotting. And since you won't be able to see your green line, don't plot it. --

Re: [Matplotlib-users] xscale and yscale

2011-02-22 Thread Waléria Antunes David
Daniel, Thank you very muchthe yscale is correct now.this topic is resolved... Thanks On Tue, Feb 22, 2011 at 10:26 AM, Daniel Mader < danielstefanma...@googlemail.com> wrote: > Hi Waléria, > > in order to test it and help you without spending too much time on it, > could you please

Re: [Matplotlib-users] xscale and yscale

2011-02-22 Thread Daniel Mader
Hi Waléria, in order to test it and help you without spending too much time on it, could you please provide a stripped example which runs standalone? As a general rule you should set limits at the very end of the plotting code in order to prevent them from being superseded by another command! Th

Re: [Matplotlib-users] xscale and yscale

2011-02-22 Thread Waléria Antunes David
Do you want my complete code? Thanks, On Tue, Feb 22, 2011 at 10:17 AM, Mike Kaufman wrote: > Look, something about your dataset is most likely causing this problem. > Send me the 5 data series you are using for this code, and I will attempt to > reproduce the plot (and then show you how I did

Re: [Matplotlib-users] xscale and yscale

2011-02-22 Thread Waléria Antunes David
I tried what Ben said: ax.set_ylim(bottom=1) ..., but changed nothing. See my code: http://pastebin.com/Jt3BTp0C (line 14) See my image generated - attached. thanks, On Tue, Feb 22, 2011 at 9:37 AM, Mike Kaufman wrote: > send me your data. > > M > > > On 2/22/11 6:29 AM, Waléria Antunes David

Re: [Matplotlib-users] xscale and yscale

2011-02-22 Thread Waléria Antunes David
See this pdf attachedthe yscale has these values: 1, 10, 100, 1000 I need this. My code: http://pastebin.com/HKCGQWez Can you help me, please?? Thanks, On Mon, Feb 21, 2011 at 4:41 PM, Benjamin Root wrote: > > > On Mon, Feb 21, 2011 at 1:32 PM, Waléria Antunes David < > waleriantu...@gm

Re: [Matplotlib-users] xscale and yscale

2011-02-21 Thread Benjamin Root
On Mon, Feb 21, 2011 at 1:32 PM, Waléria Antunes David < waleriantu...@gmail.com> wrote: > Can you help me...please. > > On Mon, Feb 21, 2011 at 4:02 PM, Waléria Antunes David < > waleriantu...@gmail.com> wrote: > >> I don't understand...i need that the yscale has these values: >> 1,10,100,1000 ..

Re: [Matplotlib-users] xscale and yscale

2011-02-21 Thread Waléria Antunes David
Can you help me...please. On Mon, Feb 21, 2011 at 4:02 PM, Waléria Antunes David < waleriantu...@gmail.com> wrote: > I don't understand...i need that the yscale has these values: 1,10,100,1000 > But i don't know how... > > Thanks, > > > On Mon, Feb 21, 2011 at 3:58 PM, Benjamin Root wrote: >

Re: [Matplotlib-users] xscale and yscale

2011-02-21 Thread Waléria Antunes David
I don't understand...i need that the yscale has these values: 1,10,100,1000 But i don't know how... Thanks, On Mon, Feb 21, 2011 at 3:58 PM, Benjamin Root wrote: > > > On Mon, Feb 21, 2011 at 12:54 PM, Waléria Antunes David < > waleriantu...@gmail.com> wrote: > >> I did what you sai but the

Re: [Matplotlib-users] xscale and yscale

2011-02-21 Thread Benjamin Root
On Mon, Feb 21, 2011 at 12:54 PM, Waléria Antunes David < waleriantu...@gmail.com> wrote: > I did what you sai but the yscale was: 0, 0, 0, 0, 0, 0, 0, 1, 100 . Would > be the correct way: 1, 10, 100, 1000. > > See the wrong image attached. And the correct image - correct_graph > attached. > > Th

Re: [Matplotlib-users] xscale and yscale

2011-02-21 Thread Benjamin Root
On Mon, Feb 21, 2011 at 12:37 PM, Waléria Antunes David < waleriantu...@gmail.com> wrote: > I don't know how to do this. Can you help me? > > > In your case, I would do something like this: import matplotlib.ticker as mtick # Other code here # Now getting ready to plot fig = plt.figure() ax =

Re: [Matplotlib-users] xscale and yscale

2011-02-21 Thread Waléria Antunes David
I don't know how to do this. Can you help me? On Mon, Feb 21, 2011 at 3:32 PM, Benjamin Root wrote: > > > On Mon, Feb 21, 2011 at 12:24 PM, Waléria Antunes David < > waleriantu...@gmail.com> wrote: > >> I need the yscale so: 1 - 10 - 100 - 1000 . See my image attached. Can you >> help me, plea

Re: [Matplotlib-users] xscale and yscale

2011-02-21 Thread Benjamin Root
On Mon, Feb 21, 2011 at 12:24 PM, Waléria Antunes David < waleriantu...@gmail.com> wrote: > I need the yscale so: 1 - 10 - 100 - 1000 . See my image attached. Can you > help me, please. > > Thanks, > > > On Mon, Feb 21, 2011 at 1:51 PM, Waléria Antunes David < > waleriantu...@gmail.com> wrote: >

Re: [Matplotlib-users] xscale and yscale

2011-02-21 Thread Waléria Antunes David
I need the yscale so: 1 - 10 - 100 - 1000 . See my image attached. Can you help me, please. Thanks, On Mon, Feb 21, 2011 at 1:51 PM, Waléria Antunes David < waleriantu...@gmail.com> wrote: > So...now my xscale is correct but the yscale ...i need that in the yscale > should have a scale like thi

Re: [Matplotlib-users] xscale and yscale

2011-02-21 Thread Waléria Antunes David
So...now my xscale is correct but the yscale ...i need that in the yscale should have a scale like this: 1 - 10 - 100 - 1000 ... without using power rating . Can you help me?? See my image attached.. Thanks, On Mon, Feb 21, 2011 at 1:32 PM, Benjamin Root wrote: > > > On Mon, Feb 21, 2011 at 10:

Re: [Matplotlib-users] xscale and yscale

2011-02-21 Thread Benjamin Root
On Mon, Feb 21, 2011 at 10:23 AM, Waléria Antunes David < waleriantu...@gmail.com> wrote: > See my code: http://pastebin.com/xtgKteuW > > I need that tn the x-axis should have a scale like this: 0 - 2 - 4 - 6 - 8 > - 10 - 12 - 14 and in the y-axis a scale: 1 - 10 - 100 -1000 . See my > images, the

Re: [Matplotlib-users] xscale and yscale

2011-02-21 Thread Benjamin Root
On Mon, Feb 21, 2011 at 10:07 AM, Waléria Antunes David < waleriantu...@gmail.com> wrote: > Hello all, > > I have this graph but the scale is wrong. See my images. In the image > my_graph the xscale an yscale is wrong. I need to let the scale of x and y > my_graph as correct_graph. Can you help me