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:
>
>> 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,
>>
>>
Waleria,
The data you are plotting contains points that have y-values as low as
10^-17. Plotting so that the y-*axis* has ticks of 1 - 10 - 100 - 1000
would result in those points to be missing from the plot. Is that what you
want?
To address the specific formatting of your tick labels, you can change the
formatter being used for that axis:
http://matplotlib.sourceforge.net/api/ticker_api.html?highlight=tick%20formatter
By default, using ax.set_yscale('log') will automatically set the
LogFormatter object for formatting the y-axis. If you don't want this
formatter, you can replace it with another formatter object.
Ben Root
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users