TwoDimensionalPlotClippingΒΆ
clip.spad line 1 [edit on github]
The purpose of this package is to provide reasonable plots of functions with singularities.
- clip: (Plot, Fraction Integer, Fraction Integer) -> Record(brans: List List Point DoubleFloat, xValues: Segment DoubleFloat, yValues: Segment DoubleFloat)
clip(p, frac, sc)
performs two-dimensional clipping on a plot,p
, from the domain Plot for the graph of one variabley = f(x)
; the fraction parameter is specified byfrac
and the scale parameter is specified bysc
for use in the clip function.
- clip: List List Point DoubleFloat -> Record(brans: List List Point DoubleFloat, xValues: Segment DoubleFloat, yValues: Segment DoubleFloat)
clip(ll)
performs two-dimensional clipping on a list of lists of points,ll
; the default parameters1/2
for the fraction and5/1
for the scale are used in the pspadfun{iClipParametric} subroutine, which is called by this function.
- clip: List Point DoubleFloat -> Record(brans: List List Point DoubleFloat, xValues: Segment DoubleFloat, yValues: Segment DoubleFloat)
clip(l)
performs two-dimensional clipping on a curvel
, which is a list of points; the default parameters1/2
for the fraction and5/1
for the scale are used in the pspadfun{iClipParametric} subroutine, which is called by this function.
- clip: Plot -> Record(brans: List List Point DoubleFloat, xValues: Segment DoubleFloat, yValues: Segment DoubleFloat)
clip(p)
performs two-dimensional clipping on a plot,p
, from the domain Plot for the graph of one variable,y = f(x)
; the default parameters1/4
for the fraction and5/1
for the scale are used in the clip function.
- clipParametric: (Plot, Fraction Integer, Fraction Integer) -> Record(brans: List List Point DoubleFloat, xValues: Segment DoubleFloat, yValues: Segment DoubleFloat)
clipParametric(p, frac, sc)
performs two-dimensional clipping on a plot,p
, from the domain Plot for the parametric curvex = f(t)
,y = g(t)
; the fraction parameter is specified byfrac
and the scale parameter is specified bysc
for use in the pspadfun{iClipParametric} subroutine, which is called by this function.
- clipParametric: Plot -> Record(brans: List List Point DoubleFloat, xValues: Segment DoubleFloat, yValues: Segment DoubleFloat)
clipParametric(p)
performs two-dimensional clipping on a plot,p
, from the domain Plot for the parametric curvex = f(t)
,y = g(t)
; the default parameters1/2
for the fraction and5/1
for the scale are used in the pspadfun{iClipParametric} subroutine, which is called by this function.
- clipWithRanges: (List List Point DoubleFloat, DoubleFloat, DoubleFloat, DoubleFloat, DoubleFloat) -> Record(brans: List List Point DoubleFloat, xValues: Segment DoubleFloat, yValues: Segment DoubleFloat)
clipWithRanges(pointLists, xMin, xMax, yMin, yMax)
performs clipping on a list of lists of points,pointLists
. Clipping is done within the specified ranges ofxMin
,xMax
andyMin
,yMax
. This function is used internally by the pspadfun{iClipParametric} subroutine in this package.