Adds an axis to a VRML world.
length (optional) The length of the axis. (Default: 1)
range (optional) A 2-element array specifying the coordinate values defining the axis. (Default: 0, 1)
Radius Specifies the radial length of all objects of the axis. (Default: 0.01 of the length parameter)
Title A string specifying the axis title.
Transform A 4-by-4 matrix for rotating an axis.
TIP: If you need an axis pointing in some direction other than x, y, or z, then use the Transform keyword to rotate one of these three axes in the desired direction.
Y Adds a y-axis.
Z Adds a z-axis.
AmbientColor A 3-element array of RGB color with each element ranging between 0 and 255. If the value is scalar, then the color is interpreted as grayscale.
DiffuseColor A 3-element array of RGB color with each element ranging between 0 and 255. If the value is scalar, then the color is interpreted as grayscale.
EmissiveColor A 3-element array of RGB color with each element ranging between 0 and 255. If the value is scalar, then the color is interpreted as grayscale.
Shininess Scalar shininess factor.
SpecularColor A 3-element array of RGB color with each element ranging between 0 and 255. If the value is scalar, then the color is taken as grayscale.
Transparency Scalar transparency factor, in the range of 0 to 255.
Serif Serif font (the default).
Sans Sans-serif font.
Typewriter Monospaced font.
Bold Boldface type.
Italic Italic type.
VRML_OPEN, 'vrml_axis.wrl'; Start the VRML file.
VRML_AXIS, Title = 'Default Axis'; Create a default axis first.
VRML_AXIS, [1, 0, 0], 3, [-100, 200], /Y,$ Radius = .05, Title = 'Testing Y -Sans - Italic Axis', $ /Sans, /Italic; Make a Y axis, starting at a different origin.
VRML_AXIS, [0, 0, 0], 3, /Z, $ Title = 'Testing Z Axis', $ DiffuseColor = [127, 255, 191], $ AmbientColor = [55, 70, 60], $ EmissiveColor = [200, 100, 50], $ Transparency = 120, $ Specular = [10, 10, 10], /Bold, /TypeWriter; Make a Z axis, with a material list.
VRML_CLOSE