Spaces:
Sleeping

XCos_MCP / data /help /Sinks_pal /CSCOPXY.xml
xcos-bot
Deploy snapshot from 23aafd1a (verified archive)
39e01c4
Raw History Blame Contribute Delete
12.2 kB
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Scicos
*
* Copyright (C) INRIA - METALAU Project <scicos@inria.fr> (HTML version)
* Copyright (C) DIGITEO - Scilab Consortium (XML Docbook version)
* Copyright (C) 2018 - Samuel GOUGEON
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* See the file ./license.txt
-->
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML"
xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"
xml:id="CSCOPXY" xml:lang="en_US">
<refnamediv>
<refname>CSCOPXY</refname>
<refpurpose>y = f(x) permanent viewer</refpurpose>
</refnamediv>
<refsection>
<title>Block Screenshot</title>
<inlinemediaobject>
<imageobject>
<imagedata fileref="../../../../images/palettes/CSCOPXY.png" align="center" valign="middle"/>
</imageobject>
</inlinemediaobject>
</refsection>
<refsection id="Contents_CSCOPXY">
<title>Contents</title>
<itemizedlist>
<listitem>
<xref linkend="Description_CSCOPXY">Description</xref>
</listitem>
<listitem>
<xref linkend="Dialogbox_CSCOPXY">Parameters</xref>
</listitem>
<listitem>
<xref linkend="Defaultproperties_CSCOPXY">Default properties</xref>
</listitem>
<listitem>
<xref linkend="Interfacingfunction_CSCOPXY">Interfacing function</xref>
</listitem>
<listitem>
<xref linkend="Computationalfunction_CSCOPXY">Computational function</xref>
</listitem>
<listitem>
<xref linkend="Example_CSCOPXY">Example</xref>
</listitem>
<listitem>
<xref linkend="Seealso_CSCOPXY">See also</xref>
</listitem>
</itemizedlist>
<para/>
</refsection>
<refsection id="Description_CSCOPXY">
<title>Description</title>
<para>
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.
</para>
</refsection>
<refsection id="Dialogbox_CSCOPXY">
<title>Parameters</title>
<inlinemediaobject>
<imageobject>
<imagedata fileref="../../../../images/gui/CSCOPXY_gui.gif" align="center" style="float:right"/>
<!-- align => Javahelp, style => Online -->
</imageobject>
</inlinemediaobject>
<itemizedlist>
<listitem>
<para>
<emphasis role="bold">Number of Curves </emphasis>
</para>
<para> Set the number of curves. Properties : Type 'vec' of size 1 </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">color </emphasis>
</para>
<para>
an integer. It is the color number (≥ 0) or marker type (&lt; 0) used to draw
the evolution of the input port signal. See<emphasis role="bold">plot2d</emphasis>
for color (dash type) definitions.
</para>
<para> Properties : Type 'vec' of size 1 </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">line or mark size</emphasis>
</para>
<para> an integer.</para>
<para> Properties : Type 'vec' of size 1 </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">Output window number</emphasis>
</para>
<para>
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).
</para>
<para> Properties : Type 'vec' of size 1 </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">Output window position</emphasis>
</para>
<para>
a 2 vector specifying the coordinates of the upper left corner of the
graphic window. Answer [] for default window position.
</para>
<para> Properties : Type 'vec' of size -1 </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">Output window sizes</emphasis>
</para>
<para>
a 2 vector specifying the width and height of the graphic window.
Answer [] for default window dimensions.
</para>
<para> Properties : Type 'vec' of size -1 </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">Xmin</emphasis>
</para>
<para>
Minimum values of the first input; used to set up the X-axis of the plot
in the graphics window.
</para>
<para> Properties : Type '' of size </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">Xmax</emphasis>
</para>
<para>
Maximum values of the first input; used to set up the X-axis of the plot
in the graphics window.
</para>
<para> Properties : Type 'vec' of size 1 </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">Ymin</emphasis>
</para>
<para>
Minimum values of the second input; used to set up the Y-axis of the plot
in the graphics window.
</para>
<para> Properties : Type 'vec' of size 1 </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">Ymax</emphasis>
</para>
<para>
Maximum values of the second input; used to set up the Y-axis of the plot
in the graphics window.
</para>
<para> Properties : Type 'vec' of size 1 </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">Buffer size</emphasis>
</para>
<para>
To improve efficiency it is possible to buffer the input data.
The drawing is only done after each Buffer size call to the block.
</para>
<para> Properties : Type 'vec' of size 1</para>
</listitem>
</itemizedlist>
<para/>
</refsection>
<refsection id="Defaultproperties_CSCOPXY">
<title>Default properties</title>
<itemizedlist>
<listitem>
<para>
<emphasis role="bold">always active:</emphasis> no
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">direct-feedthrough:</emphasis> no
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">zero-crossing:</emphasis> no
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">mode:</emphasis> no
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">regular inputs:</emphasis>
</para>
<para>
<emphasis role="bold">- port 1 : size [1,1] / type 1</emphasis>
</para>
<para>
<emphasis role="bold">- port 2 : size [1,1] / type 1</emphasis>
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">number/sizes of activation inputs:</emphasis> 1
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">number/sizes of activation outputs:</emphasis> 0
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">continuous-time state:</emphasis> no
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">discrete-time state:</emphasis> no
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">object discrete-time state:</emphasis> no
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">name of computational function:</emphasis>
<emphasis role="italic">cscopxy</emphasis>
</para>
</listitem>
</itemizedlist>
<para/>
</refsection>
<refsection id="Example_CSCOPXY">
<title>Example</title>
<link type="scilab" linkend="scilab.xcos/xcos/tests/unit_tests/cscopxy.zcos">
<inlinemediaobject>
<imageobject>
<imagedata align="center" fileref="../../../../tests/unit_tests/cscopxy.zcos" valign="middle"/>
</imageobject>
</inlinemediaobject>
</link>
</refsection>
<refsection id="Interfacingfunction_CSCOPXY">
<title>Interfacing function</title>
<itemizedlist>
<listitem>
<para> SCI/modules/scicos_blocks/macros/Sinks/CSCOPXY.sci</para>
</listitem>
</itemizedlist>
</refsection>
<refsection id="Computationalfunction_CSCOPXY">
<title>Computational function</title>
<itemizedlist>
<listitem>
<para> SCI/modules/scicos_blocks/src/c/cscopxy.c (Type 4)</para>
</listitem>
</itemizedlist>
<para/>
</refsection>
<refsection xml:id="Seealso_CSCOPXY" role="see also">
<title>See also</title>
<simplelist type="inline">
<member>
<link linkend="CSCOPXY3D">CSCOPXY3D</link>
</member>
<member>
<link linkend="CSCOPE">CSCOPE</link>
</member>
<member>
<link linkend="CMSCOPE">CMSCOPE</link>
</member>
<member>
<link linkend="CFSCOPE">CFSCOPE</link>
</member>
</simplelist>
</refsection>
</refentry>