description of the 2D vector field entity properties
The Champ entity is a leaf of the graphics entities hierarchy. This entity defines the parameters for a 2D vector field.
This properties contains the
visibleproperty value for the entity . It should be
"on"the vector field is drawn, If
"off"the vector field is not displayed on the screen.
This field defines a
tlistdata structure of type
"champdata"composed of a row and column indices of each element : the x and y grid coordinates are contained respectively in
data.y. The complementary fields named
data.fyare matrices which describe respectively the
ycomponent of the vector field at point
This field can be use to store any scilab variable in the champ data structure, and to retrieve it.
line_styleproperty value should be an integer in [1 10]. 1 stands for solid, the other value stands for a selection of dashes (see getlinestyle).
This property is a positive real specifying the arrow width in pixels. The displayed width is actually determined by rounding the supplied width to the nearest integer. The only exception is vectorial export where the whole
thicknessvalue is considered.
If this this property value is
"on", fields vectors are drawn using a color proportional to the intensity of the field.
This property is a double specifying the size of the arrow. The value can be positive or negative:
arrow_size < 0: the arrows size is proportional to the average norm of the vectors.
arrow_size > 0: the arrows size is proportional to the windows dimensions.
This field contains the
clip_stateproperty value for the champ. It should be :
"off"this means that the vector field is not clipped
"clipgrf"this means that the vector field is clipped outside the Axes box.
"on"this means that the vector field is clipped outside the rectangle given by property clip_box.
This property contains the
clip_boxproperty. Its value should be an empty matrix if clip_state is "off" .Other cases the vector
[x,y,w,h](upper-left point width height) defines the portions of the vector field to display, however
clip_stateproperty value will be changed.
This property contains the handle of the parent. The parent of the 2D vector field entity should be of the type
- set — set properties of some graphic objects or uimenus or uicontrol interactive components
- get — Gets the handle of a graphical or User Interface object, or the property's value of objects.
- delete — delete a graphic entity and its children.
- champ — plots as arrows a field of 2D vectors
- graphics_entities — description of the graphics entities data structures
|5.4.0||line_style value 0 is obsolete, use 1 instead (both are equivalent for SOLID). Using value 0 will produce an error in Scilab 5.4.1.|
|Report an issue|
|<< champ||2d_plot||comet >>|