Hello,

I'm relatively new to PyX, so forgive me if this has been addressed before, 
however my searches through the manual, examples, FAQ, and lists were 
fruitless.

Is there a way to specify the plot drawing order independent of the ordering 
of the entries in the generated key?

Here's my situation: I build a plot that has lines (theory calculations) and 
symbols (experimental data) with error bars on the symbols, for two different 
sets of data (two different "configurations" of the experiment), on the same 
graph. First, I'd like the symbols to be drawn overtop of the lines, but on 
the key, the experimental symbols to be present before the theory lines. I'd 
also like one configuration to appear before the other in the key, but also 
for its symbols/lines to be plotted on top of the other pair.

As far as I can see, the current status is that key entries appear in the 
order reverse of that of the most "forward" plot; i.e. first drawn plot gets 
first place in the key, last drawn plot (overdrawing all other plots) gets 
last place in the key. This is (in reality not quite) the exact opposite of 
the order that I'd like.

Thus my question: how can I change the ordering of the key without changing 
the order in which the data is plotted? Is this even possible? (Please tell 
me it is, somehow. I'm not afraid of digging into PyX code if I have 
to. ;-) )

For the record, I aim to patch PyXPlot to support this, if it turns out to be 
possible.

Peace,
Brendon

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
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