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


CANIMXY

y=f(x) animated viewer

Block Screenshot

Description

This block performs the visualization of the evolution of the two regular input signals by drawing the second input as a function of the first at instants of events on the event input port. When a point is drawn on screen, it stays until the buffer length is reached. This scope is useful to make simple animations.

Parameters

  • Number of Curves

    Set the number of curves.

    Properties : Type 'vec' of size 1

  • color

    an integer. It is the color number (≥ 0) or marker type (< 0) used to draw the evolution of the input port signal. See polyline properties for color (dash type) definitions.

    Properties : Type 'vec' of size 1

  • line or mark size

    an integer.

    Properties : Type 'vec' of size 1

  • Output window number

    The number of graphic window used for the display. It is often good to use high values to avoid conflict with palettes and Super Block windows. If you have more than one scope, make sure they do not have the same window numbers (unless superposition of the curves is desired).

    Properties: Type 'vec' of size 1

  • Output window position

    A 2 element vector specifying the coordinates of the upper left corner of the graphic window. Answer [] for default window position.

    Properties: Type 'vec' of size -1

  • Output window sizes

    A 2 element vector specifying the width and height of the graphic window. Answer [] for default window dimensions.

    Properties: Type 'vec' of size -1

  • Xmin

    Minimum value of the first input: used to set up the X-axis of the plot in the graphics window.

    Properties: Type 'vec' of size 1

  • Xmax

    Maximum value of the first input: used to set up the X-axis of the plot in the graphics window.

    Properties: Type 'vec' of size 1

  • Ymin

    Minimum value of the second input: used to set up the Y-axis of the plot in the graphics window.

    Properties: Type 'vec' of size 1

  • Ymax

    Maximum value of the second input; used to set up the Y-axis of the plot in the graphics window.

    Properties: Type 'vec' of size 1

  • Buffer size

    An integer value. In order to minimize the number of graphics outputs, data may buffered.

    Properties: Type 'vec' of size 1

Default properties

  • always active: no

  • direct-feedthrough: no

  • zero-crossing: no

  • mode: no

  • regular inputs:

    - port 1 : size [1,1] / type 1

    - port 2 : size [1,1] / type 1

  • number/sizes of activation inputs: 1

  • number/sizes of activation outputs: 0

  • continuous-time state: no

  • discrete-time state: no

  • object discrete-time state: no

  • name of computational function: canimxy

Interfacing function

  • SCI/modules/scicos_blocks/macros/Sinks/CANIMXY.sci

Computational function

  • SCI/modules/scicos_blocks/src/c/canimxy.c (Type 4)

Example

See also

  • BARXY — y=f(x) animated viewer
  • CANIMXY3D — z=f(x,y) animated viewer
Report an issue
<< BARXY Sinks_pal CANIMXY3D >>

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:
Thu Oct 24 11:16:57 CEST 2024