Mercurial > hg > octave-nkf
annotate doc/interpreter/plot.txi @ 9758:09da0bd91412
Periodic grammar check of Octave documentation files to ensure common format
Use double spaces after a period at start of new sentence
Do not use @iftex blocks where @tex block is sufficient
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Fri, 23 Oct 2009 09:28:14 -0700 |
parents | 51c21837686f |
children | 6538ff562949 |
rev | line source |
---|---|
7018 | 1 @c Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, |
8920 | 2 @c 2006, 2007, 2008, 2009 John W. Eaton |
7018 | 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. | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
10 @c |
7018 | 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. | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
15 @c |
7018 | 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 | |
9676 | 26 * Introduction to Plotting:: |
27 * High-Level Plotting:: | |
28 * Graphics Data Structures:: | |
29 * Advanced Plotting:: | |
6888 | 30 @end menu |
31 | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
32 @node Introduction to Plotting |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
33 @section Introduction to Plotting |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
34 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
35 Earlier versions of Octave provided plotting through the use of |
9758
09da0bd91412
Periodic grammar check of Octave documentation files to ensure common format
Rik <rdrider0-list@yahoo.com>
parents:
9752
diff
changeset
|
36 gnuplot. This capability is still available. But, a newer plotting |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
37 capability is provided by access to OpenGL. Which plotting system |
9758
09da0bd91412
Periodic grammar check of Octave documentation files to ensure common format
Rik <rdrider0-list@yahoo.com>
parents:
9752
diff
changeset
|
38 is used is controlled by the @code{backend} function. (See @ref{Graphics Backends}.) |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
39 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
40 The function call @code{backend("fltk")} selects the fltk/OpenGL system, and |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
41 @code{backend("gnuplot")} selects the gnuplot system. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
42 The two systems may be used selectively through the use of the @code{backend} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
43 property of the graphics handle for each figure. This is |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
44 explained in @ref{Graphics Data Structures}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
45 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
46 @node High-Level Plotting |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
47 @section High-Level Plotting |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
48 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
49 Octave provides simple means to create many different types of two- and |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
50 three-dimensional plots using high-level functions. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
51 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
52 If you need more detailed control, see @ref{Graphics Data Structures} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
53 and @ref{Advanced Plotting}. |
6888 | 54 |
55 @menu | |
9676 | 56 * Two-Dimensional Plots:: |
57 * Three-Dimensional Plotting:: | |
58 * Plot Annotations:: | |
59 * Multiple Plots on One Page:: | |
60 * Multiple Plot Windows:: | |
61 * Printing Plots:: | |
62 * Interacting with plots:: | |
63 * Test Plotting Functions:: | |
3294 | 64 @end menu |
65 | |
6888 | 66 @node Two-Dimensional Plots |
67 @subsection Two-Dimensional Plots | |
68 | |
69 The @code{plot} function allows you to create simple x-y plots with | |
70 linear axes. For example, | |
3294 | 71 |
6888 | 72 @example |
73 @group | |
74 x = -10:0.1:10; | |
75 plot (x, sin (x)); | |
76 @end group | |
77 @end example | |
78 | |
79 @noindent | |
6899 | 80 displays a sine wave shown in @ref{fig:plot}. On most systems, this |
6888 | 81 command will open a separate plot window to display the graph. |
5134 | 82 |
6888 | 83 @float Figure,fig:plot |
9088
77e71f3da3d6
Fix documentation image printing under new development code
Rik <rdrider0-list@yahoo.com>
parents:
9040
diff
changeset
|
84 @center @image{plot,4in} |
6888 | 85 @caption{Simple Two-Dimensional Plot.} |
86 @end float | |
87 | |
5134 | 88 @DOCSTRING(plot) |
89 | |
8817
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
90 The @code{plotyy} function may be used to create a plot with two |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
91 independent y axes. |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
92 |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
93 @DOCSTRING(plotyy) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
94 |
6888 | 95 The functions @code{semilogx}, @code{semilogy}, and @code{loglog} are |
96 similar to the @code{plot} function, but produce plots in which one or | |
97 both of the axes use log scales. | |
98 | |
99 @DOCSTRING(semilogx) | |
6502 | 100 |
6888 | 101 @DOCSTRING(semilogy) |
6502 | 102 |
6888 | 103 @DOCSTRING(loglog) |
104 | |
105 The functions @code{bar}, @code{barh}, @code{stairs}, and @code{stem} | |
106 are useful for displaying discrete data. For example, | |
5134 | 107 |
6888 | 108 @example |
109 @group | |
110 hist (randn (10000, 1), 30); | |
111 @end group | |
112 @end example | |
5134 | 113 |
6888 | 114 @noindent |
115 produces the histogram of 10,000 normally distributed random numbers | |
6899 | 116 shown in @ref{fig:hist}. |
5134 | 117 |
6888 | 118 @float Figure,fig:hist |
9088
77e71f3da3d6
Fix documentation image printing under new development code
Rik <rdrider0-list@yahoo.com>
parents:
9040
diff
changeset
|
119 @center @image{hist,4in} |
6888 | 120 @caption{Histogram.} |
121 @end float | |
5134 | 122 |
123 @DOCSTRING(bar) | |
124 | |
6877 | 125 @DOCSTRING(barh) |
126 | |
6888 | 127 @DOCSTRING(hist) |
128 | |
129 @DOCSTRING(stairs) | |
130 | |
131 @DOCSTRING(stem) | |
132 | |
8817
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
133 @DOCSTRING(stem3) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
134 |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
135 @DOCSTRING(scatter) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
136 |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
137 @DOCSTRING(plotmatrix) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
138 |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
139 @DOCSTRING(pareto) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
140 |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
141 @DOCSTRING(rose) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
142 |
7981 | 143 The @code{contour}, @code{contourf} and @code{contourc} functions |
9209
923c7cb7f13f
Simplify TeXinfo files by eliminating redundant @iftex followed by @tex construction.
Rik <rdrider0-list@yahoo.com>
parents:
9088
diff
changeset
|
144 produce two-dimensional contour plots from three-dimensional data. |
6888 | 145 |
5134 | 146 @DOCSTRING(contour) |
147 | |
7981 | 148 @DOCSTRING(contourf) |
149 | |
6502 | 150 @DOCSTRING(contourc) |
151 | |
8817
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
152 @DOCSTRING(contour3) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
153 |
6888 | 154 The @code{errorbar}, @code{semilogxerr}, @code{semilogyerr}, and |
8347
fa78cb8d8a5c
corrections for typos
Brian Gough<bjg@network-theory.co.uk>
parents:
8325
diff
changeset
|
155 @code{loglogerr} functions produce plots with error bar markers. For |
6888 | 156 example, |
6877 | 157 |
6888 | 158 @example |
9088
77e71f3da3d6
Fix documentation image printing under new development code
Rik <rdrider0-list@yahoo.com>
parents:
9040
diff
changeset
|
159 @group |
6888 | 160 x = 0:0.1:10; |
161 y = sin (x); | |
162 yp = 0.1 .* randn (size (x)); | |
163 ym = -0.1 .* randn (size (x)); | |
164 errorbar (x, sin (x), ym, yp); | |
9088
77e71f3da3d6
Fix documentation image printing under new development code
Rik <rdrider0-list@yahoo.com>
parents:
9040
diff
changeset
|
165 @end group |
6888 | 166 @end example |
5134 | 167 |
6888 | 168 @noindent |
6899 | 169 produces the figure shown in @ref{fig:errorbar}. |
6502 | 170 |
6888 | 171 @float Figure,fig:errorbar |
9088
77e71f3da3d6
Fix documentation image printing under new development code
Rik <rdrider0-list@yahoo.com>
parents:
9040
diff
changeset
|
172 @center @image{errorbar,4in} |
6888 | 173 @caption{Errorbar plot.} |
174 @end float | |
5134 | 175 |
176 @DOCSTRING(errorbar) | |
177 | |
178 @DOCSTRING(semilogxerr) | |
179 | |
180 @DOCSTRING(semilogyerr) | |
181 | |
6888 | 182 @DOCSTRING(loglogerr) |
183 | |
184 Finally, the @code{polar} function allows you to easily plot data in | |
7001 | 185 polar coordinates. However, the display coordinates remain rectangular |
6888 | 186 and linear. For example, |
187 | |
188 @example | |
189 polar (0:0.1:10*pi, 0:0.1:10*pi); | |
190 @end example | |
191 | |
192 @noindent | |
6899 | 193 produces the spiral plot shown in @ref{fig:polar}. |
6888 | 194 |
195 @float Figure,fig:polar | |
9088
77e71f3da3d6
Fix documentation image printing under new development code
Rik <rdrider0-list@yahoo.com>
parents:
9040
diff
changeset
|
196 @center @image{polar,4in} |
6888 | 197 @caption{Polar plot.} |
198 @end float | |
199 | |
200 @DOCSTRING(polar) | |
201 | |
7120 | 202 @DOCSTRING(pie) |
203 | |
204 @DOCSTRING(quiver) | |
205 | |
8817
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
206 @DOCSTRING(quiver3) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
207 |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
208 @DOCSTRING(compass) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
209 |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
210 @DOCSTRING(feather) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
211 |
7120 | 212 @DOCSTRING(pcolor) |
213 | |
7153 | 214 @DOCSTRING(area) |
215 | |
8817
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
216 @DOCSTRING(comet) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
217 |
6888 | 218 The axis function may be used to change the axis limits of an existing |
8429
f34ab2b433e8
One word missing from int8 help string.
Francesco Potortì <pot@gnu.org>
parents:
8428
diff
changeset
|
219 plot and various other axis properties, such as the aspect ratio and the |
f34ab2b433e8
One word missing from int8 help string.
Francesco Potortì <pot@gnu.org>
parents:
8428
diff
changeset
|
220 appearance of tic marks. |
6888 | 221 |
222 @DOCSTRING(axis) | |
223 | |
7189 | 224 Similarly the axis limits of the colormap can be changed with the caxis |
225 function. | |
226 | |
227 @DOCSTRING(caxis) | |
228 | |
8817
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
229 The @code{xlim}, @code{ylim}, and @code{zlim} functions may be used to |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
230 get or set individual axis limits. Each has the same form. |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
231 |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
232 @anchor{doc-ylim} |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
233 @anchor{doc-zlim} |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
234 @DOCSTRING(xlim) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
235 |
7989
23c248d415b5
Various doc fixes. Readd cellidx
David Bateman <dbateman@free.fr>
parents:
7984
diff
changeset
|
236 @menu |
9676 | 237 * Two-dimensional Function Plotting:: |
7989
23c248d415b5
Various doc fixes. Readd cellidx
David Bateman <dbateman@free.fr>
parents:
7984
diff
changeset
|
238 @end menu |
23c248d415b5
Various doc fixes. Readd cellidx
David Bateman <dbateman@free.fr>
parents:
7984
diff
changeset
|
239 |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
240 @node Two-dimensional Function Plotting |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
241 @subsubsection Two-dimensional Function Plotting |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
242 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
243 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
|
244 string defining the function without the user needing to explicitly |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
245 create the data to be plotted. The function @code{fplot} also generates |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
246 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
|
247 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
|
248 example, |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
249 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
250 @example |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
251 @group |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
252 fplot (@@sin, [-10, 10], 201); |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
253 @end group |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
254 @end example |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
255 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
256 @noindent |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
257 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
|
258 legend displaying the name of the plotted function. |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
259 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
260 @DOCSTRING(fplot) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
261 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
262 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
|
263 function include @code{ezplot}, @code{ezcontour}, @code{ezcontourf} and |
8046 | 264 @code{ezpolar}. |
265 | |
266 @DOCSTRING(ezplot) | |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
267 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
268 @DOCSTRING(ezcontour) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
269 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
270 @DOCSTRING(ezcontourf) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
271 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
272 @DOCSTRING(ezpolar) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
273 |
5134 | 274 @node Three-Dimensional Plotting |
6888 | 275 @subsection Three-Dimensional Plotting |
276 | |
277 The function @code{mesh} produces mesh surface plots. For example, | |
278 | |
279 @example | |
280 @group | |
281 tx = ty = linspace (-8, 8, 41)'; | |
282 [xx, yy] = meshgrid (tx, ty); | |
283 r = sqrt (xx .^ 2 + yy .^ 2) + eps; | |
284 tz = sin (r) ./ r; | |
285 mesh (tx, ty, tz); | |
286 @end group | |
287 @end example | |
288 | |
289 @noindent | |
6899 | 290 produces the familiar ``sombrero'' plot shown in @ref{fig:mesh}. Note |
6888 | 291 the use of the function @code{meshgrid} to create matrices of X and Y |
292 coordinates to use for plotting the Z data. The @code{ndgrid} function | |
293 is similar to @code{meshgrid}, but works for N-dimensional matrices. | |
294 | |
295 @float Figure,fig:mesh | |
9088
77e71f3da3d6
Fix documentation image printing under new development code
Rik <rdrider0-list@yahoo.com>
parents:
9040
diff
changeset
|
296 @center @image{mesh,4in} |
6888 | 297 @caption{Mesh plot.} |
298 @end float | |
5134 | 299 |
6888 | 300 The @code{meshc} function is similar to @code{mesh}, but also produces a |
301 plot of contours for the surface. | |
302 | |
303 The @code{plot3} function displays arbitrary three-dimensional data, | |
304 without requiring it to form a surface. For example | |
305 | |
306 @example | |
307 @group | |
308 t = 0:0.1:10*pi; | |
309 r = linspace (0, 1, numel (t)); | |
310 z = linspace (0, 1, numel (t)); | |
311 plot3 (r.*sin(t), r.*cos(t), z); | |
312 @end group | |
313 @end example | |
314 | |
315 @noindent | |
6899 | 316 displays the spiral in three dimensions shown in @ref{fig:plot3}. |
6888 | 317 |
318 @float Figure,fig:plot3 | |
9088
77e71f3da3d6
Fix documentation image printing under new development code
Rik <rdrider0-list@yahoo.com>
parents:
9040
diff
changeset
|
319 @center @image{plot3,4in} |
6888 | 320 @caption{Three dimensional spiral.} |
321 @end float | |
322 | |
323 Finally, the @code{view} function changes the viewpoint for | |
324 three-dimensional plots. | |
5134 | 325 |
326 @DOCSTRING(mesh) | |
327 | |
6788 | 328 @DOCSTRING(meshc) |
329 | |
8817
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
330 @DOCSTRING(meshz) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
331 |
7153 | 332 @DOCSTRING(hidden) |
333 | |
7120 | 334 @DOCSTRING(surf) |
335 | |
336 @DOCSTRING(surfc) | |
337 | |
8817
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
338 @DOCSTRING(surfl) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
339 |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
340 @DOCSTRING(surfnorm) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
341 |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
342 @DOCSTRING(diffuse) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
343 |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
344 @DOCSTRING(specular) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
345 |
5134 | 346 @DOCSTRING(meshgrid) |
347 | |
6550 | 348 @DOCSTRING(ndgrid) |
349 | |
6888 | 350 @DOCSTRING(plot3) |
351 | |
6502 | 352 @DOCSTRING(view) |
353 | |
8817
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
354 @DOCSTRING(slice) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
355 |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
356 @DOCSTRING(ribbon) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
357 |
7120 | 358 @DOCSTRING(shading) |
359 | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
360 @DOCSTRING(scatter3) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
361 |
7989
23c248d415b5
Various doc fixes. Readd cellidx
David Bateman <dbateman@free.fr>
parents:
7984
diff
changeset
|
362 @menu |
9676 | 363 * Three-dimensional Function Plotting:: |
364 * Three-dimensional Geometric Shapes:: | |
7989
23c248d415b5
Various doc fixes. Readd cellidx
David Bateman <dbateman@free.fr>
parents:
7984
diff
changeset
|
365 @end menu |
23c248d415b5
Various doc fixes. Readd cellidx
David Bateman <dbateman@free.fr>
parents:
7984
diff
changeset
|
366 |
23c248d415b5
Various doc fixes. Readd cellidx
David Bateman <dbateman@free.fr>
parents:
7984
diff
changeset
|
367 @node Three-dimensional Function Plotting |
23c248d415b5
Various doc fixes. Readd cellidx
David Bateman <dbateman@free.fr>
parents:
7984
diff
changeset
|
368 @subsubsection Three-dimensional Function Plotting |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
369 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
370 @DOCSTRING(ezplot3) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
371 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
372 @DOCSTRING(ezmesh) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
373 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
374 @DOCSTRING(ezmeshc) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
375 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
376 @DOCSTRING(ezsurf) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
377 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
378 @DOCSTRING(ezsurfc) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
379 |
8817
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
380 @node Three-dimensional Geometric Shapes |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
381 @subsubsection Three-dimensional Geometric Shapes |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
382 |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
383 @DOCSTRING(cylinder) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
384 |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
385 @DOCSTRING(sphere) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
386 |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
387 @DOCSTRING(ellipsoid) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
388 |
6888 | 389 @node Plot Annotations |
390 @subsection Plot Annotations | |
6502 | 391 |
6888 | 392 You can add titles, axis labels, legends, and arbitrary text to an |
393 existing plot. For example, | |
6877 | 394 |
6888 | 395 @example |
396 @group | |
397 x = -10:0.1:10; | |
398 plot (x, sin (x)); | |
399 title ("sin(x) for x = -10:0.1:10"); | |
400 xlabel ("x"); | |
401 ylabel ("sin (x)"); | |
402 text (pi, 0.7, "arbitrary text"); | |
403 legend ("sin (x)"); | |
404 @end group | |
405 @end example | |
6502 | 406 |
6888 | 407 The functions @code{grid} and @code{box} may also be used to add grid |
408 and border lines to the plot. By default, the grid is off and the | |
409 border lines are on. | |
5134 | 410 |
411 @DOCSTRING(title) | |
412 | |
6502 | 413 @DOCSTRING(legend) |
414 | |
415 @DOCSTRING(text) | |
416 | |
8428
ee1bc8aa226b
Add cross reference from Plot Annotations to Text Properties.
Francesco Potortì <pot@gnu.org>
parents:
8347
diff
changeset
|
417 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
|
418 |
8286
6f2d95255911
fix @seealso references to point to existing anchors
Thorsten Meyer <thorsten.meyier@gmx.de>
parents:
8261
diff
changeset
|
419 @anchor{doc-ylabel} |
6f2d95255911
fix @seealso references to point to existing anchors
Thorsten Meyer <thorsten.meyier@gmx.de>
parents:
8261
diff
changeset
|
420 @anchor{doc-zlabel} |
5134 | 421 @DOCSTRING(xlabel) |
422 | |
8817
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
423 @DOCSTRING(clabel) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
424 |
6502 | 425 @DOCSTRING(box) |
426 | |
427 @DOCSTRING(grid) | |
428 | |
8089
0ec09255515a
add colorbar docstring to the manual
John W. Eaton <jwe@octave.org>
parents:
8073
diff
changeset
|
429 @DOCSTRING(colorbar) |
0ec09255515a
add colorbar docstring to the manual
John W. Eaton <jwe@octave.org>
parents:
8073
diff
changeset
|
430 |
5134 | 431 @node Multiple Plots on One Page |
6888 | 432 @subsection Multiple Plots on One Page |
433 | |
434 Octave can display more than one plot in a single figure. The simplest | |
435 way to do this is to use the @code{subplot} function to divide the plot | |
436 area into a series of subplot windows that are indexed by an integer. | |
437 For example, | |
438 | |
439 @example | |
440 @group | |
441 subplot (2, 1, 1) | |
442 fplot (@@sin, [-10, 10]); | |
443 subplot (2, 1, 2) | |
444 fplot (@@cos, [-10, 10]); | |
445 @end group | |
446 @end example | |
447 | |
448 @noindent | |
449 creates a figure with two separate axes, one displaying a sine wave and | |
450 the other a cosine wave. The first call to subplot divides the figure | |
451 into two plotting areas (two rows and one column) and makes the first plot | |
452 area active. The grid of plot areas created by @code{subplot} is | |
453 numbered in column-major order (top to bottom, left to right). | |
5134 | 454 |
455 @DOCSTRING(subplot) | |
456 | |
457 @node Multiple Plot Windows | |
6888 | 458 @subsection Multiple Plot Windows |
459 | |
460 You can open multiple plot windows using the @code{figure} function. | |
461 For example | |
462 | |
463 @example | |
9088
77e71f3da3d6
Fix documentation image printing under new development code
Rik <rdrider0-list@yahoo.com>
parents:
9040
diff
changeset
|
464 @group |
6888 | 465 figure (1); |
466 fplot (@@sin, [-10, 10]); | |
467 figure (2); | |
468 fplot (@@cos, [-10, 10]); | |
9088
77e71f3da3d6
Fix documentation image printing under new development code
Rik <rdrider0-list@yahoo.com>
parents:
9040
diff
changeset
|
469 @end group |
6888 | 470 @end example |
471 | |
472 @noindent | |
473 creates two figures, with the first displaying a sine wave and | |
474 the second a cosine wave. Figure numbers must be positive integers. | |
5134 | 475 |
476 @DOCSTRING(figure) | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
477 @subsection Use of @code{axis}, @code{line}, and @code{patch} functions |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
478 @cindex use of @code{axis}, @code{line}, and @code{patch} functions |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
479 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
480 You can create axes, line, and patch objects directly using the |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
481 @code{axes}, @code{line}, and @code{patch} functions. These objects |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
482 become children of the current axes object. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
483 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
484 @DOCSTRING(axes) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
485 @DOCSTRING(line) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
486 @DOCSTRING(patch) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
487 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
488 @DOCSTRING(fill) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
489 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
490 @DOCSTRING(surface) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
491 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
492 @subsection Manipulation of plot windows |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
493 @cindex manipulation of plot windows |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
494 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
495 By default, Octave refreshes the plot window when a prompt is printed, |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
496 or when waiting for input. The |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
497 @code{drawnow} function is used to cause a plot window to be updated. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
498 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
499 @DOCSTRING(drawnow) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
500 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
501 Only figures that are modified will be updated. The @code{refresh} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
502 function can also be used to force an update of the current figure, even if |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
503 it is not modified. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
504 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
505 @DOCSTRING(refresh) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
506 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
507 Normally, high-level plot functions like @code{plot} or @code{mesh} call |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
508 @code{newplot} to initialize the state of the current axes so that the |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
509 next plot is drawn in a blank window with default property settings. To |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
510 have two plots superimposed over one another, use the @code{hold} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
511 function. For example, |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
512 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
513 @example |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
514 @group |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
515 hold on; |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
516 x = -10:0.1:10; |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
517 plot (x, sin (x)); |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
518 plot (x, cos (x)); |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
519 hold off; |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
520 @end group |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
521 @end example |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
522 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
523 @noindent |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
524 displays sine and cosine waves on the same axes. If the hold state is |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
525 off, consecutive plotting commands like this will only display the last |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
526 plot. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
527 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
528 @DOCSTRING(newplot) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
529 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
530 @DOCSTRING(hold) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
531 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
532 @DOCSTRING(ishold) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
533 To clear the current figure, call the @code{clf} function. To clear the |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
534 current axis, call the @code{cla} function. To bring the current figure |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
535 to the top of the window stack, call the @code{shg} function. To delete |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
536 a graphics object, call @code{delete} on its index. To close the |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
537 figure window, call the @code{close} function. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
538 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
539 @DOCSTRING(clf) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
540 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
541 @DOCSTRING(cla) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
542 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
543 @DOCSTRING(shg) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
544 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
545 @DOCSTRING(delete) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
546 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
547 @DOCSTRING(close) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
548 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
549 @DOCSTRING(closereq) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
550 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
551 @subsection Use of the @code{interpreter} Property |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
552 @cindex use of the @code{interpreter} property |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
553 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
554 All text objects, including titles, labels, legends, and text, include |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
555 the property 'interpreter', this property determines the manner in which |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
556 special control sequences in the text are rendered. If the interpreter |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
557 is set to 'none', then no rendering occurs. At this point the 'latex' |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
558 option is not implemented and so the 'latex' interpreter also does not |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
559 interpret the text. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
560 |
9758
09da0bd91412
Periodic grammar check of Octave documentation files to ensure common format
Rik <rdrider0-list@yahoo.com>
parents:
9752
diff
changeset
|
561 The 'tex' option implements a subset of @TeX{} functionality in the |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
562 rendering of the text. This allows the insertion of special characters |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
563 such as Greek or mathematical symbols within the text. The special |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
564 characters are also inserted with a code starting with the back-slash |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
565 (\) character, as in the table @ref{tab:extended}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
566 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
567 In addition, the formatting of the text can be changed within the string |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
568 with the codes |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
569 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
570 @multitable @columnfractions .2 .2 .6 .2 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
571 @item @tab \bf @tab Bold font @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
572 @item @tab \it @tab Italic font @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
573 @item @tab \sl @tab Oblique Font @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
574 @item @tab \rm @tab Normal font @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
575 @end multitable |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
576 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
577 These are be used in conjunction with the @{ and @} characters to limit |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
578 the change in the font to part of the string. For example |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
579 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
580 @example |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
581 xlabel ('@{\bf H@} = a @{\bf V@}') |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
582 @end example |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
583 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
584 where the character 'a' will not appear in a bold font. Note that to |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
585 avoid having Octave interpret the backslash characters in the strings, |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
586 the strings should be in single quotes. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
587 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
588 It is also possible to change the fontname and size within the text |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
589 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
590 @multitable @columnfractions .1 .4 .6 .1 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
591 @item @tab \fontname@{@var{fontname}@} @tab Specify the font to use @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
592 @item @tab \fontsize@{@var{size}@} @tab Specify the size of the font to |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
593 use @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
594 @end multitable |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
595 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
596 Finally, the superscript and subscripting can be controlled with the '^' |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
597 and '_' characters. If the '^' or '_' is followed by a @{ character, |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
598 then all of the block surrounded by the @{ @} pair is super- or |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
599 sub-scripted. Without the @{ @} pair, only the character immediately |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
600 following the '^' or '_' is super- or sub-scripted. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
601 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
602 @float Table,tab:extended |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
603 @tex |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
604 \vskip 6pt |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
605 {\hbox to \hsize {\hfill\vbox{\offinterlineskip \tabskip=0pt |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
606 \halign{ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
607 \vrule height2.0ex depth1.ex width 0.6pt #\tabskip=0.3em & |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
608 # \hfil & \vrule # & # \hfil & # \vrule & |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
609 # \hfil & \vrule # & # \hfil & # \vrule & |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
610 # \hfil & \vrule # & # \hfil & # \vrule |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
611 width 0.6pt \tabskip=0pt\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
612 \noalign{\hrule height 0.6pt} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
613 & Code && Sym && Code && Sym && Code && Sym &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
614 \noalign{\hrule} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
615 & $\backslash$forall && $\forall$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
616 && $\backslash$exists && $\exists$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
617 && $\backslash$ni && $\ni$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
618 & $\backslash$cong && $\cong$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
619 && $\backslash$Delta && $\Delta$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
620 && $\backslash$Phi && $\Phi$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
621 & $\backslash$Gamma && $\Gamma$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
622 && $\backslash$vartheta && $\vartheta$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
623 && $\backslash$Lambda && $\Lambda$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
624 & $\backslash$Pi && $\Pi$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
625 && $\backslash$Theta && $\Theta$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
626 && $\backslash$Sigma && $\Sigma$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
627 & $\backslash$varsigma && $\varsigma$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
628 && $\backslash$Omega && $\Omega$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
629 && $\backslash$Xi && $\Xi$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
630 & $\backslash$Psi && $\Psi$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
631 && $\backslash$perp && $\perp$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
632 && $\backslash$alpha && $\alpha$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
633 & $\backslash$beta && $\beta$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
634 && $\backslash$chi && $\chi$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
635 && $\backslash$delta && $\delta$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
636 & $\backslash$epsilon && $\epsilon$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
637 && $\backslash$phi && $\phi$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
638 && $\backslash$gamma && $\gamma$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
639 & $\backslash$eta && $\eta$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
640 && $\backslash$iota && $\iota$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
641 && $\backslash$varphi && $\varphi$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
642 & $\backslash$kappa && $\kappa$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
643 && $\backslash$lambda && $\lambda$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
644 && $\backslash$mu && $\mu$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
645 & $\backslash$nu && $\nu$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
646 && $\backslash$o && $\o$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
647 && $\backslash$pi && $\pi$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
648 & $\backslash$theta && $\theta$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
649 && $\backslash$rho && $\rho$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
650 && $\backslash$sigma && $\sigma$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
651 & $\backslash$tau && $\tau$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
652 && $\backslash$upsilon && $\upsilon$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
653 && $\backslash$varpi && $\varpi$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
654 & $\backslash$omega && $\omega$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
655 && $\backslash$xi && $\xi$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
656 && $\backslash$psi && $\psi$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
657 & $\backslash$zeta && $\zeta$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
658 && $\backslash$sim && $\sim$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
659 && $\backslash$Upsilon && $\Upsilon$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
660 & $\backslash$prime && $\prime$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
661 && $\backslash$leq && $\leq$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
662 && $\backslash$infty && $\infty$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
663 & $\backslash$clubsuit && $\clubsuit$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
664 && $\backslash$diamondsuit && $\diamondsuit$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
665 && $\backslash$heartsuit && $\heartsuit$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
666 & $\backslash$spadesuit && $\spadesuit$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
667 && $\backslash$leftrightarrow && $\leftrightarrow$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
668 && $\backslash$leftarrow && $\leftarrow$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
669 & $\backslash$uparrow && $\uparrow$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
670 && $\backslash$rightarrow && $\rightarrow$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
671 && $\backslash$downarrow && $\downarrow$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
672 & $\backslash$circ && $\circ$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
673 && $\backslash$pm && $\pm$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
674 && $\backslash$geq && $\geq$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
675 & $\backslash$times && $\times$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
676 && $\backslash$propto && $\propto$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
677 && $\backslash$partial && $\partial$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
678 & $\backslash$bullet && $\bullet$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
679 && $\backslash$div && $\div$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
680 && $\backslash$neq && $\neq$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
681 & $\backslash$equiv && $\equiv$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
682 && $\backslash$approx && $\approx$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
683 && $\backslash$ldots && $\ldots$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
684 & $\backslash$mid && $\mid$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
685 && $\backslash$aleph && $\aleph$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
686 && $\backslash$Im && $\Im$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
687 & $\backslash$Re && $\Re$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
688 && $\backslash$wp && $\wp$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
689 && $\backslash$otimes && $\otimes$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
690 & $\backslash$oplus && $\oplus$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
691 && $\backslash$oslash && $\oslash$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
692 && $\backslash$cap && $\cap$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
693 & $\backslash$cup && $\cup$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
694 && $\backslash$supset && $\supset$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
695 && $\backslash$supseteq && $\supseteq$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
696 & $\backslash$subset && $\subset$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
697 && $\backslash$subseteq && $\subseteq$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
698 && $\backslash$in && $\in$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
699 & $\backslash$notin && $\notin$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
700 && $\backslash$angle && $\angle$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
701 && $\backslash$bigtriangledown && $\bigtriangledown$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
702 & $\backslash$langle && $\langle$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
703 && $\backslash$rangle && $\rangle$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
704 && $\backslash$nabla && $\nabla$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
705 & $\backslash$prod && $\prod$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
706 && $\backslash$surd && $\surd$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
707 && $\backslash$cdot && $\cdot$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
708 & $\backslash$neg && $\neg$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
709 && $\backslash$wedge && $\wedge$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
710 && $\backslash$vee && $\vee$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
711 & $\backslash$Leftrightarrow && $\Leftrightarrow$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
712 && $\backslash$Leftarrow && $\Leftarrow$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
713 && $\backslash$Uparrow && $\Uparrow$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
714 & $\backslash$Rightarrow && $\Rightarrow$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
715 && $\backslash$Downarrow && $\Downarrow$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
716 && $\backslash$diamond && $\diamond$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
717 & $\backslash$copyright && $\copyright$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
718 && $\backslash$rfloor && $\rfloor$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
719 && $\backslash$lceil && $\lceil$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
720 & $\backslash$lfloor && $\lfloor$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
721 && $\backslash$rceil && $\rceil$ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
722 && $\backslash$int && $\int$ &\cr |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
723 \noalign{\hrule height 0.6pt} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
724 }}\hfill}} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
725 @end tex |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
726 @ifnottex |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
727 @multitable @columnfractions .125 .25 .25 .25 .125 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
728 @item @tab \forall @tab \exists @tab \ni @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
729 @item @tab \cong @tab \Delta @tab \Phi @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
730 @item @tab \Gamma @tab \vartheta @tab \Lambda @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
731 @item @tab \Pi @tab \Theta @tab \Sigma @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
732 @item @tab \varsigma @tab \Omega @tab \Xi @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
733 @item @tab \Psi @tab \perp @tab \alpha @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
734 @item @tab \beta @tab \chi @tab \delta @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
735 @item @tab \epsilon @tab \phi @tab \gamma @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
736 @item @tab \eta @tab \iota @tab \varphi @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
737 @item @tab \kappa @tab \lambda @tab \mu @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
738 @item @tab \nu @tab \o @tab \pi @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
739 @item @tab \theta @tab \rho @tab \sigma @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
740 @item @tab \tau @tab \upsilon @tab \varpi @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
741 @item @tab \omega @tab \xi @tab \psi @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
742 @item @tab \zeta @tab \sim @tab \Upsilon @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
743 @item @tab \prime @tab \leq @tab \infty @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
744 @item @tab \clubsuit @tab \diamondsuit @tab \heartsuit @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
745 @item @tab \spadesuit @tab \leftrightarrow @tab \leftarrow @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
746 @item @tab \uparrow @tab \rightarrow @tab \downarrow @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
747 @item @tab \circ @tab \pm @tab \geq @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
748 @item @tab \times @tab \propto @tab \partial @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
749 @item @tab \bullet @tab \div @tab \neq @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
750 @item @tab \equiv @tab \approx @tab \ldots @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
751 @item @tab \mid @tab \aleph @tab \Im @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
752 @item @tab \Re @tab \wp @tab \otimes @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
753 @item @tab \oplus @tab \oslash @tab \cap @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
754 @item @tab \cup @tab \supset @tab \supseteq @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
755 @item @tab \subset @tab \subseteq @tab \in @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
756 @item @tab \notin @tab \angle @tab \bigrightriangledown @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
757 @item @tab \langle @tab \rangle @tab \nabla @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
758 @item @tab \prod @tab \surd @tab \cdot @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
759 @item @tab \neg @tab \wedge @tab \vee @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
760 @item @tab \Leftrightarrow @tab \Leftarrow @tab \Uparrow @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
761 @item @tab \Rightarrow @tab \Downarrow @tab \diamond @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
762 @item @tab \copyright @tab \lfloor @tab \lceil @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
763 @item @tab \rfloor @tab \rceil @tab \int @tab |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
764 @end multitable |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
765 @end ifnottex |
9758
09da0bd91412
Periodic grammar check of Octave documentation files to ensure common format
Rik <rdrider0-list@yahoo.com>
parents:
9752
diff
changeset
|
766 @caption{Available special characters in @TeX{} mode} |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
767 @end float |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
768 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
769 A complete example showing the capabilities of the extended text is |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
770 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
771 @example |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
772 @group |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
773 x = 0:0.01:3; |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
774 plot(x,erf(x)); |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
775 hold on; |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
776 plot(x,x,"r"); |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
777 axis([0, 3, 0, 1]); |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
778 text(0.65, 0.6175, strcat('\leftarrow x = @{2/\surd\pi', |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
779 ' @{\fontsize@{16@}\int_@{\fontsize@{8@}0@}^@{\fontsize@{8@}x@}@}', |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
780 ' e^@{-t^2@} dt@} = 0.6175')) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
781 @end group |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
782 @end example |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
783 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
784 @ifnotinfo |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
785 @noindent |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
786 The result of which can be seen in @ref{fig:extendedtext} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
787 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
788 @float Figure,fig:extendedtext |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
789 @center @image{extended,4in} |
9758
09da0bd91412
Periodic grammar check of Octave documentation files to ensure common format
Rik <rdrider0-list@yahoo.com>
parents:
9752
diff
changeset
|
790 @caption{Example of inclusion of text with the @TeX{} interpreter} |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
791 @end float |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
792 @end ifnotinfo |
5134 | 793 |
6502 | 794 @node Printing Plots |
6888 | 795 @subsection Printing Plots |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
796 @cindex printing plots |
6888 | 797 |
798 The @code{print} command allows you to save plots in a variety of | |
799 formats. For example, | |
800 | |
801 @example | |
802 print -deps foo.eps | |
803 @end example | |
804 | |
805 @noindent | |
806 writes the current figure to an encapsulated PostScript file called | |
807 @file{foo.eps}. | |
6502 | 808 |
809 @DOCSTRING(print) | |
810 | |
811 @DOCSTRING(orient) | |
5134 | 812 |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
813 @node Interacting with plots |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
814 @subsection Interacting with plots |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
815 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
816 The user can select points on a plot with the @code{ginput} function or |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
817 selection the position at which to place text on the plot with the |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
818 @code{gtext} function using the mouse. |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
819 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
820 @DOCSTRING(ginput) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
821 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
822 @DOCSTRING(waitforbuttonpress) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
823 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
824 @DOCSTRING(gtext) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
825 |
6788 | 826 @node Test Plotting Functions |
6888 | 827 @subsection Test Plotting Functions |
828 | |
829 The functions @code{sombrero} and @code{peaks} provide a way to check | |
830 that plotting is working. Typing either @code{sombrero} or @code{peaks} | |
9209
923c7cb7f13f
Simplify TeXinfo files by eliminating redundant @iftex followed by @tex construction.
Rik <rdrider0-list@yahoo.com>
parents:
9088
diff
changeset
|
831 at the Octave prompt should display a three-dimensional plot. |
6788 | 832 |
6877 | 833 @DOCSTRING(sombrero) |
834 | |
6788 | 835 @DOCSTRING(peaks) |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
836 @node Graphics Data Structures |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
837 @section Graphics Data Structures |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
838 @cindex graphics data structures |
6888 | 839 |
840 @menu | |
9676 | 841 * Introduction to Graphics Structures:: |
842 * Graphics Objects:: | |
843 * Graphics Object Properties:: | |
844 * Searching Properties:: | |
845 * Managing Default Properties:: | |
6888 | 846 @end menu |
847 | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
848 @node Introduction to Graphics Structures |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
849 @subsection Introduction to Graphics Structures |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
850 @cindex introduction to graphics structures |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
851 @anchor{doc-graphics structures} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
852 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
853 The graphics functions use pointers, which are of class graphics_handle, |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
854 in order to address the data structures which control |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
855 graphical displays. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
856 A graphics handle may point any one of a number of different object types. |
9758
09da0bd91412
Periodic grammar check of Octave documentation files to ensure common format
Rik <rdrider0-list@yahoo.com>
parents:
9752
diff
changeset
|
857 The objects are the graphics data structures. The types of objects |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
858 are: @code{figure}, @code{axes}, |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
859 @code{line}, @code{text}, @code{patch}, |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
860 @code{surface}, @code{text} and @code{image}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
861 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
862 Each of these objects has a function by the |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
863 same name. and, each of these functions returns a graphics handle pointing |
9758
09da0bd91412
Periodic grammar check of Octave documentation files to ensure common format
Rik <rdrider0-list@yahoo.com>
parents:
9752
diff
changeset
|
864 to an object of corresponding type. In addition there are several functions |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
865 which operate on properties of the graphics objects and which return handles: the functions @code{ plot} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
866 and @code{plot3} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
867 return a handle pointing to an object of type line, the function @code{subplot} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
868 returns a handle pointing to an object of type axes, the function @code{fill} returns a |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
869 handle pointing to an object of type patch, the functions @code{area}, @code{bar}, |
9752
51c21837686f
Period spellcheck of Octave documentation to check and fix newly added DOCSTRINGS
Rik <rdrider0-list@yahoo.com>
parents:
9676
diff
changeset
|
870 @code{barh}, @code{contour}, @code{contourf}, @code{contour3}, @code{surf}, @code{mesh}, |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
871 @code{surfc}, @code{meshc}, |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
872 @code{errorbar}, @code{quiver}, @code{quiver3}, @code{scatter}, @code{scatter3}, |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
873 @code{stair}, @code{stem}, @code{stem3} each return a handle as documented |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
874 in @ref{doc-datasources,, Data Sources}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
875 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
876 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
877 The graphics objects are arranged in a hierarchy: |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
878 |
9758
09da0bd91412
Periodic grammar check of Octave documentation files to ensure common format
Rik <rdrider0-list@yahoo.com>
parents:
9752
diff
changeset
|
879 1. The root is at 0. i.e., @code{get(0)} returns the properties of the root |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
880 object. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
881 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
882 2. Below the root are @code{figure} objects. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
883 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
884 3. Below the @code{figure} objects are @code{axes}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
885 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
886 4. Below the @code{axes} objects are |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
887 @code{line}, @code{text}, @code{patch}, |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
888 @code{surface}, and @code{image} objects. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
889 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
890 Graphics handles may be distinguished from function handles (@ref{Function Handles}) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
891 by means of the function @code{ishandle()}. @code{ishandle} returns true if its |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
892 argument is a handle of a graphics object. In addition, the figure object |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
893 may be tested using @code{isfigure()}. @code{isfigure} returns true only if its |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
894 argument is a handle of a figure. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
895 ishghandle() is synonymous with ishandle(). The @code{whos} function can be used |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
896 to show the object type of each currently defined graphics handle. (Note: this is |
9758
09da0bd91412
Periodic grammar check of Octave documentation files to ensure common format
Rik <rdrider0-list@yahoo.com>
parents:
9752
diff
changeset
|
897 not true today, but it is, I hope, considered an error in whos. It may be better |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
898 to have whos just show graphics_handle as the class, and provide a new function |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
899 which, given a graphics handle, returns its object type. This could generalize |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
900 the ishandle() functions and, in fact, replace them.) |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
901 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
902 The @code{get} and @code{set} commands are |
9758
09da0bd91412
Periodic grammar check of Octave documentation files to ensure common format
Rik <rdrider0-list@yahoo.com>
parents:
9752
diff
changeset
|
903 used to obtain and set the values of properties of graphics objects. In addition, |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
904 the @code{get} command may be used to obtain property names. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
905 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
906 For example, the property "type" of the graphics object pointed to by the graphics |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
907 handle h may be displayed by: |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
908 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
909 @code{get(h, "type")} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
910 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
911 The properties and their current values are returned by @code{get(h)} |
9758
09da0bd91412
Periodic grammar check of Octave documentation files to ensure common format
Rik <rdrider0-list@yahoo.com>
parents:
9752
diff
changeset
|
912 where h is a handle of a graphics object. If only the names of the |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
913 allowed properties are wanted they may be displayed by: |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
914 @code{get(h, "");} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
915 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
916 Thus, for example, |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
917 @c @example |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
918 @smallformat |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
919 @group |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
920 @verbatim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
921 h=figure(); |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
922 get(h,"type") |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
923 ans = figure |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
924 get(h, ""); |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
925 error: get: ambiguous figure property name ; possible matches: |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
926 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
927 __backend__ currentobject paperposition toolbar |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
928 __enhanced__ deletefcn paperpositionmode type |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
929 __modified__ dockcontrols papersize uicontextmenu |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
930 __myhandle__ doublebuffer papertype units |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
931 __plot_stream__ filename paperunits userdata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
932 alphamap handlevisibility parent visible |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
933 beingdeleted hittest pointer windowbuttondownfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
934 busyaction integerhandle pointershapecdata windowbuttonmotionfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
935 buttondownfcn interruptible pointershapehotspot windowbuttonupfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
936 children inverthardcopy position windowbuttonwheelfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
937 clipping keypressfcn renderer windowstyle |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
938 closerequestfcn keyreleasefcn renderermode wvisual |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
939 color menubar resize wvisualmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
940 colormap mincolormap resizefcn xdisplay |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
941 createfcn name selected xvisual |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
942 current_point nextplot selectionhighlight xvisualmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
943 currentaxes numbertitle selectiontype |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
944 currentcharacter paperorientation tag |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
945 @end verbatim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
946 @end group |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
947 @end smallformat |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
948 @c @end example |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
949 @c @end flushleft |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
950 @c @example |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
951 @smallformat |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
952 @group |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
953 @verbatim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
954 aa=axes(); |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
955 get(aa,""); |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
956 error: get: ambiguous axes property name ; possible matches: |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
957 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
958 __modified__ drawmode tickdir xtickmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
959 __myhandle__ fontangle tickdirmode yaxislocation |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
960 activepositionproperty fontname ticklength ycolor |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
961 alim fontsize tightinset ydir |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
962 alimmode fontunits title ygrid |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
963 ambientlightcolor fontweight type ylabel |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
964 beingdeleted gridlinestyle uicontextmenu ylim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
965 box handlevisibility units ylimmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
966 busyaction hittest userdata yminorgrid |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
967 buttondownfcn interpreter view yminortick |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
968 cameraposition interruptible visible yscale |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
969 camerapositionmode key x_normrendertransform ytick |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
970 cameratarget keybox x_projectiontransform yticklabel |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
971 cameratargetmode keypos x_rendertransform yticklabelmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
972 cameraupvector keyreverse x_viewporttransform ytickmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
973 cameraupvectormode layer x_viewtransform zcolor |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
974 cameraviewangle linestyleorder xaxislocation zdir |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
975 cameraviewanglemode linewidth xcolor zgrid |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
976 children minorgridlinestyle xdir zlabel |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
977 clim nextplot xgrid zlim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
978 climmode outerposition xlabel zlimmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
979 @end verbatim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
980 @end group |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
981 @group |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
982 @verbatim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
983 clipping parent xlim zminorgrid |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
984 color plotboxaspectratio xlimmode zminortick |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
985 colororder plotboxaspectratiomode xminorgrid zscale |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
986 createfcn position xminortick ztick |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
987 currentpoint projection xscale zticklabel |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
988 dataaspectratio selected xtick zticklabelmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
989 dataaspectratiomode selectionhighlight xticklabel ztickmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
990 deletefcn tag xticklabelmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
991 @end verbatim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
992 @end group |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
993 @end smallformat |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
994 @c @end example |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
995 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
996 The root figure has index 0. Its properties may be displayed by: |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
997 @code{get(0,"")}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
998 The uses of @code{get()} and @code{set()} are further explained in |
9676 | 999 @ref{doc-get,,get}, @ref{doc-set,,set}. |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1000 |
6888 | 1001 @node Graphics Objects |
1002 @subsection Graphics Objects | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1003 @cindex graphics objects |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1004 |
9758
09da0bd91412
Periodic grammar check of Octave documentation files to ensure common format
Rik <rdrider0-list@yahoo.com>
parents:
9752
diff
changeset
|
1005 The hierarchy of graphics objects was explained above. (See |
9676 | 1006 @ref{Introduction to Graphics Structures}. Here the |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1007 specific objects are described, and the properties contained in |
9758
09da0bd91412
Periodic grammar check of Octave documentation files to ensure common format
Rik <rdrider0-list@yahoo.com>
parents:
9752
diff
changeset
|
1008 these objects are discussed. Keep in mind that |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1009 graphics objects are always referenced by @dfn{handle}. |
6888 | 1010 |
1011 @table @asis | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1012 @c @group |
6888 | 1013 @item root figure |
8071 | 1014 @cindex root figure graphics object |
1015 @cindex graphics object, root figure | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1016 the top level of the hierarchy and the parent of all figure objects. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1017 The @code{handle} index of the root figure is 0. |
6888 | 1018 |
1019 @item figure | |
8071 | 1020 @cindex figure graphics object |
1021 @cindex graphics object, figure | |
6888 | 1022 A figure window. |
1023 | |
1024 @item axes | |
8071 | 1025 @cindex axes graphics object |
1026 @cindex graphics object, axes | |
9316
c539ec5726e7
Update some of Advanced Plotting documentation.
Rik <rdrider0-list@yahoo.com>
parents:
9209
diff
changeset
|
1027 A set of axes. This object is a child of a figure object and may be a |
6888 | 1028 parent of line, text, image, patch, or surface objects. |
1029 | |
1030 @item line | |
8071 | 1031 @cindex line graphics object |
1032 @cindex graphics object, line | |
6888 | 1033 A line in two or three dimensions. |
1034 | |
1035 @item text | |
8071 | 1036 @cindex text graphics object |
1037 @cindex graphics object, text | |
6888 | 1038 Text annotations. |
1039 | |
1040 @item image | |
8071 | 1041 @cindex image graphics object |
1042 @cindex graphics object, image | |
6888 | 1043 A bitmap image. |
1044 | |
1045 @item patch | |
8071 | 1046 @cindex patch graphics object |
1047 @cindex graphics object, patch | |
6888 | 1048 A filled polygon, currently limited to two dimensions. |
1049 | |
1050 @item surface | |
8071 | 1051 @cindex surface graphics object |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1052 @cindex graphics object, surface |
6888 | 1053 A three-dimensional surface. |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1054 @c @end group |
6888 | 1055 @end table |
1056 | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1057 @subsubsection Handle Functions |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1058 @cindex handle functions |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1059 |
9316
c539ec5726e7
Update some of Advanced Plotting documentation.
Rik <rdrider0-list@yahoo.com>
parents:
9209
diff
changeset
|
1060 To determine whether a variable is a graphics object index or a figure |
6888 | 1061 index, use the functions @code{ishandle} and @code{isfigure}. |
1062 | |
1063 @DOCSTRING(ishandle) | |
1064 | |
8817
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
1065 @DOCSTRING(ishghandle) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
1066 |
6888 | 1067 @DOCSTRING(isfigure) |
1068 | |
1069 The function @code{gcf} returns an index to the current figure object, | |
1070 or creates one if none exists. Similarly, @code{gca} returns the | |
1071 current axes object, or creates one (and its parent figure object) if | |
1072 none exists. | |
1073 | |
1074 @DOCSTRING(gcf) | |
1075 | |
1076 @DOCSTRING(gca) | |
1077 | |
1078 The @code{get} and @code{set} functions may be used to examine and set | |
1079 properties for graphics objects. For example, | |
1080 | |
1081 @example | |
1082 @group | |
1083 get (0) | |
1084 @result{} ans = | |
1085 @{ | |
9316
c539ec5726e7
Update some of Advanced Plotting documentation.
Rik <rdrider0-list@yahoo.com>
parents:
9209
diff
changeset
|
1086 type = root |
6888 | 1087 currentfigure = [](0x0) |
1088 children = [](0x0) | |
1089 visible = on | |
9316
c539ec5726e7
Update some of Advanced Plotting documentation.
Rik <rdrider0-list@yahoo.com>
parents:
9209
diff
changeset
|
1090 @dots{} |
6888 | 1091 @} |
1092 @end group | |
1093 @end example | |
1094 | |
1095 @noindent | |
1096 returns a structure containing all the properties of the root figure. | |
1097 As with all functions in Octave, the structure is returned by value, so | |
1098 modifying it will not modify the internal root figure plot object. To | |
1099 do that, you must use the @code{set} function. Also, note that in this | |
1100 case, the @code{currentfigure} property is empty, which indicates that | |
1101 there is no current figure window. | |
1102 | |
1103 The @code{get} function may also be used to find the value of a single | |
1104 property. For example, | |
1105 | |
1106 @example | |
1107 @group | |
1108 get (gca (), "xlim") | |
1109 @result{} [ 0 1 ] | |
1110 @end group | |
1111 @end example | |
1112 | |
1113 @noindent | |
1114 returns the range of the x-axis for the current axes object in the | |
1115 current figure. | |
1116 | |
1117 To set graphics object properties, use the set function. For example, | |
1118 | |
1119 @example | |
1120 set (gca (), "xlim", [-10, 10]); | |
1121 @end example | |
1122 | |
1123 @noindent | |
1124 sets the range of the x-axis for the current axes object in the current | |
1125 figure to @samp{[-10, 10]}. Additionally, calling set with a graphics | |
1126 object index as the only argument returns a structure containing the | |
1127 default values for all the properties for the given object type. For | |
1128 example, | |
1129 | |
1130 @example | |
1131 set (gca ()) | |
1132 @end example | |
1133 | |
1134 @noindent | |
1135 returns a structure containing the default property values for axes | |
1136 objects. | |
1137 | |
1138 @DOCSTRING(get) | |
1139 | |
1140 @DOCSTRING(set) | |
1141 | |
1142 @DOCSTRING(ancestor) | |
1143 | |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1144 @DOCSTRING(allchild) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1145 |
6888 | 1146 @node Graphics Object Properties |
1147 @subsection Graphics Object Properties | |
1148 @cindex graphics object properties | |
1149 | |
1150 @menu | |
9676 | 1151 * Root Figure Properties:: |
1152 * Figure Properties:: | |
1153 * Axes Properties:: | |
1154 * Line Properties:: | |
1155 * Text Properties:: | |
1156 * Image Properties:: | |
1157 * Patch Properties:: | |
1158 * Surface Properties:: | |
6888 | 1159 @end menu |
1160 | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1161 In this Section the object properties are discussed in detail, starting |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1162 with the root figure properties and continuing through the graphics object |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1163 hierarchy. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1164 |
6888 | 1165 @node Root Figure Properties |
1166 @subsubsection Root Figure Properties | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1167 @cindex root figure properties |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1168 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1169 The @code{root figure} properties are: |
6888 | 1170 @table @code |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1171 @item __modified__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1172 --- Values: "on," "off" |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1173 @item __myhandle__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1174 @item beingdeleted |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1175 --- Values: "on," "off" |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1176 @item busyaction |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1177 @item buttondownfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1178 @item callbackobject |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1179 @item children |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1180 @item clipping |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1181 --- Values: "on," "off" |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1182 @item createfcn |
6888 | 1183 @item currentfigure |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1184 @item deletefcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1185 @item handlevisibility |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1186 --- Values: "on," "off" |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1187 @item hittest |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1188 --- Values: "on," "off" |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1189 @item interruptible |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1190 --- Values: "on," "off" |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1191 @item parent |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1192 @item screendepth |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1193 @item screenpixelsperinch |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1194 @item screensize |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1195 @item selected |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1196 @item selectionhighlight |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1197 @item screendepth |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1198 @item screenpixelsperinch |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1199 @item showhiddenhandles |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1200 --- Values: "on," "off" |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1201 @item tag |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1202 @item type |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1203 @item uicontextmenu |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1204 @item units |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1205 @item userdata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1206 @item visible |
6888 | 1207 @end table |
1208 | |
6889 | 1209 @node Figure Properties |
1210 @subsubsection Figure Properties | |
8071 | 1211 @cindex figure properties |
6888 | 1212 |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1213 The @code{figure} properties are: |
6888 | 1214 @table @code |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1215 @item __backend__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1216 --- The backend currently in use. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1217 @item __enhanced__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1218 @item __modified__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1219 @item __myhandle__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1220 @item __plot_stream__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1221 @item alphamap |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1222 @item beingdeleted |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1223 --- Values: "on," "off" |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1224 @item busyaction |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1225 @item buttondownfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1226 @item children |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1227 Handle to children. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1228 @item clipping |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1229 --- Values: "on," "off" |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1230 @item closerequestfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1231 --- Handle of function to call on close. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1232 @item color |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1233 @item colormap |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1234 An N-by-3 matrix containing the color map for the current axes. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1235 @item paperorientation |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1236 @item createfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1237 @item currentaxes |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1238 Handle to graphics object of current axes. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1239 @item currentcharacter |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1240 @item currentobject |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1241 @item current_point |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1242 @item deletefcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1243 @item dockcontrols |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1244 --- Values: "on," "off" |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1245 @item doublebuffer |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1246 --- Values: "on," "off" |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1247 @item filename |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1248 @item handlevisibility |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1249 --- Values: "on," "off" |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1250 @item hittest |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1251 @item integerhandle |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1252 @item interruptible |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1253 --- Values: "on," "off" |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1254 @item inverthardcopy |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1255 @item keypressfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1256 @item keyreleasefcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1257 @item menubar |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1258 @item mincolormap |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1259 @item name |
6888 | 1260 @item nextplot |
6889 | 1261 May be one of |
1262 @table @code | |
1263 @item "new" | |
1264 @item "add" | |
1265 @item "replace" | |
1266 @item "replacechildren" | |
1267 @end table | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1268 @item numbertitle |
6888 | 1269 @item paperorientation |
6889 | 1270 Indicates the orientation for printing. Either @code{"landscape"} or |
1271 @code{"portrait"}. | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1272 @item paperposition |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1273 @item paperpositionmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1274 @item papersize |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1275 @item papertype |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1276 @item paperunits |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1277 @item pointer |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1278 @item pointershapecdata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1279 @item pointershapehotspot |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1280 @item position |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1281 @item renderer |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1282 @item renderermode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1283 @item resize |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1284 @item resizefcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1285 @item selected |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1286 @item selectionhighlight |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1287 --- Values: "on," "off" |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1288 @item selectiontype |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1289 @item tag |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1290 @item toolbar |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1291 @item type |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1292 @item units |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1293 @item userdata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1294 @item visible |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1295 Either @code{"on"} or @code{"off"} to toggle display of the figure. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1296 @item windowbuttondownfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1297 @item windowbuttonmotionfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1298 @item windowbuttonupfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1299 @item windowbuttonwheelfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1300 @item windowstyle |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1301 @item wvisual |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1302 @item wvisualmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1303 @item xdisplay |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1304 @item xvisual |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1305 @item xvisualmode |
6888 | 1306 @end table |
1307 | |
1308 @node Axes Properties | |
1309 @subsubsection Axes Properties | |
8071 | 1310 @cindex axes properties |
6888 | 1311 |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1312 The @code{axes} properties are: |
6888 | 1313 @table @code |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1314 @item __modified__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1315 @item __myhandle__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1316 @item activepositionproperty |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1317 @item alim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1318 @item alimmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1319 @item ambientlightcolor |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1320 @item beingdeleted |
6888 | 1321 @item box |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1322 Box surrounding axes. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1323 --- Values: "on," "off" |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1324 @item busyaction |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1325 @item buttondownfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1326 @item cameraposition |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1327 @item camerapositionmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1328 @item cameratarget |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1329 @item cameratargetmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1330 @item cameraupvector |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1331 @item cameraupvectormode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1332 @item cameraviewangle |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1333 @item cameraviewanglemode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1334 @item children |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1335 @item clim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1336 Two-element vector defining the limits for the c axis of |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1337 an image. See @code{pcolor} property. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1338 Setting this property also forces the corresponding mode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1339 property to be set to @code{"manual"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1340 @item climmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1341 Either @code{"manual"} or @code{"auto"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1342 @item clipping |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1343 @item color |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1344 @item colororder |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1345 @item createfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1346 @item currentpoint |
6888 | 1347 @item dataaspectratio |
6889 | 1348 A two-element vector specifying the relative height and width of the |
1349 data displayed in the axes. Setting @code{dataaspectratio} to @samp{1, | |
9209
923c7cb7f13f
Simplify TeXinfo files by eliminating redundant @iftex followed by @tex construction.
Rik <rdrider0-list@yahoo.com>
parents:
9088
diff
changeset
|
1350 2]} causes the length of one unit as displayed on the y-axis to be the |
923c7cb7f13f
Simplify TeXinfo files by eliminating redundant @iftex followed by @tex construction.
Rik <rdrider0-list@yahoo.com>
parents:
9088
diff
changeset
|
1351 same as the length of 2 units on the x-axis. Setting |
6889 | 1352 @code{dataaspectratio} also forces the @code{dataaspectratiomode} |
1353 property to be set to @code{"manual"}. | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1354 @item dataaspectratiomode |
6889 | 1355 Either @code{"manual"} or @code{"auto"}. |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1356 @item deletefcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1357 @item drawmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1358 @item fontangle |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1359 @item fontname |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1360 @item fontsize |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1361 @item fontunits |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1362 @item fontweight |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1363 @item gridlinestyle |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1364 @item handlevisibility |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1365 @item hittest |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1366 @item interpreter |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1367 @item interruptible |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1368 @item key |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1369 Toggle display of the legend. --- Values: "on," "off" |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1370 Note that this property is not compatible with @sc{matlab} and may be |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1371 removed in a future version of Octave. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1372 @item keybox |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1373 Toggle display of a box around the |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1374 legend. --- Values: "on," "off" |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1375 Note that this property is not compatible with @sc{matlab} and |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1376 may be removed in a future version of Octave. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1377 @item keypos |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1378 An integer from 1 to 4 specifying the position of the legend. 1 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1379 indicates upper right corner, 2 indicates upper left, 3 indicates lower |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1380 left, and 4 indicates lower right. Note that this property is not |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1381 compatible with @sc{matlab} and may be removed in a future version of |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1382 Octave. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1383 @item keyreverse |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1384 @item layer |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1385 @item linestyleorder |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1386 @item linewidth |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1387 @item minorgridlinestyle |
6888 | 1388 @item nextplot |
6889 | 1389 May be one of |
1390 @table @code | |
1391 @item "new" | |
1392 @item "add" | |
1393 @item "replace" | |
1394 @item "replacechildren" | |
1395 @end table | |
6888 | 1396 @item outerposition |
8071 | 1397 A vector specifying the position of the plot, including titles, axes and |
1398 legend. The four elements of the vector are the coordinates of the | |
1399 lower left corner and width and height of the plot, in units normalized | |
1400 to the width and height of the plot window. For example, @code{[0.2, | |
1401 0.3, 0.4, 0.5]} sets the lower left corner of the axes at @math{(0.2, | |
1402 0.3)} and the width and height to be 0.4 and 0.5 respectively. See also | |
1403 the @code{position} property. | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1404 @item parent |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1405 @item plotboxaspectratio |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1406 @item plotboxaspectratiomode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1407 @item position |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1408 A vector specifying the position of the plot, excluding titles, axes and |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1409 legend. The four elements of the vector are the coordinates of the |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1410 lower left corner and width and height of the plot, in units normalized |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1411 to the width and height of the plot window. For example, @code{[0.2, |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1412 0.3, 0.4, 0.5]} sets the lower left corner of the axes at @math{(0.2, |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1413 0.3)} and the width and height to be 0.4 and 0.5 respectively. See also |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1414 the @code{outerposition} property. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1415 @item projection |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1416 @item selected |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1417 @item selectionhighlight |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1418 @item tag |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1419 @item tickdir |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1420 @item tickdirmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1421 @item ticklength |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1422 @item tightinset |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1423 @item title |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1424 Index of text object for the axes title. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1425 @item type |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1426 @item uicontextmenu |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1427 @item units |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1428 @item userdata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1429 @item view |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1430 A three element vector specifying the view point for three-dimensional plots. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1431 @item visible |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1432 Either @code{"on"} or @code{"off"} to toggle display of the axes. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1433 @item x_normrendertransform |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1434 @item x_projectiontransform |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1435 @item x_rendertransform |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1436 @item x_viewporttransform |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1437 @item x_viewtransform |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1438 @item xaxislocation |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1439 Either @code{"top"} or @code{"bottom"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1440 @item xcolor |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1441 @item xdir |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1442 Either @code{"forward"} or @code{"reverse"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1443 @item xgrid |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1444 Either @code{"on"} or @code{"off"} to toggle display of grid lines. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1445 @item xlabel |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1446 Indices to text objects for the axes labels. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1447 @item xlim |
9758
09da0bd91412
Periodic grammar check of Octave documentation files to ensure common format
Rik <rdrider0-list@yahoo.com>
parents:
9752
diff
changeset
|
1448 Two-element vector defining the limits for the x-axis. |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1449 Setting this property also forces the corresponding mode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1450 property to be set to @code{"manual"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1451 @item xlimmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1452 Either @code{"manual"} or @code{"auto"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1453 @item xminorgrid |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1454 Either @code{"on"} or @code{"off"} to toggle display of minor grid lines. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1455 @item xminortick |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1456 @item xscale |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1457 Either @code{"linear"} or @code{"log"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1458 @item xtick |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1459 Set position of tick marks. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1460 Setting this property also forces the corresponding mode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1461 property to be set to @code{"manual"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1462 @item xticklabel |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1463 Setting this property also forces the corresponding mode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1464 property to be set to @code{"manual"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1465 @item xticklabelmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1466 Either @code{"manual"} or @code{"auto"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1467 @item xtickmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1468 Either @code{"manual"} or @code{"auto"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1469 @item yaxislocation |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1470 Either @code{"left"} or @code{"right"} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1471 @item ycolor |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1472 @item ydir |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1473 Either @code{"forward"} or @code{"reverse"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1474 @item ygrid |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1475 Either @code{"on"} or @code{"off"} to toggle display of grid lines. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1476 @item ylabel |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1477 Indices to text objects for the axes labels. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1478 @item ylim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1479 Two-element vectors defining the limits for the x, y, and z axes and the |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1480 Setting one of these properties also forces the corresponding mode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1481 property to be set to @code{"manual"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1482 @item ylimmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1483 Either @code{"manual"} or @code{"auto"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1484 @item yminorgrid |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1485 Either @code{"on"} or @code{"off"} to toggle display of minor grid lines. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1486 @item yminortick |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1487 @item yscale |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1488 Either @code{"linear"} or @code{"log"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1489 @item ytick |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1490 Set position of tick marks. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1491 Setting this property also forces the corresponding mode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1492 property to be set to @code{"manual"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1493 @item yticklabel |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1494 Setting this property also forces the corresponding mode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1495 property to be set to @code{"manual"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1496 @item yticklabelmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1497 Either @code{"manual"} or @code{"auto"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1498 @item ytickmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1499 Either @code{"manual"} or @code{"auto"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1500 @item zcolor |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1501 @item zdir |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1502 Either @code{"forward"} or @code{"reverse"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1503 @item zgrid |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1504 Either @code{"on"} or @code{"off"} to toggle display of grid lines. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1505 @item zlabel |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1506 Indices to text objects for the axes labels. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1507 @item zlim |
9758
09da0bd91412
Periodic grammar check of Octave documentation files to ensure common format
Rik <rdrider0-list@yahoo.com>
parents:
9752
diff
changeset
|
1508 Two-element vector defining the limits for z-axis. |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1509 Setting this property also forces the corresponding mode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1510 property to be set to @code{"manual"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1511 @item zlimmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1512 Either @code{"manual"} or @code{"auto"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1513 @item zminorgrid |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1514 Either @code{"on"} or @code{"off"} to toggle display of minor grid lines. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1515 @item zminortick |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1516 @item zscale |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1517 Either @code{"linear"} or @code{"log"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1518 @item ztick |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1519 Set position of tick marks. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1520 Setting this property also forces the corresponding mode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1521 property to be set to @code{"manual"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1522 @item zticklabel |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1523 Setting this property also forces the corresponding mode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1524 property to be set to @code{"manual"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1525 @item zticklabelmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1526 Either @code{"manual"} or @code{"auto"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1527 @item ztickmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1528 Either @code{"manual"} or @code{"auto"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1529 |
6888 | 1530 @end table |
1531 | |
1532 @node Line Properties | |
1533 @subsubsection Line Properties | |
8071 | 1534 @cindex line properties |
6888 | 1535 |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1536 The @code{line} properties are: |
6888 | 1537 @table @code |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1538 @item __modified__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1539 @item __myhandle__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1540 @item beingdeleted |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1541 @item busyaction |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1542 @item buttondownfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1543 @item children |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1544 @item clipping |
6888 | 1545 @item color |
6889 | 1546 The RGB color of the line, or a color name. @xref{Colors}. |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1547 @item createfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1548 @item deletefcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1549 @item displayname |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1550 @item erasemode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1551 @item handlevisibility |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1552 @item hittest |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1553 @item interpreter |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1554 @item interruptible |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1555 @item keylabel |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1556 The text of the legend entry corresponding to this line. Note that this |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1557 property is not compatible with @sc{matlab} and may be removed in a |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1558 future version of Octave. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1559 @item ldata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1560 The lower errorbar in the y direction to be plotted. |
6888 | 1561 @item linestyle |
6889 | 1562 @itemx linewidth |
1563 @xref{Line Styles}. | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1564 @item linewidth |
6888 | 1565 @item marker |
1566 @item markeredgecolor | |
1567 @item markerfacecolor | |
1568 @item markersize | |
6889 | 1569 @xref{Marker Styles}. |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1570 @item parent |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1571 @item selected |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1572 @item selectionhighlight |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1573 @item tag |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1574 @item type |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1575 @item udata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1576 The upper errorbar in the y direction to be plotted. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1577 @item uicontextmenu |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1578 @item userdata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1579 @item visible |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1580 @item xdata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1581 The data to be plotted. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1582 @item xdatasource |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1583 @item xldata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1584 The lower errorbar to be plotted. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1585 @item xlim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1586 @item xliminclude |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1587 @item xudata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1588 The upper errorbar to be plotted. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1589 @item ydata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1590 The data to be plotted. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1591 @item ydatasource |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1592 @item ylim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1593 @item yliminclude |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1594 @item zdata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1595 The data to be plotted. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1596 @item zdatasource |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1597 @item zlim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1598 @item zliminclude |
6888 | 1599 @end table |
1600 | |
1601 @node Text Properties | |
1602 @subsubsection Text Properties | |
8071 | 1603 @cindex text properties |
6888 | 1604 |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1605 The @code{text} properties are: |
6888 | 1606 @table @code |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1607 @item __modified__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1608 @item __myhandle__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1609 @item backgroundcolor |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1610 @item beingdeleted |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1611 @item busyaction |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1612 @item buttondownfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1613 @item children |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1614 @item clipping |
6888 | 1615 @item color |
6889 | 1616 The color of the text. @xref{Colors}. |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1617 @item createfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1618 @item deletefcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1619 @item displayname |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1620 @item edgecolor |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1621 @item editing |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1622 @item erasemode |
7189 | 1623 @item fontangle |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
1624 Flag whether the font is italic or normal. Valid values are 'normal', |
7189 | 1625 'italic' and 'oblique'. |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1626 @item fontname |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1627 The font used for the text. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1628 @item fontsize |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1629 The size of the font, in points to use. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1630 @item fontunits |
7189 | 1631 @item fontweight |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
1632 Flag whether the font is bold, etc. Valid values are 'normal', 'bold', |
7189 | 1633 'demi' or 'light'. |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1634 @item handlevisibility |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1635 @item hittest |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1636 @item horizontalalignment |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1637 May be @code{"left"}, @code{"center"}, or @code{"right"}. |
7189 | 1638 @item interpreter |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
1639 Determines how the text is rendered. Valid values are 'none', 'tex' or |
7189 | 1640 'latex'. |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1641 @item interruptible |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1642 @item linestyle |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1643 @item linewidth |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1644 @item margin |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1645 @item parent |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1646 @item position |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1647 The coordinates of the text object. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1648 @item rotation |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1649 The angle of rotation for the displayed text, measured in degrees. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1650 @item selected |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1651 @item selectionhighlight |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1652 @item string |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1653 The character string contained by the text object. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1654 @item tag |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1655 @item type |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1656 @item uicontextmenu |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1657 @item units |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1658 May be @code{"normalized"} or @code{"graph"}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1659 @item userdata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1660 @item verticalalignment |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1661 @item visible |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1662 @item xlim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1663 @item xliminclude |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1664 @item ylim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1665 @item yliminclude |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1666 @item zlim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1667 @item zliminclude |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1668 |
6888 | 1669 @end table |
1670 | |
1671 @node Image Properties | |
1672 @subsubsection Image Properties | |
8071 | 1673 @cindex image properties |
6888 | 1674 |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1675 The @code{image} properties are: |
6888 | 1676 @table @code |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1677 @item __modified__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1678 @item __myhandle__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1679 @item beingdeleted |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1680 @item busyaction |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1681 @item buttondownfcn |
6888 | 1682 @item cdata |
6889 | 1683 The data for the image. Each pixel of the image corresponds to an |
1684 element of @code{cdata}. The value of an element of @code{cdata} | |
1685 specifies the row-index into the colormap of the axes object containing | |
1686 the image. The color value found in the color map for the given index | |
1687 determines the color of the pixel. | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1688 @item cdatamapping |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1689 @item children |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1690 @item clim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1691 @item climinclude |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1692 @item clipping |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1693 @item createfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1694 @item deletefcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1695 @item handlevisibility |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1696 @item hittest |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1697 @item interruptible |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1698 @item parent |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1699 @item selected |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1700 @item selectionhighlight |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1701 @item tag |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1702 @item type |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1703 @item uicontextmenu |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1704 @item userdata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1705 @item visible |
6889 | 1706 @item xdata |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1707 Two-element vector specifying the range of the x-coordinates for |
6889 | 1708 the image. |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1709 @item xlim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1710 @item xliminclude |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1711 @item ydata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1712 Two-element vector specifying the range of the y-coordinates for |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1713 the image. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1714 @item ylim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1715 @item yliminclude |
6888 | 1716 @end table |
1717 | |
1718 @node Patch Properties | |
1719 @subsubsection Patch Properties | |
8071 | 1720 @cindex patch properties |
6888 | 1721 |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1722 The @code{patch} properties are: |
6888 | 1723 @table @code |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1724 @item __modified__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1725 @item __myhandle__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1726 @item alim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1727 @item aliminclude |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1728 @item alphadatamapping |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1729 @item ambientstrength |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1730 @item backfacelighting |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1731 @item beingdeleted |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1732 @item busyaction |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1733 @item buttondownfcn |
6888 | 1734 @item cdata |
6889 | 1735 Data defining the patch object. |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1736 @item cdatamapping |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1737 @item children |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1738 @item clim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1739 @item climinclude |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1740 @item clipping |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1741 @item createfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1742 @item deletefcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1743 @item diffusestrength |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1744 @item edgealpha |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1745 @item edgecolor |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1746 The color of the line defining the patch. @xref{Colors}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1747 @item edgelighting |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1748 @item erasemode |
6888 | 1749 @item facealpha |
6889 | 1750 A number in the range [0, 1] indicating the transparency of the patch. |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1751 @item facecolor |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1752 The fill color of the patch. @xref{Colors}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1753 @item facelighting |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1754 @item faces |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1755 @item facevertexalphadata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1756 @item facevertexcdata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1757 @item handlevisibility |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1758 @item hittest |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1759 @item interpreter |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1760 @item interruptible |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1761 @item keylabel |
6888 | 1762 @item linestyle |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1763 @xref{Line Styles}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1764 @item linewidth |
6889 | 1765 @xref{Line Styles}. |
6888 | 1766 @item marker |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1767 @xref{Marker Styles}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1768 @item markeredgecolor |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1769 @xref{Marker Styles}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1770 @item markerfacecolor |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1771 @xref{Marker Styles}. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1772 @item markersize |
6889 | 1773 @xref{Marker Styles}. |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1774 @item normalmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1775 @item parent |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1776 @item selected |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1777 @item selectionhighlight |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1778 @item specularcolorreflectance |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1779 @item specularexponent |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1780 @item specularstrength |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1781 @item tag |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1782 @item type |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1783 @item uicontextmenu |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1784 @item userdata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1785 @item vertexnormals |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1786 @item vertices |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1787 @item visible |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1788 @item xdata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1789 Data defining the patch object. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1790 @item xlim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1791 @item xliminclude |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1792 @item ydata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1793 Data defining the patch object. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1794 @item ylim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1795 @item yliminclude |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1796 @item zdata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1797 Data defining the patch object. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1798 @item zlim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1799 @item zliminclude |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1800 |
6888 | 1801 @end table |
1802 | |
1803 @node Surface Properties | |
1804 @subsubsection Surface Properties | |
8071 | 1805 @cindex surface properties |
6888 | 1806 |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1807 The @code{surface} properties are: |
6888 | 1808 @table @code |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1809 @item __modified__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1810 @item __myhandle__ |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1811 @item alim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1812 @item aliminclude |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1813 @item alphadata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1814 @item alphadatamapping |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1815 @item ambientstrength |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1816 @item backfacelighting |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1817 @item beingdeleted |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1818 @item busyaction |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1819 @item buttondownfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1820 @item cdata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1821 @item cdatamapping |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1822 @item cdatasource |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1823 @item children |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1824 @item clim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1825 @item climinclude |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1826 @item clipping |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1827 @item createfcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1828 @item deletefcn |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1829 @item diffusestrength |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1830 @item edgealpha |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1831 @item edgecolor |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1832 @item edgelighting |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1833 @item erasemode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1834 @item facealpha |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1835 @item facecolor |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1836 @item facelighting |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1837 @item handlevisibility |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1838 @item hittest |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1839 @item interpreter |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1840 @item interruptible |
6888 | 1841 @item keylabel |
6889 | 1842 The text of the legend entry corresponding to this surface. Note that |
9088
77e71f3da3d6
Fix documentation image printing under new development code
Rik <rdrider0-list@yahoo.com>
parents:
9040
diff
changeset
|
1843 this property is not compatible with @sc{matlab} and may be removed in a |
6889 | 1844 future version of Octave. |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1845 @item linestyle |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1846 @item linewidth |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1847 @item marker |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1848 @item markeredgecolor |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1849 @item markerfacecolor |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1850 @item markersize |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1851 @item meshstyle |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1852 @item normalmode |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1853 @item parent |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1854 @item selected |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1855 @item selectionhighlight |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1856 @item specularcolorreflectance |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1857 @item specularexponent |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1858 @item specularstrength |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1859 @item tag |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1860 @item type |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1861 @item uicontextmenu |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1862 @item userdata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1863 @item vertexnormals |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1864 @item visible |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1865 @item xdata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1866 The data determining the surface. The @code{xdata} and @code{ydata} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1867 elements are vectors and @code{zdata} must be a matrix. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1868 @item xdatasource |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1869 @item xlim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1870 @item xliminclude |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1871 @item ydata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1872 The data determining the surface. The @code{xdata} and @code{ydata} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1873 elements are vectors and @code{zdata} must be a matrix. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1874 @item ydatasource |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1875 @item ylim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1876 @item yliminclude |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1877 @item zdata |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1878 The data determining the surface. The @code{xdata} and @code{ydata} |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1879 elements are vectors and @code{zdata} must be a matrix. |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1880 @item zdatasource |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1881 @item zlim |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1882 @item zliminclude |
6889 | 1883 @end table |
1884 | |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
1885 @node Searching Properties |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1886 @subsection Searching Properties |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1887 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1888 @DOCSTRING(findobj) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1889 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7981
diff
changeset
|
1890 @DOCSTRING(findall) |
6891 | 1891 @node Managing Default Properties |
1892 @subsection Managing Default Properties | |
8071 | 1893 @cindex default graphics properties |
1894 @cindex graphics properties, default | |
6891 | 1895 |
6892 | 1896 Object properties have two classes of default values, @dfn{factory |
1897 defaults} (the initial values) and @dfn{user-defined defaults}, which | |
1898 may override the factory defaults. | |
6891 | 1899 |
1900 Although default values may be set for any object, they are set in | |
1901 parent objects and apply to child objects. For example, | |
1902 | |
1903 @example | |
1904 set (0, "defaultlinecolor", "green"); | |
1905 @end example | |
1906 | |
1907 @noindent | |
1908 sets the default line color for all objects. The rule for constructing | |
1909 the property name to set a default value is | |
1910 | |
1911 @example | |
1912 default + @var{object-type} + @var{property-name} | |
1913 @end example | |
1914 | |
1915 This rule can lead to some strange looking names, for example | |
1916 @code{defaultlinelinewidth"} specifies the default @code{linewidth} | |
1917 property for @code{line} objects. | |
1918 | |
1919 The example above used the root figure object, 0, so the default | |
1920 property value will apply to all line objects. However, default values | |
1921 are hierarchical, so defaults set in a figure objects override those | |
1922 set in the root figure object. Likewise, defaults set in axes objects | |
1923 override those set in figure or root figure objects. For example, | |
1924 | |
1925 @example | |
1926 @group | |
1927 subplot (2, 1, 1); | |
1928 set (0, "defaultlinecolor", "red"); | |
1929 set (1, "defaultlinecolor", "green"); | |
1930 set (gca (), "defaultlinecolor", "blue"); | |
1931 line (1:10, rand (1, 10)); | |
1932 subplot (2, 1, 2); | |
1933 line (1:10, rand (1, 10)); | |
1934 figure (2) | |
1935 line (1:10, rand (1, 10)); | |
1936 @end group | |
1937 @end example | |
1938 | |
1939 @noindent | |
1940 produces two figures. The line in first subplot window of the first | |
1941 figure is blue because it inherits its color from its parent axes | |
1942 object. The line in the second subplot window of the first figure is | |
1943 green because it inherits its color from its parent figure object. The | |
1944 line in the second figure window is red because it inherits its color | |
1945 from the global root figure parent object. | |
1946 | |
1947 To remove a user-defined default setting, set the default property to | |
1948 the value @code{"remove"}. For example, | |
1949 | |
1950 @example | |
1951 set (gca (), "defaultlinecolor", "remove"); | |
1952 @end example | |
1953 | |
1954 @noindent | |
1955 removes the user-defined default line color setting from the current axes | |
1956 object. | |
1957 | |
1958 Getting the @code{"default"} property of an object returns a list of | |
1959 user-defined defaults set for the object. For example, | |
1960 | |
1961 @example | |
1962 get (gca (), "default"); | |
1963 @end example | |
1964 | |
1965 @noindent | |
1966 returns a list of user-defined default values for the current axes | |
1967 object. | |
1968 | |
1969 Factory default values are stored in the root figure object. The | |
1970 command | |
1971 | |
1972 @example | |
1973 get (0, "factory"); | |
1974 @end example | |
1975 | |
1976 @noindent | |
1977 returns a list of factory defaults. | |
1978 | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1979 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1980 @node Advanced Plotting |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1981 @section Advanced Plotting |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1982 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1983 @menu |
9676 | 1984 * Colors:: |
1985 * Line Styles:: | |
1986 * Marker Styles:: | |
1987 * Callbacks:: | |
1988 * Object Groups:: | |
1989 * Graphics Backends:: | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1990 @end menu |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1991 |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
1992 |
6889 | 1993 @node Colors |
1994 @subsection Colors | |
8071 | 1995 @cindex graphics colors |
1996 @cindex colors, graphics | |
6889 | 1997 |
1998 Colors may be specified as RGB triplets with values ranging from zero to | |
1999 one, or by name. Recognized color names include @code{"blue"}, | |
2000 @code{"black"}, @code{"cyan"}, @code{"green"}, @code{"magenta"}, | |
2001 @code{"red"}, @code{"white"}, and @code{"yellow"}. | |
2002 | |
2003 @node Line Styles | |
2004 @subsection Line Styles | |
8071 | 2005 @cindex line styles, graphics |
2006 @cindex graphics line styles | |
2007 | |
7001 | 2008 Line styles are specified by the following properties: |
6889 | 2009 |
2010 @table @code | |
2011 @item linestyle | |
2012 May be one of | |
2013 @table @code | |
2014 @item "-" | |
2015 Solid lines. | |
2016 @item "--" | |
2017 Dashed lines. | |
2018 @item ":" | |
2019 Points. | |
2020 @item "-." | |
2021 A dash-dot line. | |
2022 @end table | |
2023 | |
2024 @item linewidth | |
2025 A number specifying the width of the line. The default is 1. A value | |
2026 of 2 is twice as wide as the default, etc. | |
2027 @end table | |
2028 | |
2029 @node Marker Styles | |
2030 @subsection Marker Styles | |
8071 | 2031 @cindex graphics marker styles |
2032 @cindex marker styles, graphics | |
2033 | |
7001 | 2034 Marker styles are specified by the following properties: |
6889 | 2035 @table @code |
2036 @item marker | |
2037 A character indicating a plot marker to be place at each data point, or | |
2038 @code{"none"}, meaning no markers should be displayed. | |
2039 | |
2040 @itemx markeredgecolor | |
2041 The color of the edge around the marker, or @code{"auto"}, meaning that | |
2042 the edge color is the same as the face color. @xref{Colors}. | |
2043 | |
2044 @itemx markerfacecolor | |
2045 The color of the marker, or @code{"none"} to indicate that the marker | |
2046 should not be filled. @xref{Colors}. | |
2047 | |
2048 @itemx markersize | |
2049 A number specifying the size of the marker. The default is 1. A value | |
2050 of 2 is twice as large as the default, etc. | |
6888 | 2051 @end table |
2052 | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2053 @node Callbacks |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2054 @subsection Callbacks |
8071 | 2055 @cindex callbacks |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2056 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2057 Callback functions can be associated with graphics objects and triggered |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2058 after certain events occur. The basic structure of all callback function |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2059 is |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2060 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2061 @example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2062 @group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2063 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
|
2064 @dots{} |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2065 endfunction |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2066 @end group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2067 @end example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2068 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2069 where @code{src} gives a handle to the source of the callback, and |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2070 @code{code} gives some event specific data. This can then be associated |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2071 with an object either at the objects creation or later with the |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2072 @code{set} function. For example |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2073 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2074 @example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2075 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
|
2076 @end example |
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 @noindent |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2079 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
|
2080 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
|
2081 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2082 Additional user arguments can be passed to callback functions, and will |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2083 be passed after the 2 default arguments. For example |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2084 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2085 @example |
9088
77e71f3da3d6
Fix documentation image printing under new development code
Rik <rdrider0-list@yahoo.com>
parents:
9040
diff
changeset
|
2086 @group |
8057 | 2087 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
|
2088 @dots{} |
8057 | 2089 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
|
2090 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
|
2091 endfunction |
9088
77e71f3da3d6
Fix documentation image printing under new development code
Rik <rdrider0-list@yahoo.com>
parents:
9040
diff
changeset
|
2092 @end group |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2093 @end example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2094 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2095 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
|
2096 are |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2097 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2098 @itemize @bullet |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2099 @item CreateFcn |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2100 This is the callback that is called at the moment of the objects |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2101 creation. It is not called if the object is altered in any way, and so |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2102 it only makes sense to define this callback in the function call that |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2103 defines the object. Callbacks that are added to @code{CreateFcn} later with |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2104 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
|
2105 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2106 @item DeleteFcn |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2107 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
|
2108 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2109 @item ButtonDownFcn |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2110 This is the callback that is called if a mouse button is pressed while |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2111 the pointer is over this object. Note, that the gnuplot interface does |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2112 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
|
2113 @end itemize |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2114 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2115 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
|
2116 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
|
2117 functions. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2118 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2119 @DOCSTRING(gcbo) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2120 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2121 @DOCSTRING(gcbf) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2122 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2123 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
|
2124 function described below. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2125 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2126 @node Object Groups |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2127 @subsection Object Groups |
8071 | 2128 @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
|
2129 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2130 A number of Octave high level plot functions return groups of other |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2131 graphics objects or they return graphics objects that have their |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2132 properties linked in such a way that changes to one of the properties |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2133 results in changes in the others. A graphic object that groups other |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2134 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
|
2135 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2136 @DOCSTRING(hggroup) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2137 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2138 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
|
2139 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2140 @example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2141 @group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2142 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
|
2143 hg = hggroup (); |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2144 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
|
2145 hold on |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2146 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
|
2147 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
|
2148 @end group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2149 @end example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2150 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2151 @noindent |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2152 which groups the two plots into a single object and controls their |
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2153 visibility directly. The default properties of an @code{hggroup} are |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2154 the same as the set of common properties for the other graphics |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2155 objects. Additional properties can be added with the @code{addproperty} |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2156 function. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2157 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2158 @DOCSTRING(addproperty) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2159 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2160 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
|
2161 other property of either the children of the group, or any other |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2162 graphics object. Add so to control the way in which this newly added |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2163 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
|
2164 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
|
2165 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2166 @DOCSTRING(addlistener) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2167 |
8817
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
2168 @DOCSTRING(dellistener) |
03b7f618ab3d
include docstrings for new functions in the manual
John W. Eaton <jwe@octave.org>
parents:
8519
diff
changeset
|
2169 |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2170 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
|
2171 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2172 @example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2173 @group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2174 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
|
2175 hg = hggroup (); |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2176 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
|
2177 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
|
2178 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
|
2179 hold on |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2180 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
|
2181 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2182 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
|
2183 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
|
2184 endfunction |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2185 @end group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2186 @end example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2187 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2188 @noindent |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2189 that adds a @code{linestyle} property to the @code{hggroup} and |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2190 propagating any changes its value to the children of the group. The |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2191 @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
|
2192 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2193 @example |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2194 @group |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2195 x = 0:0.1:10; |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2196 hg = hggroup (); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2197 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
|
2198 addproperty ("linestyle", hg, "linelinestyle", get (h, "linestyle")); |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2199 hold on |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2200 h2 = plot (x, cos (x), "color", [0, 1, 0], "parent", hg); |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2201 hlink = linkprop ([hg, h1, h2], "color"); |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2202 @end group |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2203 @end example |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2204 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2205 @DOCSTRING(linkprop) |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2206 |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2207 These capabilities are used in a number of basic graphics objects. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2208 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
|
2209 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
|
2210 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2211 @itemize @bullet |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2212 @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
|
2213 @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
|
2214 @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
|
2215 @end itemize |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2216 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2217 @noindent |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2218 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
|
2219 @code{hggroup} of the stem series contains two line objects representing |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2220 the body and head of the stem. The @code{ydata} property of the |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2221 @code{hggroup} of the stem series represents the head of the stem, |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2222 whereas the body of the stem is between the baseline and this value. For |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2223 example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2224 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2225 @example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2226 @group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2227 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
|
2228 get (h, "xdata") |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2229 @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
|
2230 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
|
2231 @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
|
2232 @end group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2233 @end example |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2234 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2235 @noindent |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2236 shows the difference between the @code{xdata} of the @code{hggroup} |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2237 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
|
2238 |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2239 The basic properties of such group objects is that they consist of one |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2240 or more linked @code{hggroup}, and that changes in certain properties of |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2241 these groups are propagated to other members of the group. Whereas, |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2242 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
|
2243 member. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2244 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2245 In addition the members of the group can also be linked to other |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2246 graphics objects through callback functions. For example the baseline of |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2247 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
|
2248 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
|
2249 corresponding hggroup elements. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2250 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2251 @menu |
9676 | 2252 * Data sources in object groups:: |
2253 * Area series:: | |
2254 * Bar series:: | |
2255 * Contour groups:: | |
2256 * Error bar series:: | |
2257 * Line series:: | |
2258 * Quiver group:: | |
2259 * Scatter group:: | |
2260 * Stair group:: | |
2261 * Stem Series:: | |
2262 * Surface group:: | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2263 @end menu |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2264 |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2265 @node Data sources in object groups |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2266 @subsubsection Data sources in object groups |
8071 | 2267 @cindex data sources in object groups |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2268 @anchor{doc-datasources} |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2269 All of the group objects contain data source parameters. There are |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2270 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
|
2271 the relevant data property of the group when the @code{refreshdata} |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2272 function is called. |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2273 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2274 @DOCSTRING(refreshdata) |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2275 |
8286
6f2d95255911
fix @seealso references to point to existing anchors
Thorsten Meyer <thorsten.meyier@gmx.de>
parents:
8261
diff
changeset
|
2276 @anchor{doc-linkdata} |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2277 @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
|
2278 @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
|
2279 @c command |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2280 |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2281 @node Area series |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2282 @subsubsection Area series |
8071 | 2283 @cindex series objects |
2284 @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
|
2285 |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2286 Area series objects are created by the @code{area} function. Each of the |
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2287 @code{hggroup} elements contains a single patch object. The properties |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2288 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
|
2289 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2290 @table @code |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2291 @item basevalue |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2292 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
|
2293 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2294 @item linewidth |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2295 @itemx linestyle |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2296 The line width and style of the edge of the patch objects making up the |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2297 areas. @xref{Line Styles}. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2298 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2299 @item edgecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2300 @itemx facecolor |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2301 The line and fill color of the patch objects making up the areas. @xref{Colors}. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2302 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2303 @item xdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2304 @itemx ydata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2305 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
|
2306 @code{area} prior to the cumulative summation used in the @code{area} |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2307 function. |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2308 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2309 @item xdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2310 @itemx ydatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2311 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
|
2312 @end table |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2313 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2314 @node Bar series |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2315 @subsubsection Bar series |
8071 | 2316 @cindex series objects |
2317 @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
|
2318 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2319 Bar series objects are created by the @code{bar} or @code{barh} |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2320 functions. Each @code{hggroup} element contains a single patch object. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2321 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
|
2322 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2323 @table @code |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2324 @item showbaseline |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2325 @itemx baseline |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2326 @itemx basevalue |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2327 The property @code{showbaseline} flags whether the baseline of the bar |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2328 series is displayed (default is "on"). The handle of the graphics object |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2329 representing the baseline is given by the @code{baseline} property and |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2330 the y-value of the baseline by the @code{basevalue} property. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2331 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2332 Changes to any of these property are propagated to the other members of |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2333 the bar series and to the baseline itself. Equally changes in the |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2334 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
|
2335 corresponding bar series. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2336 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2337 @item barwidth |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2338 @itemx barlayout |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2339 @itemx horizontal |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2340 The property @code{barwidth} is the width of the bar corresponding to |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2341 the @var{width} variable passed to @code{bar} or @var{barh}. Whether the |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2342 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
|
2343 @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
|
2344 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
|
2345 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2346 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
|
2347 the bar series. |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2348 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2349 @item linewidth |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2350 @itemx linestyle |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2351 The line width and style of the edge of the patch objects making up the |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2352 bars. @xref{Line Styles}. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2353 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2354 @item edgecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2355 @itemx facecolor |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2356 The line and fill color of the patch objects making up the bars. @xref{Colors}. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2357 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2358 @item xdata |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2359 The nominal x positions of the bars. Changes in this property and |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2360 propagated to the other members of the bar series. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2361 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2362 @item ydata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2363 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
|
2364 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2365 @item xdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2366 @itemx ydatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2367 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
|
2368 @end table |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2369 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2370 @node Contour groups |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2371 @subsubsection Contour groups |
8071 | 2372 @cindex series objects |
2373 @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
|
2374 |
8289
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2375 Contour group objects are created by the @code{contour}, @code{contourf} |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2376 and @code{contour3} functions. The are equally one of the handles returned |
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2377 by the @code{surfc} and @code{meshc} functions. The properties of the contour |
8289
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2378 group are |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2379 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2380 @table @code |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2381 @item contourmatrix |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2382 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
|
2383 create the contours of the plot. |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2384 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2385 @item fill |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2386 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
|
2387 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
|
2388 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2389 @item zlevelmode |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2390 @itemx zlevel |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2391 The radio property @code{zlevelmode} can have the values "none", "auto" or |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2392 "manual". When its value is "none" there is no z component to the plotted |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2393 contours. When its value is "auto" the z value of the plotted contours is |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2394 at the same value as the contour itself. If the value is "manual", then the |
8289
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2395 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
|
2396 property. |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2397 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2398 @item levellistmode |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2399 @itemx levellist |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2400 @itemx levelstepmode |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2401 @itemx levelstep |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2402 If @code{levellistmode} is "manual", then the levels at which to plot the |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2403 contours is determined by @code{levellist}. If @code{levellistmode} is |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2404 set to "auto", then the distance between contours is determined by |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2405 @code{levelstep}. If both @code{levellistmode} and @code{levelstepmode} |
8289
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2406 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
|
2407 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2408 @item textlistmode |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2409 @itemx textlist |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2410 @itemx textstepmode |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2411 @itemx textstep |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2412 If @code{textlistmode} is "manual", then the labeled contours |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2413 is determined by @code{textlist}. If @code{textlistmode} is set to |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2414 "auto", then the distance between labeled contours is determined by |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2415 @code{textstep}. If both @code{textlistmode} and @code{textstepmode} |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2416 are set to "auto", then there are assumed to be 10 equal spaced |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2417 labeled contours. |
8289
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2418 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2419 @item showtext |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2420 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
|
2421 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2422 @item labelspacing |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2423 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
|
2424 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2425 @item linewidth |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2426 @item linestyle |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2427 @item linecolor |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2428 The properties of the contour lines. The properties @code{linewidth} and |
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2429 @code{linestyle} are similar to the corresponding properties for lines. The |
8297 | 2430 property @code{linecolor} is a color property (@pxref{Colors}), that can also |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2431 have the values of "none" or "auto". If @code{linecolor} is "none", then no |
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2432 contour line is drawn. If @code{linecolor} is "auto" then the line color is |
8289
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2433 determined by the colormap. |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2434 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2435 @item xdata |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2436 @itemx ydata |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2437 @itemx zdata |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2438 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
|
2439 |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2440 @item xdatasource |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2441 @itemx ydatasource |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2442 @itemx zdatasource |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2443 Data source variables. |
ac7f334d9652
Add contour group objects and the clabel function
David Bateman <dbateman@free.fr>
parents:
8286
diff
changeset
|
2444 @end table |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2445 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2446 @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
|
2447 @subsubsection Error bar series |
8071 | 2448 @cindex series objects |
2449 @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
|
2450 |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2451 Error bar series are created by the @code{errorbar} function. Each |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2452 @code{hggroup} element contains two line objects representing the data and |
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2453 the errorbars separately. The properties of the error bar series are |
8258 | 2454 |
2455 @table @code | |
2456 @item color | |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2457 The RGB color or color name of the line objects of the error bars. @xref{Colors}. |
8258 | 2458 |
2459 @item linewidth | |
2460 @itemx linestyle | |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2461 The line width and style of the line objects of the error bars. @xref{Line Styles}. |
8258 | 2462 |
2463 @item marker | |
2464 @itemx markeredgecolor | |
2465 @itemx markerfacecolor | |
2466 @itemx markersize | |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2467 The line and fill color of the markers on the error bars. @xref{Colors}. |
8258 | 2468 |
2469 @item xdata | |
2470 @itemx ydata | |
2471 @itemx ldata | |
2472 @itemx udata | |
2473 @itemx xldata | |
2474 @itemx xudata | |
2475 The original x, y, l, u, xl, xu data of the error bars. | |
2476 | |
2477 @item xdatasource | |
2478 @itemx ydatasource | |
2479 @itemx ldatasource | |
2480 @itemx udatasource | |
2481 @itemx xldatasource | |
2482 @itemx xudatasource | |
2483 Data source variables. | |
2484 @end table | |
2485 | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2486 @node Line series |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2487 @subsubsection Line series |
8071 | 2488 @cindex series objects |
2489 @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
|
2490 |
8257 | 2491 Line series objects are created by the @code{plot} and @code{plot3} |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2492 functions and are of the type @code{line}. The properties of the |
8257 | 2493 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
|
2494 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2495 @table @code |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2496 @item color |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2497 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
|
2498 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2499 @item linewidth |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2500 @itemx linestyle |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2501 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
|
2502 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2503 @item marker |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2504 @itemx markeredgecolor |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2505 @itemx markerfacecolor |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2506 @itemx markersize |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2507 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
|
2508 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2509 @item xdata |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2510 @itemx ydata |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2511 @itemx zdata |
8257 | 2512 The original x, y and z data. |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2513 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2514 @item xdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2515 @itemx ydatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2516 @itemx zdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2517 Data source variables. |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2518 @end table |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2519 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2520 @node Quiver group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2521 @subsubsection Quiver group |
8071 | 2522 @cindex group objects |
2523 @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
|
2524 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2525 Quiver series objects are created by the @code{quiver} or @code{quiver3} |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2526 functions. Each @code{hggroup} element of the series contains three line |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2527 objects as children representing the body and head of the arrow, |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2528 together with a marker as the point of original of the arrows. The |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2529 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
|
2530 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2531 @table @code |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2532 @item autoscale |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2533 @itemx autoscalefactor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2534 Flag whether the length of the arrows is scaled or defined directly from |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2535 the @var{u}, @var{v} and @var{w} data. If the arrow length is flagged |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2536 as being scaled by the @code{autoscale} property, then the length of the |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2537 autoscaled arrow is controlled by the @code{autoscalefactor}. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2538 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2539 @item maxheadsize |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2540 This property controls the size of the head of the arrows in the quiver |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2541 series. The default value is 0.2. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2542 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2543 @item showarrowhead |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2544 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
|
2545 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2546 @item color |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2547 The RGB color or color name of the line objects of the quiver. @xref{Colors}. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2548 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2549 @item linewidth |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2550 @itemx linestyle |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2551 The line width and style of the line objects of the quiver. @xref{Line Styles}. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2552 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2553 @item marker |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2554 @itemx markerfacecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2555 @itemx markersize |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2556 The line and fill color of the marker objects at the original of the |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2557 arrows. @xref{Colors}. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2558 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2559 @item xdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2560 @itemx ydata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2561 @itemx zdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2562 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
|
2563 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2564 @item udata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2565 @itemx vdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2566 @itemx wdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2567 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
|
2568 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2569 @item xdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2570 @itemx ydatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2571 @itemx zdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2572 @itemx udatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2573 @itemx vdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2574 @itemx wdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2575 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
|
2576 @end table |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2577 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2578 @node Scatter group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2579 @subsubsection Scatter group |
8071 | 2580 @cindex group objects |
2581 @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
|
2582 |
8257 | 2583 Scatter series objects are created by the @code{scatter} or @code{scatter3} |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2584 functions. A single hggroup element contains as many children as there are |
8257 | 2585 points in the scatter plot, with each child representing one of the points. |
2586 The properties of the stem series are | |
2587 | |
2588 @table @code | |
2589 @item linewidth | |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2590 The line width of the line objects of the points. @xref{Line Styles}. |
8257 | 2591 |
2592 @item marker | |
2593 @itemx markeredgecolor | |
2594 @itemx markerfacecolor | |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2595 The line and fill color of the markers of the points. @xref{Colors}. |
8257 | 2596 |
2597 @item xdata | |
2598 @itemx ydata | |
2599 @itemx zdata | |
2600 The original x, y and z data of the stems. | |
2601 | |
2602 @item cdata | |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2603 The color data for the points of the plot. Each point can have a separate |
8257 | 2604 color, or a unique color can be specified. |
2605 | |
2606 @item sizedata | |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2607 The size data for the points of the plot. Each point can its own size or a |
8257 | 2608 unique size can be specified. |
2609 | |
2610 @item xdatasource | |
2611 @itemx ydatasource | |
2612 @itemx zdatasource | |
2613 @itemx cdatasource | |
2614 @itemx sizedatasource | |
2615 Data source variables. | |
2616 @end table | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2617 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2618 @node Stair group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2619 @subsubsection Stair group |
8071 | 2620 @cindex group objects |
2621 @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
|
2622 |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2623 Stair series objects are created by the @code{stair} function. Each |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2624 @code{hggroup} element of the series contains a single line object as a |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2625 child representing the stair. The properties of the stair series are |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2626 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2627 @table @code |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2628 @item color |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2629 The RGB color or color name of the line objects of the stairs. @xref{Colors}. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2630 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2631 @item linewidth |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2632 @itemx linestyle |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2633 The line width and style of the line objects of the stairs. @xref{Line Styles}. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2634 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2635 @item marker |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2636 @itemx markeredgecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2637 @itemx markerfacecolor |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2638 @itemx markersize |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2639 The line and fill color of the markers on the stairs. @xref{Colors}. |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2640 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2641 @item xdata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2642 @itemx ydata |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2643 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
|
2644 |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2645 @item xdatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2646 @itemx ydatasource |
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2647 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
|
2648 @end table |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2649 |
8073 | 2650 @node Stem Series |
2651 @subsubsection Stem Series | |
2652 @cindex series objects | |
2653 @cindex stem series | |
2654 | |
8257 | 2655 Stem series objects are created by the @code{stem} or @code{stem3} |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2656 functions. Each @code{hggroup} element contains a single line object |
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2657 as a child representing the stems. The properties of the stem series |
8257 | 2658 are |
2659 | |
2660 @table @code | |
2661 @item showbaseline | |
2662 @itemx baseline | |
2663 @itemx basevalue | |
2664 The property @code{showbaseline} flags whether the baseline of the | |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2665 stem series is displayed (default is "on"). The handle of the graphics |
8257 | 2666 object representing the baseline is given by the @code{baseline} |
2667 property and the y-value (or z-value for @code{stem3}) of the baseline | |
2668 by the @code{basevalue} property. | |
2669 | |
2670 Changes to any of these property are propagated to the other members of | |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2671 the stem series and to the baseline itself. Equally changes in the |
8257 | 2672 properties of the base line itself are propagated to the members of the |
2673 corresponding stem series. | |
2674 | |
2675 @item color | |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2676 The RGB color or color name of the line objects of the stems. @xref{Colors}. |
8257 | 2677 |
2678 @item linewidth | |
2679 @itemx linestyle | |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2680 The line width and style of the line objects of the stems. @xref{Line Styles}. |
8257 | 2681 |
2682 @item marker | |
2683 @itemx markeredgecolor | |
2684 @itemx markerfacecolor | |
2685 @itemx markersize | |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2686 The line and fill color of the markers on the stems. @xref{Colors}. |
8257 | 2687 |
2688 @item xdata | |
2689 @itemx ydata | |
2690 @itemx zdata | |
2691 The original x, y and z data of the stems. | |
2692 | |
2693 @item xdatasource | |
2694 @itemx ydatasource | |
2695 @itemx zdatasource | |
2696 Data source variables. | |
2697 @end table | |
8073 | 2698 |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2699 @node Surface group |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2700 @subsubsection Surface group |
8071 | 2701 @cindex group objects |
2702 @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
|
2703 |
8257 | 2704 Surface group objects are created by the @code{surf} or @code{mesh} |
2705 functions, but are equally one of the handles returned by the @code{surfc} | |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2706 or @code{meshc} functions. The surface group is of the type @code{surface}. |
8257 | 2707 |
2708 The properties of the surface group are | |
2709 | |
2710 @table @code | |
2711 @item edgecolor | |
2712 @item facecolor | |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2713 The RGB color or color name of the edges or faces of the surface. @xref{Colors}. |
8257 | 2714 |
2715 @item linewidth | |
2716 @itemx linestyle | |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2717 The line width and style of the lines on the surface. @xref{Line Styles}. |
8257 | 2718 |
2719 @item marker | |
2720 @itemx markeredgecolor | |
2721 @itemx markerfacecolor | |
2722 @itemx markersize | |
9040
dbd0c77e575e
Cleanup documentation file plot.texi
Rik <rdrider0-list@yahoo.com>
parents:
9032
diff
changeset
|
2723 The line and fill color of the markers on the surface. @xref{Colors}. |
8257 | 2724 |
2725 @item xdata | |
2726 @itemx ydata | |
2727 @itemx zdata | |
2728 @item cdata | |
2729 The original x, y, z and c data. | |
2730 | |
2731 @item xdatasource | |
2732 @itemx ydatasource | |
2733 @itemx zdatasource | |
2734 @itemx cdatasource | |
2735 Data source variables. | |
2736 @end table | |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2737 |
9672
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2738 @node Graphics Backends |
43a07df0ed4c
document graphics structures
Michael D. Godfrey <godfrey@isl.stanford.edu>
parents:
9316
diff
changeset
|
2739 @subsection Graphics Backends |
8071 | 2740 @cindex graphics backends |
2741 @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
|
2742 |
8519 | 2743 @DOCSTRING(backend) |
8070
3b53b25e2550
Add data sources and line series
David Bateman <dbateman@free.fr>
parents:
8057
diff
changeset
|
2744 |
8056
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2745 @DOCSTRING(available_backends) |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2746 |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2747 @menu |
9676 | 2748 * 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
|
2749 @end menu |
9a6f4713f765
Add area, bar, quiver and stair series graphics objects. Document them
David Bateman <dbateman@free.fr>
parents:
8055
diff
changeset
|
2750 |
4167 | 2751 @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
|
2752 @subsubsection Interaction with @code{gnuplot} |
8071 | 2753 @cindex gnuplot interaction |
3428 | 2754 |
2755 @DOCSTRING(gnuplot_binary) |