Re: CONDITION/DATA ANALYSIS/PLOTS
- To: mathgroup at smc.vnet.net
- Subject: [mg107980] Re: CONDITION/DATA ANALYSIS/PLOTS
- From: Luci Ellis <luci at verbeia.com>
- Date: Thu, 4 Mar 2010 05:29:41 -0500 (EST)
- References: <hmak7b$bje$1@smc.vnet.net> <hmleuf$jos$1@smc.vnet.net>
On 2010-03-03 21:50:55 +1100, jihane said: > thank you very much for the replies. the way i want to plot this data > is each set of data<0.1 in a single plot because the data is like > 1.5,1.6,1.7,1.5,0.01,0.09,0.1,1.6,1.8,1.9,0.1,0.08,0.07 > How can i plot the set of triples in a single plot if I dont know at > what position in the list values<0.1 starts and ends? please let me > know if my question isnt clear Jihane, I assume you meant "each set of data < 0.1 in its own plot". My post will do precisely that: plotData = SplitBy[Replace[Transpose[{X0D,Y0D,Z0D}], x_?(Last[#] > .01 &) -> Null, 1], Head] /. {Null} -> Sequence[] And then plot with: Grid[Partition[Graphics3D[{Blue, Thick, Line[#]}] & /@ plotData, 2]] Or if you want three time series: Grid[Partition[ListLinePlot[#] & /@ (Transpose /@ plotData), 2]] Hope that helps. Luci