Mercurial > hg > octave-lyh
annotate doc/interpreter/plot.txi @ 8428:ee1bc8aa226b
Add cross reference from Plot Annotations to Text Properties.
author | Francesco Potortì <pot@gnu.org> |
---|---|
date | Fri, 26 Dec 2008 22:23:11 +0100 |
parents | fa78cb8d8a5c |
children | f34ab2b433e8 |
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 |
8347
fa78cb8d8a5c
corrections for typos
Brian Gough<bjg@network-theory.co.uk>
parents:
8325
diff
changeset
|
121 @code{loglogerr} functions produce plots with error bar markers. For |
6888 | 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 | |
8428
ee1bc8aa226b
Add cross reference from Plot Annotations to Text Properties.
Francesco Potortì <pot@gnu.org>
parents:
8347
diff
changeset
|
339 See @ref{Text Properties} for the properties that you can set. |
ee1bc8aa226b
Add cross reference from Plot Annotations to Text Properties.
Francesco Potortì <pot@gnu.org>
parents:
8347
diff
changeset
|
340 |
8286
6f2d95255911
fix @seealso references to point to existing anchors
Thorsten Meyer <thorsten.meyier@gmx.de>
parents:
8261
diff
changeset
|
341 @anchor{doc-ylabel} |
6f2d95255911
fix @seealso references to point to existing anchors
Thorsten Meyer <thorsten.meyier@gmx.de>
parents:
8261
diff
changeset
|
342 @anchor{doc-zlabel} |
5134 | 343 @DOCSTRING(xlabel) |
344 | |
6502 | 345 @DOCSTRING(box) |
346 | |
347 @DOCSTRING(grid) | |
348 | |
8089
0ec09255515a
add colorbar docstring to the manual
John W. Eaton <jwe@octave.org>
parents:
8073
diff
changeset
|
349 @DOCSTRING(colorbar) |
0ec09255515a
add colorbar docstring to the manual
John W. Eaton <jwe@octave.org>
parents:
8073
diff
changeset
|
350 |
5134 | 351 @node Multiple Plots on One Page |
6888 | 352 @subsection Multiple Plots on One Page |
353 | |
354 Octave can display more than one plot in a single figure. The simplest | |
355 way to do this is to use the @code{subplot} function to divide the plot | |
356 area into a series of subplot windows that are indexed by an integer. | |
357 For example, | |
358 | |
359 @example | |
360 @group | |
361 subplot (2, 1, 1) | |
362 fplot (@@sin, [-10, 10]); | |
363 subplot (2, 1, 2) | |
364 fplot (@@cos, [-10, 10]); | |
365 @end group | |
366 @end example | |
367 | |
368 @noindent | |
369 creates a figure with two separate axes, one displaying a sine wave and | |
370 the other a cosine wave. The first call to subplot divides the figure | |
371 into two plotting areas (two rows and one column) and makes the first plot | |
372 area active. The grid of plot areas created by @code{subplot} is | |
373 numbered in column-major order (top to bottom, left to right). | |
5134 | 374 |
375 @DOCSTRING(subplot) | |
376 | |
377 @node Multiple Plot Windows | |
6888 | 378 @subsection Multiple Plot Windows |
379 | |
380 You can open multiple plot windows using the @code{figure} function. | |
381 For example | |
382 | |
383 @example | |
384 figure (1); | |
385 fplot (@@sin, [-10, 10]); | |
386 figure (2); | |
387 fplot (@@cos, [-10, 10]); | |
388 @end example | |
389 | |
390 @noindent | |
391 creates two figures, with the first displaying a sine wave and | |
392 the second a cosine wave. Figure numbers must be positive integers. | |
5134 | 393 |
394 @DOCSTRING(figure) | |
395 | |
6502 | 396 @node Printing Plots |
6888 | 397 @subsection Printing Plots |
398 | |
399 The @code{print} command allows you to save plots in a variety of | |
400 formats. For example, | |
401 | |
402 @example | |
403 print -deps foo.eps | |
404 @end example | |
405 | |
406 @noindent | |
407 writes the current figure to an encapsulated PostScript file called | |
408 @file{foo.eps}. | |
6502 | 409 |
410 @DOCSTRING(print) | |
411 | |
412 @DOCSTRING(orient) | |
5134 | 413 |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
414 @node Interacting with plots |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
415 @subsection Interacting with plots |
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 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
|
418 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
|
419 @code{gtext} function using the mouse. |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
420 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
421 @DOCSTRING(ginput) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
422 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
423 @DOCSTRING(waitforbuttonpress) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
424 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
425 @DOCSTRING(gtext) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
426 |
6788 | 427 @node Test Plotting Functions |
6888 | 428 @subsection Test Plotting Functions |
429 | |
430 The functions @code{sombrero} and @code{peaks} provide a way to check | |
431 that plotting is working. Typing either @code{sombrero} or @code{peaks} | |
432 at the Octave prompt should display a three dimensional plot. | |
6788 | 433 |
6877 | 434 @DOCSTRING(sombrero) |
435 | |
6788 | 436 @DOCSTRING(peaks) |
437 | |
6888 | 438 @node Advanced Plotting |
439 @section Advanced Plotting | |
440 | |
441 @menu | |
442 * Graphics Objects:: | |
443 * Graphics Object Properties:: | |
6891 | 444 * Managing Default Properties:: |
6889 | 445 * Colors:: |
446 * Line Styles:: | |
447 * Marker Styles:: | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
448 * Callbacks:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
449 * Object Groups:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
450 * Graphics backends:: |
6888 | 451 @end menu |
452 | |
453 @node Graphics Objects | |
454 @subsection Graphics Objects | |
455 | |
456 Plots in Octave are constructed from the following @dfn{graphics | |
457 objects}. Each graphics object has a set of properties that define its | |
458 appearance and may also contain links to other graphics objects. | |
459 Graphics objects are only referenced by a numeric index, or @dfn{handle}. | |
460 | |
461 @table @asis | |
462 @item root figure | |
8071 | 463 @cindex root figure graphics object |
464 @cindex graphics object, root figure | |
6888 | 465 The parent of all figure objects. The index for the root figure is |
466 defined to be 0. | |
467 | |
468 @item figure | |
8071 | 469 @cindex figure graphics object |
470 @cindex graphics object, figure | |
6888 | 471 A figure window. |
472 | |
473 @item axes | |
8071 | 474 @cindex axes graphics object |
475 @cindex graphics object, axes | |
6888 | 476 An set of axes. This object is a child of a figure object and may be a |
477 parent of line, text, image, patch, or surface objects. | |
478 | |
479 @item line | |
8071 | 480 @cindex line graphics object |
481 @cindex graphics object, line | |
6888 | 482 A line in two or three dimensions. |
483 | |
484 @item text | |
8071 | 485 @cindex text graphics object |
486 @cindex graphics object, text | |
6888 | 487 Text annotations. |
488 | |
489 @item image | |
8071 | 490 @cindex image graphics object |
491 @cindex graphics object, image | |
6888 | 492 A bitmap image. |
493 | |
494 @item patch | |
8071 | 495 @cindex patch graphics object |
496 @cindex graphics object, patch | |
6888 | 497 A filled polygon, currently limited to two dimensions. |
498 | |
499 @item surface | |
8071 | 500 @cindex surface graphics object |
501 @cindex graphics object, surface | |
6888 | 502 A three-dimensional surface. |
503 @end table | |
504 | |
505 To determine whether an object is a graphics object index or a figure | |
506 index, use the functions @code{ishandle} and @code{isfigure}. | |
507 | |
508 @DOCSTRING(ishandle) | |
509 | |
510 @DOCSTRING(isfigure) | |
511 | |
512 The function @code{gcf} returns an index to the current figure object, | |
513 or creates one if none exists. Similarly, @code{gca} returns the | |
514 current axes object, or creates one (and its parent figure object) if | |
515 none exists. | |
516 | |
517 @DOCSTRING(gcf) | |
518 | |
519 @DOCSTRING(gca) | |
520 | |
521 The @code{get} and @code{set} functions may be used to examine and set | |
522 properties for graphics objects. For example, | |
523 | |
524 @example | |
525 @group | |
526 get (0) | |
527 @result{} ans = | |
528 @{ | |
529 type = root figure | |
530 currentfigure = [](0x0) | |
531 children = [](0x0) | |
532 visible = on | |
533 @} | |
534 @end group | |
535 @end example | |
536 | |
537 @noindent | |
538 returns a structure containing all the properties of the root figure. | |
539 As with all functions in Octave, the structure is returned by value, so | |
540 modifying it will not modify the internal root figure plot object. To | |
541 do that, you must use the @code{set} function. Also, note that in this | |
542 case, the @code{currentfigure} property is empty, which indicates that | |
543 there is no current figure window. | |
544 | |
545 The @code{get} function may also be used to find the value of a single | |
546 property. For example, | |
547 | |
548 @example | |
549 @group | |
550 get (gca (), "xlim") | |
551 @result{} [ 0 1 ] | |
552 @end group | |
553 @end example | |
554 | |
555 @noindent | |
556 returns the range of the x-axis for the current axes object in the | |
557 current figure. | |
558 | |
559 To set graphics object properties, use the set function. For example, | |
560 | |
561 @example | |
562 set (gca (), "xlim", [-10, 10]); | |
563 @end example | |
564 | |
565 @noindent | |
566 sets the range of the x-axis for the current axes object in the current | |
567 figure to @samp{[-10, 10]}. Additionally, calling set with a graphics | |
568 object index as the only argument returns a structure containing the | |
569 default values for all the properties for the given object type. For | |
570 example, | |
571 | |
572 @example | |
573 set (gca ()) | |
574 @end example | |
575 | |
576 @noindent | |
577 returns a structure containing the default property values for axes | |
578 objects. | |
579 | |
580 @DOCSTRING(get) | |
581 | |
582 @DOCSTRING(set) | |
583 | |
584 @DOCSTRING(ancestor) | |
585 | |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
586 @DOCSTRING(allchild) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
587 |
6888 | 588 You can create axes, line, and patch objects directly using the |
589 @code{axes}, @code{line}, and @code{patch} functions. These objects | |
590 become children of the current axes object. | |
591 | |
592 @DOCSTRING(axes) | |
593 | |
594 @DOCSTRING(line) | |
595 | |
596 @DOCSTRING(patch) | |
597 | |
7120 | 598 @DOCSTRING(surface) |
599 | |
6888 | 600 By default, Octave refreshes the plot window when a prompt is printed, |
601 or when waiting for input. To force an update at other times, call the | |
602 @code{drawnow} function. | |
603 | |
604 @DOCSTRING(drawnow) | |
605 | |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
606 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
|
607 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
|
608 it is nor modified. |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
609 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
610 @DOCSTRING(refresh) |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
611 |
6888 | 612 Normally, high-level plot functions like @code{plot} or @code{mesh} call |
613 @code{newplot} to initialize the state of the current axes so that the | |
614 next plot is drawn in a blank window with default property settings. To | |
615 have two plots superimposed over one another, call the @code{hold} | |
616 function. For example, | |
617 | |
618 @example | |
619 @group | |
620 hold ("on"); | |
621 x = -10:0.1:10; | |
622 plot (x, sin (x)); | |
623 plot (x, cos (x)); | |
624 hold ("off"); | |
625 @end group | |
626 @end example | |
627 | |
628 @noindent | |
629 displays sine and cosine waves on the same axes. If the hold state is | |
630 off, consecutive plotting commands like this will only display the last | |
631 plot. | |
632 | |
633 @DOCSTRING(newplot) | |
634 | |
635 @DOCSTRING(hold) | |
636 | |
637 @DOCSTRING(ishold) | |
638 | |
8286
6f2d95255911
fix @seealso references to point to existing anchors
Thorsten Meyer <thorsten.meyier@gmx.de>
parents:
8261
diff
changeset
|
639 To clear the current figure, call the @code{clf} function. To clear the |
6f2d95255911
fix @seealso references to point to existing anchors
Thorsten Meyer <thorsten.meyier@gmx.de>
parents:
8261
diff
changeset
|
640 current axis, call the @code{cla} function. To bring the current fingure |
6888 | 641 to the top of the window stack, call the @code{shg} function. To delete |
642 a graphics object, call @code{delete} on its index. To close the | |
643 figure window, call the @code{close} function. | |
644 | |
645 @DOCSTRING(clf) | |
646 | |
8286
6f2d95255911
fix @seealso references to point to existing anchors
Thorsten Meyer <thorsten.meyier@gmx.de>
parents:
8261
diff
changeset
|
647 @DOCSTRING(cla) |
6f2d95255911
fix @seealso references to point to existing anchors
Thorsten Meyer <thorsten.meyier@gmx.de>
parents:
8261
diff
changeset
|
648 |
6888 | 649 @DOCSTRING(shg) |
650 | |
651 @DOCSTRING(delete) | |
652 | |
653 @DOCSTRING(close) | |
654 | |
655 @DOCSTRING(closereq) | |
656 | |
657 @node Graphics Object Properties | |
658 @subsection Graphics Object Properties | |
659 @cindex graphics object properties | |
660 | |
661 @menu | |
662 * Root Figure Properties:: | |
6889 | 663 * Figure Properties:: |
6888 | 664 * Axes Properties:: |
665 * Line Properties:: | |
666 * Text Properties:: | |
667 * Image Properties:: | |
668 * Patch Properties:: | |
669 * Surface Properties:: | |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
670 * Searching Properties:: |
6888 | 671 @end menu |
672 | |
673 @node Root Figure Properties | |
674 @subsubsection Root Figure Properties | |
675 | |
676 @table @code | |
677 @item currentfigure | |
6889 | 678 Index to graphics object for the current figure. |
679 | |
680 @c FIXME -- does this work? | |
681 @c @item visible | |
682 @c Either @code{"on"} or @code{"off"} to toggle display of figures. | |
6888 | 683 @end table |
684 | |
6889 | 685 @node Figure Properties |
686 @subsubsection Figure Properties | |
8071 | 687 @cindex figure properties |
6888 | 688 |
689 @table @code | |
690 @item nextplot | |
6889 | 691 May be one of |
692 @table @code | |
693 @item "new" | |
694 @item "add" | |
695 @item "replace" | |
696 @item "replacechildren" | |
697 @end table | |
698 | |
6888 | 699 @item closerequestfcn |
6889 | 700 Handle of function to call when a figure is closed. |
701 | |
6888 | 702 @item currentaxes |
6889 | 703 Index to graphics object of current axes. |
704 | |
6888 | 705 @item colormap |
6889 | 706 An N-by-3 matrix containing the color map for the current axes. |
707 | |
6888 | 708 @item visible |
6889 | 709 Either @code{"on"} or @code{"off"} to toggle display of the figure. |
710 | |
6888 | 711 @item paperorientation |
6889 | 712 Indicates the orientation for printing. Either @code{"landscape"} or |
713 @code{"portrait"}. | |
6888 | 714 @end table |
715 | |
716 @node Axes Properties | |
717 @subsubsection Axes Properties | |
8071 | 718 @cindex axes properties |
6888 | 719 |
720 @table @code | |
721 @item position | |
8071 | 722 A vector specifying the position of the plot, excluding titles, axes and |
723 legend. The four elements of the vector are the coordinates of the | |
724 lower left corner and width and height of the plot, in units normalized | |
725 to the width and height of the plot window. For example, @code{[0.2, | |
726 0.3, 0.4, 0.5]} sets the lower left corner of the axes at @math{(0.2, | |
727 0.3)} and the width and height to be 0.4 and 0.5 respectively. See also | |
728 the @code{outerposition} property. | |
6889 | 729 |
6888 | 730 @item title |
6889 | 731 Index of text object for the axes title. |
732 | |
6888 | 733 @item box |
6889 | 734 Either @code{"on"} or @code{"off"} to toggle display of the box around |
735 the axes. | |
736 | |
6888 | 737 @item key |
6889 | 738 Either @code{"on"} or @code{"off"} to toggle display of the legend. |
739 Note that this property is not compatible with @sc{Matlab} and may be | |
740 removed in a future version of Octave. | |
741 | |
6888 | 742 @item keybox |
6889 | 743 Either @code{"on"} or @code{"off"} to toggle display of a box around the |
744 legend. Note that this property is not compatible with @sc{Matlab} and | |
745 may be removed in a future version of Octave. | |
746 | |
6888 | 747 @item keypos |
6889 | 748 An integer from 1 to 4 specifying the position of the legend. 1 |
749 indicates upper right corner, 2 indicates upper left, 3 indicates lower | |
750 left, and 4 indicates lower right. Note that this property is not | |
751 compatible with @sc{Matlab} and may be removed in a future version of | |
752 Octave. | |
753 | |
6888 | 754 @item dataaspectratio |
6889 | 755 A two-element vector specifying the relative height and width of the |
756 data displayed in the axes. Setting @code{dataaspectratio} to @samp{1, | |
757 2]} causes the length of one unit as displayed on the y axis to be the | |
758 same as the length of 2 units on the x axis. Setting | |
759 @code{dataaspectratio} also forces the @code{dataaspectratiomode} | |
760 property to be set to @code{"manual"}. | |
761 | |
6888 | 762 @item dataaspectratiomode |
6889 | 763 Either @code{"manual"} or @code{"auto"}. |
764 | |
6888 | 765 @item xlim |
766 @itemx ylim | |
767 @itemx zlim | |
768 @itemx clim | |
6889 | 769 Two-element vectors defining the limits for the x, y, and z axes and the |
770 Setting one of these properties also forces the corresponding mode | |
771 property to be set to @code{"manual"}. | |
772 | |
6888 | 773 @item xlimmode |
774 @itemx ylimmode | |
775 @itemx zlimmode | |
776 @itemx climmode | |
6889 | 777 Either @code{"manual"} or @code{"auto"}. |
778 | |
6888 | 779 @item xlabel |
780 @itemx ylabel | |
781 @itemx zlabel | |
6889 | 782 Indices to text objects for the axes labels. |
783 | |
6888 | 784 @item xgrid |
785 @itemx ygrid | |
786 @itemx zgrid | |
6889 | 787 Either @code{"on"} or @code{"off"} to toggle display of grid lines. |
788 | |
6888 | 789 @item xminorgrid |
790 @itemx yminorgrid | |
791 @itemx zminorgrid | |
6889 | 792 Either @code{"on"} or @code{"off"} to toggle display of minor grid lines. |
793 | |
6888 | 794 @item xtick |
795 @itemx ytick | |
796 @itemx ztick | |
6889 | 797 Setting one of these properties also forces the corresponding mode |
798 property to be set to @code{"manual"}. | |
799 | |
6888 | 800 @item xtickmode |
801 @itemx ytickmode | |
802 @itemx ztickmode | |
6889 | 803 Either @code{"manual"} or @code{"auto"}. |
804 | |
6888 | 805 @item xticklabel |
806 @itemx yticklabel | |
807 @itemx zticklabel | |
6889 | 808 Setting one of these properties also forces the corresponding mode |
809 property to be set to @code{"manual"}. | |
810 | |
6888 | 811 @item xticklabelmode |
812 @itemx yticklabelmode | |
813 @itemx zticklabelmode | |
6889 | 814 Either @code{"manual"} or @code{"auto"}. |
815 | |
6888 | 816 @item xscale |
817 @itemx yscale | |
818 @itemx zscale | |
6889 | 819 Either @code{"linear"} or @code{"log"}. |
820 | |
6888 | 821 @item xdir |
822 @itemx ydir | |
823 @itemx zdir | |
6889 | 824 Either @code{"forward"} or @code{"reverse"}. |
825 | |
6888 | 826 @item xaxislocation |
827 @itemx yaxislocation | |
6889 | 828 Either @code{"top"} or @code{"bottom"} for the x axis and @code{"left"} |
829 or @code{"right"} for the y axis. | |
830 | |
6888 | 831 @item view |
6889 | 832 A three element vector specifying the view point for three-dimensional plots. |
833 | |
6888 | 834 @item visible |
6889 | 835 Either @code{"on"} or @code{"off"} to toggle display of the axes. |
836 | |
6888 | 837 @item nextplot |
6889 | 838 May be one of |
839 @table @code | |
840 @item "new" | |
841 @item "add" | |
842 @item "replace" | |
843 @item "replacechildren" | |
844 @end table | |
845 | |
6888 | 846 @item outerposition |
8071 | 847 A vector specifying the position of the plot, including titles, axes and |
848 legend. The four elements of the vector are the coordinates of the | |
849 lower left corner and width and height of the plot, in units normalized | |
850 to the width and height of the plot window. For example, @code{[0.2, | |
851 0.3, 0.4, 0.5]} sets the lower left corner of the axes at @math{(0.2, | |
852 0.3)} and the width and height to be 0.4 and 0.5 respectively. See also | |
853 the @code{position} property. | |
6888 | 854 @end table |
855 | |
856 @node Line Properties | |
857 @subsubsection Line Properties | |
8071 | 858 @cindex line properties |
6888 | 859 |
860 @table @code | |
861 @itemx xdata | |
862 @itemx ydata | |
863 @itemx zdata | |
864 @itemx ldata | |
865 @itemx udata | |
866 @itemx xldata | |
867 @itemx xudata | |
6889 | 868 The data to be plotted. The @code{ldata} and @code{udata} elements are |
8325
b93ac0586e4b
spelling corrections
Brian Gough<bjg@network-theory.co.uk>
parents:
8297
diff
changeset
|
869 for errorbars in the y direction, and the @code{xldata} and @code{xudata} |
6889 | 870 elements are for errorbars in the x direction. |
871 | |
6888 | 872 @item color |
6889 | 873 The RGB color of the line, or a color name. @xref{Colors}. |
874 | |
6888 | 875 @item linestyle |
6889 | 876 @itemx linewidth |
877 @xref{Line Styles}. | |
878 | |
6888 | 879 @item marker |
880 @item markeredgecolor | |
881 @item markerfacecolor | |
882 @item markersize | |
6889 | 883 @xref{Marker Styles}. |
884 | |
6888 | 885 @item keylabel |
6889 | 886 The text of the legend entry corresponding to this line. Note that this |
887 property is not compatible with @sc{Matlab} and may be removed in a | |
888 future version of Octave. | |
6888 | 889 @end table |
890 | |
891 @node Text Properties | |
892 @subsubsection Text Properties | |
8071 | 893 @cindex text properties |
6888 | 894 |
895 @table @code | |
896 @item string | |
6889 | 897 The character string contained by the text object. |
898 | |
6888 | 899 @item units |
6889 | 900 May be @code{"normalized"} or @code{"graph"}. |
901 | |
6888 | 902 @item position |
6889 | 903 The coordinates of the text object. |
904 | |
6888 | 905 @item rotation |
6889 | 906 The angle of rotation for the displayed text, measured in degrees. |
907 | |
6888 | 908 @item horizontalalignment |
6889 | 909 May be @code{"left"}, @code{"center"}, or @code{"right"}. |
910 | |
6888 | 911 @item color |
6889 | 912 The color of the text. @xref{Colors}. |
7189 | 913 |
914 @item fontname | |
915 The font used for the text. | |
916 | |
917 @item fontsize | |
918 The size of the font, in points to use. | |
919 | |
920 @item fontangle | |
921 Flag whether the font is italic or normal. Valid values are 'normal', | |
922 'italic' and 'oblique'. | |
923 | |
924 @item fontweight | |
925 Flag whether the font is bold, etc. Valid values are 'normal', 'bold', | |
926 'demi' or 'light'. | |
927 | |
928 @item interpreter | |
929 Determines how the text is rendered. Valid values are 'none', 'tex' or | |
930 'latex'. | |
6888 | 931 @end table |
932 | |
7189 | 933 All text objects, including titles, labels, legends, and text, include |
934 the property 'interpreter', this property determines the manner in which | |
935 special control sequences in the text are rendered. If the interpreter | |
936 is set to 'none', then no rendering occurs. At this point the 'latex' | |
937 option is not implemented and so the 'latex' interpreter also does not | |
938 interpret the text. | |
939 | |
940 The 'tex' option implements a subset of @sc{TeX} functionality in the | |
941 rendering of the text. This allows the insertion of special characters | |
942 such as Greek or mathematical symbols within the text. The special | |
943 characters are also inserted with a code starting with the back-slash | |
944 (\) character, as in the table @ref{tab:extended}. | |
945 | |
8325
b93ac0586e4b
spelling corrections
Brian Gough<bjg@network-theory.co.uk>
parents:
8297
diff
changeset
|
946 In addition, the formatting of the text can be changed within the string |
7189 | 947 with the codes |
948 | |
949 @multitable @columnfractions .2 .2 .6 .2 | |
950 @item @tab \bf @tab Bold font @tab | |
951 @item @tab \it @tab Italic font @tab | |
952 @item @tab \sl @tab Oblique Font @tab | |
953 @item @tab \rm @tab Normal font @tab | |
954 @end multitable | |
955 | |
956 These are be used in conjunction with the @{ and @} characters to limit | |
957 the change in the font to part of the string. For example | |
958 | |
959 @example | |
960 xlabel ('@{\bf H@} = a @{\bf V@}') | |
961 @end example | |
962 | |
963 where the character 'a' will not appear in a bold font. Note that to | |
964 avoid having Octave interpret the backslash characters in the strings, | |
965 the strings should be in single quotes. | |
966 | |
967 It is also possible to change the fontname and size within the text | |
968 | |
969 @multitable @columnfractions .1 .4 .6 .1 | |
970 @item @tab \fontname@{@var{fontname}@} @tab Specify the font to use @tab | |
971 @item @tab \fontsize@{@var{size}@} @tab Specify the size of the font to | |
972 use @tab | |
973 @end multitable | |
974 | |
975 Finally, the superscript and subscripting can be controlled with the '^' | |
976 and '_' characters. If the '^' or '_' is followed by a @{ character, | |
977 then all of the block surrounded by the @{ @} pair is super- or | |
978 sub-scripted. Without the @{ @} pair, only the character immediately | |
979 following the '^' or '_' is super- or sub-scripted. | |
980 | |
981 @float Table,tab:extended | |
982 @iftex | |
983 @tex | |
984 \vskip 6pt | |
985 {\hbox to \hsize {\hfill\vbox{\offinterlineskip \tabskip=0pt | |
986 \halign{ | |
987 \vrule height2.0ex depth1.ex width 0.6pt #\tabskip=0.3em & | |
988 # \hfil & \vrule # & # \hfil & # \vrule & | |
989 # \hfil & \vrule # & # \hfil & # \vrule & | |
990 # \hfil & \vrule # & # \hfil & # \vrule | |
991 width 0.6pt \tabskip=0pt\cr | |
992 \noalign{\hrule height 0.6pt} | |
993 & Code && Sym && Code && Sym && Code && Sym &\cr | |
994 \noalign{\hrule} | |
7608
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
995 & $\backslash$forall && $\forall$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
996 && $\backslash$exists && $\exists$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
997 && $\backslash$ni && $\ni$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
998 & $\backslash$cong && $\cong$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
999 && $\backslash$Delta && $\Delta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1000 && $\backslash$Phi && $\Phi$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1001 & $\backslash$Gamma && $\Gamma$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1002 && $\backslash$vartheta && $\vartheta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1003 && $\backslash$Lambda && $\Lambda$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1004 & $\backslash$Pi && $\Pi$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1005 && $\backslash$Theta && $\Theta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1006 && $\backslash$Sigma && $\Sigma$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1007 & $\backslash$varsigma && $\varsigma$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1008 && $\backslash$Omega && $\Omega$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1009 && $\backslash$Xi && $\Xi$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1010 & $\backslash$Psi && $\Psi$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1011 && $\backslash$perp && $\perp$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1012 && $\backslash$alpha && $\alpha$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1013 & $\backslash$beta && $\beta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1014 && $\backslash$chi && $\chi$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1015 && $\backslash$delta && $\delta$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1016 & $\backslash$epsilon && $\epsilon$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1017 && $\backslash$phi && $\phi$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1018 && $\backslash$gamma && $\gamma$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1019 & $\backslash$eta && $\eta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1020 && $\backslash$iota && $\iota$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1021 && $\backslash$varphi && $\varphi$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1022 & $\backslash$kappa && $\kappa$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1023 && $\backslash$lambda && $\lambda$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1024 && $\backslash$mu && $\mu$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1025 & $\backslash$nu && $\nu$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1026 && $\backslash$o && $\o$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1027 && $\backslash$pi && $\pi$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1028 & $\backslash$theta && $\theta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1029 && $\backslash$rho && $\rho$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1030 && $\backslash$sigma && $\sigma$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1031 & $\backslash$tau && $\tau$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1032 && $\backslash$upsilon && $\upsilon$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1033 && $\backslash$varpi && $\varpi$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1034 & $\backslash$omega && $\omega$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1035 && $\backslash$xi && $\xi$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1036 && $\backslash$psi && $\psi$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1037 & $\backslash$zeta && $\zeta$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1038 && $\backslash$sim && $\sim$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1039 && $\backslash$Upsilon && $\Upsilon$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1040 & $\backslash$prime && $\prime$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1041 && $\backslash$leq && $\leq$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1042 && $\backslash$infty && $\infty$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1043 & $\backslash$clubsuit && $\clubsuit$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1044 && $\backslash$diamondsuit && $\diamondsuit$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1045 && $\backslash$heartsuit && $\heartsuit$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1046 & $\backslash$spadesuit && $\spadesuit$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1047 && $\backslash$leftrightarrow && $\leftrightarrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1048 && $\backslash$leftarrow && $\leftarrow$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1049 & $\backslash$uparrow && $\uparrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1050 && $\backslash$rightarrow && $\rightarrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1051 && $\backslash$downarrow && $\downarrow$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1052 & $\backslash$circ && $\circ$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1053 && $\backslash$pm && $\pm$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1054 && $\backslash$geq && $\geq$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1055 & $\backslash$times && $\times$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1056 && $\backslash$propto && $\propto$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1057 && $\backslash$partial && $\partial$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1058 & $\backslash$bullet && $\bullet$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1059 && $\backslash$div && $\div$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1060 && $\backslash$neq && $\neq$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1061 & $\backslash$equiv && $\equiv$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1062 && $\backslash$approx && $\approx$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1063 && $\backslash$ldots && $\ldots$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1064 & $\backslash$mid && $\mid$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1065 && $\backslash$aleph && $\aleph$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1066 && $\backslash$Im && $\Im$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1067 & $\backslash$Re && $\Re$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1068 && $\backslash$wp && $\wp$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1069 && $\backslash$otimes && $\otimes$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1070 & $\backslash$oplus && $\oplus$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1071 && $\backslash$oslash && $\oslash$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1072 && $\backslash$cap && $\cap$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1073 & $\backslash$cup && $\cup$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1074 && $\backslash$supset && $\supset$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1075 && $\backslash$supseteq && $\supseteq$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1076 & $\backslash$subset && $\subset$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1077 && $\backslash$subseteq && $\subseteq$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1078 && $\backslash$in && $\in$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1079 & $\backslash$notin && $\notin$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1080 && $\backslash$angle && $\angle$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1081 && $\backslash$bigtriangledown && $\bigtriangledown$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1082 & $\backslash$langle && $\langle$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1083 && $\backslash$rangle && $\rangle$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1084 && $\backslash$nabla && $\nabla$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1085 & $\backslash$prod && $\prod$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1086 && $\backslash$surd && $\surd$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1087 && $\backslash$cdot && $\cdot$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1088 & $\backslash$neg && $\neg$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1089 && $\backslash$wedge && $\wedge$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1090 && $\backslash$vee && $\vee$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1091 & $\backslash$Leftrightarrow && $\Leftrightarrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1092 && $\backslash$Leftarrow && $\Leftarrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1093 && $\backslash$Uparrow && $\Uparrow$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1094 & $\backslash$Rightarrow && $\Rightarrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1095 && $\backslash$Downarrow && $\Downarrow$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1096 && $\backslash$diamond && $\diamond$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1097 & $\backslash$copyright && $\copyright$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1098 && $\backslash$rfloor && $\rfloor$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1099 && $\backslash$lceil && $\lceil$ &\cr |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1100 & $\backslash$lfloor && $\lfloor$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1101 && $\backslash$rceil && $\rceil$ |
49810341db91
Correct typos in __go_draw_axes__.m and update Manual
godfrey@qss.Stanford.EDU
parents:
7189
diff
changeset
|
1102 && $\backslash$int && $\int$ &\cr |
7189 | 1103 \noalign{\hrule height 0.6pt} |
1104 }}\hfill}} | |
1105 @end tex | |
1106 @end iftex | |
1107 @ifnottex | |
1108 @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
|
1109 @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
|
1110 @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
|
1111 @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
|
1112 @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
|
1113 @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
|
1114 @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
|
1115 @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
|
1116 @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
|
1117 @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
|
1118 @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
|
1119 @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
|
1120 @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
|
1121 @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
|
1122 @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
|
1123 @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
|
1124 @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
|
1125 @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
|
1126 @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
|
1127 @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
|
1128 @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
|
1129 @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
|
1130 @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
|
1131 @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
|
1132 @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
|
1133 @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
|
1134 @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
|
1135 @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
|
1136 @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
|
1137 @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
|
1138 @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
|
1139 @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
|
1140 @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
|
1141 @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
|
1142 @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
|
1143 @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
|
1144 @item @tab \rfloor @tab \rceil @tab \int @tab |
7189 | 1145 @end multitable |
1146 @end ifnottex | |
1147 @caption{Available special characters in @sc{TeX} mode} | |
1148 @end float | |
1149 | |
1150 A complete example showing the capabilities of the extended text is | |
1151 | |
1152 @example | |
1153 @group | |
1154 x = 0:0.01:3; | |
1155 plot(x,erf(x)); | |
1156 hold on; | |
1157 plot(x,x,"r"); | |
1158 axis([0, 3, 0, 1]); | |
1159 text(0.65, 0.6175, strcat('\leftarrow x = @{2/\surd\pi', | |
1160 ' @{\fontsize@{16@}\int_@{\fontsize@{8@}0@}^@{\fontsize@{8@}x@}@}', | |
1161 ' e^@{-t^2@} dt@} = 0.6175')) | |
1162 @end group | |
1163 @end example | |
1164 | |
1165 @ifnotinfo | |
1166 @noindent | |
1167 The result of which can be seen in @ref{fig:extendedtext} | |
1168 | |
1169 @float Figure,fig:extendedtext | |
1170 @image{extended,8cm} | |
1171 @caption{Example of inclusion of text with the @sc{TeX} interpreter} | |
1172 @end float | |
1173 @end ifnotinfo | |
1174 | |
6888 | 1175 @node Image Properties |
1176 @subsubsection Image Properties | |
8071 | 1177 @cindex image properties |
6888 | 1178 |
1179 @table @code | |
1180 @item cdata | |
6889 | 1181 The data for the image. Each pixel of the image corresponds to an |
1182 element of @code{cdata}. The value of an element of @code{cdata} | |
1183 specifies the row-index into the colormap of the axes object containing | |
1184 the image. The color value found in the color map for the given index | |
1185 determines the color of the pixel. | |
1186 | |
1187 @item xdata | |
6888 | 1188 @itemx ydata |
7001 | 1189 Two-element vectors specifying the range of the x- and y- coordinates for |
6889 | 1190 the image. |
6888 | 1191 @end table |
1192 | |
1193 @node Patch Properties | |
1194 @subsubsection Patch Properties | |
8071 | 1195 @cindex patch properties |
6888 | 1196 |
1197 @table @code | |
1198 @item cdata | |
1199 @itemx xdata | |
1200 @itemx ydata | |
1201 @itemx zdata | |
6889 | 1202 Data defining the patch object. |
1203 | |
6888 | 1204 @item facecolor |
6889 | 1205 The fill color of the patch. @xref{Colors}. |
1206 | |
6888 | 1207 @item facealpha |
6889 | 1208 A number in the range [0, 1] indicating the transparency of the patch. |
1209 | |
6888 | 1210 @item edgecolor |
6889 | 1211 The color of the line defining the patch. @xref{Colors}. |
1212 | |
6888 | 1213 @item linestyle |
6889 | 1214 @itemx linewidth |
1215 @xref{Line Styles}. | |
1216 | |
6888 | 1217 @item marker |
6889 | 1218 @itemx markeredgecolor |
1219 @itemx markerfacecolor | |
1220 @itemx markersize | |
1221 @xref{Marker Styles}. | |
6888 | 1222 @end table |
1223 | |
1224 @node Surface Properties | |
1225 @subsubsection Surface Properties | |
8071 | 1226 @cindex surface properties |
6888 | 1227 |
1228 @table @code | |
1229 @item xdata | |
1230 @itemx ydata | |
1231 @itemx zdata | |
6889 | 1232 The data determining the surface. The @code{xdata} and @code{ydata} |
1233 elements are vectors and @code{zdata} must be a matrix. | |
1234 | |
6888 | 1235 @item keylabel |
6889 | 1236 The text of the legend entry corresponding to this surface. Note that |
1237 this property is not compatible with @sc{Matlab} and may be removed in a | |
1238 future version of Octave. | |
1239 @end table | |
1240 | |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1241 @node Searching Properties |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1242 @subsubsection Searching Properties |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1243 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1244 @DOCSTRING(findobj) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1245 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1246 @DOCSTRING(findall) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1247 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1248 |
6891 | 1249 @node Managing Default Properties |
1250 @subsection Managing Default Properties | |
8071 | 1251 @cindex default graphics properties |
1252 @cindex graphics properties, default | |
6891 | 1253 |
6892 | 1254 Object properties have two classes of default values, @dfn{factory |
1255 defaults} (the initial values) and @dfn{user-defined defaults}, which | |
1256 may override the factory defaults. | |
6891 | 1257 |
1258 Although default values may be set for any object, they are set in | |
1259 parent objects and apply to child objects. For example, | |
1260 | |
1261 @example | |
1262 set (0, "defaultlinecolor", "green"); | |
1263 @end example | |
1264 | |
1265 @noindent | |
1266 sets the default line color for all objects. The rule for constructing | |
1267 the property name to set a default value is | |
1268 | |
1269 @example | |
1270 default + @var{object-type} + @var{property-name} | |
1271 @end example | |
1272 | |
1273 This rule can lead to some strange looking names, for example | |
1274 @code{defaultlinelinewidth"} specifies the default @code{linewidth} | |
1275 property for @code{line} objects. | |
1276 | |
1277 The example above used the root figure object, 0, so the default | |
1278 property value will apply to all line objects. However, default values | |
1279 are hierarchical, so defaults set in a figure objects override those | |
1280 set in the root figure object. Likewise, defaults set in axes objects | |
1281 override those set in figure or root figure objects. For example, | |
1282 | |
1283 @example | |
1284 @group | |
1285 subplot (2, 1, 1); | |
1286 set (0, "defaultlinecolor", "red"); | |
1287 set (1, "defaultlinecolor", "green"); | |
1288 set (gca (), "defaultlinecolor", "blue"); | |
1289 line (1:10, rand (1, 10)); | |
1290 subplot (2, 1, 2); | |
1291 line (1:10, rand (1, 10)); | |
1292 figure (2) | |
1293 line (1:10, rand (1, 10)); | |
1294 @end group | |
1295 @end example | |
1296 | |
1297 @noindent | |
1298 produces two figures. The line in first subplot window of the first | |
1299 figure is blue because it inherits its color from its parent axes | |
1300 object. The line in the second subplot window of the first figure is | |
1301 green because it inherits its color from its parent figure object. The | |
1302 line in the second figure window is red because it inherits its color | |
1303 from the global root figure parent object. | |
1304 | |
1305 To remove a user-defined default setting, set the default property to | |
1306 the value @code{"remove"}. For example, | |
1307 | |
1308 @example | |
1309 set (gca (), "defaultlinecolor", "remove"); | |
1310 @end example | |
1311 | |
1312 @noindent | |
1313 removes the user-defined default line color setting from the current axes | |
1314 object. | |
1315 | |
1316 Getting the @code{"default"} property of an object returns a list of | |
1317 user-defined defaults set for the object. For example, | |
1318 | |
1319 @example | |
1320 get (gca (), "default"); | |
1321 @end example | |
1322 | |
1323 @noindent | |
1324 returns a list of user-defined default values for the current axes | |
1325 object. | |
1326 | |
1327 Factory default values are stored in the root figure object. The | |
1328 command | |
1329 | |
1330 @example | |
1331 get (0, "factory"); | |
1332 @end example | |
1333 | |
1334 @noindent | |
1335 returns a list of factory defaults. | |
1336 | |
6889 | 1337 @node Colors |
1338 @subsection Colors | |
8071 | 1339 @cindex graphics colors |
1340 @cindex colors, graphics | |
6889 | 1341 |
1342 Colors may be specified as RGB triplets with values ranging from zero to | |
1343 one, or by name. Recognized color names include @code{"blue"}, | |
1344 @code{"black"}, @code{"cyan"}, @code{"green"}, @code{"magenta"}, | |
1345 @code{"red"}, @code{"white"}, and @code{"yellow"}. | |
1346 | |
1347 @node Line Styles | |
1348 @subsection Line Styles | |
8071 | 1349 @cindex line styles, graphics |
1350 @cindex graphics line styles | |
1351 | |
7001 | 1352 Line styles are specified by the following properties: |
6889 | 1353 |
1354 @table @code | |
1355 @item linestyle | |
1356 May be one of | |
1357 @table @code | |
1358 @item "-" | |
1359 Solid lines. | |
1360 @item "--" | |
1361 Dashed lines. | |
1362 @item ":" | |
1363 Points. | |
1364 @item "-." | |
1365 A dash-dot line. | |
1366 @end table | |
1367 | |
1368 @item linewidth | |
1369 A number specifying the width of the line. The default is 1. A value | |
1370 of 2 is twice as wide as the default, etc. | |
1371 @end table | |
1372 | |
1373 @node Marker Styles | |
1374 @subsection Marker Styles | |
8071 | 1375 @cindex graphics marker styles |
1376 @cindex marker styles, graphics | |
1377 | |
7001 | 1378 Marker styles are specified by the following properties: |
6889 | 1379 @table @code |
1380 @item marker | |
1381 A character indicating a plot marker to be place at each data point, or | |
1382 @code{"none"}, meaning no markers should be displayed. | |
1383 | |
1384 @itemx markeredgecolor | |
1385 The color of the edge around the marker, or @code{"auto"}, meaning that | |
1386 the edge color is the same as the face color. @xref{Colors}. | |
1387 | |
1388 @itemx markerfacecolor | |
1389 The color of the marker, or @code{"none"} to indicate that the marker | |
1390 should not be filled. @xref{Colors}. | |
1391 | |
1392 @itemx markersize | |
1393 A number specifying the size of the marker. The default is 1. A value | |
1394 of 2 is twice as large as the default, etc. | |
6888 | 1395 @end table |
1396 | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1397 @node Callbacks |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1398 @subsection Callbacks |
8071 | 1399 @cindex callbacks |
8056
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 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
|
1402 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
|
1403 is |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1404 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1405 @example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1406 @group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1407 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
|
1408 @dots{} |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1409 endfunction |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1410 @end group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1411 @end example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1412 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1413 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
|
1414 @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
|
1415 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
|
1416 @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
|
1417 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1418 @example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1419 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
|
1420 @end example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1421 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1422 @noindent |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1423 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
|
1424 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
|
1425 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1426 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
|
1427 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
|
1428 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1429 @example |
8057 | 1430 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
|
1431 @dots{} |
8057 | 1432 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
|
1433 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
|
1434 endfunction |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1435 @end example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1436 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1437 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
|
1438 are |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1439 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1440 @itemize @bullet |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1441 @item CreateFcn |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1442 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
|
1443 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
|
1444 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
|
1445 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
|
1446 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
|
1447 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1448 @item DeleteFcn |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1449 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
|
1450 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1451 @item ButtonDownFcn |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1452 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
|
1453 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
|
1454 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
|
1455 @end itemize |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1456 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1457 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
|
1458 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
|
1459 functions. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1460 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1461 @DOCSTRING(gcbo) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1462 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1463 @DOCSTRING(gcbf) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1464 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1465 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
|
1466 function described below. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1467 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1468 @node Object Groups |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1469 @subsection Object Groups |
8071 | 1470 @cindex object groups |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1471 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1472 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
|
1473 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
|
1474 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
|
1475 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
|
1476 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
|
1477 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1478 @DOCSTRING(hggroup) |
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 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
|
1481 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1482 @example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1483 @group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1484 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
|
1485 hg = hggroup (); |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1486 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
|
1487 hold on |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1488 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
|
1489 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
|
1490 @end group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1491 @end example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1492 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1493 @noindent |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1494 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
|
1495 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
|
1496 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
|
1497 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
|
1498 function. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1499 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1500 @DOCSTRING(addproperty) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1501 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1502 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
|
1503 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
|
1504 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
|
1505 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
|
1506 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
|
1507 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1508 @DOCSTRING(addlistener) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1509 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1510 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
|
1511 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1512 @example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1513 @group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1514 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
|
1515 hg = hggroup (); |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1516 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
|
1517 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
|
1518 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
|
1519 hold on |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1520 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
|
1521 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1522 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
|
1523 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
|
1524 endfunction |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1525 @end group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1526 @end example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1527 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1528 @noindent |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1529 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
|
1530 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
|
1531 @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
|
1532 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1533 @example |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1534 @group |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1535 x = 0:0.1:10; |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1536 hg = hggroup (); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1537 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
|
1538 addproperty ("linestyle", hg, "linelinestyle", get (h, "linestyle")); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1539 hold on |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1540 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
|
1541 hlink = linkprop ([hg, h1, h2], "color"); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1542 @end group |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1543 @end example |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1544 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1545 @DOCSTRING(linkprop) |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1546 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1547 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
|
1548 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
|
1549 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
|
1550 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1551 @itemize @bullet |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1552 @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
|
1553 @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
|
1554 @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
|
1555 @end itemize |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1556 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1557 @noindent |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1558 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
|
1559 @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
|
1560 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
|
1561 @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
|
1562 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
|
1563 example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1564 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1565 @example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1566 @group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1567 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
|
1568 get (h, "xdata") |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1569 @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
|
1570 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
|
1571 @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
|
1572 @end group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1573 @end example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1574 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1575 @noindent |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1576 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
|
1577 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
|
1578 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1579 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
|
1580 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
|
1581 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
|
1582 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
|
1583 member. |
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 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
|
1586 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
|
1587 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
|
1588 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
|
1589 corresponding hggroup elements. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1590 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1591 @menu |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1592 * 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
|
1593 * Area series:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1594 * Bar series:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1595 * Contour groups:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1596 * Error bar series:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1597 * Line series:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1598 * Quiver group:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1599 * Scatter group:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1600 * Stair group:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1601 * Stem Series:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1602 * Surface group:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1603 @end menu |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1604 |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1605 @node Data sources in object groups |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1606 @subsubsection Data sources in object groups |
8071 | 1607 @cindex data sources in object groups |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1608 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1609 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
|
1610 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
|
1611 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
|
1612 function is called. |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1613 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1614 @DOCSTRING(refreshdata) |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1615 |
8286
6f2d95255911
fix @seealso references to point to existing anchors
Thorsten Meyer <thorsten.meyier@gmx.de>
parents:
8261
diff
changeset
|
1616 @anchor{doc-linkdata} |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1617 @c add the description of the linkdata function here when it is written |
8286
6f2d95255911
fix @seealso references to point to existing anchors
Thorsten Meyer <thorsten.meyier@gmx.de>
parents:
8261
diff
changeset
|
1618 @c remove the explicit anchor when you add the corresponding @DOCSTRING |
6f2d95255911
fix @seealso references to point to existing anchors
Thorsten Meyer <thorsten.meyier@gmx.de>
parents:
8261
diff
changeset
|
1619 @c command |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1620 |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1621 @node Area series |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1622 @subsubsection Area series |
8071 | 1623 @cindex series objects |
1624 @cindex area series | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1625 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1626 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
|
1627 @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
|
1628 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
|
1629 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1630 @table @code |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1631 @item basevalue |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1632 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
|
1633 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1634 @item linewidth |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1635 @itemx linestyle |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1636 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
|
1637 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
|
1638 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1639 @item edgecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1640 @itemx facecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1641 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
|
1642 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1643 @item xdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1644 @itemx ydata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1645 The x and y coordinates of the original columns of the data passed to |
8325
b93ac0586e4b
spelling corrections
Brian Gough<bjg@network-theory.co.uk>
parents:
8297
diff
changeset
|
1646 @code{area} prior to the cumulative summation used in the @code{area} |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1647 function. |
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 Bar series |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1655 @subsubsection Bar series |
8071 | 1656 @cindex series objects |
1657 @cindex bar series | |
8056
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 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
|
1660 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
|
1661 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
|
1662 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1663 @table @code |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1664 @item showbaseline |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1665 @itemx baseline |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1666 @itemx basevalue |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1667 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
|
1668 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
|
1669 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
|
1670 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
|
1671 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1672 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
|
1673 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
|
1674 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
|
1675 corresponding bar series. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1676 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1677 @item barwidth |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1678 @itemx barlayout |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1679 @itemx horizontal |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1680 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
|
1681 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
|
1682 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
|
1683 @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
|
1684 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
|
1685 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1686 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
|
1687 the bar series. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1688 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1689 @item linewidth |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1690 @itemx linestyle |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1691 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
|
1692 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
|
1693 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1694 @item edgecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1695 @itemx facecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1696 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
|
1697 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1698 @item xdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1699 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
|
1700 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
|
1701 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1702 @item ydata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1703 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
|
1704 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1705 @item xdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1706 @itemx ydatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1707 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
|
1708 @end table |
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 @node Contour groups |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1711 @subsubsection Contour groups |
8071 | 1712 @cindex series objects |
1713 @cindex contour series | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1714 |
8289
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1715 Contour group objects are created by the @code{contour}, @code{contourf} |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1716 and @code{contour3} functions. The are equally one of the handles returned |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1717 by the @code{surfc} and @code{meshc} functions. The properties of the contour |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1718 group are |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1719 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1720 @table @code |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1721 @item contourmatrix |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1722 A read only property that contains the data return by @code{contourc} used to |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1723 create the contours of the plot. |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1724 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1725 @item fill |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1726 A radio property that can have the values "on" or "off" that flags whether the |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1727 contours to plot are to be filled. |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1728 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1729 @item zlevelmode |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1730 @itemx zlevel |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1731 The radio property @code{zlevelmode} can have the values "none", "auto" or |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1732 "manual". When its value is "none" there is no z component to the plotted |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1733 contours. When its value is "auto" the z value of the plotted contours is |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1734 at the same value as the contour itself. If the value is "manual", then the |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1735 z value at which to plot the contour is determined by the @code{zlevel} |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1736 property. |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1737 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1738 @item levellistmode |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1739 @itemx levellist |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1740 @itemx levelstepmode |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1741 @itemx levelstep |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1742 If @code{levellistmode} is "manual", then the levels at whch to plot the |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1743 contours is determined by @code{levellist}. If @code{levellistmode} is |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1744 set to "auto", then the distance between contours is determined by |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1745 @code{levelstep}. If both @code{levellistmode} and @code{levelstepmode} |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1746 are set to "auto", then there are assumed to be 10 equal spaced contours. |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1747 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1748 @item textlistmode |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1749 @itemx textlist |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1750 @itemx textstepmode |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1751 @itemx textstep |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1752 If @code{textlistmode} is "manual", then the labelled contours |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1753 is determined by @code{textlist}. If @code{textlistmode} is set to |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1754 "auto", then the distance between labelled contours is determined by |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1755 @code{textstep}. If both @code{textlistmode} and @code{textstepmode} |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1756 are set to "auto", then there are assumed to be 10 equal spaced |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1757 labelled contours. |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1758 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1759 @item showtext |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1760 Flag whether the contour labels are shown or not. |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1761 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1762 @item labelspacing |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1763 The distance between labels on a single contour in points. |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1764 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1765 @item linewidth |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1766 @item linestyle |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1767 @item linecolor |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1768 The properties of the contour lines. The properties @code{linewidth} and |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1769 @code{linestyle} are similar to the correponding properties for lines. The |
8297 | 1770 property @code{linecolor} is a color property (@pxref{Colors}), that can also |
8289
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1771 have the values of "none" or "auto". If @code{linecolor} is "none", then no |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1772 contour line is drawn. If @code{linecolor} is "auto" then the line color is |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1773 determined by the colormap. |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1774 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1775 @item xdata |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1776 @itemx ydata |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1777 @itemx zdata |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1778 The original x, y, and z data of the contour lines. |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1779 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1780 @item xdatasource |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1781 @itemx ydatasource |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1782 @itemx zdatasource |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1783 Data source variables. |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
1784 @end table |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1785 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1786 @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
|
1787 @subsubsection Error bar series |
8071 | 1788 @cindex series objects |
1789 @cindex error bar series | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1790 |
8258 | 1791 Error bar series are created by the @code{errorbar} function. Each |
1792 @code{hgrroup} element contains two line objects represnting the data and | |
1793 the errorbars separately. The properties of the error bar series are | |
1794 | |
1795 @table @code | |
1796 @item color | |
1797 The RGB color or color name of the line objects of the error bars. @xref{Colors}. | |
1798 | |
1799 @item linewidth | |
1800 @itemx linestyle | |
1801 The line width and style of the line objects of the error bars. @xref{Line Styles}. | |
1802 | |
1803 @item marker | |
1804 @itemx markeredgecolor | |
1805 @itemx markerfacecolor | |
1806 @itemx markersize | |
1807 The line and fill color of the markers on the error bars. @xref{Colors}. | |
1808 | |
1809 @item xdata | |
1810 @itemx ydata | |
1811 @itemx ldata | |
1812 @itemx udata | |
1813 @itemx xldata | |
1814 @itemx xudata | |
1815 The original x, y, l, u, xl, xu data of the error bars. | |
1816 | |
1817 @item xdatasource | |
1818 @itemx ydatasource | |
1819 @itemx ldatasource | |
1820 @itemx udatasource | |
1821 @itemx xldatasource | |
1822 @itemx xudatasource | |
1823 Data source variables. | |
1824 @end table | |
1825 | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1826 @node Line series |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1827 @subsubsection Line series |
8071 | 1828 @cindex series objects |
1829 @cindex line series | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1830 |
8257 | 1831 Line series objects are created by the @code{plot} and @code{plot3} |
1832 functions and are of the type @code{line}. The properties of the | |
1833 line series with the ability to add data sources. | |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1834 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1835 @table @code |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1836 @item color |
8257 | 1837 The RGB color or color name of the line objects. @xref{Colors}. |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1838 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1839 @item linewidth |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1840 @itemx linestyle |
8257 | 1841 The line width and style of the line objects. @xref{Line Styles}. |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1842 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1843 @item marker |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1844 @itemx markeredgecolor |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1845 @itemx markerfacecolor |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1846 @itemx markersize |
8257 | 1847 The line and fill color of the markers. @xref{Colors}. |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1848 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1849 @item xdata |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1850 @itemx ydata |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1851 @itemx zdata |
8257 | 1852 The original x, y and z data. |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1853 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1854 @item xdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1855 @itemx ydatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1856 @itemx zdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1857 Data source variables. |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1858 @end table |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1859 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1860 @node Quiver group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1861 @subsubsection Quiver group |
8071 | 1862 @cindex group objects |
1863 @cindex quiver group | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1864 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1865 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
|
1866 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
|
1867 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
|
1868 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
|
1869 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
|
1870 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1871 @table @code |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1872 @item autoscale |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1873 @itemx autoscalefactor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1874 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
|
1875 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
|
1876 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
|
1877 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
|
1878 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1879 @item maxheadsize |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1880 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
|
1881 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
|
1882 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1883 @item showarrowhead |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1884 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
|
1885 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1886 @item color |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1887 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
|
1888 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1889 @item linewidth |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1890 @itemx linestyle |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1891 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
|
1892 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1893 @item marker |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1894 @itemx markerfacecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1895 @itemx markersize |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1896 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
|
1897 arrows. @xref{Colors}. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1898 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1899 @item xdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1900 @itemx ydata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1901 @itemx zdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1902 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
|
1903 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1904 @item udata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1905 @itemx vdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1906 @itemx wdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1907 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
|
1908 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1909 @item xdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1910 @itemx ydatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1911 @itemx zdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1912 @itemx udatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1913 @itemx vdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1914 @itemx wdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1915 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
|
1916 @end table |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1917 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1918 @node Scatter group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1919 @subsubsection Scatter group |
8071 | 1920 @cindex group objects |
1921 @cindex scatter group | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1922 |
8257 | 1923 Scatter series objects are created by the @code{scatter} or @code{scatter3} |
1924 functions. A single hggroup element contains as many children as there are | |
1925 points in the scatter plot, with each child representing one of the points. | |
1926 The properties of the stem series are | |
1927 | |
1928 @table @code | |
1929 @item linewidth | |
1930 The line width of the line objects of the points. @xref{Line Styles}. | |
1931 | |
1932 @item marker | |
1933 @itemx markeredgecolor | |
1934 @itemx markerfacecolor | |
1935 The line and fill color of the markers of the points. @xref{Colors}. | |
1936 | |
1937 @item xdata | |
1938 @itemx ydata | |
1939 @itemx zdata | |
1940 The original x, y and z data of the stems. | |
1941 | |
1942 @item cdata | |
1943 The color data for the points of the plot. Each point can have a separate | |
1944 color, or a unique color can be specified. | |
1945 | |
1946 @item sizedata | |
1947 The size data for the points of the plot. Each point can its own size or a | |
1948 unique size can be specified. | |
1949 | |
1950 @item xdatasource | |
1951 @itemx ydatasource | |
1952 @itemx zdatasource | |
1953 @itemx cdatasource | |
1954 @itemx sizedatasource | |
1955 Data source variables. | |
1956 @end table | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1957 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1958 @node Stair group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1959 @subsubsection Stair group |
8071 | 1960 @cindex group objects |
1961 @cindex stair group | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1962 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1963 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
|
1964 @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
|
1965 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
|
1966 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1967 @table @code |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1968 @item color |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1969 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
|
1970 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1971 @item linewidth |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1972 @itemx linestyle |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1973 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
|
1974 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1975 @item marker |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1976 @itemx markeredgecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1977 @itemx markerfacecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1978 @itemx markersize |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1979 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
|
1980 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1981 @item xdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1982 @itemx ydata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1983 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
|
1984 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1985 @item xdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1986 @itemx ydatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1987 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
|
1988 @end table |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
1989 |
8073 | 1990 @node Stem Series |
1991 @subsubsection Stem Series | |
1992 @cindex series objects | |
1993 @cindex stem series | |
1994 | |
8257 | 1995 Stem series objects are created by the @code{stem} or @code{stem3} |
1996 functions. Each @code{hgrroup} element contains a single line object | |
1997 as a child respresenting the stems. The properties of the stem series | |
1998 are | |
1999 | |
2000 @table @code | |
2001 @item showbaseline | |
2002 @itemx baseline | |
2003 @itemx basevalue | |
2004 The property @code{showbaseline} flags whether the baseline of the | |
2005 stem series is displayed (default is "on"). The handle of the graphics | |
2006 object representing the baseline is given by the @code{baseline} | |
2007 property and the y-value (or z-value for @code{stem3}) of the baseline | |
2008 by the @code{basevalue} property. | |
2009 | |
2010 Changes to any of these property are propagated to the other members of | |
2011 the stem series and to the baseline itself. Equally changes in the | |
2012 properties of the base line itself are propagated to the members of the | |
2013 corresponding stem series. | |
2014 | |
2015 @item color | |
2016 The RGB color or color name of the line objects of the stems. @xref{Colors}. | |
2017 | |
2018 @item linewidth | |
2019 @itemx linestyle | |
2020 The line width and style of the line objects of the stems. @xref{Line Styles}. | |
2021 | |
2022 @item marker | |
2023 @itemx markeredgecolor | |
2024 @itemx markerfacecolor | |
2025 @itemx markersize | |
2026 The line and fill color of the markers on the stems. @xref{Colors}. | |
2027 | |
2028 @item xdata | |
2029 @itemx ydata | |
2030 @itemx zdata | |
2031 The original x, y and z data of the stems. | |
2032 | |
2033 @item xdatasource | |
2034 @itemx ydatasource | |
2035 @itemx zdatasource | |
2036 Data source variables. | |
2037 @end table | |
8073 | 2038 |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2039 @node Surface group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2040 @subsubsection Surface group |
8071 | 2041 @cindex group objects |
2042 @cindex surface group | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2043 |
8257 | 2044 Surface group objects are created by the @code{surf} or @code{mesh} |
2045 functions, but are equally one of the handles returned by the @code{surfc} | |
2046 or @code{meshc} functions. The surface group is of the type @code{surface}. | |
2047 | |
2048 The properties of the surface group are | |
2049 | |
2050 @table @code | |
2051 @item edgecolor | |
2052 @item facecolor | |
2053 The RGB color or color name of the edges or faces of the surface. @xref{Colors}. | |
2054 | |
2055 @item linewidth | |
2056 @itemx linestyle | |
2057 The line width and style of the lines on the surface. @xref{Line Styles}. | |
2058 | |
2059 @item marker | |
2060 @itemx markeredgecolor | |
2061 @itemx markerfacecolor | |
2062 @itemx markersize | |
2063 The line and fill color of the markers on the surface. @xref{Colors}. | |
2064 | |
2065 @item xdata | |
2066 @itemx ydata | |
2067 @itemx zdata | |
2068 @item cdata | |
2069 The original x, y, z and c data. | |
2070 | |
2071 @item xdatasource | |
2072 @itemx ydatasource | |
2073 @itemx zdatasource | |
2074 @itemx cdatasource | |
2075 Data source variables. | |
2076 @end table | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2077 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2078 @node Graphics backends |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2079 @subsection Graphics backends |
8071 | 2080 @cindex graphics backends |
2081 @cindex backends, graphics | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2082 |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2083 @DOCSTRING(backends) |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2084 |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2085 @DOCSTRING(available_backends) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2086 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2087 @menu |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2088 * Interaction with gnuplot:: |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2089 @end menu |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2090 |
4167 | 2091 @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
|
2092 @subsubsection Interaction with @code{gnuplot} |
8071 | 2093 @cindex gnuplot interaction |
3428 | 2094 |
2095 @DOCSTRING(gnuplot_binary) | |
2096 | |
6331 | 2097 @DOCSTRING(gnuplot_use_title_option) |