Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
scicos_graphics
graphics構造体を定義
graphics
ブロックの機能に関するグラフィック情報を有するScilabオブジェクト.
Type : scilab tlist of type "graphics"
with fields :
orig,
sz,
flip,
theta,
exprs,
pin,
pout,
pein,
peout,
gr_i,
id,
in_implicit,
out_implicit,
in_style,
out_style,
in_label,
out_label and
style.
orig
Vector [xo,yo]
, where xo
is the x coordinate of the block origin and yo
is the y coordinate of the block origin.
[xo,yo]
is the coordinate of down-left point of
the block shape.
Size : 2.
Type : row vector of real.
sz
Vector [w,h]
, where w is the block width and h the block height.
Size : 2.
Type : row vector of real.
flip
Set the block orientation. If true the input ports are on the left of the box and output ports are on the right.
If false the input ports are on the right of the box and output ports are on the left.
Size : 1.
Type : boolean.
theta
Set the angle of the Scicos object.
This value is in degree and is included in [-360,360].
Size : 1.
Type : real.
exprs
Strings including formal expressions used in the dialog box of the block.
Size : number of formal expressions.
Type : column vector of strings.
pin
Vector. pin(i)
is the number of the link connected to the i
th regular input port (counting from one), or 0
if this port is not connected.
Size : number of regular input ports.
Type : column vector of integers.
pout
Vector. pout(i)
is the number of the link connected to the i
th regular output port (counting from one), or 0
if this port is not connected.
Size : number of regular output ports.
Type : column vector of integers.
pein
Vector. pein(i)
is the number of the link connected to the i
th event input port (counting from one), or 0
if this port is not connected.
Size : number of events input ports.
Type : column vector of integers.
peout
Vector. peout(i)
is the number of the link connected to the ith event output port (counting from one), or 0
if this port is not connected.
Size : number of events output ports.
Type : column vector of integers.
gr_i
Not used
Size : -.
Type : column vector of strings.
id
A string to ease the identification of the block.
Size : 1.
Type : string.
in_implicit
A vector of strings including 'E'
or 'I'
.
'E'
and 'I'
stand respectively for explicit and implicit port, and this vector indicates the nature of each input port. For regular blocks (not implicit), this vector is empty or contains only "E"
.
Size : nul or number of regular input ports.
Type : column vector of strings.
out_implicit
A vector of strings including 'E'
or 'I'
.
'E'
and 'I'
stand respectively for explicit and implicit port, and this vector indicates the nature of each output port. For regular blocks (not implicit), this vector is empty or contains only "E"
.
Size : nul or number of regular output ports.
Type : column vector of strings.
in_style
A vector of strings including JGraphX key values style properties.
These style can be used to place text or to change port aspect (eg. round, green port). This is set in semicolon separated key=value set. For example "shape=ellipse;fillColor=green"
for a round and green port
Size : nul or number of regular input ports.
Type : column vector of strings.
out_style
A vector of strings including JGraphX key values style properties.
These style can be used to place text or to change port aspect (eg. round, green port). This is set in semicolon separated key=value set. For example "shape=ellipse;fillColor=green"
for a round and green port
Size : nul or number of regular output ports.
Type : column vector of strings.
in_label
A vector of strings including ports labels.
These labels can be used to update text or to trace information.
Size : nul or number of regular input ports.
Type : column vector of strings.
out_label
A vector of strings including ports labels.
These labels can be used to update text or to trace information.
Size : nul or number of regular output ports.
Type : column vector of strings.
style
A string.
A vector of strings including JGraphX key values style properties.
These style can be used to place text or to change block aspect (eg. shape, image, text). This is set in semicolon separated key=value set. For example "shape=ellipse;fillColor=red"
for a round and green block
Size : nul or 1.
Type : a string.
Report an issue | ||
<< scicos_diagram | scilab_data_structures | scicos_link >> |