|
From: Francesco M. <fra...@gm...> - 2013-04-07 18:34:54
|
2013/4/7 Kevin Hunter Kesling <kmh...@nc...> > Hullo Matplotlib List, > > I'm looking for a way to represent on an X-Y graph the fact that an axis > does not start from the origin. When drawing by hand, I'll use a little > zig-zag, lightning bolt, or slight space on the axis in question to > represent this fact, just off from where the X and Y axis lines meet. > How would I go about telling Matplotlib to do this? After two hours of > perusing the Axes documentation, and tooling around in an IPython shell, > I appear to be striking out. > > If you are using a monospaced font to view this email, this may > illustrate the functionality for which I'm looking: > > > 150 || * * > 145 || * * > 140 || * * > 135 || * > 130 || > / > / <---- "zig zag" I want > || > 0 -------------------------------- > 0 1 2 3 4 5 6 7 8 > > > Many thanks for any help, > > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > Hi Kevin, Have you given a look at this example: http://matplotlib.org/examples/pylab_examples/broken_axis.html Francesco |