xscale and yscale

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 <mckauf@…1896…> wrote:

send me your data.

M

On 2/22/11 6:29 AM, Waléria Antunes David wrote:

See this pdf attached…the 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 <ben.root@…1304… > > mailto:ben.root@...1304...> wrote:

On Mon, Feb 21, 2011 at 1:32 PM, Waléria Antunes David > > <waleriantunes@...287... <mailto:waleriantunes@...287...>> wrote:



    Can you help me...please.



    On Mon, Feb 21, 2011 at 4:02 PM, Waléria Antunes David > > <waleriantunes@...287... <mailto:waleriantunes@...287...>> wrote:



        I don't understand...i need that the yscale has these

        values: 1,10,100,1000 ....But i don't know how...



        Thanks,







Let me make it clearer.  Your green line has values on the order of

10^-17.  There is nothing that can be done to meet your request if

you are plotting data this small.  Either this data is wrong, or you

don't want to plot it at all.



To exclude anything less than 1, use the following:



ax.set_ylim(bottom=1)



Note that this will exclude the green line in your plot!



Ben Root

Index, Search& Analyze Logs and other IT data in Real-Time with Splunk

Collect, index and harness all the fast moving IT data generated by your

applications, servers and devices whether physical, virtual or in the cloud.

Deliver compliance at lower cost and gain new business insights.

Free Software Download: http://p.sf.net/sfu/splunk-dev2dev


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

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!

Thanks,
Daniel

2011/2/22 Waléria Antunes David <waleriantunes@...287...>:

···

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 <mckauf@...287...> wrote:

send me your data.

M

On 2/22/11 6:29 AM, Waléria Antunes David wrote:

See this pdf attached....the 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 <ben.root@...1304... >>> <mailto:ben.root@…1304…>> wrote:

On Mon, Feb 21, 2011 at 1:32 PM, Waléria Antunes David >>> <waleriantunes@...287... <mailto:waleriantunes@…287…>> wrote:

   Can you help me\.\.\.please\.

   On Mon, Feb 21, 2011 at 4:02 PM, Waléria Antunes David &gt;&gt;&gt;        &lt;waleriantunes@\.\.\.287\.\.\. &lt;mailto:waleriantunes@...287...&gt;&gt; wrote:

       I don&#39;t understand\.\.\.i need that the yscale has these
       values: 1,10,100,1000 \.\.\.\.But i don&#39;t know how\.\.\.

       Thanks,

Let me make it clearer. Your green line has values on the order of
10^-17. There is nothing that can be done to meet your request if
you are plotting data this small. Either this data is wrong, or you
don't want to plot it at all.

To exclude anything less than 1, use the following:

ax.set_ylim(bottom=1)

Note that this will exclude the green line in your plot!

Ben Root

------------------------------------------------------------------------------
Index, Search& Analyze Logs and other IT data in Real-Time with Splunk
Collect, index and harness all the fast moving IT data generated by your
applications, servers and devices whether physical, virtual or in the
cloud.
Deliver compliance at lower cost and gain new business insights.
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk
Collect, index and harness all the fast moving IT data generated by your
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights.
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

Daniel,

Thank you very much…the yscale is correct now…this topic is resolved…

Thanks…

···

On Tue, Feb 22, 2011 at 10:26 AM, Daniel Mader <danielstefanmader@…982…> wrote:

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!

Thanks,

Daniel

2011/2/22 Waléria Antunes David <waleriantunes@…287…>:

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 <mckauf@…287…> wrote:

send me your data.

M

On 2/22/11 6:29 AM, Waléria Antunes David wrote:

See this pdf attached…the 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 <ben.root@…1304… > > >>> mailto:ben.root@...83...1304...> wrote:

On Mon, Feb 21, 2011 at 1:32 PM, Waléria Antunes David > > >>> <waleriantunes@…287… mailto:waleriantunes@...287...> wrote:

   Can you help me...please.
   On Mon, Feb 21, 2011 at 4:02 PM, Waléria Antunes David >  > >>>        <waleriantunes@...287... <mailto:waleriantunes@...287...>> wrote:
       I don't understand...i need that the yscale has these
       values: 1,10,100,1000 ....But i don't know how...
       Thanks,

Let me make it clearer. Your green line has values on the order of

10^-17. There is nothing that can be done to meet your request if

you are plotting data this small. Either this data is wrong, or you

don’t want to plot it at all.

To exclude anything less than 1, use the following:

ax.set_ylim(bottom=1)

Note that this will exclude the green line in your plot!

Ben Root


Index, Search& Analyze Logs and other IT data in Real-Time with Splunk

Collect, index and harness all the fast moving IT data generated by your

applications, servers and devices whether physical, virtual or in the

cloud.

Deliver compliance at lower cost and gain new business insights.

Free Software Download: http://p.sf.net/sfu/splunk-dev2dev


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Index, Search & Analyze Logs and other IT data in Real-Time with Splunk

Collect, index and harness all the fast moving IT data generated by your

applications, servers and devices whether physical, virtual or in the cloud.

Deliver compliance at lower cost and gain new business insights.

Free Software Download: http://p.sf.net/sfu/splunk-dev2dev


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Put it last, *after* all plotting.

And since you won't be able to see your green line,
don't plot it.

···

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.