File: plot-rootproperties.texi

package info (click to toggle)
octave 10.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 145,388 kB
  • sloc: cpp: 335,976; ansic: 82,241; fortran: 20,963; objc: 9,402; sh: 8,756; yacc: 4,392; lex: 4,333; perl: 1,544; java: 1,366; awk: 1,259; makefile: 659; xml: 192
file content (262 lines) | stat: -rw-r--r-- 8,657 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
@c DO NOT EDIT!  Generated automatically by genpropdoc.m.

@c Copyright (C) 2014-2025 The Octave Project Developers
@c
@c See the file COPYRIGHT.md in the top-level directory of this
@c distribution or <https://octave.org/copyright/>.
@c
@c This file is part of Octave.
@c
@c Octave is free software: you can redistribute it and/or modify it
@c under the terms of the GNU General Public License as published by
@c the Free Software Foundation, either version 3 of the License, or
@c (at your option) any later version.
@c
@c Octave is distributed in the hope that it will be useful, but
@c WITHOUT ANY WARRANTY; without even the implied warranty of
@c MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
@c GNU General Public License for more details.
@c
@c You should have received a copy of the GNU General Public License
@c along with Octave; see the file COPYING.  If not, see
@c <https://www.gnu.org/licenses/>.

Properties of the root graphics object:

@subsubheading Categories:

@ref{XREFrootcategoryCallbackExecution, , @w{Callback Execution}}@: | @ref{XREFrootcategoryCommandWindowDisplay, , @w{Command Window Display}}@: | @ref{XREFrootcategoryMouseInteraction, , @w{Mouse Interaction}}@: | @ref{XREFrootcategoryObjectIdentification, , @w{Object Identification}}@: | @ref{XREFrootcategoryParent/Children, , @w{Parent/Children}}@: | @ref{XREFrootcategoryPointerInformation, , @w{Pointer Information}}@: | @ref{XREFrootcategoryScreenInformation, , @w{Screen Information}}@: | @ref{XREFrootcategoryUnused, , @w{Unused}}@: 

@anchor{XREFrootcategoryCallbackExecution}
@subsubheading Callback Execution

@table @asis

@anchor{XREFrootcallbackobject}
@prindex root callbackobject
@item @code{callbackobject} (read-only): graphics handle, def. @code{[](0x0)}
Graphics handle of the current object whose callback is executing.

@end table

@anchor{XREFrootcategoryCommandWindowDisplay}
@subsubheading Command Window Display

@table @asis

@anchor{XREFrootcommandwindowsize}
@prindex root commandwindowsize
@item @code{commandwindowsize} (read-only): two-element vector, def. @code{[0   0]}
The number of columns and rows displayed in a newly created command window.


@anchor{XREFrootfixedwidthfontname}
@prindex root fixedwidthfontname
@item @code{fixedwidthfontname}: string, def. @qcode{"Courier"}
Name of the fixed-width font that will be used for graphics objects when the @qcode{"fontname"} property is set to @qcode{"FixedWidth"}.

@end table

@anchor{XREFrootcategoryMouseInteraction}
@subsubheading Mouse Interaction

@table @asis

@anchor{XREFrootcontextmenu}
@prindex root contextmenu
@item @code{contextmenu}: graphics handle, def. @code{[](0x0)}
Graphics handle of the uicontextmenu object that is currently associated to this root object.

@end table

@anchor{XREFrootcategoryObjectIdentification}
@subsubheading Object Identification

@table @asis

@anchor{XREFrootcurrentfigure}
@prindex root currentfigure
@item @code{currentfigure}: graphics handle, def. @code{[](0x0)}
Graphics handle of the current figure.


@anchor{XREFroottag}
@prindex root tag
@item @code{tag}: string, def. @qcode{""}
A user-defined string to label the graphics object.


@anchor{XREFroottype}
@prindex root type
@item @code{type} (read-only): string
Class name of the graphics object.  @code{type} is always @qcode{"root"}.


@anchor{XREFrootuserdata}
@prindex root userdata
@item @code{userdata}: Any Octave data, def. @code{[](0x0)}
User-defined data to associate with the graphics object.

@end table

@anchor{XREFrootcategoryParent/Children}
@subsubheading Parent/Children

@table @asis

@anchor{XREFrootchildren}
@prindex root children
@item @code{children} (read-only): vector of graphics handles, def. @code{[](0x1)}
Graphics handles of the root's children.


@anchor{XREFroothandlevisibility}
@prindex root handlevisibility
@item @code{handlevisibility}: @qcode{"callback"} | @qcode{"off"} | @{@qcode{"on"}@}
The root object handle is always visible.  Changing this setting to @qcode{"callback"} or @qcode{"off"} has no effect.


@anchor{XREFrootparent}
@prindex root parent
@item @code{parent}: graphics handle, def. @code{[](0x0)}
Root object has no parent graphics object.  @code{parent} is always empty.


@anchor{XREFrootshowhiddenhandles}
@prindex root showhiddenhandles
@item @code{showhiddenhandles}: @{@qcode{"off"}@} | @qcode{"on"}
If @code{showhiddenhandles} is @qcode{"on"}, all graphics objects handles are visible in their parents' children list, regardless of the value of their @code{handlevisibility} property.

@end table

@anchor{XREFrootcategoryPointerInformation}
@subsubheading Pointer Information

@table @asis

@anchor{XREFrootpointerlocation}
@prindex root pointerlocation
@item @code{pointerlocation}: two-element vector, def. @code{[0   0]}
Global pointer location         tracking is not yet implemented for root objects.  @code{pointerlocation} is unused.  @code{pointerlocation} for root objects will always be         [0 0].


@anchor{XREFrootpointerwindow}
@prindex root pointerwindow
@item @code{pointerwindow} (read-only): graphics handle, def. @code{0}
Pointer window tracking is not yet implemented for root objects.  @code{pointerwindow} is unused.  @code{pointerwindow} value for root objects will always be 0.

@end table

@anchor{XREFrootcategoryScreenInformation}
@subsubheading Screen Information

@table @asis

@anchor{XREFrootmonitorpositions}
@prindex root monitorpositions
@item @code{monitorpositions} (read-only): four-element vector
Reports the width and height of connected monitors.  Note: Octave only partially implements @code{monitorpositions}.  Only information about the primary monitor is stored in @code{monitorpositions} which is the same information stored in the @ref{XREFrootscreensize, , @w{@qcode{"screensize"} property}}.


@anchor{XREFrootscreendepth}
@prindex root screendepth
@item @code{screendepth} (read-only): double
Color depth in bits per pixel of the display.


@anchor{XREFrootscreenpixelsperinch}
@prindex root screenpixelsperinch
@item @code{screenpixelsperinch} (read-only): double
The screen resolution of the primary display in units of pixels per inch.


@anchor{XREFrootscreensize}
@prindex root screensize
@item @code{screensize} (read-only): four-element vector
Size of the primary display represented as the four-element vector [left, bottom, width, height].


@anchor{XREFrootunits}
@prindex root units
@item @code{units}: @qcode{"centimeters"} | @qcode{"characters"} | @qcode{"inches"} | @qcode{"normalized"} | @{@qcode{"pixels"}@} | @qcode{"points"}
The unit type used for the @ref{XREFrootmonitorpositions, , @qcode{"monitorpositions"}}, @ref{XREFrootpointerlocation, , @qcode{"pointerlocation"}}, and @ref{XREFrootscreensize, , @qcode{"screensize"}} properties.

@end table

@anchor{XREFrootcategoryUnused}
@subsubheading Unused

@table @asis

@anchor{XREFrootbeingdeleted}
@prindex root beingdeleted
@item @code{beingdeleted}: @{@qcode{"off"}@} | @qcode{"on"}
@code{beingdeleted} is unused.


@anchor{XREFrootbusyaction}
@prindex root busyaction
@item @code{busyaction}: @qcode{"cancel"} | @{@qcode{"queue"}@}
@code{busyaction} is unused.


@anchor{XREFrootbuttondownfcn}
@prindex root buttondownfcn
@item @code{buttondownfcn}: string | function handle, def. @code{[](0x0)}
@code{buttondownfcn} is unused.


@anchor{XREFrootclipping}
@prindex root clipping
@item @code{clipping}: @qcode{"off"} | @{@qcode{"on"}@}
@code{clipping} is unused.


@anchor{XREFrootcreatefcn}
@prindex root createfcn
@item @code{createfcn}: string | function handle, def. @code{[](0x0)}
@code{createfcn} is unused.


@anchor{XREFrootdeletefcn}
@prindex root deletefcn
@item @code{deletefcn}: string | function handle, def. @code{[](0x0)}
@code{deletefcn} is unused.


@anchor{XREFroothittest}
@prindex root hittest
@item @code{hittest}: @qcode{"off"} | @{@qcode{"on"}@}
@code{hittest} is unused.


@anchor{XREFrootinterruptible}
@prindex root interruptible
@item @code{interruptible}: @qcode{"off"} | @{@qcode{"on"}@}
@code{interruptible} is unused.


@anchor{XREFrootpickableparts}
@prindex root pickableparts
@item @code{pickableparts}: @qcode{"all"} | @qcode{"none"} | @{@qcode{"visible"}@}
@code{pickableparts} is unused.


@anchor{XREFrootselected}
@prindex root selected
@item @code{selected}: @{@qcode{"off"}@} | @qcode{"on"}
@code{selected} is unused.


@anchor{XREFrootselectionhighlight}
@prindex root selectionhighlight
@item @code{selectionhighlight}: @qcode{"off"} | @{@qcode{"on"}@}
@code{selectionhighlight} is unused.


@anchor{XREFrootvisible}
@prindex root visible
@item @code{visible}: @qcode{"off"} | @{@qcode{"on"}@}
@code{visible} is unused.

@end table