Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.0 - Português

Change language to:
English - Français - 日本語 - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Ajuda do Scilab >> Xcos > Scilab/Xcos Data Structures > scicos_diagram

scicos_diagram

Define a scs_m structure

diagram

Type : scilab tlist of type "diagram" with fields : props, objs and version.

props

Diagram properties.

This entry contains various information such some main diagram initials values.

Type : params .

objs

List of objects included in the Xcos diagram.

The objects can also be deleted object data structure. Deleted object data structure is marked list('Deleted'). This objects are temporaries that will be removed on save or load.

Size : total number of objects in the diagram.

Type : list of "Block", "Link" or "Text".

version

A string that gives the version of the Xcos diagram. This is used to provide compatibility with old diagram.

Note that you can get the current version of Xcos by using the entry 'About Xcos' in the help menu or by using the function get_scicos_version().

Size : 1.

Type : String.

Examples

loadXcosLibs();              // load standard library

scs_m = scicos_diagram();    // new diagram
tree_show(scs_m);            // display it
scs_m = scicos_diagram(),
scs_m.props.title = "My_new_schema"
Report an issue
<< scicos_cpr Scilab/Xcos Data Structures scicos_graphics >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 25 08:52:42 CET 2020