viewDef.spad line 1 [edit on github]
ViewportDefaultsPackage describes default and user definable values for graphics
axesColorDefault() returns the default color of the axes in a 2D viewport.
axesColorDefault(p) sets the default color of the axes in a 2D viewport to the palette p.
lineColorDefault() returns the default color of lines connecting points in a 2D viewport.
lineColorDefault(p) sets the default color of lines connecting points in a 2D viewport to the palette p.
pointColorDefault() returns the default color of points in a 2D viewport.
pointColorDefault(p) sets the default color of points in a 2D viewport to the palette p.
pointSizeDefault() returns the default size of the points in a 2D viewport.
pointSizeDefault(i) sets the default size of the points in a 2D viewport to i.
tubePointsDefault() returns the number of points to be used when creating the circle to be used in creating a 3D tube plot.
tubePointsDefault(i) sets the number of points to use when creating the circle to be used in creating a 3D tube plot to i.
tubeRadiusDefault() returns the radius used for a 3D tube plot.
tubeRadiusDefault(r) sets the default radius for a 3D tube plot to r.
unitsColorDefault() returns the default color of the unit ticks in a 2D viewport.
unitsColorDefault(p) sets the default color of the unit ticks in a 2D viewport to the palette p.
var1StepsDefault() is the current setting for the number of steps to take when creating a 3D mesh in the direction of the first defined free variable (a free variable is considered defined when its range is specified (e.g. x=0..10)).
var1StepsDefault(i) sets the number of steps to take when creating a 3D mesh in the direction of the first defined free variable to i (a free variable is considered defined when its range is specified (e.g. x=0..10)).
var2StepsDefault() is the current setting for the number of steps to take when creating a 3D mesh in the direction of the first defined free variable (a free variable is considered defined when its range is specified (e.g. x=0..10)).
var2StepsDefault(i) sets the number of steps to take when creating a 3D mesh in the direction of the first defined free variable to i (a free variable is considered defined when its range is specified (e.g. x=0..10)).
viewDefaults() resets all the default graphics settings.
viewPosDefault() returns the default X and Y position of a viewport window unless overridden explicitly, newly created viewports will have this X and Y coordinate.
viewPosDefault([x, y]) sets the default X and Y position of a viewport window unless overridden explicitly, newly created viewports will have th X and Y coordinates x, y.
viewSizeDefault() returns the default viewport width and height.
viewSizeDefault([w, h]) sets the default viewport width to w and height to h.
viewWriteAvailable() returns a list of available methods for writing, such as BITMAP, POSTSCRIPT, etc.
viewWriteDefault() returns the list of things to write in a viewport data file; a viewAlone file is always generated.
viewWriteDefault(l) sets the default list of things to write in a viewport data file to the strings in l; a viewAlone file is always generated.