Robin wrote:
> Hi,
> 
> I have a plot containing two lines that are quite far apart - ie one
> line oscillates around y=2, the other around y=10. The osciallations
> are small, but I would like to show the detail better (while having
> htem in a single plot).

I suggest using twinx(); the scale for one line will be on the left, the 
scale for the other on the right.  You can make the scale colors match 
the line colors, if you want to.  I just updated 
examples/api/two_scales.py to show this.

Eric

> 
> So I thought it would be nice if the y-axis scale went from 1-3 then
> had a break (denoted with some kind of cross mark), then went from
> 9-11. I tried googling but I'm not really sure what the official name
> for such a thing is, if there is one.
> 
> Is it possible to get this sort of effect with matplotlib? Or can
> people suggest an alternative (I guess I will look at doing 2 subplots
> one above the other very close together).
> 
> Cheers
> 
> Robin
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to