Scicos Block
fr - eng

##
y=f(x) permanent viewer

### Contents

- y=f(x) permanent viewer
  - Palette
  - Description
  - Dialog box
  - Default properties
  - Interfacing function
  - Computational function
  - See also
  - Authors

### Palette

- Sinks - Sinks palette

### Description

This block realizes the visualization of the evolution of the two regular inputs 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 simulation is finished.

### Dialog box

- Number of Curves
  Set the number of curves. Properties : Type 'vec' of size 1

- color
  an integer. It is the color number () or dash type () used to draw the evolution of the input port signal. See plot2d 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 don't have the same window numbers (unless superposition of the curves is desired).
  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 width and height of the graphic window. Answer [] for default window dimensions.
  Properties : Type 'vec' of size -1

- Xmin
  Minimum values of the first input; used to set up the X-axis of the plot in the graphics window.
  Properties : Type '' of size

- Xmax
  Maximum values 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 values 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 values 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
  To improve efficiency it is possible to buffer the input data. The drawing is only done after each Buffer size call to the block.
  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: cscopxy

### Interfacing function

- SCI/macros/scicos_blocks/Sinks/CSCOPXY.sci [view code]

### Computational function

- SCI/routines/scicos/cscopxy.c (Type 4) [view code]

### See also

- CSCOPXY3D - z=f(x,y) permanent viewer (Scicos Block)

### Authors

- Ramine Nikoukhah INRIA
- Benoit Bayol