Mercurial > hg > octave-nkf
annotate doc/interpreter/plot.txi @ 8070:3b53b25e2550
Add data sources and line series
author | David Bateman <dbateman@free.fr> |
---|---|
date | Thu, 28 Aug 2008 12:23:54 -0400 |
parents | 7670cd296687 |
children | b6e85fb238c1 |
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 |
8055
d51c3541be28
contrib.txi: new documentation for contributors
Jaroslav Hajek <highegg@gmail.com>
parents:
8046
diff
changeset
|
211 function include @code{ezplot}, @code{ezcontour}, @code{ezcontourf} and |
8046 | 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:: | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
442 * Callbacks:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
443 * Object Groups:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
444 * Graphics backends:: |
6888 | 445 @end menu |
446 | |
447 @node Graphics Objects | |
448 @subsection Graphics Objects | |
449 | |
450 Plots in Octave are constructed from the following @dfn{graphics | |
451 objects}. Each graphics object has a set of properties that define its | |
452 appearance and may also contain links to other graphics objects. | |
453 Graphics objects are only referenced by a numeric index, or @dfn{handle}. | |
454 | |
455 @table @asis | |
456 @item root figure | |
457 The parent of all figure objects. The index for the root figure is | |
458 defined to be 0. | |
459 | |
460 @item figure | |
461 A figure window. | |
462 | |
463 @item axes | |
464 An set of axes. This object is a child of a figure object and may be a | |
465 parent of line, text, image, patch, or surface objects. | |
466 | |
467 @item line | |
468 A line in two or three dimensions. | |
469 | |
470 @item text | |
471 Text annotations. | |
472 | |
473 @item image | |
474 A bitmap image. | |
475 | |
476 @item patch | |
477 A filled polygon, currently limited to two dimensions. | |
478 | |
479 @item surface | |
480 A three-dimensional surface. | |
481 @end table | |
482 | |
483 To determine whether an object is a graphics object index or a figure | |
484 index, use the functions @code{ishandle} and @code{isfigure}. | |
485 | |
486 @DOCSTRING(ishandle) | |
487 | |
488 @DOCSTRING(isfigure) | |
489 | |
490 The function @code{gcf} returns an index to the current figure object, | |
491 or creates one if none exists. Similarly, @code{gca} returns the | |
492 current axes object, or creates one (and its parent figure object) if | |
493 none exists. | |
494 | |
495 @DOCSTRING(gcf) | |
496 | |
497 @DOCSTRING(gca) | |
498 | |
499 The @code{get} and @code{set} functions may be used to examine and set | |
500 properties for graphics objects. For example, | |
501 | |
502 @example | |
503 @group | |
504 get (0) | |
505 @result{} ans = | |
506 @{ | |
507 type = root figure | |
508 currentfigure = [](0x0) | |
509 children = [](0x0) | |
510 visible = on | |
511 @} | |
512 @end group | |
513 @end example | |
514 | |
515 @noindent | |
516 returns a structure containing all the properties of the root figure. | |
517 As with all functions in Octave, the structure is returned by value, so | |
518 modifying it will not modify the internal root figure plot object. To | |
519 do that, you must use the @code{set} function. Also, note that in this | |
520 case, the @code{currentfigure} property is empty, which indicates that | |
521 there is no current figure window. | |
522 | |
523 The @code{get} function may also be used to find the value of a single | |
524 property. For example, | |
525 | |
526 @example | |
527 @group | |
528 get (gca (), "xlim") | |
529 @result{} [ 0 1 ] | |
530 @end group | |
531 @end example | |
532 | |
533 @noindent | |
534 returns the range of the x-axis for the current axes object in the | |
535 current figure. | |
536 | |
537 To set graphics object properties, use the set function. For example, | |
538 | |
539 @example | |
540 set (gca (), "xlim", [-10, 10]); | |
541 @end example | |
542 | |
543 @noindent | |
544 sets the range of the x-axis for the current axes object in the current | |
545 figure to @samp{[-10, 10]}. Additionally, calling set with a graphics | |
546 object index as the only argument returns a structure containing the | |
547 default values for all the properties for the given object type. For | |
548 example, | |
549 | |
550 @example | |
551 set (gca ()) | |
552 @end example | |
553 | |
554 @noindent | |
555 returns a structure containing the default property values for axes | |
556 objects. | |
557 | |
558 @DOCSTRING(get) | |
559 | |
560 @DOCSTRING(set) | |
561 | |
562 @DOCSTRING(ancestor) | |
563 | |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
564 @DOCSTRING(allchild) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
565 |
6888 | 566 You can create axes, line, and patch objects directly using the |
567 @code{axes}, @code{line}, and @code{patch} functions. These objects | |
568 become children of the current axes object. | |
569 | |
570 @DOCSTRING(axes) | |
571 | |
572 @DOCSTRING(line) | |
573 | |
574 @DOCSTRING(patch) | |
575 | |
7120 | 576 @DOCSTRING(surface) |
577 | |
6888 | 578 By default, Octave refreshes the plot window when a prompt is printed, |
579 or when waiting for input. To force an update at other times, call the | |
580 @code{drawnow} function. | |
581 | |
582 @DOCSTRING(drawnow) | |
583 | |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
584 Only figures that are modified will be updated. The @code{refresh} |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
585 function can also be to force an update of the current figure, even if |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
586 it is nor modified. |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
587 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
588 @DOCSTRING(refresh) |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
589 |
6888 | 590 Normally, high-level plot functions like @code{plot} or @code{mesh} call |
591 @code{newplot} to initialize the state of the current axes so that the | |
592 next plot is drawn in a blank window with default property settings. To | |
593 have two plots superimposed over one another, call the @code{hold} | |
594 function. For example, | |
595 | |
596 @example | |
597 @group | |
598 hold ("on"); | |
599 x = -10:0.1:10; | |
600 plot (x, sin (x)); | |
601 plot (x, cos (x)); | |
602 hold ("off"); | |
603 @end group | |
604 @end example | |
605 | |
606 @noindent | |
607 displays sine and cosine waves on the same axes. If the hold state is | |
608 off, consecutive plotting commands like this will only display the last | |
609 plot. | |
610 | |
611 @DOCSTRING(newplot) | |
612 | |
613 @DOCSTRING(hold) | |
614 | |
615 @DOCSTRING(ishold) | |
616 | |
617 To clear the current figure, call the @code{clf} function. To bring it | |
618 to the top of the window stack, call the @code{shg} function. To delete | |
619 a graphics object, call @code{delete} on its index. To close the | |
620 figure window, call the @code{close} function. | |
621 | |
622 @DOCSTRING(clf) | |
623 | |
624 @DOCSTRING(shg) | |
625 | |
626 @DOCSTRING(delete) | |
627 | |
628 @DOCSTRING(close) | |
629 | |
630 @DOCSTRING(closereq) | |
631 | |
632 @node Graphics Object Properties | |
633 @subsection Graphics Object Properties | |
634 @cindex graphics object properties | |
635 | |
636 @menu | |
637 * Root Figure Properties:: | |
6889 | 638 * Figure Properties:: |
6888 | 639 * Axes Properties:: |
640 * Line Properties:: | |
641 * Text Properties:: | |
642 * Image Properties:: | |
643 * Patch Properties:: | |
644 * Surface Properties:: | |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
645 * Searching Properties:: |
6888 | 646 @end menu |
647 | |
648 @node Root Figure Properties | |
649 @subsubsection Root Figure Properties | |
650 | |
651 @table @code | |
652 @item currentfigure | |
6889 | 653 Index to graphics object for the current figure. |
654 | |
655 @c FIXME -- does this work? | |
656 @c @item visible | |
657 @c Either @code{"on"} or @code{"off"} to toggle display of figures. | |
6888 | 658 @end table |
659 | |
6889 | 660 @node Figure Properties |
661 @subsubsection Figure Properties | |
6888 | 662 |
663 @table @code | |
664 @item nextplot | |
6889 | 665 May be one of |
666 @table @code | |
667 @item "new" | |
668 @item "add" | |
669 @item "replace" | |
670 @item "replacechildren" | |
671 @end table | |
672 | |
6888 | 673 @item closerequestfcn |
6889 | 674 Handle of function to call when a figure is closed. |
675 | |
6888 | 676 @item currentaxes |
6889 | 677 Index to graphics object of current axes. |
678 | |
6888 | 679 @item colormap |
6889 | 680 An N-by-3 matrix containing the color map for the current axes. |
681 | |
6888 | 682 @item visible |
6889 | 683 Either @code{"on"} or @code{"off"} to toggle display of the figure. |
684 | |
6888 | 685 @item paperorientation |
6889 | 686 Indicates the orientation for printing. Either @code{"landscape"} or |
687 @code{"portrait"}. | |
6888 | 688 @end table |
689 | |
690 @node Axes Properties | |
691 @subsubsection Axes Properties | |
692 | |
693 @table @code | |
694 @item position | |
6889 | 695 A four-element vector specifying the coordinates of the lower left |
696 corner and width and height of the plot, in normalized units. For | |
697 example, @code{[0.2, 0.3, 0.4, 0.5]} sets the lower left corner of the | |
7001 | 698 axes at @math{(0.2, 0.3)} and the width and height to be 0.4 and 0.5 |
6889 | 699 respectively. |
700 | |
6888 | 701 @item title |
6889 | 702 Index of text object for the axes title. |
703 | |
6888 | 704 @item box |
6889 | 705 Either @code{"on"} or @code{"off"} to toggle display of the box around |
706 the axes. | |
707 | |
6888 | 708 @item key |
6889 | 709 Either @code{"on"} or @code{"off"} to toggle display of the legend. |
710 Note that this property is not compatible with @sc{Matlab} and may be | |
711 removed in a future version of Octave. | |
712 | |
6888 | 713 @item keybox |
6889 | 714 Either @code{"on"} or @code{"off"} to toggle display of a box around the |
715 legend. Note that this property is not compatible with @sc{Matlab} and | |
716 may be removed in a future version of Octave. | |
717 | |
6888 | 718 @item keypos |
6889 | 719 An integer from 1 to 4 specifying the position of the legend. 1 |
720 indicates upper right corner, 2 indicates upper left, 3 indicates lower | |
721 left, and 4 indicates lower right. Note that this property is not | |
722 compatible with @sc{Matlab} and may be removed in a future version of | |
723 Octave. | |
724 | |
6888 | 725 @item dataaspectratio |
6889 | 726 A two-element vector specifying the relative height and width of the |
727 data displayed in the axes. Setting @code{dataaspectratio} to @samp{1, | |
728 2]} causes the length of one unit as displayed on the y axis to be the | |
729 same as the length of 2 units on the x axis. Setting | |
730 @code{dataaspectratio} also forces the @code{dataaspectratiomode} | |
731 property to be set to @code{"manual"}. | |
732 | |
6888 | 733 @item dataaspectratiomode |
6889 | 734 Either @code{"manual"} or @code{"auto"}. |
735 | |
6888 | 736 @item xlim |
737 @itemx ylim | |
738 @itemx zlim | |
739 @itemx clim | |
6889 | 740 Two-element vectors defining the limits for the x, y, and z axes and the |
741 Setting one of these properties also forces the corresponding mode | |
742 property to be set to @code{"manual"}. | |
743 | |
6888 | 744 @item xlimmode |
745 @itemx ylimmode | |
746 @itemx zlimmode | |
747 @itemx climmode | |
6889 | 748 Either @code{"manual"} or @code{"auto"}. |
749 | |
6888 | 750 @item xlabel |
751 @itemx ylabel | |
752 @itemx zlabel | |
6889 | 753 Indices to text objects for the axes labels. |
754 | |
6888 | 755 @item xgrid |
756 @itemx ygrid | |
757 @itemx zgrid | |
6889 | 758 Either @code{"on"} or @code{"off"} to toggle display of grid lines. |
759 | |
6888 | 760 @item xminorgrid |
761 @itemx yminorgrid | |
762 @itemx zminorgrid | |
6889 | 763 Either @code{"on"} or @code{"off"} to toggle display of minor grid lines. |
764 | |
6888 | 765 @item xtick |
766 @itemx ytick | |
767 @itemx ztick | |
6889 | 768 Setting one of these properties also forces the corresponding mode |
769 property to be set to @code{"manual"}. | |
770 | |
6888 | 771 @item xtickmode |
772 @itemx ytickmode | |
773 @itemx ztickmode | |
6889 | 774 Either @code{"manual"} or @code{"auto"}. |
775 | |
6888 | 776 @item xticklabel |
777 @itemx yticklabel | |
778 @itemx zticklabel | |
6889 | 779 Setting one of these properties also forces the corresponding mode |
780 property to be set to @code{"manual"}. | |
781 | |
6888 | 782 @item xticklabelmode |
783 @itemx yticklabelmode | |
784 @itemx zticklabelmode | |
6889 | 785 Either @code{"manual"} or @code{"auto"}. |
786 | |
6888 | 787 @item xscale |
788 @itemx yscale | |
789 @itemx zscale | |
6889 | 790 Either @code{"linear"} or @code{"log"}. |
791 | |
6888 | 792 @item xdir |
793 @itemx ydir | |
794 @itemx zdir | |
6889 | 795 Either @code{"forward"} or @code{"reverse"}. |
796 | |
6888 | 797 @item xaxislocation |
798 @itemx yaxislocation | |
6889 | 799 Either @code{"top"} or @code{"bottom"} for the x axis and @code{"left"} |
800 or @code{"right"} for the y axis. | |
801 | |
6888 | 802 @item view |
6889 | 803 A three element vector specifying the view point for three-dimensional plots. |
804 | |
6888 | 805 @item visible |
6889 | 806 Either @code{"on"} or @code{"off"} to toggle display of the axes. |
807 | |
6888 | 808 @item nextplot |
6889 | 809 May be one of |
810 @table @code | |
811 @item "new" | |
812 @item "add" | |
813 @item "replace" | |
814 @item "replacechildren" | |
815 @end table | |
816 | |
6888 | 817 @item outerposition |
6889 | 818 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
|
819 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
|
820 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
|
821 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
|
822 height to be 0.4 and 0.5 respectively. |
6888 | 823 @end table |
824 | |
825 @node Line Properties | |
826 @subsubsection Line Properties | |
827 | |
828 @table @code | |
829 @itemx xdata | |
830 @itemx ydata | |
831 @itemx zdata | |
832 @itemx ldata | |
833 @itemx udata | |
834 @itemx xldata | |
835 @itemx xudata | |
6889 | 836 The data to be plotted. The @code{ldata} and @code{udata} elements are |
837 for errobars in the y direction, and the @code{xldata} and @code{xudata} | |
838 elements are for errorbars in the x direction. | |
839 | |
6888 | 840 @item color |
6889 | 841 The RGB color of the line, or a color name. @xref{Colors}. |
842 | |
6888 | 843 @item linestyle |
6889 | 844 @itemx linewidth |
845 @xref{Line Styles}. | |
846 | |
6888 | 847 @item marker |
848 @item markeredgecolor | |
849 @item markerfacecolor | |
850 @item markersize | |
6889 | 851 @xref{Marker Styles}. |
852 | |
6888 | 853 @item keylabel |
6889 | 854 The text of the legend entry corresponding to this line. Note that this |
855 property is not compatible with @sc{Matlab} and may be removed in a | |
856 future version of Octave. | |
6888 | 857 @end table |
858 | |
859 @node Text Properties | |
860 @subsubsection Text Properties | |
861 | |
862 @table @code | |
863 @item string | |
6889 | 864 The character string contained by the text object. |
865 | |
6888 | 866 @item units |
6889 | 867 May be @code{"normalized"} or @code{"graph"}. |
868 | |
6888 | 869 @item position |
6889 | 870 The coordinates of the text object. |
871 | |
6888 | 872 @item rotation |
6889 | 873 The angle of rotation for the displayed text, measured in degrees. |
874 | |
6888 | 875 @item horizontalalignment |
6889 | 876 May be @code{"left"}, @code{"center"}, or @code{"right"}. |
877 | |
6888 | 878 @item color |
6889 | 879 The color of the text. @xref{Colors}. |
7189 | 880 |
881 @item fontname | |
882 The font used for the text. | |
883 | |
884 @item fontsize | |
885 The size of the font, in points to use. | |
886 | |
887 @item fontangle | |
888 Flag whether the font is italic or normal. Valid values are 'normal', | |
889 'italic' and 'oblique'. | |
890 | |
891 @item fontweight | |
892 Flag whether the font is bold, etc. Valid values are 'normal', 'bold', | |
893 'demi' or 'light'. | |
894 | |
895 @item interpreter | |
896 Determines how the text is rendered. Valid values are 'none', 'tex' or | |
897 'latex'. | |
6888 | 898 @end table |
899 | |
7189 | 900 All text objects, including titles, labels, legends, and text, include |
901 the property 'interpreter', this property determines the manner in which | |
902 special control sequences in the text are rendered. If the interpreter | |
903 is set to 'none', then no rendering occurs. At this point the 'latex' | |
904 option is not implemented and so the 'latex' interpreter also does not | |
905 interpret the text. | |
906 | |
907 The 'tex' option implements a subset of @sc{TeX} functionality in the | |
908 rendering of the text. This allows the insertion of special characters | |
909 such as Greek or mathematical symbols within the text. The special | |
910 characters are also inserted with a code starting with the back-slash | |
911 (\) character, as in the table @ref{tab:extended}. | |
912 | |
913 In addition, the formating of the text can be changed within the string | |
914 with the codes | |
915 | |
916 @multitable @columnfractions .2 .2 .6 .2 | |
917 @item @tab \bf @tab Bold font @tab | |
918 @item @tab \it @tab Italic font @tab | |
919 @item @tab \sl @tab Oblique Font @tab | |
920 @item @tab \rm @tab Normal font @tab | |
921 @end multitable | |
922 | |
923 These are be used in conjunction with the @{ and @} characters to limit | |
924 the change in the font to part of the string. For example | |
925 | |
926 @example | |
927 xlabel ('@{\bf H@} = a @{\bf V@}') | |
928 @end example | |
929 | |
930 where the character 'a' will not appear in a bold font. Note that to | |
931 avoid having Octave interpret the backslash characters in the strings, | |
932 the strings should be in single quotes. | |
933 | |
934 It is also possible to change the fontname and size within the text | |
935 | |
936 @multitable @columnfractions .1 .4 .6 .1 | |
937 @item @tab \fontname@{@var{fontname}@} @tab Specify the font to use @tab | |
938 @item @tab \fontsize@{@var{size}@} @tab Specify the size of the font to | |
939 use @tab | |
940 @end multitable | |
941 | |
942 Finally, the superscript and subscripting can be controlled with the '^' | |
943 and '_' characters. If the '^' or '_' is followed by a @{ character, | |
944 then all of the block surrounded by the @{ @} pair is super- or | |
945 sub-scripted. Without the @{ @} pair, only the character immediately | |
946 following the '^' or '_' is super- or sub-scripted. | |
947 | |
948 @float Table,tab:extended | |
949 @iftex | |
950 @tex | |
951 \vskip 6pt | |
952 {\hbox to \hsize {\hfill\vbox{\offinterlineskip \tabskip=0pt | |
953 \halign{ | |
954 \vrule height2.0ex depth1.ex width 0.6pt #\tabskip=0.3em & | |
955 # \hfil & \vrule # & # \hfil & # \vrule & | |
956 # \hfil & \vrule # & # \hfil & # \vrule & | |
957 # \hfil & \vrule # & # \hfil & # \vrule | |
958 width 0.6pt \tabskip=0pt\cr | |
959 \noalign{\hrule height 0.6pt} | |
960 & Code && Sym && Code && Sym && Code && Sym &\cr | |
961 \noalign{\hrule} | |
7608
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
962 & $\backslash$forall && $\forall$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
963 && $\backslash$exists && $\exists$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
964 && $\backslash$ni && $\ni$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
965 & $\backslash$cong && $\cong$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
966 && $\backslash$Delta && $\Delta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
967 && $\backslash$Phi && $\Phi$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
968 & $\backslash$Gamma && $\Gamma$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
969 && $\backslash$vartheta && $\vartheta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
970 && $\backslash$Lambda && $\Lambda$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
971 & $\backslash$Pi && $\Pi$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
972 && $\backslash$Theta && $\Theta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
973 && $\backslash$Sigma && $\Sigma$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
974 & $\backslash$varsigma && $\varsigma$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
975 && $\backslash$Omega && $\Omega$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
976 && $\backslash$Xi && $\Xi$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
977 & $\backslash$Psi && $\Psi$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
978 && $\backslash$perp && $\perp$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
979 && $\backslash$alpha && $\alpha$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
980 & $\backslash$beta && $\beta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
981 && $\backslash$chi && $\chi$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
982 && $\backslash$delta && $\delta$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
983 & $\backslash$epsilon && $\epsilon$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
984 && $\backslash$phi && $\phi$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
985 && $\backslash$gamma && $\gamma$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
986 & $\backslash$eta && $\eta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
987 && $\backslash$iota && $\iota$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
988 && $\backslash$varphi && $\varphi$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
989 & $\backslash$kappa && $\kappa$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
990 && $\backslash$lambda && $\lambda$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
991 && $\backslash$mu && $\mu$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
992 & $\backslash$nu && $\nu$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
993 && $\backslash$o && $\o$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
994 && $\backslash$pi && $\pi$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
995 & $\backslash$theta && $\theta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
996 && $\backslash$rho && $\rho$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
997 && $\backslash$sigma && $\sigma$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
998 & $\backslash$tau && $\tau$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
999 && $\backslash$upsilon && $\upsilon$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1000 && $\backslash$varpi && $\varpi$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1001 & $\backslash$omega && $\omega$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1002 && $\backslash$xi && $\xi$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1003 && $\backslash$psi && $\psi$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1004 & $\backslash$zeta && $\zeta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1005 && $\backslash$sim && $\sim$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1006 && $\backslash$Upsilon && $\Upsilon$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1007 & $\backslash$prime && $\prime$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1008 && $\backslash$leq && $\leq$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1009 && $\backslash$infty && $\infty$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1010 & $\backslash$clubsuit && $\clubsuit$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1011 && $\backslash$diamondsuit && $\diamondsuit$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1012 && $\backslash$heartsuit && $\heartsuit$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1013 & $\backslash$spadesuit && $\spadesuit$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1014 && $\backslash$leftrightarrow && $\leftrightarrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1015 && $\backslash$leftarrow && $\leftarrow$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1016 & $\backslash$uparrow && $\uparrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1017 && $\backslash$rightarrow && $\rightarrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1018 && $\backslash$downarrow && $\downarrow$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1019 & $\backslash$circ && $\circ$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1020 && $\backslash$pm && $\pm$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1021 && $\backslash$geq && $\geq$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1022 & $\backslash$times && $\times$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1023 && $\backslash$propto && $\propto$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1024 && $\backslash$partial && $\partial$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1025 & $\backslash$bullet && $\bullet$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1026 && $\backslash$div && $\div$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1027 && $\backslash$neq && $\neq$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1028 & $\backslash$equiv && $\equiv$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1029 && $\backslash$approx && $\approx$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1030 && $\backslash$ldots && $\ldots$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1031 & $\backslash$mid && $\mid$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1032 && $\backslash$aleph && $\aleph$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1033 && $\backslash$Im && $\Im$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1034 & $\backslash$Re && $\Re$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1035 && $\backslash$wp && $\wp$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1036 && $\backslash$otimes && $\otimes$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1037 & $\backslash$oplus && $\oplus$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1038 && $\backslash$oslash && $\oslash$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1039 && $\backslash$cap && $\cap$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1040 & $\backslash$cup && $\cup$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1041 && $\backslash$supset && $\supset$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1042 && $\backslash$supseteq && $\supseteq$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1043 & $\backslash$subset && $\subset$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1044 && $\backslash$subseteq && $\subseteq$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1045 && $\backslash$in && $\in$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1046 & $\backslash$notin && $\notin$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1047 && $\backslash$angle && $\angle$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1048 && $\backslash$bigtriangledown && $\bigtriangledown$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1049 & $\backslash$langle && $\langle$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1050 && $\backslash$rangle && $\rangle$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1051 && $\backslash$nabla && $\nabla$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1052 & $\backslash$prod && $\prod$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1053 && $\backslash$surd && $\surd$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1054 && $\backslash$cdot && $\cdot$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1055 & $\backslash$neg && $\neg$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1056 && $\backslash$wedge && $\wedge$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1057 && $\backslash$vee && $\vee$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1058 & $\backslash$Leftrightarrow && $\Leftrightarrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1059 && $\backslash$Leftarrow && $\Leftarrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1060 && $\backslash$Uparrow && $\Uparrow$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1061 & $\backslash$Rightarrow && $\Rightarrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1062 && $\backslash$Downarrow && $\Downarrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1063 && $\backslash$diamond && $\diamond$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1064 & $\backslash$copyright && $\copyright$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1065 && $\backslash$rfloor && $\rfloor$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1066 && $\backslash$lceil && $\lceil$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1067 & $\backslash$lfloor && $\lfloor$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1068 && $\backslash$rceil && $\rceil$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1069 && $\backslash$int && $\int$ &\cr |
7189 | 1070 \noalign{\hrule height 0.6pt} |
1071 }}\hfill}} | |
1072 @end tex | |
1073 @end iftex | |
1074 @ifnottex | |
1075 @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
|
1076 @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
|
1077 @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
|
1078 @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
|
1079 @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
|
1080 @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
|
1081 @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
|
1082 @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
|
1083 @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
|
1084 @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
|
1085 @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
|
1086 @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
|
1087 @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
|
1088 @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
|
1089 @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
|
1090 @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
|
1091 @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
|
1092 @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
|
1093 @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
|
1094 @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
|
1095 @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
|
1096 @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
|
1097 @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
|
1098 @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
|
1099 @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
|
1100 @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
|
1101 @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
|
1102 @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
|
1103 @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
|
1104 @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
|
1105 @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
|
1106 @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
|
1107 @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
|
1108 @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
|
1109 @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
|
1110 @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
|
1111 @item @tab \rfloor @tab \rceil @tab \int @tab |
7189 | 1112 @end multitable |
1113 @end ifnottex | |
1114 @caption{Available special characters in @sc{TeX} mode} | |
1115 @end float | |
1116 | |
1117 A complete example showing the capabilities of the extended text is | |
1118 | |
1119 @example | |
1120 @group | |
1121 x = 0:0.01:3; | |
1122 plot(x,erf(x)); | |
1123 hold on; | |
1124 plot(x,x,"r"); | |
1125 axis([0, 3, 0, 1]); | |
1126 text(0.65, 0.6175, strcat('\leftarrow x = @{2/\surd\pi', | |
1127 ' @{\fontsize@{16@}\int_@{\fontsize@{8@}0@}^@{\fontsize@{8@}x@}@}', | |
1128 ' e^@{-t^2@} dt@} = 0.6175')) | |
1129 @end group | |
1130 @end example | |
1131 | |
1132 @ifnotinfo | |
1133 @noindent | |
1134 The result of which can be seen in @ref{fig:extendedtext} | |
1135 | |
1136 @float Figure,fig:extendedtext | |
1137 @image{extended,8cm} | |
1138 @caption{Example of inclusion of text with the @sc{TeX} interpreter} | |
1139 @end float | |
1140 @end ifnotinfo | |
1141 | |
6888 | 1142 @node Image Properties |
1143 @subsubsection Image Properties | |
1144 | |
1145 @table @code | |
1146 @item cdata | |
6889 | 1147 The data for the image. Each pixel of the image corresponds to an |
1148 element of @code{cdata}. The value of an element of @code{cdata} | |
1149 specifies the row-index into the colormap of the axes object containing | |
1150 the image. The color value found in the color map for the given index | |
1151 determines the color of the pixel. | |
1152 | |
1153 @item xdata | |
6888 | 1154 @itemx ydata |
7001 | 1155 Two-element vectors specifying the range of the x- and y- coordinates for |
6889 | 1156 the image. |
6888 | 1157 @end table |
1158 | |
1159 @node Patch Properties | |
1160 @subsubsection Patch Properties | |
1161 | |
1162 @table @code | |
1163 @item cdata | |
1164 @itemx xdata | |
1165 @itemx ydata | |
1166 @itemx zdata | |
6889 | 1167 Data defining the patch object. |
1168 | |
6888 | 1169 @item facecolor |
6889 | 1170 The fill color of the patch. @xref{Colors}. |
1171 | |
6888 | 1172 @item facealpha |
6889 | 1173 A number in the range [0, 1] indicating the transparency of the patch. |
1174 | |
6888 | 1175 @item edgecolor |
6889 | 1176 The color of the line defining the patch. @xref{Colors}. |
1177 | |
6888 | 1178 @item linestyle |
6889 | 1179 @itemx linewidth |
1180 @xref{Line Styles}. | |
1181 | |
6888 | 1182 @item marker |
6889 | 1183 @itemx markeredgecolor |
1184 @itemx markerfacecolor | |
1185 @itemx markersize | |
1186 @xref{Marker Styles}. | |
6888 | 1187 @end table |
1188 | |
1189 @node Surface Properties | |
1190 @subsubsection Surface Properties | |
1191 | |
1192 @table @code | |
1193 @item xdata | |
1194 @itemx ydata | |
1195 @itemx zdata | |
6889 | 1196 The data determining the surface. The @code{xdata} and @code{ydata} |
1197 elements are vectors and @code{zdata} must be a matrix. | |
1198 | |
6888 | 1199 @item keylabel |
6889 | 1200 The text of the legend entry corresponding to this surface. Note that |
1201 this property is not compatible with @sc{Matlab} and may be removed in a | |
1202 future version of Octave. | |
1203 @end table | |
1204 | |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1205 @node Searching Properties |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1206 @subsubsection Searching Properties |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1207 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1208 @DOCSTRING(findobj) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1209 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1210 @DOCSTRING(findall) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1211 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1212 |
6891 | 1213 @node Managing Default Properties |
1214 @subsection Managing Default Properties | |
1215 | |
6892 | 1216 Object properties have two classes of default values, @dfn{factory |
1217 defaults} (the initial values) and @dfn{user-defined defaults}, which | |
1218 may override the factory defaults. | |
6891 | 1219 |
1220 Although default values may be set for any object, they are set in | |
1221 parent objects and apply to child objects. For example, | |
1222 | |
1223 @example | |
1224 set (0, "defaultlinecolor", "green"); | |
1225 @end example | |
1226 | |
1227 @noindent | |
1228 sets the default line color for all objects. The rule for constructing | |
1229 the property name to set a default value is | |
1230 | |
1231 @example | |
1232 default + @var{object-type} + @var{property-name} | |
1233 @end example | |
1234 | |
1235 This rule can lead to some strange looking names, for example | |
1236 @code{defaultlinelinewidth"} specifies the default @code{linewidth} | |
1237 property for @code{line} objects. | |
1238 | |
1239 The example above used the root figure object, 0, so the default | |
1240 property value will apply to all line objects. However, default values | |
1241 are hierarchical, so defaults set in a figure objects override those | |
1242 set in the root figure object. Likewise, defaults set in axes objects | |
1243 override those set in figure or root figure objects. For example, | |
1244 | |
1245 @example | |
1246 @group | |
1247 subplot (2, 1, 1); | |
1248 set (0, "defaultlinecolor", "red"); | |
1249 set (1, "defaultlinecolor", "green"); | |
1250 set (gca (), "defaultlinecolor", "blue"); | |
1251 line (1:10, rand (1, 10)); | |
1252 subplot (2, 1, 2); | |
1253 line (1:10, rand (1, 10)); | |
1254 figure (2) | |
1255 line (1:10, rand (1, 10)); | |
1256 @end group | |
1257 @end example | |
1258 | |
1259 @noindent | |
1260 produces two figures. The line in first subplot window of the first | |
1261 figure is blue because it inherits its color from its parent axes | |
1262 object. The line in the second subplot window of the first figure is | |
1263 green because it inherits its color from its parent figure object. The | |
1264 line in the second figure window is red because it inherits its color | |
1265 from the global root figure parent object. | |
1266 | |
1267 To remove a user-defined default setting, set the default property to | |
1268 the value @code{"remove"}. For example, | |
1269 | |
1270 @example | |
1271 set (gca (), "defaultlinecolor", "remove"); | |
1272 @end example | |
1273 | |
1274 @noindent | |
1275 removes the user-defined default line color setting from the current axes | |
1276 object. | |
1277 | |
1278 Getting the @code{"default"} property of an object returns a list of | |
1279 user-defined defaults set for the object. For example, | |
1280 | |
1281 @example | |
1282 get (gca (), "default"); | |
1283 @end example | |
1284 | |
1285 @noindent | |
1286 returns a list of user-defined default values for the current axes | |
1287 object. | |
1288 | |
1289 Factory default values are stored in the root figure object. The | |
1290 command | |
1291 | |
1292 @example | |
1293 get (0, "factory"); | |
1294 @end example | |
1295 | |
1296 @noindent | |
1297 returns a list of factory defaults. | |
1298 | |
6889 | 1299 @node Colors |
1300 @subsection Colors | |
1301 | |
1302 Colors may be specified as RGB triplets with values ranging from zero to | |
1303 one, or by name. Recognized color names include @code{"blue"}, | |
1304 @code{"black"}, @code{"cyan"}, @code{"green"}, @code{"magenta"}, | |
1305 @code{"red"}, @code{"white"}, and @code{"yellow"}. | |
1306 | |
1307 @node Line Styles | |
1308 @subsection Line Styles | |
7001 | 1309 Line styles are specified by the following properties: |
6889 | 1310 |
1311 @table @code | |
1312 @item linestyle | |
1313 May be one of | |
1314 @table @code | |
1315 @item "-" | |
1316 Solid lines. | |
1317 @item "--" | |
1318 Dashed lines. | |
1319 @item ":" | |
1320 Points. | |
1321 @item "-." | |
1322 A dash-dot line. | |
1323 @end table | |
1324 | |
1325 @item linewidth | |
1326 A number specifying the width of the line. The default is 1. A value | |
1327 of 2 is twice as wide as the default, etc. | |
1328 @end table | |
1329 | |
1330 @node Marker Styles | |
1331 @subsection Marker Styles | |
7001 | 1332 Marker styles are specified by the following properties: |
6889 | 1333 @table @code |
1334 @item marker | |
1335 A character indicating a plot marker to be place at each data point, or | |
1336 @code{"none"}, meaning no markers should be displayed. | |
1337 | |
1338 @itemx markeredgecolor | |
1339 The color of the edge around the marker, or @code{"auto"}, meaning that | |
1340 the edge color is the same as the face color. @xref{Colors}. | |
1341 | |
1342 @itemx markerfacecolor | |
1343 The color of the marker, or @code{"none"} to indicate that the marker | |
1344 should not be filled. @xref{Colors}. | |
1345 | |
1346 @itemx markersize | |
1347 A number specifying the size of the marker. The default is 1. A value | |
1348 of 2 is twice as large as the default, etc. | |
6888 | 1349 @end table |
1350 | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1351 @node Callbacks |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1352 @subsection Callbacks |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1353 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1354 Callback functions can be associated with graphics objects and triggered |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1355 after certain events occur. The basic structure of all callback function |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1356 is |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1357 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1358 @example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1359 @group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1360 function mycallback (src, data) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1361 @dots{} |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1362 endfunction |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1363 @end group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1364 @end example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1365 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1366 where @code{src} gives a handle to the source of the callback, and |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1367 @code{code} gives some event specific data. This can then be associated |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1368 with an object either at the objects creation or later with the |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1369 @code{set} function. For example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1370 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1371 @example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1372 plot (x, "DeleteFcn", @@(s, e) disp("Window Deleted")) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1373 @end example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1374 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1375 @noindent |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1376 where at the moment that the plot is deleted, the message "Window |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1377 Deleted" will be displayed. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1378 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1379 Additional user arguments can be passed to callback functions, and will |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1380 be passed after the 2 default arguments. For example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1381 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1382 @example |
8057 | 1383 plot (x, "DeleteFcn", @{@@mycallback, "1"@}) |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1384 @dots{} |
8057 | 1385 function mycallback (src, data, a1) |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1386 fprintf ("Closing plot %d\n", a1); |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1387 endfunction |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1388 @end example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1389 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1390 The basic callback functions that are available for all graphics objects |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1391 are |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1392 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1393 @itemize @bullet |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1394 @item CreateFcn |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1395 This is the callback that is called at the moment of the objects |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1396 creation. It is not called if the object is altered in any way, and so |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1397 it only makes sense to define this callback in the function call that |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1398 defines the object. Callbacks that are added to @code{CreateFcn} later with |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1399 the @code{set} function will never be executed. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1400 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1401 @item DeleteFcn |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1402 This is the callback that is called at the moment an object is deleted. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1403 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1404 @item ButtonDownFcn |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1405 This is the callback that is called if a mouse button is pressed while |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1406 the pointer is over this object. Note, that the gnuplot interface does |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1407 not respect this callback. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1408 @end itemize |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1409 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1410 The object and figure that the event occurred in that resulted in the |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1411 callback being called can be found with the @code{gcbo} and @code{gcbf} |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1412 functions. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1413 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1414 @DOCSTRING(gcbo) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1415 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1416 @DOCSTRING(gcbf) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1417 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1418 Callbacks can equally be added to properties with the @code{addlistener} |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1419 function described below. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1420 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1421 @node Object Groups |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1422 @subsection Object Groups |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1423 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1424 A number of Octave high level plot functions return groups of other |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1425 graphics objects or they return graphics objects that are have their |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1426 properties linked in such a way that changes to one of the properties |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1427 results in changes in the others. A graphic object that groups other |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1428 objects is an @code{hggroup} |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1429 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1430 @DOCSTRING(hggroup) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1431 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1432 For example a simple use of a @code{hggroup} might be |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1433 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1434 @example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1435 @group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1436 x = 0:0.1:10; |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1437 hg = hggroup (); |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1438 plot (x, sin (x), "color", [1, 0, 0], "parent", hg); |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1439 hold on |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1440 plot (x, cos (x), "color", [0, 1, 0], "parent", hg); |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1441 set (hg, "visible", "off"); |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1442 @end group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1443 @end example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1444 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1445 @noindent |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1446 which groups the two plots into a single object and contols their |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1447 visiblity directly. The default properties of an @code{hggroup} are |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1448 the same as the set of common properties for the other graphics |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1449 objects. Additional properties can be added with the @code{addproperty} |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1450 function. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1451 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1452 @DOCSTRING(addproperty) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1453 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1454 Once a property in added to an @code{hggroup}, it is not linked to any |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1455 other property of either the children of the group, or any other |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1456 graphics object. Add so to control the way in which this newly added |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1457 property is used, the @code{addlistener} function is used to define a |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1458 callback function that is executed when the property is altered. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1459 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1460 @DOCSTRING(addlistener) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1461 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1462 An example of the use of these two functions might be |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1463 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1464 @example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1465 @group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1466 x = 0:0.1:10; |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1467 hg = hggroup (); |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1468 h = plot (x, sin (x), "color", [1, 0, 0], "parent", hg); |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1469 addproperty ("linestyle", hg, "linelinestyle", get (h, "linestyle")); |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1470 addlistener (hg, "linestyle", @@update_props); |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1471 hold on |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1472 plot (x, cos (x), "color", [0, 1, 0], "parent", hg); |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1473 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1474 function update_props (h, d) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1475 set (get (h, "children"), "linestyle", get (h, "linestyle")); |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1476 endfunction |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1477 @end group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1478 @end example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1479 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1480 @noindent |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1481 that adds a @code{linestyle} property to the @code{hggroup} and |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1482 propagating any changes its its value to the children of the group. The |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1483 @code{linkprop} function can be used to simplify the above to be |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1484 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1485 @example |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1486 @group |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1487 x = 0:0.1:10; |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1488 hg = hggroup (); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1489 h1 = plot (x, sin (x), "color", [1, 0, 0], "parent", hg); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1490 addproperty ("linestyle", hg, "linelinestyle", get (h, "linestyle")); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1491 hold on |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1492 h2 = plot (x, cos (x), "color", [0, 1, 0], "parent", hg); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1493 hlink = linkprop ([hg, h1, h2], "color"); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1494 @end group |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1495 @end example |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1496 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1497 @DOCSTRING(linkprop) |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1498 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1499 These capabilities are used in a number of basic graphics objects. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1500 The @code{hggroup} objects created by the functions of Octave contain |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1501 one or more graphics object and are used to: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1502 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1503 @itemize @bullet |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1504 @item group together multiple graphics objects, |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1505 @item create linked properties between different graphics objects, and |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1506 @item to hide the nominal user data, from the actual data of the objects. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1507 @end itemize |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1508 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1509 @noindent |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1510 For example the @code{stem} function creates a stem series where each |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1511 @code{hggroup} of the stem series contains two line objects representing |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1512 the body and head of the stem. The @code{ydata} property of the |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1513 @code{hggroup} of the stem series represents the head of the stem, |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1514 whereas the body of the stem is between the baseline and this value. For |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1515 example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1516 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1517 @example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1518 @group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1519 h = stem (1:4) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1520 get (h, "xdata") |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1521 @result{} [ 1 2 3 4]' |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1522 get (get (h, "children")(1), "xdata") |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1523 @result{} [ 1 1 NaN 2 2 NaN 3 3 NaN 4 4 NaN]' |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1524 @end group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1525 @end example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1526 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1527 @noindent |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1528 shows the the difference between the @code{xdata} of the @code{hggroup} |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1529 of a stem series object and the underlying line. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1530 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1531 The basic properties of such group objects is that they consist of one |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1532 or more linked @code{hggroup}, and that changes in certain properties of |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1533 these groups are propagated to other members of the group. Whereas, |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1534 certain properties of the members of the group only apply to the current |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1535 member. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1536 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1537 In addition the members of the group can also be linked to other |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1538 graphics objects through callback functions. For example the baseline of |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1539 the @code{bar} or @code{stem} functions is a line object, whose length |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1540 and position are automatically adjusted, based on changes to the |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1541 corresponding hggroup elements. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1542 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1543 @menu |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1544 * Data sources in object groups:: |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1545 * Area series:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1546 * Bar series:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1547 * Contour groups:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1548 * Error bar series:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1549 * Line series:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1550 * Quiver group:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1551 * Scatter group:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1552 * Stair group:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1553 * Stem Series:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1554 * Surface group:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1555 @end menu |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1556 |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1557 @node Data sources in object groups |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1558 @subsubsection Data sources in object groups |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1559 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1560 All of the group objects contain data source parameters. There are |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1561 string parameters that contain an expression that is evaluated to update |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1562 the relevant data property of the group when the @code{refreshdata} |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1563 function is called. |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1564 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1565 @DOCSTRING(refreshdata) |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1566 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1567 @c add the description of the linkdata function here when it is written |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1568 |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1569 @node Area series |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1570 @subsubsection Area series |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1571 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1572 Area series objects are created by the @code{area} function. Each of the |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1573 @code{hggroup} elements contains a single patch object. The properties |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1574 of the area series are |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1575 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1576 @table @code |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1577 @item basevalue |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1578 The value where the base of the area plot is drawn. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1579 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1580 @item linewidth |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1581 @itemx linestyle |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1582 The line width and style of the edge of the patch objects making up the |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1583 areas. @xref{Line Styles}. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1584 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1585 @item edgecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1586 @itemx facecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1587 The line and fill color of the patch objects making up the areas. @xref{Colors}. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1588 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1589 @item xdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1590 @itemx ydata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1591 The x and y coordinates of the original columns of the data passed to |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1592 @code{area} prior to the cummulative summation used in the @code{area} |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1593 function. |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1594 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1595 @item xdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1596 @itemx ydatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1597 Data source variables. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1598 @end table |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1599 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1600 @node Bar series |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1601 @subsubsection Bar series |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1602 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1603 Bar series objects are created by the @code{bar} or @code{barh} |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1604 functions. Each @code{hgrroup} element contains a single patch object. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1605 The properties of the bar series are |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1606 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1607 @table @code |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1608 @item showbaseline |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1609 @itemx baseline |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1610 @itemx basevalue |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1611 The property @code{showbaseline} flags whether the baseline of the bar |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1612 series is displayed (default is "on"). The handle of the graphics object |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1613 representing the baseline is given by the @code{baseline} property and |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1614 the y-value of the baseline by the @code{basevalue} property. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1615 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1616 Changes to any of these property are propagated to the other members of |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1617 the bar series and to the baseline itself. Equally changes in the |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1618 properties of the base line itself are propagated to the members of the |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1619 corresponding bar series. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1620 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1621 @item barwidth |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1622 @itemx barlayout |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1623 @itemx horizontal |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1624 The property @code{barwidth} is the width of the bar corresponding to |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1625 the @var{width} variable passed to @code{bar} or @var{barh}. Whether the |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1626 bar series is "grouped" or "stacked" is determined by the |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1627 @code{barlayout} property and whether the bars are horizontal or |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1628 vertical by the @code{horizontal} property. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1629 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1630 Changes to any of these property are propagated to the other members of |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1631 the bar series. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1632 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1633 @item linewidth |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1634 @itemx linestyle |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1635 The line width and style of the edge of the patch objects making up the |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1636 bars. @xref{Line Styles}. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1637 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1638 @item edgecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1639 @itemx facecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1640 The line and fill color of the patch objects making up the bars. @xref{Colors}. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1641 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1642 @item xdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1643 The nominal x positions of the bars. Changes in this property and |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1644 propagated to the other members of the bar series. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1645 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1646 @item ydata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1647 The y value of the bars in the @code{hggroup}. |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1648 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1649 @item xdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1650 @itemx ydatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1651 Data source variables. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1652 @end table |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1653 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1654 @node Contour groups |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1655 @subsubsection Contour groups |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1656 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1657 TO BE WRITTEN |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1658 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1659 @node Error bar series |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1660 @subsubsection Error bar series |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1661 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1662 TO BE WRITTEN |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1663 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1664 @node Line series |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1665 @subsubsection Line series |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1666 |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1667 line series objects are created by the @code{plot} and @code{plot3} |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1668 functions. Each @code{hggroup} element of the series contains a single |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1669 line object as a child representing the stair. The properties of the |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1670 line series are a one-to-one reflection of the children line object, and |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1671 so the line series is only useful for its ability to add data sources to |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1672 the group object. |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1673 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1674 The properties of the line series are |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1675 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1676 @table @code |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1677 @item color |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1678 The RGB color or color name of the line objects of the stairs. @xref{Colors}. |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1679 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1680 @item linewidth |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1681 @itemx linestyle |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1682 The line width and style of the line objects of the stairs. @xref{Line Styles}. |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1683 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1684 @item marker |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1685 @itemx markeredgecolor |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1686 @itemx markerfacecolor |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1687 @itemx markersize |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1688 The line and fill color of the markers on the stairs. @xref{Colors}. |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1689 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1690 @item xdata |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1691 @itemx ydata |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1692 @itemx zdata |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1693 The original x, y and z data of the stairs. |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1694 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1695 @item xdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1696 @itemx ydatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1697 @itemx zdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1698 Data source variables. |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1699 @end table |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1700 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1701 @node Quiver group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1702 @subsubsection Quiver group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1703 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1704 Quiver series objects are created by the @code{quiver} or @code{quiver3} |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1705 functions. Each @code{hggroup} element of the series contains three line |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1706 objects as children representing the body and head of the arrow, |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1707 together with a marker as the point of original of the arrows. The |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1708 properties of the quiver series are |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1709 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1710 @table @code |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1711 @item autoscale |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1712 @itemx autoscalefactor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1713 Flag whether the length of the arrows is scaled or defined directly from |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1714 the @var{u}, @var{v} and @var{w} data. If the arrow length is falgged |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1715 as being scaled by the @code{autoscale} property, then the length of the |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1716 autoscaled arrow is controlled by the @code{autoscalefactor}. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1717 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1718 @item maxheadsize |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1719 This property controls the size of the head of the arrows in the quiver |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1720 series. The default value is 0.2. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1721 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1722 @item showarrowhead |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1723 Flag whether the arrow heads are displayed in the quiver plot. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1724 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1725 @item color |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1726 The RGB color or color name of the line objects of the quiver. @xref{Colors}. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1727 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1728 @item linewidth |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1729 @itemx linestyle |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1730 The line width and style of the line objects of the quiver. @xref{Line Styles}. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1731 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1732 @item marker |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1733 @itemx markerfacecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1734 @itemx markersize |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1735 The line and fill color of the marker objects at the original of the |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1736 arrows. @xref{Colors}. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1737 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1738 @item xdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1739 @itemx ydata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1740 @itemx zdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1741 The origins of the values of the vector field. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1742 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1743 @item udata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1744 @itemx vdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1745 @itemx wdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1746 The values of the vector field to plot. |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1747 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1748 @item xdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1749 @itemx ydatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1750 @itemx zdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1751 @itemx udatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1752 @itemx vdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1753 @itemx wdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1754 Data source variables. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1755 @end table |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1756 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1757 @node Scatter group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1758 @subsubsection Scatter group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1759 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1760 TO BE WRITTEN |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1761 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1762 @node Stair group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1763 @subsubsection Stair group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1764 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1765 Stair series objects are created by the @code{stair} function. Each |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1766 @code{hggroup} element of the series contains a single line object as a |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1767 child representing the stair. The properties of the stair series are |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1768 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1769 @table @code |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1770 @item color |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1771 The RGB color or color name of the line objects of the stairs. @xref{Colors}. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1772 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1773 @item linewidth |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1774 @itemx linestyle |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1775 The line width and style of the line objects of the stairs. @xref{Line Styles}. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1776 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1777 @item marker |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1778 @itemx markeredgecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1779 @itemx markerfacecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1780 @itemx markersize |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1781 The line and fill color of the markers on the stairs. @xref{Colors}. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1782 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1783 @item xdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1784 @itemx ydata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1785 The original x and y data of the stairs. |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1786 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1787 @item xdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1788 @itemx ydatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1789 Data source variables. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1790 @end table |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1791 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1792 @node Surface group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1793 @subsubsection Surface group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1794 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1795 TO BE WRITTEN |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1796 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1797 @node Graphics backends |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1798 @subsection Graphics backends |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1799 |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1800 @DOCSTRING(backends) |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1801 |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1802 @DOCSTRING(available_backends) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1803 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1804 @menu |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1805 * Interaction with gnuplot:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1806 @end menu |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1807 |
4167 | 1808 @node Interaction with gnuplot |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1809 @subsubsection Interaction with @code{gnuplot} |
3428 | 1810 |
1811 @DOCSTRING(gnuplot_binary) | |
1812 | |
6331 | 1813 @DOCSTRING(gnuplot_use_title_option) |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1814 |