~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to man/graphics/plot2d2.man

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH plot2d2 2 "April 1993" "Scilab Group" "Scilab Function"
 
2
.so ../sci.an
 
3
.SH NAME
 
4
plot2d2 - 2D plot (step function)
 
5
.SH CALLING SEQUENCE
 
6
.nf
 
7
plot2d2([x],y)
 
8
plot2d2([x],y,<opt_args>)
 
9
plot2d2([logflag],x,y,[style,strf,leg,rect,nax])
 
10
.fi
 
11
.SH PARAMETERS
 
12
[ ]
 
13
: see \fVplot2d\fR for a description of parameters.
 
14
.SH DESCRIPTION
 
15
\fVplot2d2\fR is the same as \fVplot2d\fR but the functions given by
 
16
\fV(x,y)\fR are supposed to be piecewise constant. 
 
17
 
 
18
By default, successive plots are superposed. To clear the previous plot, 
 
19
use \fVxbasc()\fR.
 
20
 
 
21
Enter the command \fVplot2d2()\fR to see a demo.
 
22
.SH EXAMPLE
 
23
.nf
 
24
// plots a step function of value i on the segment [i,i+1]
 
25
// the last segment is not drawn
 
26
plot2d2([1:4],[1:4],1,"111","step function",[0,0,5,5])
 
27
// compare the following with plot2d
 
28
x=[0:0.1:2*%pi]';
 
29
xbasc()
 
30
plot2d2(x,[sin(x) sin(2*x) sin(3*x)])
 
31
.fi
 
32
.SH SEE ALSO
 
33
plot2d, plot2d3, plot2d4, subplot, xbasc, xset
 
34
.SH AUTHOR
 
35
J.Ph.C.