Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15414
| From | "Kevin J. McCann" <kjm@KevinMcCann.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Incorrectly Cropped ListPlot |
| Date | 2013-09-12 06:12 +0000 |
| Message-ID | <l0rm0a$57k$1@smc.vnet.net> (permalink) |
| References | <l0p6us$s26$1@smc.vnet.net> |
| Organization | Time-Warner Telecom |
This is a feature of Mathematica plots in that it looks at the
"interesting" parts. You can override this in graph2, by including the
option PlotRange->All, and it will fix your problem. The plot is still
bounded by the PlotRange from graph1, because it was the first in the Show.
Kevin
On 9/11/2013 3:43 AM, Themis Matsoukas wrote:
> In the ListPlot below, the graph is unexpectedly cropped. Do others confirm this? Is there a cure?
>
> I apologize for the long data set (166 points) but this problem does not not normally appear with other data sets.
>
> (v9.01, Mac OS 10.8.4)
>
[snip]
>
> graph1 = ListPlot[{Null},
> ImageSize -> Medium,
> PlotRange -> {{0, 200}, {0, 0.1}}, FrameLabel -> {"X", "Y"}];
> graph2 = ListPlot[f, Filling -> Axis, Joined -> True];
> Show[graph1, graph2]
>
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Incorrectly Cropped ListPlot Themis Matsoukas <tmatsoukas@me.com> - 2013-09-11 07:43 +0000 Re: Incorrectly Cropped ListPlot "Kevin J. McCann" <kjm@KevinMcCann.com> - 2013-09-12 06:12 +0000
csiph-web