At 4:20pm -0400 Sun, 07 Apr 2013, Francesco Montesano wrote:
> Il giorno 07/apr/2013 21:03, Kevin Hunter Kesling ha scritto:
>> On the other hand, I'm still such a noob at Matplotlib ... is there
>> a way to have one of the subplots take up more than its default 50%
>> allotment?
>
> you can give a look at the last two plots in this example
> http://matplotlib.org/examples/pylab_examples/demo_tight_layout.html or use
> plot.axes providing the rectangle that you want

That is closer to what I want, but still not there.  I was finally able 
to find something that fit the bill to 95% of what I want:

http://matplotlib.1069221.n5.nabble.com/Proposal-for-Broken-Axes-td38050.html

The first post by 'klukas' does exactly what I asked for.  It's a 
zig-zag on the Y-axis to show that what is graphed is not continuous, 
and unlike the various "official" examples, the zig-zag placement is 
user-specifiable, as opposed to exactly halfway between the top and bottom.

The only thing I have yet to figure out how to do is to simultaneously 
have a zig-zag on the X axis as well -- an artifact of how these 
zig-zags must be created via multiple axes on the same figure, rather 
than as built in to the axis artist.

For googleability:

The above linked graph code enables for matplotlib:

  - suppressed zeros on the Y-axis of an XY plot
  - showing suppressed data on the Y-axis
  - lightning bolt symbol on the Y-axis
  - zig-zag on the Y-axis
  - a "broken" Y-axis

Thanks for your pointers, Francesco, as they helped me to fine-tune my 
Google search terms.  And thank you, Klukas, whoever you are.

Cheers,

Kevin

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to