On Sun, Aug 2, 2009 at 2:14 AM, <jason-s...@creativetrax.com> wrote:
> I'm trying to understand some of the changes in 0.99, for example, the
> recommended way of getting a plot so that the axes cross at the origin
> (i.e., the axes are in the middle of the plot).  I see two examples that
> seem to give this:
>
> http://matplotlib.sourceforge.net/examples/pylab_examples/spine_placement_demo.html
>
> http://matplotlib.sourceforge.net/examples/axes_grid/simple_axisline2.html
>
> Is one or the other of these methods the recommended way to get a plot
> with axes in the middle that cross at the origin?  Or are they both good
> and apply to different situations?

I'll let Andrew and JJ fill in some color, since they wrote the spine
and axes_grid, respectively, but both are good.  The spines are in the
mainline and JJ's solution is in a toolkit, so when in doubt go with
something in the mainline since that is more likely to be stable.
Both JJ and Andrew will be attending the scipy sprint this year (if
you're going to be there be sure to stop by), and one of the items on
our agenda is to incorporate their work into a unified API in the
mainline.  So there may be some changes to one or both approaches, but
hopefully soon we will have most of the feature set of both in our
main axis code.

JDH

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to