MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: ListPlot with missing values

  • To: mathgroup at smc.vnet.net
  • Subject: [mg22355] Re: ListPlot with missing values
  • From: bernd at bio.vu.nl (Bernd Brandt)
  • Date: Fri, 25 Feb 2000 21:14:00 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Roy, 
  
  I have a dataset where missing data points are represented by "-1".
  I use DeleteCases to delete these entries before plotting.
  
  data =
    {{0, 0.17`}, {0.0417`, -1}, {0.0834`, -1}, {0.5834`, 
        0.2768`}, {1, -1}, {1.5`, 0.3009`}, {2, -1}, {2.5`, 0.5531`}, {3, 
        0.4356`}, {3.5834`, 0.9192`}, {4, 0.8432`}, {4.5`, 0.8502`}, {5, 
        1.5065`}, {5.5`, 1.3061`}, {6, 2.6049`}, {6.5`, 3.4581`}, {7, 
        3.351`}, {7.5`, 2.674`}, {8, 4.142`}, {8.5`, 3.4166`}, {9, 
        4.5047`}, {23.6667`, 4.943`}, {23.9167`, 4.1904`}};
	
  DeleteCases[data, {_, -1}]	
  
  
  Regards,
  Bernd
  
  
  -----------------------------------------------------------------------------
  Does anyone have a Mathematica routine that behaves like ListPlot with
  PlotJoined->True, where the  data have missing values (given by a set
  number, or if preferred by being out of range) and only joins
  non-missing values.  Assume the listis long (500-600 points)  and there
  may be quite a few (100-200) missing values. Such a routine wouldbe a
  big help.

  TIA,

  Roy M.


  • Prev by Date: EllipticE, limit x->1 ???
  • Next by Date: Re: Integrate with If
  • Previous by thread: Re: ListPlot with missing values
  • Next by thread: Re: ListPlot with missing values