re size Y scale

Hi,

you can explicitly set the yticks with that command:

pyplot.yticks([0.7771,0.7720,0.7773])

Typically you would pass something like arange(start,end,step) into the yticks command.

This way you have full controll over the ticks. Documenation is here:

http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.yticks

If you are developing with the pylab option the command above should work without the pyplot prefix.

If you continue having problems then please enclose the code with data if possible.

Best,

Simon

2011/10/2 Tiger11 <lboquillon@…287…>

···

Hi,

I’m developing a bar chart using matplotlib but my data is like 0.77776

0.77774 0.77771, is very important the decimal

I got something like this

http://old.nabble.com/file/p32577770/sca.png

but i want 0.001 0.002 0.003 0.004 … 0.101 istead of 0.1 0.2 0.3

thanks for your help.

P.S. I apologize for my bad english and my lack of expressiveness

View this message in context: http://old.nabble.com/resize-Y-scale-tp32577770p32577770.html

Sent from the matplotlib - users mailing list archive at Nabble.com.


All of the data generated in your IT infrastructure is seriously valuable.

Why? It contains a definitive record of application performance, security

threats, fraudulent activity, and more. Splunk takes this data and makes

sense of it. IT sense. And common sense.

http://p.sf.net/sfu/splunk-d2dcopy2


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

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