|
From: James R. V. Z. <jr...@co...> - 2006-06-03 01:07:48
|
Daniel J Sebald <dan...@ie...> wrote:
> why shouldn't a plotting program be able to leave out the line
> connecting the left and right limits of a discontinuity?
We could implement an optional threshold on the maximum slope of the
line. For example:
set maxstepy {<fraction>}
If the difference between successive y values exceeds <fraction> of
the graph height, then that line segment is omitted. <fraction> is
a number between 0 and 1. For "set maxstepy" with no number,
<fraction> defaults to 1/3.
set maxstepx {<fraction>}
If the difference between successive x values exceeds <fraction> of
the graph width, then that line segment is omitted. <fraction> is a
number between 0 and 1. For "set maxstepx" with no number,
<fraction> defaults to 1/3.
unset maxstepy
unset maxstepx
Return to the default condition, in which all line segments are
drawn, regardless of the change in y (resp. x) values.
- Jim Van Zandt
|