Hi list, I have a use case that I'm trying to solve: I have several pairs of X/Y plots. Each pair consists of one line of numerical simulation data and one set of experimentally measured points with error bars. The easy and simple thing to do is to have each plot have a unique key entry (titles like "Some plot title (numeric)", "Some plot title (experiment)"). But in context it should be quite obvious that the lines are simulations and the dots are experimental results, so it's really just a lot of annoying redundancy and wasted space.
So I'm trying to come up with a way to combine the theory and experiment lines into a single key entry. In particular, I want each title next to all of the points and line indicators for the corresponding plots. Like this: X --- Some plot title O ... Another plot title I can't see a way to do this in PyX. So my half-baked idea is to make a class that acts as a container for multiple plotitems, and has the same interface as plotitem (maybe a subclass). Is this crazy? Anyone have a simpler idea? I will confess that up to this point I've been using PyxPlot, rather than PyX proper, but I don't think the conversion itself would be difficult. I'd rather just get an opinion as to whether doing what I suggest really is possible, or if there's an easier way that I've missed. Peace, Brendon ------------------------------------------------------------------------------ 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
