PlotRange All vs Full in ListPlot (bug?)
- To: mathgroup at smc.vnet.net
- Subject: [mg106959] PlotRange All vs Full in ListPlot (bug?)
- From: Frank Iannarilli <frankeye at cox.net>
- Date: Fri, 29 Jan 2010 07:48:39 -0500 (EST)
Weird (bug?) behavior of PlotRange in ListPlot (Mathematica 7, WinXP). Try the below evaluations in order: Here are two {x,y} data series: data = Table[Table[{4. i, RandomReal[]}, {i, 1, 18}], {2}]; ListPlot[data, Joined -> {False, True}, PlotRange -> {All, {0, 0.5}}] So far, so good. Now replace the 1st point in the second data series with a large-magnitude outlier: data[[2, 1]] = {4., 1.*10^9}; ListPlot[data, Joined -> {False, True}, PlotRange -> {All, {0, 0.5}}] What happened to the joined curve (2nd data series) -- it's gone! But now change the "All" to "Full" in PlotRange: ListPlot[data, Joined -> {False, True}, PlotRange -> {Full, {0, 0.5}}] Everything's now okay - the joined curve is back!