In the documentation for PlotRange, there is the following line:
- If a particular minimum or maximum is specified as
{Automatic, α}
, this means that the range should in effect be cut off beyond a fraction $α$ of points in the plot. When smooth curves or surfaces are plotted, the measure of points is based on projected length or area.
I would like to use this option to cut off, say, 10 percent of the points in a ListPlot
. I am aware that ListPlot
's default PlotRange -> Automatic
option does cut off a fraction of the points, but I would like to control how many points are cut off. However, whenever I try to use the pair {Automatic, 0.1}
in place of a coordinate's maximum or minimum I get the following error:
Value of option PlotRange -> (*PlotRange specification*) is not All, Full, Automatic,
a positive machine number, or an appropriate list of range specifications.
Am I misunderstanding or incorrectly applying the documentation here, or is there an actual error in the documentation here?
PlotRange
s when using the suggested syntax... Strange. $\endgroup$ListPlot[Table[{n, Exp[-n] Sin[n]}, {n, 1, 10}], PlotRange -> {{0, 10}, {{Automatic, 0.1}, {Automatic, 0.2}}}]
$\endgroup$