Dear all,

it's an interesting discussion. However, I'm against any kind of  
integer defining the ordering. What ordering. The plot ordering? The  
ordering in the graph key? What else we may think of? The ordering in  
the changeable attributes?

So I'm about to reject anything like a zorder-graph-key attribute in  
the plotitem or a list of indices of the plotitems to be passed to the  
graph key.

I very much like the possibility using g.doplot(plotitem) introduced  
(by user request! in PyX 0.10). We clearly should have that for the  
graph keys as well. As this is trivial to implement, I just did so.  
See changeset 2983.

The only problem I do have is with the naming. We do have g.dodata()  
and g.doplot(plotitem) and now g.dokey() and g.dokeyitem(plotitem),  
which are similar in what they supposed to do. However, they are named  
very differently. Obviously we could rename g.dodata() to g.doplot()  
and g.doplot(plotitem) to g.doplotitem(plotitem). I guess most of you  
will complain -- still, I think this change becomes necessary. Any  
thought?


André


Am 21.04.2008 um 17:09 schrieb Alan G Isaac:

> My guess we be that plotitems should have a zorder
> attribute with a default setting, and that they
> should be reordered by a stable sort.
>
> But I would hope that rather than reinvent the wheel,
> a successful implementation would be examined.
> How does Matplotlib handle this?
>
> Cheers,
> Alan Isaac
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save  
> $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> PyX-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pyx-user
>

-- 
by  _ _      _    Dr. André Wobst, Amselweg 22, 85716 Unterschleißheim
    / \ \    / )   [EMAIL PROTECTED], http://www.wobsta.de/
   / _ \ \/\/ /    PyX - High quality PostScript and PDF figures
  (_/ \_)_/\_/     with Python & TeX: visit http://pyx.sourceforge.net/


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to