1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
4
<LANGUAGE>eng</LANGUAGE>
8
<TYPE>Scilab Function</TYPE>
10
<DATE>April 1993</DATE>
12
<SHORT_DESCRIPTION name="plot2d1">2D plot (logarithmic axes)
13
(obsolete)</SHORT_DESCRIPTION>
16
<CALLING_SEQUENCE_ITEM>plot2d1(str,x,y,[style,strf,leg,rect,nax])</CALLING_SEQUENCE_ITEM>
22
<PARAM_NAME>str</PARAM_NAME>
25
<SP>: is a string of length three <VERB>"abc"</VERB>.</SP>
29
<PARAM_NAME>a</PARAM_NAME>
32
<SP>: can have the following values: <VERB>e</VERB>,
33
<VERB>o</VERB> or <VERB>g</VERB>.</SP>
37
<PARAM_NAME>e</PARAM_NAME>
40
<SP>: means "empty". Itspecifies the fact that the value
41
of <VERB>x</VERB> is not used (the <VERB>x</VERB> values
42
are supposed to be regularly spaced, ie 1:<number of
43
rows of <VERB>y</VERB>>). The user must anyway give a
44
value for <VERB>x</VERB>, 1 for instance:
45
<VERB>plot2d1("enn",1,y)</VERB>.</SP>
50
<PARAM_NAME>o</PARAM_NAME>
53
<SP>: means "one". If there are many curves, they all
54
have the same x-values: <VERB>x</VERB> is a column
55
vector of size nl and <VERB>y</VERB> is a matrix of size
56
(nl,nc). For example : <VERB>x=[0:0.1:2*%pi]';
57
plot2d1("onn",x,[sin(x) cos(x)])</VERB>.</SP>
62
<PARAM_NAME>g</PARAM_NAME>
65
<SP>: means "general". <VERB>x</VERB> and <VERB>y</VERB>
66
must have the same size (nl,nc). Each column of
67
<VERB>y</VERB> is plotted with respect to the
68
corresponding column of <VERB>x</VERB>. <VERB>nc</VERB>
69
curves are plotted using <VERB>nl</VERB> points.</SP>
77
<PARAM_NAME>b, c</PARAM_NAME>
80
<SP>: can have the values <VERB>n</VERB> (normal) or
81
<VERB>l</VERB> (logarithmic).</SP>
85
<PARAM_NAME>b=l</PARAM_NAME>
88
<SP>: a logarithmic axis is used on the x-axis</SP>
93
<PARAM_NAME>c=l</PARAM_NAME>
96
<SP>: a logarithmic axis is used on the y-axis</SP>
107
<PARAM_NAME>x,y,[style,strf,leg,rect,nax]</PARAM_NAME>
110
<SP>: these arguments have the same meaning as in the
111
<VERB>plot2d</VERB> function.</SP>
116
<PARAM_NAME>opt_args</PARAM_NAME>
119
<SP>: these arguments have the same meaning as in the
120
<VERB>plot2d</VERB> function.</SP>
127
<P>This function is obsolete. USE <VERB>plot2d</VERB> INSTEAD !!</P>
129
<P><VERB>plot2d1</VERB> plots a set of 2D curves. It is the same as
130
<VERB>plot2d</VERB> but with one more argument <VERB>str</VERB> which
131
enables logarithmic axis. Moreover, it allows to specify only one column
132
vector for <VERB>x</VERB> when it is the same for all the curves.</P>
134
<P>By default, successive plots are superposed. To clear the previous
135
plot, use <VERB>clf</VERB>.</P>
137
<P>Enter the command <VERB>plot2d1()</VERB> to see a demo.</P>
142
// multiple plot without giving x
144
plot2d1("enn",1,[sin(x) sin(2*x) sin(3*x)])
145
// multiple plot using only one x
147
plot2d1("onn",x,[sin(x) sin(2*x) sin(3*x)])
149
x=[0.1:0.1:3]'; clf()
150
plot2d1("oll",x,[exp(x) exp(x^2) exp(x^3)])
176
<AUTHOR>J.Ph.C.</AUTHOR>
b'\\ No newline at end of file'