Mercurial > hg > octave-lyh
comparison scripts/plot/plot.m @ 3683:505f5c35a2c9
[project @ 2000-06-27 20:19:47 by jwe]
author | jwe |
---|---|
date | Tue, 27 Jun 2000 20:20:46 +0000 |
parents | f8dde1807dee |
children | e3501697c995 |
comparison
equal
deleted
inserted
replaced
3682:19e1ac7359fb | 3683:505f5c35a2c9 |
---|---|
136 ## 4 magenta x | 136 ## 4 magenta x |
137 ## 5 cyan house | 137 ## 5 cyan house |
138 ## 6 brown there exists | 138 ## 6 brown there exists |
139 ## @end example | 139 ## @end example |
140 ## | 140 ## |
141 ## The @var{fmt} argument can also be used to assign key titles. | |
142 ## To do so, include the desired title between semi-colons after the | |
143 ## formatting sequence described above, e.g. "+3;Key Title;" | |
144 ## Note that the last semi-colon is required and will generate an error if | |
145 ## it is left out. | |
146 ## | |
141 ## Here are some plot examples: | 147 ## Here are some plot examples: |
142 ## | 148 ## |
143 ## @example | 149 ## @example |
144 ## plot (x, y, "@@12", x, y2, x, y3, "4", x, y4, "+") | 150 ## plot (x, y, "@@12", x, y2, x, y3, "4", x, y4, "+") |
145 ## @end example | 151 ## @end example |
152 ## plot (b, "*") | 158 ## plot (b, "*") |
153 ## @end example | 159 ## @end example |
154 ## | 160 ## |
155 ## This command will plot the data in the variable @code{b} will be plotted | 161 ## This command will plot the data in the variable @code{b} will be plotted |
156 ## with points displayed as @samp{*}. | 162 ## with points displayed as @samp{*}. |
163 ## | |
164 ## @example | |
165 ## t = 0:0.1:6.3; | |
166 ## plot (t, cos(t), "-;cos(t);", t, sin(t), "+3;sin(t);"); | |
167 ## @end example | |
168 ## | |
169 ## This will plot the cosine and sine functions and label them accordingly | |
170 ## in the key. | |
157 ## @end deftypefn | 171 ## @end deftypefn |
158 ## @seealso{semilogx, semilogy, loglog, polar, mesh, contour, __pltopt__ | 172 ## @seealso{semilogx, semilogy, loglog, polar, mesh, contour, __pltopt__ |
159 ## bar, stairs, gplot, gsplot, replot, xlabel, ylabel, and title} | 173 ## bar, stairs, gplot, gsplot, replot, xlabel, ylabel, and title} |
160 | 174 |
161 ## Author: jwe | 175 ## Author: jwe |