Mercurial > hg > octave-nkf
annotate doc/interpreter/plot.txi @ 8046:c4482fc30c7f
Add the ezplot function
author | David Bateman <dbateman@free.fr> |
---|---|
date | Thu, 21 Aug 2008 11:29:06 -0400 |
parents | 23c248d415b5 |
children | d51c3541be28 |
rev | line source |
---|---|
7018 | 1 @c Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, |
2 @c 2006, 2007 John W. Eaton | |
3 @c | |
4 @c This file is part of Octave. | |
5 @c | |
6 @c Octave is free software; you can redistribute it and/or modify it | |
7 @c under the terms of the GNU General Public License as published by the | |
8 @c Free Software Foundation; either version 3 of the License, or (at | |
9 @c your option) any later version. | |
10 @c | |
11 @c Octave is distributed in the hope that it will be useful, but WITHOUT | |
12 @c ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 @c FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 @c for more details. | |
15 @c | |
16 @c You should have received a copy of the GNU General Public License | |
17 @c along with Octave; see the file COPYING. If not, see | |
18 @c <http://www.gnu.org/licenses/>. | |
3294 | 19 |
4167 | 20 @node Plotting |
3294 | 21 @chapter Plotting |
6888 | 22 @cindex plotting |
23 @cindex graphics | |
3294 | 24 |
25 @menu | |
6888 | 26 * Plotting Basics:: |
27 * Advanced Plotting:: | |
28 @end menu | |
29 | |
30 @node Plotting Basics | |
31 @section Plotting Basics | |
32 | |
33 Octave makes it easy to create many different types of two- and | |
34 three-dimensional plots using a few high-level functions. | |
35 | |
36 If you need finer control over graphics, see @ref{Advanced Plotting}. | |
37 | |
38 @menu | |
39 * Two-Dimensional Plots:: | |
3294 | 40 * Three-Dimensional Plotting:: |
41 * Plot Annotations:: | |
42 * Multiple Plots on One Page:: | |
3428 | 43 * Multiple Plot Windows:: |
6888 | 44 * Printing Plots:: |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
45 * Interacting with plots:: |
6888 | 46 * Test Plotting Functions:: |
3294 | 47 @end menu |
48 | |
6888 | 49 @node Two-Dimensional Plots |
50 @subsection Two-Dimensional Plots | |
51 | |
52 The @code{plot} function allows you to create simple x-y plots with | |
53 linear axes. For example, | |
3294 | 54 |
6888 | 55 @example |
56 @group | |
57 x = -10:0.1:10; | |
58 plot (x, sin (x)); | |
59 @end group | |
60 @end example | |
61 | |
62 @noindent | |
6899 | 63 displays a sine wave shown in @ref{fig:plot}. On most systems, this |
6888 | 64 command will open a separate plot window to display the graph. |
5134 | 65 |
6888 | 66 @float Figure,fig:plot |
67 @image{plot,8cm} | |
68 @caption{Simple Two-Dimensional Plot.} | |
69 @end float | |
70 | |
5134 | 71 @DOCSTRING(plot) |
72 | |
6888 | 73 The functions @code{semilogx}, @code{semilogy}, and @code{loglog} are |
74 similar to the @code{plot} function, but produce plots in which one or | |
75 both of the axes use log scales. | |
76 | |
77 @DOCSTRING(semilogx) | |
6502 | 78 |
6888 | 79 @DOCSTRING(semilogy) |
6502 | 80 |
6888 | 81 @DOCSTRING(loglog) |
82 | |
83 The functions @code{bar}, @code{barh}, @code{stairs}, and @code{stem} | |
84 are useful for displaying discrete data. For example, | |
5134 | 85 |
6888 | 86 @example |
87 @group | |
88 hist (randn (10000, 1), 30); | |
89 @end group | |
90 @end example | |
5134 | 91 |
6888 | 92 @noindent |
93 produces the histogram of 10,000 normally distributed random numbers | |
6899 | 94 shown in @ref{fig:hist}. |
5134 | 95 |
6888 | 96 @float Figure,fig:hist |
97 @image{hist,8cm} | |
98 @caption{Histogram.} | |
99 @end float | |
5134 | 100 |
101 @DOCSTRING(bar) | |
102 | |
6877 | 103 @DOCSTRING(barh) |
104 | |
6888 | 105 @DOCSTRING(hist) |
106 | |
107 @DOCSTRING(stairs) | |
108 | |
109 @DOCSTRING(stem) | |
110 | |
7981 | 111 The @code{contour}, @code{contourf} and @code{contourc} functions |
112 produce two-dimensional contour plots from three dimensional data. | |
6888 | 113 |
5134 | 114 @DOCSTRING(contour) |
115 | |
7981 | 116 @DOCSTRING(contourf) |
117 | |
6502 | 118 @DOCSTRING(contourc) |
119 | |
6888 | 120 The @code{errorbar}, @code{semilogxerr}, @code{semilogyerr}, and |
121 @code{loglogerr} functions produces plots with error bar markers. For | |
122 example, | |
6877 | 123 |
6888 | 124 @example |
125 x = 0:0.1:10; | |
126 y = sin (x); | |
127 yp = 0.1 .* randn (size (x)); | |
128 ym = -0.1 .* randn (size (x)); | |
129 errorbar (x, sin (x), ym, yp); | |
130 @end example | |
5134 | 131 |
6888 | 132 @noindent |
6899 | 133 produces the figure shown in @ref{fig:errorbar}. |
6502 | 134 |
6888 | 135 @float Figure,fig:errorbar |
136 @image{errorbar,8cm} | |
137 @caption{Errorbar plot.} | |
138 @end float | |
5134 | 139 |
140 @DOCSTRING(errorbar) | |
141 | |
142 @DOCSTRING(semilogxerr) | |
143 | |
144 @DOCSTRING(semilogyerr) | |
145 | |
6888 | 146 @DOCSTRING(loglogerr) |
147 | |
148 Finally, the @code{polar} function allows you to easily plot data in | |
7001 | 149 polar coordinates. However, the display coordinates remain rectangular |
6888 | 150 and linear. For example, |
151 | |
152 @example | |
153 polar (0:0.1:10*pi, 0:0.1:10*pi); | |
154 @end example | |
155 | |
156 @noindent | |
6899 | 157 produces the spiral plot shown in @ref{fig:polar}. |
6888 | 158 |
159 @float Figure,fig:polar | |
160 @image{polar,8cm} | |
161 @caption{Polar plot.} | |
162 @end float | |
163 | |
164 @DOCSTRING(polar) | |
165 | |
7120 | 166 @DOCSTRING(pie) |
167 | |
168 @DOCSTRING(quiver) | |
169 | |
170 @DOCSTRING(pcolor) | |
171 | |
7153 | 172 @DOCSTRING(area) |
173 | |
6888 | 174 The axis function may be used to change the axis limits of an existing |
175 plot. | |
176 | |
177 @DOCSTRING(axis) | |
178 | |
7189 | 179 Similarly the axis limits of the colormap can be changed with the caxis |
180 function. | |
181 | |
182 @DOCSTRING(caxis) | |
183 | |
7989
23c248d415b5
Various doc fixes. Readd cellidx
David Bateman <dbateman@free.fr>
parents:
7984
diff
changeset
|
184 @menu |
23c248d415b5
Various doc fixes. Readd cellidx
David Bateman <dbateman@free.fr>
parents:
7984
diff
changeset
|
185 * Two-dimensional Function Plotting:: |
23c248d415b5
Various doc fixes. Readd cellidx
David Bateman <dbateman@free.fr>
parents:
7984
diff
changeset
|
186 @end menu |
23c248d415b5
Various doc fixes. Readd cellidx
David Bateman <dbateman@free.fr>
parents:
7984
diff
changeset
|
187 |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
188 @node Two-dimensional Function Plotting |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
189 @subsubsection Two-dimensional Function Plotting |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
190 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
191 Octave can plot a function from a function handle inline function or |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
192 string defining the function without the user needing to explicitly |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
193 create the data to be plotted. The function @code{fplot} also generates |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
194 two-dimensional plots with linear axes using a function name and limits |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
195 for the range of the x-coordinate instead of the x and y data. For |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
196 example, |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
197 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
198 @example |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
199 @group |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
200 fplot (@@sin, [-10, 10], 201); |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
201 @end group |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
202 @end example |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
203 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
204 @noindent |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
205 produces a plot that is equivalent to the one above, but also includes a |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
206 legend displaying the name of the plotted function. |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
207 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
208 @DOCSTRING(fplot) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
209 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
210 Other functions that can create two-dimensional plots directly from a |
8046 | 211 function include @code{ezplot), @code{ezcontour}, @code{ezcontourf} and |
212 @code{ezpolar}. | |
213 | |
214 @DOCSTRING(ezplot) | |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
215 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
216 @DOCSTRING(ezcontour) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
217 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
218 @DOCSTRING(ezcontourf) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
219 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
220 @DOCSTRING(ezpolar) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
221 |
5134 | 222 @node Three-Dimensional Plotting |
6888 | 223 @subsection Three-Dimensional Plotting |
224 | |
225 The function @code{mesh} produces mesh surface plots. For example, | |
226 | |
227 @example | |
228 @group | |
229 tx = ty = linspace (-8, 8, 41)'; | |
230 [xx, yy] = meshgrid (tx, ty); | |
231 r = sqrt (xx .^ 2 + yy .^ 2) + eps; | |
232 tz = sin (r) ./ r; | |
233 mesh (tx, ty, tz); | |
234 @end group | |
235 @end example | |
236 | |
237 @noindent | |
6899 | 238 produces the familiar ``sombrero'' plot shown in @ref{fig:mesh}. Note |
6888 | 239 the use of the function @code{meshgrid} to create matrices of X and Y |
240 coordinates to use for plotting the Z data. The @code{ndgrid} function | |
241 is similar to @code{meshgrid}, but works for N-dimensional matrices. | |
242 | |
243 @float Figure,fig:mesh | |
244 @image{mesh,8cm} | |
245 @caption{Mesh plot.} | |
246 @end float | |
5134 | 247 |
6888 | 248 The @code{meshc} function is similar to @code{mesh}, but also produces a |
249 plot of contours for the surface. | |
250 | |
251 The @code{plot3} function displays arbitrary three-dimensional data, | |
252 without requiring it to form a surface. For example | |
253 | |
254 @example | |
255 @group | |
256 t = 0:0.1:10*pi; | |
257 r = linspace (0, 1, numel (t)); | |
258 z = linspace (0, 1, numel (t)); | |
259 plot3 (r.*sin(t), r.*cos(t), z); | |
260 @end group | |
261 @end example | |
262 | |
263 @noindent | |
6899 | 264 displays the spiral in three dimensions shown in @ref{fig:plot3}. |
6888 | 265 |
266 @float Figure,fig:plot3 | |
267 @image{plot3,8cm} | |
268 @caption{Three dimensional spiral.} | |
269 @end float | |
270 | |
271 Finally, the @code{view} function changes the viewpoint for | |
272 three-dimensional plots. | |
5134 | 273 |
274 @DOCSTRING(mesh) | |
275 | |
6788 | 276 @DOCSTRING(meshc) |
277 | |
7153 | 278 @DOCSTRING(hidden) |
279 | |
7120 | 280 @DOCSTRING(surf) |
281 | |
282 @DOCSTRING(surfc) | |
283 | |
5134 | 284 @DOCSTRING(meshgrid) |
285 | |
6550 | 286 @DOCSTRING(ndgrid) |
287 | |
6888 | 288 @DOCSTRING(plot3) |
289 | |
6502 | 290 @DOCSTRING(view) |
291 | |
7120 | 292 @DOCSTRING(shading) |
293 | |
7989
23c248d415b5
Various doc fixes. Readd cellidx
David Bateman <dbateman@free.fr>
parents:
7984
diff
changeset
|
294 @menu |
23c248d415b5
Various doc fixes. Readd cellidx
David Bateman <dbateman@free.fr>
parents:
7984
diff
changeset
|
295 * Three-dimensional Function Plotting:: |
23c248d415b5
Various doc fixes. Readd cellidx
David Bateman <dbateman@free.fr>
parents:
7984
diff
changeset
|
296 @end menu |
23c248d415b5
Various doc fixes. Readd cellidx
David Bateman <dbateman@free.fr>
parents:
7984
diff
changeset
|
297 |
23c248d415b5
Various doc fixes. Readd cellidx
David Bateman <dbateman@free.fr>
parents:
7984
diff
changeset
|
298 @node Three-dimensional Function Plotting |
23c248d415b5
Various doc fixes. Readd cellidx
David Bateman <dbateman@free.fr>
parents:
7984
diff
changeset
|
299 @subsubsection Three-dimensional Function Plotting |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
300 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
301 @DOCSTRING(ezplot3) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
302 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
303 @DOCSTRING(ezmesh) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
304 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
305 @DOCSTRING(ezmeshc) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
306 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
307 @DOCSTRING(ezsurf) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
308 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
309 @DOCSTRING(ezsurfc) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
310 |
6888 | 311 @node Plot Annotations |
312 @subsection Plot Annotations | |
6502 | 313 |
6888 | 314 You can add titles, axis labels, legends, and arbitrary text to an |
315 existing plot. For example, | |
6877 | 316 |
6888 | 317 @example |
318 @group | |
319 x = -10:0.1:10; | |
320 plot (x, sin (x)); | |
321 title ("sin(x) for x = -10:0.1:10"); | |
322 xlabel ("x"); | |
323 ylabel ("sin (x)"); | |
324 text (pi, 0.7, "arbitrary text"); | |
325 legend ("sin (x)"); | |
326 @end group | |
327 @end example | |
6502 | 328 |
6888 | 329 The functions @code{grid} and @code{box} may also be used to add grid |
330 and border lines to the plot. By default, the grid is off and the | |
331 border lines are on. | |
5134 | 332 |
333 @DOCSTRING(title) | |
334 | |
6502 | 335 @DOCSTRING(legend) |
336 | |
337 @DOCSTRING(text) | |
338 | |
5134 | 339 @DOCSTRING(xlabel) |
340 | |
6502 | 341 @DOCSTRING(box) |
342 | |
343 @DOCSTRING(grid) | |
344 | |
5134 | 345 @node Multiple Plots on One Page |
6888 | 346 @subsection Multiple Plots on One Page |
347 | |
348 Octave can display more than one plot in a single figure. The simplest | |
349 way to do this is to use the @code{subplot} function to divide the plot | |
350 area into a series of subplot windows that are indexed by an integer. | |
351 For example, | |
352 | |
353 @example | |
354 @group | |
355 subplot (2, 1, 1) | |
356 fplot (@@sin, [-10, 10]); | |
357 subplot (2, 1, 2) | |
358 fplot (@@cos, [-10, 10]); | |
359 @end group | |
360 @end example | |
361 | |
362 @noindent | |
363 creates a figure with two separate axes, one displaying a sine wave and | |
364 the other a cosine wave. The first call to subplot divides the figure | |
365 into two plotting areas (two rows and one column) and makes the first plot | |
366 area active. The grid of plot areas created by @code{subplot} is | |
367 numbered in column-major order (top to bottom, left to right). | |
5134 | 368 |
369 @DOCSTRING(subplot) | |
370 | |
371 @node Multiple Plot Windows | |
6888 | 372 @subsection Multiple Plot Windows |
373 | |
374 You can open multiple plot windows using the @code{figure} function. | |
375 For example | |
376 | |
377 @example | |
378 figure (1); | |
379 fplot (@@sin, [-10, 10]); | |
380 figure (2); | |
381 fplot (@@cos, [-10, 10]); | |
382 @end example | |
383 | |
384 @noindent | |
385 creates two figures, with the first displaying a sine wave and | |
386 the second a cosine wave. Figure numbers must be positive integers. | |
5134 | 387 |
388 @DOCSTRING(figure) | |
389 | |
6502 | 390 @node Printing Plots |
6888 | 391 @subsection Printing Plots |
392 | |
393 The @code{print} command allows you to save plots in a variety of | |
394 formats. For example, | |
395 | |
396 @example | |
397 print -deps foo.eps | |
398 @end example | |
399 | |
400 @noindent | |
401 writes the current figure to an encapsulated PostScript file called | |
402 @file{foo.eps}. | |
6502 | 403 |
404 @DOCSTRING(print) | |
405 | |
406 @DOCSTRING(orient) | |
5134 | 407 |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
408 @node Interacting with plots |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
409 @subsection Interacting with plots |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
410 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
411 The user can select points on a plot with the @code{ginput} function or |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
412 selction the position at which to place text on the plot with the |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
413 @code{gtext} function using the mouse. |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
414 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
415 @DOCSTRING(ginput) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
416 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
417 @DOCSTRING(waitforbuttonpress) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
418 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
419 @DOCSTRING(gtext) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
420 |
6788 | 421 @node Test Plotting Functions |
6888 | 422 @subsection Test Plotting Functions |
423 | |
424 The functions @code{sombrero} and @code{peaks} provide a way to check | |
425 that plotting is working. Typing either @code{sombrero} or @code{peaks} | |
426 at the Octave prompt should display a three dimensional plot. | |
6788 | 427 |
6877 | 428 @DOCSTRING(sombrero) |
429 | |
6788 | 430 @DOCSTRING(peaks) |
431 | |
6888 | 432 @node Advanced Plotting |
433 @section Advanced Plotting | |
434 | |
435 @menu | |
436 * Graphics Objects:: | |
437 * Graphics Object Properties:: | |
6891 | 438 * Managing Default Properties:: |
6889 | 439 * Colors:: |
440 * Line Styles:: | |
441 * Marker Styles:: | |
6888 | 442 * Interaction with gnuplot:: |
443 @end menu | |
444 | |
445 @node Graphics Objects | |
446 @subsection Graphics Objects | |
447 | |
448 Plots in Octave are constructed from the following @dfn{graphics | |
449 objects}. Each graphics object has a set of properties that define its | |
450 appearance and may also contain links to other graphics objects. | |
451 Graphics objects are only referenced by a numeric index, or @dfn{handle}. | |
452 | |
453 @table @asis | |
454 @item root figure | |
455 The parent of all figure objects. The index for the root figure is | |
456 defined to be 0. | |
457 | |
458 @item figure | |
459 A figure window. | |
460 | |
461 @item axes | |
462 An set of axes. This object is a child of a figure object and may be a | |
463 parent of line, text, image, patch, or surface objects. | |
464 | |
465 @item line | |
466 A line in two or three dimensions. | |
467 | |
468 @item text | |
469 Text annotations. | |
470 | |
471 @item image | |
472 A bitmap image. | |
473 | |
474 @item patch | |
475 A filled polygon, currently limited to two dimensions. | |
476 | |
477 @item surface | |
478 A three-dimensional surface. | |
479 @end table | |
480 | |
481 To determine whether an object is a graphics object index or a figure | |
482 index, use the functions @code{ishandle} and @code{isfigure}. | |
483 | |
484 @DOCSTRING(ishandle) | |
485 | |
486 @DOCSTRING(isfigure) | |
487 | |
488 The function @code{gcf} returns an index to the current figure object, | |
489 or creates one if none exists. Similarly, @code{gca} returns the | |
490 current axes object, or creates one (and its parent figure object) if | |
491 none exists. | |
492 | |
493 @DOCSTRING(gcf) | |
494 | |
495 @DOCSTRING(gca) | |
496 | |
497 The @code{get} and @code{set} functions may be used to examine and set | |
498 properties for graphics objects. For example, | |
499 | |
500 @example | |
501 @group | |
502 get (0) | |
503 @result{} ans = | |
504 @{ | |
505 type = root figure | |
506 currentfigure = [](0x0) | |
507 children = [](0x0) | |
508 visible = on | |
509 @} | |
510 @end group | |
511 @end example | |
512 | |
513 @noindent | |
514 returns a structure containing all the properties of the root figure. | |
515 As with all functions in Octave, the structure is returned by value, so | |
516 modifying it will not modify the internal root figure plot object. To | |
517 do that, you must use the @code{set} function. Also, note that in this | |
518 case, the @code{currentfigure} property is empty, which indicates that | |
519 there is no current figure window. | |
520 | |
521 The @code{get} function may also be used to find the value of a single | |
522 property. For example, | |
523 | |
524 @example | |
525 @group | |
526 get (gca (), "xlim") | |
527 @result{} [ 0 1 ] | |
528 @end group | |
529 @end example | |
530 | |
531 @noindent | |
532 returns the range of the x-axis for the current axes object in the | |
533 current figure. | |
534 | |
535 To set graphics object properties, use the set function. For example, | |
536 | |
537 @example | |
538 set (gca (), "xlim", [-10, 10]); | |
539 @end example | |
540 | |
541 @noindent | |
542 sets the range of the x-axis for the current axes object in the current | |
543 figure to @samp{[-10, 10]}. Additionally, calling set with a graphics | |
544 object index as the only argument returns a structure containing the | |
545 default values for all the properties for the given object type. For | |
546 example, | |
547 | |
548 @example | |
549 set (gca ()) | |
550 @end example | |
551 | |
552 @noindent | |
553 returns a structure containing the default property values for axes | |
554 objects. | |
555 | |
556 @DOCSTRING(get) | |
557 | |
558 @DOCSTRING(set) | |
559 | |
560 @DOCSTRING(ancestor) | |
561 | |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
562 @DOCSTRING(allchild) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
563 |
6888 | 564 You can create axes, line, and patch objects directly using the |
565 @code{axes}, @code{line}, and @code{patch} functions. These objects | |
566 become children of the current axes object. | |
567 | |
568 @DOCSTRING(axes) | |
569 | |
570 @DOCSTRING(line) | |
571 | |
572 @DOCSTRING(patch) | |
573 | |
7120 | 574 @DOCSTRING(surface) |
575 | |
6888 | 576 By default, Octave refreshes the plot window when a prompt is printed, |
577 or when waiting for input. To force an update at other times, call the | |
578 @code{drawnow} function. | |
579 | |
580 @DOCSTRING(drawnow) | |
581 | |
582 Normally, high-level plot functions like @code{plot} or @code{mesh} call | |
583 @code{newplot} to initialize the state of the current axes so that the | |
584 next plot is drawn in a blank window with default property settings. To | |
585 have two plots superimposed over one another, call the @code{hold} | |
586 function. For example, | |
587 | |
588 @example | |
589 @group | |
590 hold ("on"); | |
591 x = -10:0.1:10; | |
592 plot (x, sin (x)); | |
593 plot (x, cos (x)); | |
594 hold ("off"); | |
595 @end group | |
596 @end example | |
597 | |
598 @noindent | |
599 displays sine and cosine waves on the same axes. If the hold state is | |
600 off, consecutive plotting commands like this will only display the last | |
601 plot. | |
602 | |
603 @DOCSTRING(newplot) | |
604 | |
605 @DOCSTRING(hold) | |
606 | |
607 @DOCSTRING(ishold) | |
608 | |
609 To clear the current figure, call the @code{clf} function. To bring it | |
610 to the top of the window stack, call the @code{shg} function. To delete | |
611 a graphics object, call @code{delete} on its index. To close the | |
612 figure window, call the @code{close} function. | |
613 | |
614 @DOCSTRING(clf) | |
615 | |
616 @DOCSTRING(shg) | |
617 | |
618 @DOCSTRING(delete) | |
619 | |
620 @DOCSTRING(close) | |
621 | |
622 @DOCSTRING(closereq) | |
623 | |
624 @node Graphics Object Properties | |
625 @subsection Graphics Object Properties | |
626 @cindex graphics object properties | |
627 | |
628 @menu | |
629 * Root Figure Properties:: | |
6889 | 630 * Figure Properties:: |
6888 | 631 * Axes Properties:: |
632 * Line Properties:: | |
633 * Text Properties:: | |
634 * Image Properties:: | |
635 * Patch Properties:: | |
636 * Surface Properties:: | |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
637 * Seacrhing Properties:: |
6888 | 638 @end menu |
639 | |
640 @node Root Figure Properties | |
641 @subsubsection Root Figure Properties | |
642 | |
643 @table @code | |
644 @item currentfigure | |
6889 | 645 Index to graphics object for the current figure. |
646 | |
647 @c FIXME -- does this work? | |
648 @c @item visible | |
649 @c Either @code{"on"} or @code{"off"} to toggle display of figures. | |
6888 | 650 @end table |
651 | |
6889 | 652 @node Figure Properties |
653 @subsubsection Figure Properties | |
6888 | 654 |
655 @table @code | |
656 @item nextplot | |
6889 | 657 May be one of |
658 @table @code | |
659 @item "new" | |
660 @item "add" | |
661 @item "replace" | |
662 @item "replacechildren" | |
663 @end table | |
664 | |
6888 | 665 @item closerequestfcn |
6889 | 666 Handle of function to call when a figure is closed. |
667 | |
6888 | 668 @item currentaxes |
6889 | 669 Index to graphics object of current axes. |
670 | |
6888 | 671 @item colormap |
6889 | 672 An N-by-3 matrix containing the color map for the current axes. |
673 | |
6888 | 674 @item visible |
6889 | 675 Either @code{"on"} or @code{"off"} to toggle display of the figure. |
676 | |
6888 | 677 @item paperorientation |
6889 | 678 Indicates the orientation for printing. Either @code{"landscape"} or |
679 @code{"portrait"}. | |
6888 | 680 @end table |
681 | |
682 @node Axes Properties | |
683 @subsubsection Axes Properties | |
684 | |
685 @table @code | |
686 @item position | |
6889 | 687 A four-element vector specifying the coordinates of the lower left |
688 corner and width and height of the plot, in normalized units. For | |
689 example, @code{[0.2, 0.3, 0.4, 0.5]} sets the lower left corner of the | |
7001 | 690 axes at @math{(0.2, 0.3)} and the width and height to be 0.4 and 0.5 |
6889 | 691 respectively. |
692 | |
6888 | 693 @item title |
6889 | 694 Index of text object for the axes title. |
695 | |
6888 | 696 @item box |
6889 | 697 Either @code{"on"} or @code{"off"} to toggle display of the box around |
698 the axes. | |
699 | |
6888 | 700 @item key |
6889 | 701 Either @code{"on"} or @code{"off"} to toggle display of the legend. |
702 Note that this property is not compatible with @sc{Matlab} and may be | |
703 removed in a future version of Octave. | |
704 | |
6888 | 705 @item keybox |
6889 | 706 Either @code{"on"} or @code{"off"} to toggle display of a box around the |
707 legend. Note that this property is not compatible with @sc{Matlab} and | |
708 may be removed in a future version of Octave. | |
709 | |
6888 | 710 @item keypos |
6889 | 711 An integer from 1 to 4 specifying the position of the legend. 1 |
712 indicates upper right corner, 2 indicates upper left, 3 indicates lower | |
713 left, and 4 indicates lower right. Note that this property is not | |
714 compatible with @sc{Matlab} and may be removed in a future version of | |
715 Octave. | |
716 | |
6888 | 717 @item dataaspectratio |
6889 | 718 A two-element vector specifying the relative height and width of the |
719 data displayed in the axes. Setting @code{dataaspectratio} to @samp{1, | |
720 2]} causes the length of one unit as displayed on the y axis to be the | |
721 same as the length of 2 units on the x axis. Setting | |
722 @code{dataaspectratio} also forces the @code{dataaspectratiomode} | |
723 property to be set to @code{"manual"}. | |
724 | |
6888 | 725 @item dataaspectratiomode |
6889 | 726 Either @code{"manual"} or @code{"auto"}. |
727 | |
6888 | 728 @item xlim |
729 @itemx ylim | |
730 @itemx zlim | |
731 @itemx clim | |
6889 | 732 Two-element vectors defining the limits for the x, y, and z axes and the |
733 Setting one of these properties also forces the corresponding mode | |
734 property to be set to @code{"manual"}. | |
735 | |
6888 | 736 @item xlimmode |
737 @itemx ylimmode | |
738 @itemx zlimmode | |
739 @itemx climmode | |
6889 | 740 Either @code{"manual"} or @code{"auto"}. |
741 | |
6888 | 742 @item xlabel |
743 @itemx ylabel | |
744 @itemx zlabel | |
6889 | 745 Indices to text objects for the axes labels. |
746 | |
6888 | 747 @item xgrid |
748 @itemx ygrid | |
749 @itemx zgrid | |
6889 | 750 Either @code{"on"} or @code{"off"} to toggle display of grid lines. |
751 | |
6888 | 752 @item xminorgrid |
753 @itemx yminorgrid | |
754 @itemx zminorgrid | |
6889 | 755 Either @code{"on"} or @code{"off"} to toggle display of minor grid lines. |
756 | |
6888 | 757 @item xtick |
758 @itemx ytick | |
759 @itemx ztick | |
6889 | 760 Setting one of these properties also forces the corresponding mode |
761 property to be set to @code{"manual"}. | |
762 | |
6888 | 763 @item xtickmode |
764 @itemx ytickmode | |
765 @itemx ztickmode | |
6889 | 766 Either @code{"manual"} or @code{"auto"}. |
767 | |
6888 | 768 @item xticklabel |
769 @itemx yticklabel | |
770 @itemx zticklabel | |
6889 | 771 Setting one of these properties also forces the corresponding mode |
772 property to be set to @code{"manual"}. | |
773 | |
6888 | 774 @item xticklabelmode |
775 @itemx yticklabelmode | |
776 @itemx zticklabelmode | |
6889 | 777 Either @code{"manual"} or @code{"auto"}. |
778 | |
6888 | 779 @item xscale |
780 @itemx yscale | |
781 @itemx zscale | |
6889 | 782 Either @code{"linear"} or @code{"log"}. |
783 | |
6888 | 784 @item xdir |
785 @itemx ydir | |
786 @itemx zdir | |
6889 | 787 Either @code{"forward"} or @code{"reverse"}. |
788 | |
6888 | 789 @item xaxislocation |
790 @itemx yaxislocation | |
6889 | 791 Either @code{"top"} or @code{"bottom"} for the x axis and @code{"left"} |
792 or @code{"right"} for the y axis. | |
793 | |
6888 | 794 @item view |
6889 | 795 A three element vector specifying the view point for three-dimensional plots. |
796 | |
6888 | 797 @item visible |
6889 | 798 Either @code{"on"} or @code{"off"} to toggle display of the axes. |
799 | |
6888 | 800 @item nextplot |
6889 | 801 May be one of |
802 @table @code | |
803 @item "new" | |
804 @item "add" | |
805 @item "replace" | |
806 @item "replacechildren" | |
807 @end table | |
808 | |
6888 | 809 @item outerposition |
6889 | 810 A four-element vector specifying the coordinates of the lower left |
7980
b224a9a9ccf1
Calrify OuterPosition property in manual
David Bateman <dbateman@free.fr>
parents:
7608
diff
changeset
|
811 corner and width and height of the plot, in normalized units including |
b224a9a9ccf1
Calrify OuterPosition property in manual
David Bateman <dbateman@free.fr>
parents:
7608
diff
changeset
|
812 the tics, labels etc. For example, @code{[0.2, 0.3, 0.4, 0.5]} sets the |
b224a9a9ccf1
Calrify OuterPosition property in manual
David Bateman <dbateman@free.fr>
parents:
7608
diff
changeset
|
813 lower left corner of the axes at @math{(0.2, 0.3)} and the width and |
b224a9a9ccf1
Calrify OuterPosition property in manual
David Bateman <dbateman@free.fr>
parents:
7608
diff
changeset
|
814 height to be 0.4 and 0.5 respectively. |
6888 | 815 @end table |
816 | |
817 @node Line Properties | |
818 @subsubsection Line Properties | |
819 | |
820 @table @code | |
821 @itemx xdata | |
822 @itemx ydata | |
823 @itemx zdata | |
824 @itemx ldata | |
825 @itemx udata | |
826 @itemx xldata | |
827 @itemx xudata | |
6889 | 828 The data to be plotted. The @code{ldata} and @code{udata} elements are |
829 for errobars in the y direction, and the @code{xldata} and @code{xudata} | |
830 elements are for errorbars in the x direction. | |
831 | |
6888 | 832 @item color |
6889 | 833 The RGB color of the line, or a color name. @xref{Colors}. |
834 | |
6888 | 835 @item linestyle |
6889 | 836 @itemx linewidth |
837 @xref{Line Styles}. | |
838 | |
6888 | 839 @item marker |
840 @item markeredgecolor | |
841 @item markerfacecolor | |
842 @item markersize | |
6889 | 843 @xref{Marker Styles}. |
844 | |
6888 | 845 @item keylabel |
6889 | 846 The text of the legend entry corresponding to this line. Note that this |
847 property is not compatible with @sc{Matlab} and may be removed in a | |
848 future version of Octave. | |
6888 | 849 @end table |
850 | |
851 @node Text Properties | |
852 @subsubsection Text Properties | |
853 | |
854 @table @code | |
855 @item string | |
6889 | 856 The character string contained by the text object. |
857 | |
6888 | 858 @item units |
6889 | 859 May be @code{"normalized"} or @code{"graph"}. |
860 | |
6888 | 861 @item position |
6889 | 862 The coordinates of the text object. |
863 | |
6888 | 864 @item rotation |
6889 | 865 The angle of rotation for the displayed text, measured in degrees. |
866 | |
6888 | 867 @item horizontalalignment |
6889 | 868 May be @code{"left"}, @code{"center"}, or @code{"right"}. |
869 | |
6888 | 870 @item color |
6889 | 871 The color of the text. @xref{Colors}. |
7189 | 872 |
873 @item fontname | |
874 The font used for the text. | |
875 | |
876 @item fontsize | |
877 The size of the font, in points to use. | |
878 | |
879 @item fontangle | |
880 Flag whether the font is italic or normal. Valid values are 'normal', | |
881 'italic' and 'oblique'. | |
882 | |
883 @item fontweight | |
884 Flag whether the font is bold, etc. Valid values are 'normal', 'bold', | |
885 'demi' or 'light'. | |
886 | |
887 @item interpreter | |
888 Determines how the text is rendered. Valid values are 'none', 'tex' or | |
889 'latex'. | |
6888 | 890 @end table |
891 | |
7189 | 892 All text objects, including titles, labels, legends, and text, include |
893 the property 'interpreter', this property determines the manner in which | |
894 special control sequences in the text are rendered. If the interpreter | |
895 is set to 'none', then no rendering occurs. At this point the 'latex' | |
896 option is not implemented and so the 'latex' interpreter also does not | |
897 interpret the text. | |
898 | |
899 The 'tex' option implements a subset of @sc{TeX} functionality in the | |
900 rendering of the text. This allows the insertion of special characters | |
901 such as Greek or mathematical symbols within the text. The special | |
902 characters are also inserted with a code starting with the back-slash | |
903 (\) character, as in the table @ref{tab:extended}. | |
904 | |
905 In addition, the formating of the text can be changed within the string | |
906 with the codes | |
907 | |
908 @multitable @columnfractions .2 .2 .6 .2 | |
909 @item @tab \bf @tab Bold font @tab | |
910 @item @tab \it @tab Italic font @tab | |
911 @item @tab \sl @tab Oblique Font @tab | |
912 @item @tab \rm @tab Normal font @tab | |
913 @end multitable | |
914 | |
915 These are be used in conjunction with the @{ and @} characters to limit | |
916 the change in the font to part of the string. For example | |
917 | |
918 @example | |
919 xlabel ('@{\bf H@} = a @{\bf V@}') | |
920 @end example | |
921 | |
922 where the character 'a' will not appear in a bold font. Note that to | |
923 avoid having Octave interpret the backslash characters in the strings, | |
924 the strings should be in single quotes. | |
925 | |
926 It is also possible to change the fontname and size within the text | |
927 | |
928 @multitable @columnfractions .1 .4 .6 .1 | |
929 @item @tab \fontname@{@var{fontname}@} @tab Specify the font to use @tab | |
930 @item @tab \fontsize@{@var{size}@} @tab Specify the size of the font to | |
931 use @tab | |
932 @end multitable | |
933 | |
934 Finally, the superscript and subscripting can be controlled with the '^' | |
935 and '_' characters. If the '^' or '_' is followed by a @{ character, | |
936 then all of the block surrounded by the @{ @} pair is super- or | |
937 sub-scripted. Without the @{ @} pair, only the character immediately | |
938 following the '^' or '_' is super- or sub-scripted. | |
939 | |
940 @float Table,tab:extended | |
941 @iftex | |
942 @tex | |
943 \vskip 6pt | |
944 {\hbox to \hsize {\hfill\vbox{\offinterlineskip \tabskip=0pt | |
945 \halign{ | |
946 \vrule height2.0ex depth1.ex width 0.6pt #\tabskip=0.3em & | |
947 # \hfil & \vrule # & # \hfil & # \vrule & | |
948 # \hfil & \vrule # & # \hfil & # \vrule & | |
949 # \hfil & \vrule # & # \hfil & # \vrule | |
950 width 0.6pt \tabskip=0pt\cr | |
951 \noalign{\hrule height 0.6pt} | |
952 & Code && Sym && Code && Sym && Code && Sym &\cr | |
953 \noalign{\hrule} | |
7608
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
954 & $\backslash$forall && $\forall$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
955 && $\backslash$exists && $\exists$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
956 && $\backslash$ni && $\ni$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
957 & $\backslash$cong && $\cong$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
958 && $\backslash$Delta && $\Delta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
959 && $\backslash$Phi && $\Phi$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
960 & $\backslash$Gamma && $\Gamma$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
961 && $\backslash$vartheta && $\vartheta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
962 && $\backslash$Lambda && $\Lambda$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
963 & $\backslash$Pi && $\Pi$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
964 && $\backslash$Theta && $\Theta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
965 && $\backslash$Sigma && $\Sigma$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
966 & $\backslash$varsigma && $\varsigma$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
967 && $\backslash$Omega && $\Omega$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
968 && $\backslash$Xi && $\Xi$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
969 & $\backslash$Psi && $\Psi$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
970 && $\backslash$perp && $\perp$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
971 && $\backslash$alpha && $\alpha$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
972 & $\backslash$beta && $\beta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
973 && $\backslash$chi && $\chi$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
974 && $\backslash$delta && $\delta$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
975 & $\backslash$epsilon && $\epsilon$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
976 && $\backslash$phi && $\phi$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
977 && $\backslash$gamma && $\gamma$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
978 & $\backslash$eta && $\eta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
979 && $\backslash$iota && $\iota$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
980 && $\backslash$varphi && $\varphi$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
981 & $\backslash$kappa && $\kappa$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
982 && $\backslash$lambda && $\lambda$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
983 && $\backslash$mu && $\mu$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
984 & $\backslash$nu && $\nu$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
985 && $\backslash$o && $\o$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
986 && $\backslash$pi && $\pi$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
987 & $\backslash$theta && $\theta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
988 && $\backslash$rho && $\rho$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
989 && $\backslash$sigma && $\sigma$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
990 & $\backslash$tau && $\tau$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
991 && $\backslash$upsilon && $\upsilon$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
992 && $\backslash$varpi && $\varpi$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
993 & $\backslash$omega && $\omega$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
994 && $\backslash$xi && $\xi$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
995 && $\backslash$psi && $\psi$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
996 & $\backslash$zeta && $\zeta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
997 && $\backslash$sim && $\sim$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
998 && $\backslash$Upsilon && $\Upsilon$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
999 & $\backslash$prime && $\prime$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1000 && $\backslash$leq && $\leq$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1001 && $\backslash$infty && $\infty$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1002 & $\backslash$clubsuit && $\clubsuit$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1003 && $\backslash$diamondsuit && $\diamondsuit$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1004 && $\backslash$heartsuit && $\heartsuit$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1005 & $\backslash$spadesuit && $\spadesuit$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1006 && $\backslash$leftrightarrow && $\leftrightarrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1007 && $\backslash$leftarrow && $\leftarrow$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1008 & $\backslash$uparrow && $\uparrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1009 && $\backslash$rightarrow && $\rightarrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1010 && $\backslash$downarrow && $\downarrow$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1011 & $\backslash$circ && $\circ$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1012 && $\backslash$pm && $\pm$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1013 && $\backslash$geq && $\geq$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1014 & $\backslash$times && $\times$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1015 && $\backslash$propto && $\propto$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1016 && $\backslash$partial && $\partial$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1017 & $\backslash$bullet && $\bullet$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1018 && $\backslash$div && $\div$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1019 && $\backslash$neq && $\neq$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1020 & $\backslash$equiv && $\equiv$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1021 && $\backslash$approx && $\approx$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1022 && $\backslash$ldots && $\ldots$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1023 & $\backslash$mid && $\mid$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1024 && $\backslash$aleph && $\aleph$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1025 && $\backslash$Im && $\Im$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1026 & $\backslash$Re && $\Re$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1027 && $\backslash$wp && $\wp$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1028 && $\backslash$otimes && $\otimes$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1029 & $\backslash$oplus && $\oplus$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1030 && $\backslash$oslash && $\oslash$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1031 && $\backslash$cap && $\cap$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1032 & $\backslash$cup && $\cup$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1033 && $\backslash$supset && $\supset$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1034 && $\backslash$supseteq && $\supseteq$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1035 & $\backslash$subset && $\subset$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1036 && $\backslash$subseteq && $\subseteq$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1037 && $\backslash$in && $\in$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1038 & $\backslash$notin && $\notin$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1039 && $\backslash$angle && $\angle$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1040 && $\backslash$bigtriangledown && $\bigtriangledown$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1041 & $\backslash$langle && $\langle$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1042 && $\backslash$rangle && $\rangle$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1043 && $\backslash$nabla && $\nabla$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1044 & $\backslash$prod && $\prod$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1045 && $\backslash$surd && $\surd$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1046 && $\backslash$cdot && $\cdot$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1047 & $\backslash$neg && $\neg$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1048 && $\backslash$wedge && $\wedge$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1049 && $\backslash$vee && $\vee$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1050 & $\backslash$Leftrightarrow && $\Leftrightarrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1051 && $\backslash$Leftarrow && $\Leftarrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1052 && $\backslash$Uparrow && $\Uparrow$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1053 & $\backslash$Rightarrow && $\Rightarrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1054 && $\backslash$Downarrow && $\Downarrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1055 && $\backslash$diamond && $\diamond$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1056 & $\backslash$copyright && $\copyright$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1057 && $\backslash$rfloor && $\rfloor$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1058 && $\backslash$lceil && $\lceil$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1059 & $\backslash$lfloor && $\lfloor$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1060 && $\backslash$rceil && $\rceil$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1061 && $\backslash$int && $\int$ &\cr |
7189 | 1062 \noalign{\hrule height 0.6pt} |
1063 }}\hfill}} | |
1064 @end tex | |
1065 @end iftex | |
1066 @ifnottex | |
1067 @multitable @columnfractions .125 .25 .25 .25 .125 | |
7608
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1068 @item @tab \forall @tab \exists @tab \ni @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1069 @item @tab \cong @tab \Delta @tab \Phi @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1070 @item @tab \Gamma @tab \vartheta @tab \Lambda @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1071 @item @tab \Pi @tab \Theta @tab \Sigma @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1072 @item @tab \varsigma @tab \Omega @tab \Xi @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1073 @item @tab \Psi @tab \perp @tab \alpha @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1074 @item @tab \beta @tab \chi @tab \delta @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1075 @item @tab \epsilon @tab \phi @tab \gamma @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1076 @item @tab \eta @tab \iota @tab \varphi @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1077 @item @tab \kappa @tab \lambda @tab \mu @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1078 @item @tab \nu @tab \o @tab \pi @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1079 @item @tab \theta @tab \rho @tab \sigma @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1080 @item @tab \tau @tab \upsilon @tab \varpi @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1081 @item @tab \omega @tab \xi @tab \psi @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1082 @item @tab \zeta @tab \sim @tab \Upsilon @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1083 @item @tab \prime @tab \leq @tab \infty @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1084 @item @tab \clubsuit @tab \diamondsuit @tab \heartsuit @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1085 @item @tab \spadesuit @tab \leftrightarrow @tab \leftarrow @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1086 @item @tab \uparrow @tab \rightarrow @tab \downarrow @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1087 @item @tab \circ @tab \pm @tab \geq @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1088 @item @tab \times @tab \propto @tab \partial @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1089 @item @tab \bullet @tab \div @tab \neq @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1090 @item @tab \equiv @tab \approx @tab \ldots @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1091 @item @tab \mid @tab \aleph @tab \Im @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1092 @item @tab \Re @tab \wp @tab \otimes @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1093 @item @tab \oplus @tab \oslash @tab \cap @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1094 @item @tab \cup @tab \supset @tab \supseteq @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1095 @item @tab \subset @tab \subseteq @tab \in @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1096 @item @tab \notin @tab \angle @tab \bigrightriangledown @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1097 @item @tab \langle @tab \rangle @tab \nabla @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1098 @item @tab \prod @tab \surd @tab \cdot @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1099 @item @tab \neg @tab \wedge @tab \vee @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1100 @item @tab \Leftrightarrow @tab \Leftarrow @tab \Uparrow @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1101 @item @tab \Rightarrow @tab \Downarrow @tab \diamond @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1102 @item @tab \copyright @tab \lfloor @tab \lceil @tab |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1103 @item @tab \rfloor @tab \rceil @tab \int @tab |
7189 | 1104 @end multitable |
1105 @end ifnottex | |
1106 @caption{Available special characters in @sc{TeX} mode} | |
1107 @end float | |
1108 | |
1109 A complete example showing the capabilities of the extended text is | |
1110 | |
1111 @example | |
1112 @group | |
1113 x = 0:0.01:3; | |
1114 plot(x,erf(x)); | |
1115 hold on; | |
1116 plot(x,x,"r"); | |
1117 axis([0, 3, 0, 1]); | |
1118 text(0.65, 0.6175, strcat('\leftarrow x = @{2/\surd\pi', | |
1119 ' @{\fontsize@{16@}\int_@{\fontsize@{8@}0@}^@{\fontsize@{8@}x@}@}', | |
1120 ' e^@{-t^2@} dt@} = 0.6175')) | |
1121 @end group | |
1122 @end example | |
1123 | |
1124 @ifnotinfo | |
1125 @noindent | |
1126 The result of which can be seen in @ref{fig:extendedtext} | |
1127 | |
1128 @float Figure,fig:extendedtext | |
1129 @image{extended,8cm} | |
1130 @caption{Example of inclusion of text with the @sc{TeX} interpreter} | |
1131 @end float | |
1132 @end ifnotinfo | |
1133 | |
6888 | 1134 @node Image Properties |
1135 @subsubsection Image Properties | |
1136 | |
1137 @table @code | |
1138 @item cdata | |
6889 | 1139 The data for the image. Each pixel of the image corresponds to an |
1140 element of @code{cdata}. The value of an element of @code{cdata} | |
1141 specifies the row-index into the colormap of the axes object containing | |
1142 the image. The color value found in the color map for the given index | |
1143 determines the color of the pixel. | |
1144 | |
1145 @item xdata | |
6888 | 1146 @itemx ydata |
7001 | 1147 Two-element vectors specifying the range of the x- and y- coordinates for |
6889 | 1148 the image. |
6888 | 1149 @end table |
1150 | |
1151 @node Patch Properties | |
1152 @subsubsection Patch Properties | |
1153 | |
1154 @table @code | |
1155 @item cdata | |
1156 @itemx xdata | |
1157 @itemx ydata | |
1158 @itemx zdata | |
6889 | 1159 Data defining the patch object. |
1160 | |
6888 | 1161 @item facecolor |
6889 | 1162 The fill color of the patch. @xref{Colors}. |
1163 | |
6888 | 1164 @item facealpha |
6889 | 1165 A number in the range [0, 1] indicating the transparency of the patch. |
1166 | |
6888 | 1167 @item edgecolor |
6889 | 1168 The color of the line defining the patch. @xref{Colors}. |
1169 | |
6888 | 1170 @item linestyle |
6889 | 1171 @itemx linewidth |
1172 @xref{Line Styles}. | |
1173 | |
6888 | 1174 @item marker |
6889 | 1175 @itemx markeredgecolor |
1176 @itemx markerfacecolor | |
1177 @itemx markersize | |
1178 @xref{Marker Styles}. | |
6888 | 1179 @end table |
1180 | |
1181 @node Surface Properties | |
1182 @subsubsection Surface Properties | |
1183 | |
1184 @table @code | |
1185 @item xdata | |
1186 @itemx ydata | |
1187 @itemx zdata | |
6889 | 1188 The data determining the surface. The @code{xdata} and @code{ydata} |
1189 elements are vectors and @code{zdata} must be a matrix. | |
1190 | |
6888 | 1191 @item keylabel |
6889 | 1192 The text of the legend entry corresponding to this surface. Note that |
1193 this property is not compatible with @sc{Matlab} and may be removed in a | |
1194 future version of Octave. | |
1195 @end table | |
1196 | |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1197 @node Seacrhing Properties |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1198 @subsubsection Seacrhing Properties |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1199 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1200 @DOCSTRING(findobj) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1201 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1202 @DOCSTRING(findall) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1203 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1204 |
6891 | 1205 @node Managing Default Properties |
1206 @subsection Managing Default Properties | |
1207 | |
6892 | 1208 Object properties have two classes of default values, @dfn{factory |
1209 defaults} (the initial values) and @dfn{user-defined defaults}, which | |
1210 may override the factory defaults. | |
6891 | 1211 |
1212 Although default values may be set for any object, they are set in | |
1213 parent objects and apply to child objects. For example, | |
1214 | |
1215 @example | |
1216 set (0, "defaultlinecolor", "green"); | |
1217 @end example | |
1218 | |
1219 @noindent | |
1220 sets the default line color for all objects. The rule for constructing | |
1221 the property name to set a default value is | |
1222 | |
1223 @example | |
1224 default + @var{object-type} + @var{property-name} | |
1225 @end example | |
1226 | |
1227 This rule can lead to some strange looking names, for example | |
1228 @code{defaultlinelinewidth"} specifies the default @code{linewidth} | |
1229 property for @code{line} objects. | |
1230 | |
1231 The example above used the root figure object, 0, so the default | |
1232 property value will apply to all line objects. However, default values | |
1233 are hierarchical, so defaults set in a figure objects override those | |
1234 set in the root figure object. Likewise, defaults set in axes objects | |
1235 override those set in figure or root figure objects. For example, | |
1236 | |
1237 @example | |
1238 @group | |
1239 subplot (2, 1, 1); | |
1240 set (0, "defaultlinecolor", "red"); | |
1241 set (1, "defaultlinecolor", "green"); | |
1242 set (gca (), "defaultlinecolor", "blue"); | |
1243 line (1:10, rand (1, 10)); | |
1244 subplot (2, 1, 2); | |
1245 line (1:10, rand (1, 10)); | |
1246 figure (2) | |
1247 line (1:10, rand (1, 10)); | |
1248 @end group | |
1249 @end example | |
1250 | |
1251 @noindent | |
1252 produces two figures. The line in first subplot window of the first | |
1253 figure is blue because it inherits its color from its parent axes | |
1254 object. The line in the second subplot window of the first figure is | |
1255 green because it inherits its color from its parent figure object. The | |
1256 line in the second figure window is red because it inherits its color | |
1257 from the global root figure parent object. | |
1258 | |
1259 To remove a user-defined default setting, set the default property to | |
1260 the value @code{"remove"}. For example, | |
1261 | |
1262 @example | |
1263 set (gca (), "defaultlinecolor", "remove"); | |
1264 @end example | |
1265 | |
1266 @noindent | |
1267 removes the user-defined default line color setting from the current axes | |
1268 object. | |
1269 | |
1270 Getting the @code{"default"} property of an object returns a list of | |
1271 user-defined defaults set for the object. For example, | |
1272 | |
1273 @example | |
1274 get (gca (), "default"); | |
1275 @end example | |
1276 | |
1277 @noindent | |
1278 returns a list of user-defined default values for the current axes | |
1279 object. | |
1280 | |
1281 Factory default values are stored in the root figure object. The | |
1282 command | |
1283 | |
1284 @example | |
1285 get (0, "factory"); | |
1286 @end example | |
1287 | |
1288 @noindent | |
1289 returns a list of factory defaults. | |
1290 | |
6889 | 1291 @node Colors |
1292 @subsection Colors | |
1293 | |
1294 Colors may be specified as RGB triplets with values ranging from zero to | |
1295 one, or by name. Recognized color names include @code{"blue"}, | |
1296 @code{"black"}, @code{"cyan"}, @code{"green"}, @code{"magenta"}, | |
1297 @code{"red"}, @code{"white"}, and @code{"yellow"}. | |
1298 | |
1299 @node Line Styles | |
1300 @subsection Line Styles | |
7001 | 1301 Line styles are specified by the following properties: |
6889 | 1302 |
1303 @table @code | |
1304 @item linestyle | |
1305 May be one of | |
1306 @table @code | |
1307 @item "-" | |
1308 Solid lines. | |
1309 @item "--" | |
1310 Dashed lines. | |
1311 @item ":" | |
1312 Points. | |
1313 @item "-." | |
1314 A dash-dot line. | |
1315 @end table | |
1316 | |
1317 @item linewidth | |
1318 A number specifying the width of the line. The default is 1. A value | |
1319 of 2 is twice as wide as the default, etc. | |
1320 @end table | |
1321 | |
1322 @node Marker Styles | |
1323 @subsection Marker Styles | |
7001 | 1324 Marker styles are specified by the following properties: |
6889 | 1325 @table @code |
1326 @item marker | |
1327 A character indicating a plot marker to be place at each data point, or | |
1328 @code{"none"}, meaning no markers should be displayed. | |
1329 | |
1330 @itemx markeredgecolor | |
1331 The color of the edge around the marker, or @code{"auto"}, meaning that | |
1332 the edge color is the same as the face color. @xref{Colors}. | |
1333 | |
1334 @itemx markerfacecolor | |
1335 The color of the marker, or @code{"none"} to indicate that the marker | |
1336 should not be filled. @xref{Colors}. | |
1337 | |
1338 @itemx markersize | |
1339 A number specifying the size of the marker. The default is 1. A value | |
1340 of 2 is twice as large as the default, etc. | |
6888 | 1341 @end table |
1342 | |
4167 | 1343 @node Interaction with gnuplot |
6888 | 1344 @subsection Interaction with @code{gnuplot} |
3428 | 1345 |
1346 @DOCSTRING(gnuplot_binary) | |
1347 | |
6331 | 1348 @DOCSTRING(gnuplot_use_title_option) |