plot.DSFM2DData: Plot Method for an 'DSFM2DData' Object

Description Usage Arguments See Also

Description

Plots the 3D vizualisation of the data set contained in object of class DSFM2DData.

Usage

1
2
3
4
## S3 method for class 'DSFM2DData'
plot(x, n = 1, pal = "pink", theta = 40,
  border = NA, box = T, shade = 0.2, expand = 0.5,
  ticktype = "simple", ...)

Arguments

x

an object of class "DSFM2DData".

n

number of time indicator to be plotted.

pal

the color palette for the fit plot. To choose between "pink","blue","light","dark".

theta

angles defining the viewing direction of the fit plot.

border

the color of the line drawn around the surface facets of the fit plot. The default, NULL, corresponds to par("fg"). A value of NA will disable the drawing of borders: this is sometimes useful when the surface is shaded.

box

should the bounding box for the surface be displayed. The default is FALSE.

shade

the shade at a surface facet is computed as ((1+d)/2)^shade, where d is the dot product of a unit vector normal to the facet and a unit vector in the direction of a light source. Values of shade close to one yield shading similar to a point light source model and values close to zero produce no shading. Values in the range 0.5 to 0.75 provide an approximation to daylight illumination.

expand

a expansion factor applied to the z coordinates. Often used with 0 < expand < 1 to shrink the plotting box in the z direction.

ticktype

character: "simple" draws just an arrow parallel to the axis to indicate direction of increase; "detailed" draws normal ticks as per 2D plots.

...

other parameters to be passed through to plotting persp function.

See Also

DSFM2DData, summary.DSFM2DData.


MarcGumowski/dysefamor documentation built on May 7, 2019, 2:47 p.m.