Bryan, you can easily plot such data. Invalid points (none-numeric data -- you may use None to mark such values or strings would work equally) are automatically skipped in PyX graphs. The only problem with your example data will be, that you will not see the single points (5, 20) and (7, 25) when using the line style. You may combine a line and a symbol style here.
Best, André Am 03.05.2008 um 04:12 schrieb Bryan Klein: > I have a data set where the time in the X column is complete, but the > Y-Axis column of data has missing bits where the values are empty. > Here is an example data set, where 4 and 6 have blank Y values. > data_set = [[0.0,12.0],[1.0,13.0],[2.0,15.0],[3.0,17.0],[4.0,Null], > [5.0,20.0],[6.0,Null],[7.0,25.0]] > > What is the best way to plot this as a discontinuous line, with breaks > for the missing values? > -- > Bryan > > ------------------------------------------------------------------------- > 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
