Please note that the recommended version of Scilab is 6.1.0. This page might be outdated.

See the recommended documentation of this function

# scicos_graphics

Define a graphics structure

### Module

### graphics

Scilab object including graphical information concerning the features of the block.

Size : 14.

Type : scilab list.

**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 ith 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 ith 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 ith 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**Strings including Scilab graphics expressions for customizing the block graphical aspect. This field may be set with Icon sub_menu.

Size : -.

Type : column vector of strings.

**id**A string including an identification for the block. The string is displayed under the block in the diagram.

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.

### File content

SCI/modules/scicos/macros/scicos_scicos/scicos_graphics.sci

## Comments

Add a comment:Please login to comment this page.