Filter (Particle Tracing, Point Trajectories, Ray Tracing)
Add a filter attribute to a particle trajectories or particle, point trajectories, or ray or ray tracing plot.
Syntax
model.result(<pgtag>).feature(<ftag>).create(<atag>,"ParticleTrajectoriesFilter");
model.result(<pgtag>).feature(<ftag>).create(<atag>,"PointTrajectoriesFilter");
model.result(<pgtag>).feature(<ftag>).create(<atag>,"RayTrajectoriesFilter");
model.result(<pgtag>).feature(<ftag>).feature(<atag>).set(property, <value>);
Description
model.result(<pgtag>).feature(<ftag>).create(<atag>,"ParticleTrajectoriesFilter") creates a filter attribute named <atag> belonging to the plot feature <ftag>.
Use filters to plot a subset of particles, points, or rays in a dataset.
Filters can be added to particle trajectories plots and particle plots; point trajectories plots; and ray trajectories plots and ray plots.
The following properties are available:
all | fraction | number
all | primary | secondary | logical
Determines which particles, points, or rays that are included when creating the plot. primary and secondary are not available for point trajectories.