Hi Brendon,
Am 10.08.2009 um 08:20 schrieb Brendon Higgins:
> For the record, in case anyone is interested, I almost ran into
> trouble (just
> after sending that reply) when I tried to use this method on a graph
> that had
> one more theory line than experimental points. This causes the
> sorting of the
> key columns to go a bit wrong.
This is something which could be avoided by a proper solution.
> I worked around this problem by adding a "phantom" experimental plot
> like so:
> cd = g.plot(graph.data.points([[0, 0]], x = 1, y = 2,
> title = r'\vphantom{%s}' % titles[4]), [graph.style.pos()])
>
> My understanding is that the pos style won't draw anything, but it
> does take
> up a blank entry in the key, which is exactly what I want in this
> situation.
That's actually a good solution. Drawing something with the pos style
only does indeed create a completely non-drawing plotitem.
Best,
André
--
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/
------------------------------------------------------------------------------
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
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user