Results > Solution Selection > Ray Trajectories

Ray Trajectories
Create a ray trajectories plot.
Syntax
model.result(<pgtag>).create(<ftag>,"RayTrajectories");
model.result(<pgtag>).feature(<ftag>).set(property, <value>);
model.result(<pgtag>).feature(<ftag>).run();
Description
model.result(<pgtag>).create(<ftag>,"RayTrajectories") creates a ray trajectories plot feature named <ftag> belonging to plot group <pgtag>.
A ray data set is required to plot ray trajectories. The ray data set identifies the geometry in which the ray data is stored and the degrees of freedom which determine the position of each ray.
The following properties are available:
Active when pointtype is set to arrow. Determines the direction in which the arrow points.
The arrow scaling: Proportional uses the actual arrow length, normalized a unit length, and logarithmic a length proportional to the logarithm of the arrow length.
If arrowscalefactor is true: the length scale factor.
If true, arrowscale is used, otherwise the scale factor is computed automatically.
Active when pointtype is set to comettail. Determines the direction in which the comet tail points and the relative sizes of the tails of different rays.
none | parent | data set name
If inheritplot is not none: Determines if the arrow scale is inherited.
If inheritplot is not none: Determines if the color is inherited.
If inheritplot is not none: Determines if the deformation scale is inherited.
If inheritplot is not none: Determines if the ellipse scale factor is inherited.
none | plot name
If inheritplot is not none: Determines if the color and data ranges are inherited.
If inheritplot is not none: Determines if the radius scale factor is inherited.
If inheritplot is not none: Determines if the tail scale factor is inherited.
If inheritplot is not none: Determines if the tube radius scale factor is inherited.
none | uniform
custom | black | blue | cyan | green | magenta | red | white | yellow
black (2D), red (3D)
none | line | tube
double > 1
If arrowlength is logarithmic: The ratio between the maximum arrow length and the arrow length below which no arrow is drawn.
on | off
custom | black | blue | cyan | green | magenta | red | white | yellow
on | off
none | point | comettail
on | off
If on, sphereradiusscale is used; otherwise the scale factor is computed automatically.
Active when pointtype is set to comettail and tailscaleactive is on. Specifies the manual scale factor with which the comet tail expression is multiplied.
on | off
Active when pointtype is set to comettail. Specifies whether manual tail scaling is enabled.
Active when title is set to manual. Specifies the plot title.
automatic | manual | none
on | off
If on, tuberadiusscale is used, otherwise the scale factor is computed automatically
See Also
Ray (1D Plot), Ray (Evaluation)