File: Line-Properties.html

package info (click to toggle)
octave 6.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 124,192 kB
  • sloc: cpp: 322,665; ansic: 68,088; fortran: 20,980; objc: 8,121; sh: 7,719; yacc: 4,266; lex: 4,123; perl: 1,530; java: 1,366; awk: 1,257; makefile: 424; xml: 147
file content (279 lines) | stat: -rw-r--r-- 14,774 bytes parent folder | download
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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Line Properties (GNU Octave (version 6.2.0))</title>

<meta name="description" content="Line Properties (GNU Octave (version 6.2.0))">
<meta name="keywords" content="Line Properties (GNU Octave (version 6.2.0))">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<link href="index.html" rel="start" title="Top">
<link href="Concept-Index.html" rel="index" title="Concept Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Graphics-Object-Properties.html" rel="up" title="Graphics Object Properties">
<link href="Text-Properties.html" rel="next" title="Text Properties">
<link href="Legend-Properties.html" rel="prev" title="Legend Properties">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>
<link rel="stylesheet" type="text/css" href="octave.css">


</head>

<body lang="en">
<span id="Line-Properties"></span><div class="header">
<p>
Next: <a href="Text-Properties.html" accesskey="n" rel="next">Text Properties</a>, Previous: <a href="Legend-Properties.html" accesskey="p" rel="prev">Legend Properties</a>, Up: <a href="Graphics-Object-Properties.html" accesskey="u" rel="up">Graphics Object Properties</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<span id="Line-Properties-1"></span><h4 class="subsubsection">15.3.3.5 Line Properties</h4>
<span id="index--Line-PropertiesLine-Properties"></span>



<p>Properties of <code>line</code> objects (see <a href="Graphics-Objects.html#XREFline">line</a>):
</p>
<dl compact="compact">
<dd>
<span id="XREFlinebeingdeleted"></span><span id="index-line-beingdeleted"></span>
</dd>
<dt><code>beingdeleted</code>: {<code>&quot;off&quot;</code>} | <code>&quot;on&quot;</code></dt>
<dd>


<span id="XREFlinebusyaction"></span><span id="index-line-busyaction"></span>
</dd>
<dt><code>busyaction</code>: <code>&quot;cancel&quot;</code> | {<code>&quot;queue&quot;</code>}</dt>
<dd><p>Define how Octave handles the execution of this object&rsquo;s callback properties when it is unable to interrupt another object&rsquo;s executing callback.  This is only relevant when the currently executing callback object has its <code>interruptible</code> property set to <code>&quot;off&quot;</code>.  The <code>busyaction</code> property of the interrupting callback object indicates whether the interrupting callback is queued (<code>&quot;queue&quot;</code> (default)) or discarded (<code>&quot;cancel&quot;</code>).
See <a href="Callbacks.html">Callbacks&nbsp;section<!-- /@w --></a>.
</p>

<span id="XREFlinebuttondownfcn"></span><span id="index-line-buttondownfcn"></span>
</dd>
<dt><code>buttondownfcn</code>: string | function handle, def. <code>[](0x0)</code></dt>
<dd><p>For information on how to write graphics listener functions see <a href="Callbacks.html">Callbacks&nbsp;section<!-- /@w --></a>.
</p>

<span id="XREFlinechildren"></span><span id="index-line-children"></span>
</dd>
<dt><code>children</code> (read-only): vector of graphics handles, def. <code>[](0x1)</code></dt>
<dd><p><code>children</code> is unused.
</p>

<span id="XREFlineclipping"></span><span id="index-line-clipping"></span>
</dd>
<dt><code>clipping</code>: <code>&quot;off&quot;</code> | {<code>&quot;on&quot;</code>}</dt>
<dd><p>If <code>clipping</code> is <code>&quot;on&quot;</code>, the line is clipped in its parent axes limits.
</p>

<span id="XREFlinecolor"></span><span id="index-line-color"></span>
</dd>
<dt><code>color</code>: colorspec, def. <code>[0   0   0]</code></dt>
<dd><p>Color of the line object.  See <a href="Colors.html">colorspec</a>.
</p>

<span id="XREFlinecreatefcn"></span><span id="index-line-createfcn"></span>
</dd>
<dt><code>createfcn</code>: string | function handle, def. <code>[](0x0)</code></dt>
<dd><p>Callback function executed immediately after line has been created.  Function is set by using default property on root object, e.g., <code>set (groot, &quot;defaultlinecreatefcn&quot;, 'disp (&quot;line created!&quot;)')</code>.
</p>
<p>For information on how to write graphics listener functions see <a href="Callbacks.html">Callbacks&nbsp;section<!-- /@w --></a>.
</p>

<span id="XREFlinedeletefcn"></span><span id="index-line-deletefcn"></span>
</dd>
<dt><code>deletefcn</code>: string | function handle, def. <code>[](0x0)</code></dt>
<dd><p>Callback function executed immediately before line is deleted.
</p>
<p>For information on how to write graphics listener functions see <a href="Callbacks.html">Callbacks&nbsp;section<!-- /@w --></a>.
</p>

<span id="XREFlinedisplayname"></span><span id="index-line-displayname"></span>
</dd>
<dt><code>displayname</code>: string | cell array of strings, def. <code>&quot;&quot;</code></dt>
<dd><p>Text for the legend entry corresponding to this line.
</p>

<span id="XREFlinehandlevisibility"></span><span id="index-line-handlevisibility"></span>
</dd>
<dt><code>handlevisibility</code>: <code>&quot;callback&quot;</code> | <code>&quot;off&quot;</code> | {<code>&quot;on&quot;</code>}</dt>
<dd><p>If <code>handlevisibility</code> is <code>&quot;off&quot;</code>, the line&rsquo;s handle is not visible in its parent&rsquo;s &quot;children&quot; property.
</p>

<span id="XREFlinehittest"></span><span id="index-line-hittest"></span>
</dd>
<dt><code>hittest</code>: <code>&quot;off&quot;</code> | {<code>&quot;on&quot;</code>}</dt>
<dd><p>Specify whether line processes mouse events or passes them to ancestors of the object.  When enabled, the object may respond to mouse clicks by evaluating the <code>&quot;buttondownfcn&quot;</code>, showing the uicontextmenu, and eventually becoming the root <code>&quot;currentobject&quot;</code>.  This property is only relevant when the object can accept mouse clicks which is determined by the <code>&quot;pickableparts&quot;</code> property.  See <a href="#XREFlinepickableparts">pickableparts&nbsp;property<!-- /@w --></a>.
</p>

<span id="XREFlineinterruptible"></span><span id="index-line-interruptible"></span>
</dd>
<dt><code>interruptible</code>: <code>&quot;off&quot;</code> | {<code>&quot;on&quot;</code>}</dt>
<dd><p>Specify whether this object&rsquo;s callback functions may be interrupted by other callbacks.  By default <code>interruptible</code> is <code>&quot;on&quot;</code> and callbacks that make use of <code>drawnow</code>, <code>figure</code>, <code>waitfor</code>, <code>getframe</code> or <code>pause</code> functions are eventually interrupted.
See <a href="Callbacks.html">Callbacks&nbsp;section<!-- /@w --></a>.
</p>

<span id="XREFlinelinejoin"></span><span id="index-line-linejoin"></span>
</dd>
<dt><code>linejoin</code>: <code>&quot;chamfer&quot;</code> | <code>&quot;miter&quot;</code> | {<code>&quot;round&quot;</code>}</dt>
<dd><p>Control the shape of the junction of line segments. This property currently only affects the printed output.
</p>

<span id="XREFlinelinestyle"></span><span id="index-line-linestyle"></span>
</dd>
<dt><code>linestyle</code>: {<code>&quot;-&quot;</code>} | <code>&quot;--&quot;</code> | <code>&quot;-.&quot;</code> | <code>&quot;:&quot;</code> | <code>&quot;none&quot;</code></dt>
<dd><p>See <a href="Line-Styles.html">Line Styles</a>.
</p>

<span id="XREFlinelinewidth"></span><span id="index-line-linewidth"></span>
</dd>
<dt><code>linewidth</code>: def. <code>0.5000</code></dt>
<dd><p>Width of the line object measured in points.
</p>

<span id="XREFlinemarker"></span><span id="index-line-marker"></span>
</dd>
<dt><code>marker</code>: <code>&quot;*&quot;</code> | <code>&quot;+&quot;</code> | <code>&quot;.&quot;</code> | <code>&quot;&lt;&quot;</code> | <code>&quot;&gt;&quot;</code> | <code>&quot;^&quot;</code> | <code>&quot;d&quot;</code> | <code>&quot;diamond&quot;</code> | <code>&quot;h&quot;</code> | <code>&quot;hexagram&quot;</code> | {<code>&quot;none&quot;</code>} | <code>&quot;o&quot;</code> | <code>&quot;p&quot;</code> | <code>&quot;pentagram&quot;</code> | <code>&quot;s&quot;</code> | <code>&quot;square&quot;</code> | <code>&quot;v&quot;</code> | <code>&quot;x&quot;</code></dt>
<dd><p>Shape of the marker for each data point.  See <a href="Marker-Styles.html">Marker Styles</a>.
</p>

<span id="XREFlinemarkeredgecolor"></span><span id="index-line-markeredgecolor"></span>
</dd>
<dt><code>markeredgecolor</code>: {<code>&quot;auto&quot;</code>} | <code>&quot;none&quot;</code></dt>
<dd><p>Color of the edge of the markers.  When set to <code>&quot;auto&quot;</code>, the marker edges have the same color as the line.  If set to <code>&quot;none&quot;</code>, no marker edges are displayed.  This property can also be set to any color.  See <a href="Colors.html">colorspec</a>.
</p>

<span id="XREFlinemarkerfacecolor"></span><span id="index-line-markerfacecolor"></span>
</dd>
<dt><code>markerfacecolor</code>: <code>&quot;auto&quot;</code> | {<code>&quot;none&quot;</code>}</dt>
<dd><p>Color of the face of the markers.  When set to <code>&quot;auto&quot;</code>, the marker faces have the same color as the line.  If set to <code>&quot;none&quot;</code>, the marker faces are not displayed.  This property can also be set to any color.  See <a href="Colors.html">colorspec</a>.
</p>

<span id="XREFlinemarkersize"></span><span id="index-line-markersize"></span>
</dd>
<dt><code>markersize</code>: scalar, def. <code>6</code></dt>
<dd><p>Size of the markers measured in points.
</p>

<span id="XREFlineparent"></span><span id="index-line-parent"></span>
</dd>
<dt><code>parent</code>: graphics handle</dt>
<dd><p>Handle of the parent graphics object.
</p>

<span id="XREFlinepickableparts"></span><span id="index-line-pickableparts"></span>
</dd>
<dt><code>pickableparts</code>: <code>&quot;all&quot;</code> | <code>&quot;none&quot;</code> | {<code>&quot;visible&quot;</code>}</dt>
<dd><p>Specify whether line will accept mouse clicks.  By default, <code>pickableparts</code> is <code>&quot;visible&quot;</code> and only visible parts of the line or its children may react to mouse clicks.  When <code>pickableparts</code> is <code>&quot;all&quot;</code> both visible and invisible parts (or children) may react to mouse clicks.  When <code>pickableparts</code> is <code>&quot;none&quot;</code> mouse clicks on the object are ignored and transmitted to any objects underneath this one.  When an object is configured to accept mouse clicks the <code>&quot;hittest&quot;</code> property will determine how they are processed.  See <a href="#XREFlinehittest">hittest&nbsp;property<!-- /@w --></a>.
</p>

<span id="XREFlineselected"></span><span id="index-line-selected"></span>
</dd>
<dt><code>selected</code>: {<code>&quot;off&quot;</code>} | <code>&quot;on&quot;</code></dt>
<dd>


<span id="XREFlineselectionhighlight"></span><span id="index-line-selectionhighlight"></span>
</dd>
<dt><code>selectionhighlight</code>: <code>&quot;off&quot;</code> | {<code>&quot;on&quot;</code>}</dt>
<dd>


<span id="XREFlinetag"></span><span id="index-line-tag"></span>
</dd>
<dt><code>tag</code>: string, def. <code>&quot;&quot;</code></dt>
<dd><p>A user-defined string to label the graphics object.
</p>

<span id="XREFlinetype"></span><span id="index-line-type"></span>
</dd>
<dt><code>type</code> (read-only): string</dt>
<dd><p>Class name of the graphics object.  <code>type</code> is always <code>&quot;line&quot;</code>
</p>

<span id="XREFlineuicontextmenu"></span><span id="index-line-uicontextmenu"></span>
</dd>
<dt><code>uicontextmenu</code>: graphics handle, def. <code>[](0x0)</code></dt>
<dd><p>Graphics handle of the uicontextmenu object that is currently associated to this line object.
</p>

<span id="XREFlineuserdata"></span><span id="index-line-userdata"></span>
</dd>
<dt><code>userdata</code>: Any Octave data, def. <code>[](0x0)</code></dt>
<dd><p>User-defined data to associate with the graphics object.
</p>

<span id="XREFlinevisible"></span><span id="index-line-visible"></span>
</dd>
<dt><code>visible</code>: <code>&quot;off&quot;</code> | {<code>&quot;on&quot;</code>}</dt>
<dd><p>If <code>visible</code> is <code>&quot;off&quot;</code>, the line is not rendered on screen.
</p>

<span id="XREFlinexdata"></span><span id="index-line-xdata"></span>
</dd>
<dt><code>xdata</code>: vector, def. <code>[0   1]</code></dt>
<dd><p>Vector of x data to be plotted.
</p>

<span id="XREFlinexdatasource"></span><span id="index-line-xdatasource"></span>
</dd>
<dt><code>xdatasource</code>: string, def. <code>&quot;&quot;</code></dt>
<dd><p>Name of a vector in the current base workspace to use as x data.
</p>

<span id="XREFlineydata"></span><span id="index-line-ydata"></span>
</dd>
<dt><code>ydata</code>: vector, def. <code>[0   1]</code></dt>
<dd><p>Vector of y data to be plotted.
</p>

<span id="XREFlineydatasource"></span><span id="index-line-ydatasource"></span>
</dd>
<dt><code>ydatasource</code>: string, def. <code>&quot;&quot;</code></dt>
<dd><p>Name of a vector in the current base workspace to use as y data.
</p>

<span id="XREFlinezdata"></span><span id="index-line-zdata"></span>
</dd>
<dt><code>zdata</code>: vector, def. <code>[](0x0)</code></dt>
<dd><p>Vector of z data to be plotted.
</p>

<span id="XREFlinezdatasource"></span><span id="index-line-zdatasource"></span>
</dd>
<dt><code>zdatasource</code>: string, def. <code>&quot;&quot;</code></dt>
<dd><p>Name of a vector in the current base workspace to use as z data.
</p>
</dd>
</dl>


<hr>
<div class="header">
<p>
Next: <a href="Text-Properties.html" accesskey="n" rel="next">Text Properties</a>, Previous: <a href="Legend-Properties.html" accesskey="p" rel="prev">Legend Properties</a>, Up: <a href="Graphics-Object-Properties.html" accesskey="u" rel="up">Graphics Object Properties</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html" title="Index" rel="index">Index</a>]</p>
</div>



</body>
</html>