Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.1.0 - Français


CSCOPE

Scope displaying a unique simple or multiplexed input in a single axes

Block Screenshot

Description

This scope block displays its input with respect to the simulation time, in a single graphical axes.

If the single input is multiplexed as a matrix, each column is a channel plotted as an independent curve. All curves are plotted in the same axes.

The Scope allows you to adjust the amount of time and the range of input values displayed.

Parameters

  • Color

    a vector of integers. The i-th element is the color number (≥ 0) or marker type (< 0) used to draw the evolution of the i-th input port signal. Seeplot2d for color (dash type) definitions.

    Properties : Type 'vec' of size 8

  • 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 default value is used(1) , Scicos define the output window number.

    Properties : Type 'vec' of size 1

  • Output window position

    a 2 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 vector specifying the coordinates of the upper left corner of the graphic window. Answer [] for default window position.

    Properties : Type 'vec' of size -1

  • Ymin

    Minimum values of the input; used to set up the Y-axis of the plot in the graphics window.

    Properties : Type 'vec' of size 1

  • Ymax

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

    Properties : Type 'vec' of size 1

  • Refresh period

    Maximum value on the X-axis (time). The plot is redrawn when time reaches a multiple of this value.

    Properties : Type 'vec' of size 1

  • Buffer size

    To improve efficiency it is possible to buffer the input data. The drawing is only done after eachBuffer size call to the block.

    Properties : Type 'vec' of size 1

  • Accept herited events 0/1

    if 0CSCOPE_f draws a new point only when an event occurs on its event input port. If 1CSCOPE_f draws a new point when an event occurs on its event input port and when it's regular input changes due to an event on an other upstream block (herited events).

    Properties : Type 'vec' of size 1

  • Name of Scope

    Name/label of the block.

    Properties : Type 'str' of size 1

Default properties

  • always active: no

  • direct-feedthrough: yes

  • zero-crossing: no

  • mode: no

  • regular inputs:

    - port 1 : 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: cscope

Example

Interfacing function

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

Computational function

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

See also

  • CMSCOPE — Multi display scope in subplot(N,1)
  • CFSCOPE — Floating point scope
  • CSCOPXY — y = f(x) permanent viewer
  • CSCOPXY3D — z = f(x,y) permanent viewer
Report an issue
<< CMSCOPE Sinks palette CSCOPXY >>

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:
Mon Jun 17 17:52:32 CEST 2024