- Ajuda do Scilab
- Biblioteca de Gráficos
- 2d_plot
- champ
- champ1
- champ_properties
- comet
- contour2d
- contour2di
- contour2dm
- contourf
- cutaxes
- errbar
- fchamp
- fec
- fec properties
- fgrayplot
- fplot2d
- grayplot
- grayplot_properties
- graypolarplot
- histplot
- LineSpec
- loglog
- Matplot
- Matplot1
- Matplot properties
- paramfplot2d
- plot
- plot2d
- plot2d2
- plot2d3
- plot2d4
- plotimplicit
- polarplot
- scatter
- semilogx
- semilogy
- Sfgrayplot
- Sgrayplot
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
fec properties
description of the fec entities properties
Description
The Fec entity is a leaf of the graphics entities hierarchy. It
represents 2D finite elements plots (see fec
,
Sgrayplot
).
- parent:
This property contains the handle of the parent. The parent of the fec entity should be of the type
"Axes"
or"Compound"
.- children:
This property contains a vector with the
children
of the handle. However,Fec
handles currently do not have anychildren
.- visible:
This field contains the
visible
property value for the entity . It should be"on"
or"off"
. By default, the plot is visible, the value's property is"on"
. If"off"
the plot is not drawn on the screen.- data:
This is a three column matrix
[x,y,f]
, wherex(i)
andy(i)
are the coordinates of thei
'th node.f(i)
is the value associated to the nodei
.- triangles:
This is a
[Ntr,N+2]
matrix. Each line oftriangles
specifies a convex polygon of the meshtriangles(j) = [number,node1,node2,node3, ..., nodeN, flag]
.node1,node2,node3, ..., nodeN
are the number of the nodes which constitutes the polygon. number is the number of the polygons and flag is an integer not used.- z_bounds:
This vector of size 2,
[zmin,zmax]
, gives the z values associated with the first and the last color (of the current colormap). More exactly if the colormap havenc
colors and if we notedz = (zmax-zmin)/nc
,then the part of the triangulation wherezmin + (i-1)dz <= z < zmin + i dz
is filled with the colori
). By default thez_bounds
property value is[0,0]
. In this case, thezmin
andzmax
are autommatically set to the minimum and maximum of thefunc
argument.- outside_color:
This vector of size 2,
[cmin, cmax]
, defines the color used when nodes values are outside thez_bounds = [zmin,zmax]
interval. When node values are lower thanzmin
the color with indexcmin
is used. When node values are greater thanzmax
the color with indexcmax
is used. By default, theoutside_color
property value is[0,0]
. In this case,cmin
andcmax
are automatically set to the two bounds of the colormap. Ifcmin
orcmax
are negative, then values outside z_bounds interval are not displayed, they appear transparent.- color_range:
This vector of size 2,
[rmin, rmax]
, allows to use only a part of the colormap for display.rmin
andrmax
stand for colormap indices. If they are both greater than 1, then the actual colormap used to display the fec entity iscolormap(rmin:rmax)
wherecolormap
is the colormap of the parent figure. By default, thecolor_range
property value is[0,0]
. In this case, the whole colormap is used.- line_mode:
If
"on"
, the wireframe enclosing triangles is drawn. If"off"
, only the inside of triangles are drawn.- foreground:
This color index specifies the color of the mesh. If
line_mode
property is"on"
, the wireframe is drawn using this color.- clip_state:
This field contains the
clip_state
property value for the fec. It should be :"off"
this means that the fec is not clipped."clipgrf"
this means that the fec is clipped outside the Axes box."on"
this means that the fec is clipped outside the rectangle given by property clip_box.
- clip_box:
This field is to determinate the
clip_box
property. By Default 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 fec to display, howeverclip_state
property value will be changed.- user_data:
This field can be use to store any scilab variable in the fec data structure, and to retrieve it.
Examples
x=-10:10; y=-10:10;m =rand(21,21); Sgrayplot(x,y,m); a=get("current_axes"); f=a.children.children(1) f.data(:,3)=(1:size(f.data,1))'; a.parent.color_map=hotcolormap(64);
See also
- set — Ajusta um valor de propriedade de uma objeto entidade gráfica ou de um objeto Interface do Usuário (User Interface)
- get — Gets the handle of a graphical or User Interface object, or the property's value of objects.
- delete — Deleta uma entidade gráfica e seus galhos
- fec — Esboço pseudo-colorido triangular de uma função definida por uma malha triangular
- Sgrayplot — esboço 2d suave de uma superfície utilizando cores
- graphics_entities — Descrição das estruturas de dados de entidades gráficas
Report an issue | ||
<< fec | 2d_plot | fgrayplot >> |