On Wed, Oct 6, 2010 at 12:13 PM, Waléria Antunes David <
waleriantu...@gmail.com> wrote:

> Hi all,
>
> I ploted a graph and above this graph I plot another graph about data
> errors.
> so, the x-axis scale according with data errors only goes on 1.4, but I
> would like to display up to 1.5. how I do that?
> I also want to increase the space between 0.0 - 0.2, 0.2 - 0.4, so on so
> that points can be better visualized.
>
> My image attached
>
> Thanks,
> Waleria
>
>
To set the x limits:
ax.set_xlim([0.0, 1.5])

To increase the space between 0.0-0.2 and 0.2-0.4, you might want to
consider log scale (although zero values will cause problems)?
ax.set_xscale('log')

Ben Root
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to