Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13180 > unrolled thread

Re: Question about PlotRange

Started byBob Hanlon <hanlonr357@gmail.com>
First post2013-01-17 04:14 +0000
Last post2013-01-17 04:14 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Question about PlotRange Bob Hanlon <hanlonr357@gmail.com> - 2013-01-17 04:14 +0000

#13180 — Re: Question about PlotRange

FromBob Hanlon <hanlonr357@gmail.com>
Date2013-01-17 04:14 +0000
SubjectRe: Question about PlotRange
Message-ID<kd7tr5$q2s$1@smc.vnet.net>
The "clipped" items don't show but the boundaries show. To include the
clipped portions, Join the plot, do clipping manually, or use
ListLinePlot

Table[
 ListPlot[
  Table[x, {x, -.13, .13, .01}],
  Axes -> True,
  Filling -> 0,
  FillingStyle -> {Red, Darker[Green]},
  PlotRange -> {Automatic, yRange}],
 {yRange, {Full, {-0.1, 0.06}}}]

Table[
 ListPlot[
  Table[x, {x, -.13, .13, .01}],
  Axes -> True,
  Filling -> 0,
  FillingStyle -> {Red, Lighter[Green]},
  Joined -> True,
  PlotRange -> {Automatic, yRange}],
 {yRange, {Full, {-0.1, 0.06}}}]

Table[
 ListPlot[
  Table[Clip[x, {-0.1, 0.05}], {x, -.13, .13, .01}],
  Axes -> True,
  Filling -> 0,
  FillingStyle -> {Red, Darker[Green]},
  PlotRange -> {Automatic, yRange}],
 {yRange, {Full, {-0.1, 0.06}}}]

Table[
 ListLinePlot[
  Table[x, {x, -.13, .13, .01}],
  Axes -> True,
  Filling -> 0,
  FillingStyle -> {Red, Darker[Green]},
  PlotRange -> {Automatic, yRange}],
 {yRange, {Full, {-0.1, 0.06}}}]


Bob Hanlon


On Wed, Jan 16, 2013 at 1:42 AM, James Stein <james@stein.org> wrote:
> I am mystified by the two charts produced by this expression:
>
> Table [
>  ListPlot [ Table [ x, { x, -.13, .13, .01 } ] ,
>   Axes -> True,
>   Filling -> 0,
>   FillingStyle -> { Red, Darker [ Green ] } ,
>   PlotRange -> { Automatic, yRange }
>   ] , { yRange,  { Full, { -0.1, 0.06} } } ]
>
> If 'PlotRange' allows 'Full' for the y-axis, all data is plotted as
> expected, but
> if 'PlotRange' restricts extreme values of y, *some* extreme values
> have vanished,
> but *not* the *most* extreme values.
>
> My desire is for all 27 values to appear on the second chart.
> (In more realistic situations, the visual 'Filling' is important.)
> How is this to be achieved?
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web