~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

Viewing changes to qwt-5.1.1/doc/html/class_qwt_scale_engine.html

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2009-04-12 23:25:58 UTC
  • mfrom: (1.1.4 upstream) (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090412232558-3bl06x785yr8xm8u
Tags: 5.1.2-1
* New upstream release.
* Bump compat/debhelper to 7.
* Bump Standards-Version to 3.8.1. No changes needed.
* Invert Maintainers and Uploaders field.
* Fix lintian warnings:
  - dh_clean _k deprecated.
  - missing dependency on libc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
 
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
 
<title>Qwt User&apos;s Guide: QwtScaleEngine Class Reference</title>
4
 
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
 
<link href="tabs.css" rel="stylesheet" type="text/css">
6
 
</head><body>
7
 
<!-- Generated by Doxygen 1.5.0 -->
8
 
<div class="tabs">
9
 
  <ul>
10
 
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11
 
    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
12
 
    <li><a href="files.html"><span>Files</span></a></li>
13
 
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
14
 
  </ul></div>
15
 
<div class="tabs">
16
 
  <ul>
17
 
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
18
 
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
19
 
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
20
 
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
21
 
  </ul></div>
22
 
<h1>QwtScaleEngine Class Reference</h1><!-- doxytag: class="QwtScaleEngine" -->Inheritance diagram for QwtScaleEngine:<p><center><img src="class_qwt_scale_engine__inherit__graph.png" border="0" usemap="#_qwt_scale_engine__inherit__map" alt="Inheritance graph"></center>
23
 
<map name="_qwt_scale_engine__inherit__map">
24
 
<area href="class_qwt_linear_scale_engine.html" shape="rect" coords="7,83,164,107" alt="">
25
 
<area href="class_qwt_log10_scale_engine.html" shape="rect" coords="188,83,345,107" alt="">
26
 
</map>
27
 
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_scale_engine-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
28
 
Base class for scale engines. 
29
 
<p>
30
 
A scale engine trys to find "reasonable" ranges and step sizes for scales.<p>
31
 
The layout of the scale can be varied with <a class="el" href="class_qwt_scale_engine.html#cf02a88f6e778edbc9e005960f35b3b7">setAttribute()</a>.<p>
32
 
Qwt offers implementations for logarithmic (log10) and linear scales. Contributions for other types of scale engines (date/time, log2 ... ) are welcome. 
33
 
<p>
34
 
 
35
 
<p>
36
 
Definition at line <a class="el" href="qwt__scale__engine_8h-source.html#l00050">50</a> of file <a class="el" href="qwt__scale__engine_8h-source.html">qwt_scale_engine.h</a>.<table border="0" cellpadding="0" cellspacing="0">
37
 
<tr><td></td></tr>
38
 
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
39
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#7548418e0896d75eec164bfa2ba3ff5f">Attribute</a> { <br>
40
 
&nbsp;&nbsp;<b>NoAttribute</b> =  0, 
41
 
<br>
42
 
&nbsp;&nbsp;<b>IncludeReference</b> =  1, 
43
 
<br>
44
 
&nbsp;&nbsp;<b>Symmetric</b> =  2, 
45
 
<br>
46
 
&nbsp;&nbsp;<b>Floating</b> =  4, 
47
 
<br>
48
 
&nbsp;&nbsp;<b>Inverted</b> =  8
49
 
<br>
50
 
 }</td></tr>
51
 
 
52
 
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
53
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#58cb9344a913fa798ac7343d55f3f693">QwtScaleEngine</a> ()</td></tr>
54
 
 
55
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#b9c21b4550d44d9a82c1865864cb8943">~QwtScaleEngine</a> ()</td></tr>
56
 
 
57
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#cf02a88f6e778edbc9e005960f35b3b7">setAttribute</a> (<a class="el" href="class_qwt_scale_engine.html#7548418e0896d75eec164bfa2ba3ff5f">Attribute</a>, bool on=true)</td></tr>
58
 
 
59
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#83a925f83808859d02c85fa0d3ae432e">testAttribute</a> (<a class="el" href="class_qwt_scale_engine.html#7548418e0896d75eec164bfa2ba3ff5f">Attribute</a>) const</td></tr>
60
 
 
61
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#d221d715e28e644975c6cbda9cae492e">setAttributes</a> (int)</td></tr>
62
 
 
63
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#b4a6561bd3173d17b5407e93270f1628">attributes</a> () const</td></tr>
64
 
 
65
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#89985ea69dbd858c8b9162ecd2be936e">setReference</a> (double reference)</td></tr>
66
 
 
67
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#041c9485898ea504d9a57ad200438d72">reference</a> () const</td></tr>
68
 
 
69
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#d6e83875e5e7a65b005ebb6213e1e869">setMargins</a> (double m1, double m2)</td></tr>
70
 
 
71
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#bb67c0d07c05c41ad4ad67c3ccaffa1b">loMargin</a> () const</td></tr>
72
 
 
73
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#7ad7e9a499cc399732b0720f545270e0">hiMargin</a> () const</td></tr>
74
 
 
75
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#a27323d6d9d5348bd253a61b45e4785b">autoScale</a> (int maxNumSteps, double &amp;x1, double &amp;x2, double &amp;stepSize) const =0</td></tr>
76
 
 
77
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#9e788f29baf63184297f55350dd58e30">divideScale</a> (double x1, double x2, int maxMajSteps, int maxMinSteps, double stepSize=0.0) const=0</td></tr>
78
 
 
79
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_qwt_scale_transformation.html">QwtScaleTransformation</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#8219578551ce5fd1ab8cccd657afdc71">transformation</a> () const=0</td></tr>
80
 
 
81
 
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
82
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#3fb6cda1c6b66bf5508913655e90d0e0">contains</a> (const <a class="el" href="class_qwt_double_interval.html">QwtDoubleInterval</a> &amp;, double val) const</td></tr>
83
 
 
84
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">QwtValueList&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#82210ea6ad135a55142578879cb6a8f6">strip</a> (const QwtValueList &amp;, const <a class="el" href="class_qwt_double_interval.html">QwtDoubleInterval</a> &amp;) const</td></tr>
85
 
 
86
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#ff30158c5ccfee78f4c3e01c0fb5f4de">divideInterval</a> (double interval, int numSteps) const </td></tr>
87
 
 
88
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_double_interval.html">QwtDoubleInterval</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_scale_engine.html#614c8bc7c24000b0461ed1e63a0d1db8">buildInterval</a> (double v) const</td></tr>
89
 
 
90
 
</table>
91
 
<hr><h2>Member Enumeration Documentation</h2>
92
 
<a class="anchor" name="7548418e0896d75eec164bfa2ba3ff5f"></a><!-- doxytag: member="QwtScaleEngine::Attribute" ref="7548418e0896d75eec164bfa2ba3ff5f" args="" -->
93
 
<div class="memitem">
94
 
<div class="memproto">
95
 
      <table class="memname">
96
 
        <tr>
97
 
          <td class="memname">enum <a class="el" href="class_qwt_scale_engine.html#7548418e0896d75eec164bfa2ba3ff5f">QwtScaleEngine::Attribute</a>          </td>
98
 
        </tr>
99
 
      </table>
100
 
</div>
101
 
<div class="memdoc">
102
 
 
103
 
<p>
104
 
see <a class="el" href="class_qwt_scale_engine.html#cf02a88f6e778edbc9e005960f35b3b7">QwtScaleEngine::setAttribute</a>, testAttribute 
105
 
<p>
106
 
 
107
 
<p>
108
 
Definition at line <a class="el" href="qwt__scale__engine_8h-source.html#l00054">54</a> of file <a class="el" href="qwt__scale__engine_8h-source.html">qwt_scale_engine.h</a>.
109
 
</div>
110
 
</div><p>
111
 
<hr><h2>Constructor &amp; Destructor Documentation</h2>
112
 
<a class="anchor" name="58cb9344a913fa798ac7343d55f3f693"></a><!-- doxytag: member="QwtScaleEngine::QwtScaleEngine" ref="58cb9344a913fa798ac7343d55f3f693" args="()" -->
113
 
<div class="memitem">
114
 
<div class="memproto">
115
 
      <table class="memname">
116
 
        <tr>
117
 
          <td class="memname">QwtScaleEngine::QwtScaleEngine           </td>
118
 
          <td>(</td>
119
 
          <td class="paramname">          </td>
120
 
          <td>&nbsp;)&nbsp;</td>
121
 
          <td width="100%"><code> [explicit]</code></td>
122
 
        </tr>
123
 
      </table>
124
 
</div>
125
 
<div class="memdoc">
126
 
 
127
 
<p>
128
 
Ctor. 
129
 
<p>
130
 
 
131
 
<p>
132
 
Definition at line <a class="el" href="qwt__scale__engine_8cpp-source.html#l00169">169</a> of file <a class="el" href="qwt__scale__engine_8cpp-source.html">qwt_scale_engine.cpp</a>.
133
 
</div>
134
 
</div><p>
135
 
<a class="anchor" name="b9c21b4550d44d9a82c1865864cb8943"></a><!-- doxytag: member="QwtScaleEngine::~QwtScaleEngine" ref="b9c21b4550d44d9a82c1865864cb8943" args="()" -->
136
 
<div class="memitem">
137
 
<div class="memproto">
138
 
      <table class="memname">
139
 
        <tr>
140
 
          <td class="memname">QwtScaleEngine::~QwtScaleEngine           </td>
141
 
          <td>(</td>
142
 
          <td class="paramname">          </td>
143
 
          <td>&nbsp;)&nbsp;</td>
144
 
          <td width="100%"><code> [virtual]</code></td>
145
 
        </tr>
146
 
      </table>
147
 
</div>
148
 
<div class="memdoc">
149
 
 
150
 
<p>
151
 
Dtor. 
152
 
<p>
153
 
 
154
 
<p>
155
 
Definition at line <a class="el" href="qwt__scale__engine_8cpp-source.html#l00176">176</a> of file <a class="el" href="qwt__scale__engine_8cpp-source.html">qwt_scale_engine.cpp</a>.
156
 
</div>
157
 
</div><p>
158
 
<hr><h2>Member Function Documentation</h2>
159
 
<a class="anchor" name="cf02a88f6e778edbc9e005960f35b3b7"></a><!-- doxytag: member="QwtScaleEngine::setAttribute" ref="cf02a88f6e778edbc9e005960f35b3b7" args="(Attribute, bool on=true)" -->
160
 
<div class="memitem">
161
 
<div class="memproto">
162
 
      <table class="memname">
163
 
        <tr>
164
 
          <td class="memname">void QwtScaleEngine::setAttribute           </td>
165
 
          <td>(</td>
166
 
          <td class="paramtype"><a class="el" href="class_qwt_scale_engine.html#7548418e0896d75eec164bfa2ba3ff5f">Attribute</a>&nbsp;</td>
167
 
          <td class="paramname"> <em>attribute</em>, </td>
168
 
        </tr>
169
 
        <tr>
170
 
          <td class="paramkey"></td>
171
 
          <td></td>
172
 
          <td class="paramtype">bool&nbsp;</td>
173
 
          <td class="paramname"> <em>on</em> = <code>true</code></td><td>&nbsp;</td>
174
 
        </tr>
175
 
        <tr>
176
 
          <td></td>
177
 
          <td>)</td>
178
 
          <td></td><td></td><td width="100%"></td>
179
 
        </tr>
180
 
      </table>
181
 
</div>
182
 
<div class="memdoc">
183
 
 
184
 
<p>
185
 
Change a scale attribute<p>
186
 
<dl compact><dt><b>Parameters:</b></dt><dd>
187
 
  <table border="0" cellspacing="2" cellpadding="0">
188
 
    <tr><td valign="top"></td><td valign="top"><em>attribute</em>&nbsp;</td><td>Attribute to change </td></tr>
189
 
    <tr><td valign="top"></td><td valign="top"><em>on</em>&nbsp;</td><td>On/Off</td></tr>
190
 
  </table>
191
 
</dl>
192
 
The behaviour of the scale engine can be changed with the following attributes: <dl>
193
 
<dt>QwtScaleEngine::IncludeReference </dt>
194
 
<dd>Build a scale which includes the reference value. </dd>
195
 
<dt>QwtScaleEngine::Symmetric </dt>
196
 
<dd>Build a scale which is symmetric to the reference value. </dd>
197
 
<dt>QwtScaleEngine::Floating </dt>
198
 
<dd>The endpoints of the scale are supposed to be equal the outmost included values plus the specified margins (see <a class="el" href="class_qwt_scale_engine.html#d6e83875e5e7a65b005ebb6213e1e869">setMargins()</a>). If this attribute is not* set, the endpoints of the scale will be integer multiples of the step size. </dd>
199
 
<dt>QwtScaleEngine::Inverted </dt>
200
 
<dd>Turn the scale upside down. </dd>
201
 
</dl>
202
 
<p>
203
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_engine.html#83a925f83808859d02c85fa0d3ae432e">QwtScaleEngine::testAttribute()</a> </dd></dl>
204
 
 
205
 
<p>
206
 
Definition at line <a class="el" href="qwt__scale__engine_8cpp-source.html#l00339">339</a> of file <a class="el" href="qwt__scale__engine_8cpp-source.html">qwt_scale_engine.cpp</a>.
207
 
</div>
208
 
</div><p>
209
 
<a class="anchor" name="83a925f83808859d02c85fa0d3ae432e"></a><!-- doxytag: member="QwtScaleEngine::testAttribute" ref="83a925f83808859d02c85fa0d3ae432e" args="(Attribute) const" -->
210
 
<div class="memitem">
211
 
<div class="memproto">
212
 
      <table class="memname">
213
 
        <tr>
214
 
          <td class="memname">bool QwtScaleEngine::testAttribute           </td>
215
 
          <td>(</td>
216
 
          <td class="paramtype"><a class="el" href="class_qwt_scale_engine.html#7548418e0896d75eec164bfa2ba3ff5f">Attribute</a>&nbsp;</td>
217
 
          <td class="paramname"> <em>attribute</em>          </td>
218
 
          <td>&nbsp;)&nbsp;</td>
219
 
          <td width="100%"> const</td>
220
 
        </tr>
221
 
      </table>
222
 
</div>
223
 
<div class="memdoc">
224
 
 
225
 
<p>
226
 
Check if a attribute is set.<p>
227
 
<dl compact><dt><b>Parameters:</b></dt><dd>
228
 
  <table border="0" cellspacing="2" cellpadding="0">
229
 
    <tr><td valign="top"></td><td valign="top"><em>attribute</em>&nbsp;</td><td>Attribute to be tested </td></tr>
230
 
  </table>
231
 
</dl>
232
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_engine.html#cf02a88f6e778edbc9e005960f35b3b7">QwtScaleEngine::setAttribute()</a> for a description of the possible options. </dd></dl>
233
 
 
234
 
<p>
235
 
Definition at line <a class="el" href="qwt__scale__engine_8cpp-source.html#l00353">353</a> of file <a class="el" href="qwt__scale__engine_8cpp-source.html">qwt_scale_engine.cpp</a>.
236
 
<p>
237
 
Referenced by <a class="el" href="qwt__scale__engine_8cpp-source.html#l00629">QwtLog10ScaleEngine::autoScale()</a>, and <a class="el" href="qwt__scale__engine_8cpp-source.html#l00416">QwtLinearScaleEngine::autoScale()</a>.
238
 
</div>
239
 
</div><p>
240
 
<a class="anchor" name="d221d715e28e644975c6cbda9cae492e"></a><!-- doxytag: member="QwtScaleEngine::setAttributes" ref="d221d715e28e644975c6cbda9cae492e" args="(int)" -->
241
 
<div class="memitem">
242
 
<div class="memproto">
243
 
      <table class="memname">
244
 
        <tr>
245
 
          <td class="memname">void QwtScaleEngine::setAttributes           </td>
246
 
          <td>(</td>
247
 
          <td class="paramtype">int&nbsp;</td>
248
 
          <td class="paramname"> <em>attributes</em>          </td>
249
 
          <td>&nbsp;)&nbsp;</td>
250
 
          <td width="100%"></td>
251
 
        </tr>
252
 
      </table>
253
 
</div>
254
 
<div class="memdoc">
255
 
 
256
 
<p>
257
 
Change the scale attribute<p>
258
 
<dl compact><dt><b>Parameters:</b></dt><dd>
259
 
  <table border="0" cellspacing="2" cellpadding="0">
260
 
    <tr><td valign="top"></td><td valign="top"><em>attributes</em>&nbsp;</td><td>Set scale attributes </td></tr>
261
 
  </table>
262
 
</dl>
263
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_engine.html#b4a6561bd3173d17b5407e93270f1628">QwtScaleEngine::attributes()</a> </dd></dl>
264
 
 
265
 
<p>
266
 
Definition at line <a class="el" href="qwt__scale__engine_8cpp-source.html#l00364">364</a> of file <a class="el" href="qwt__scale__engine_8cpp-source.html">qwt_scale_engine.cpp</a>.
267
 
<p>
268
 
Referenced by <a class="el" href="qwt__scale__engine_8cpp-source.html#l00686">QwtLog10ScaleEngine::divideScale()</a>.
269
 
</div>
270
 
</div><p>
271
 
<a class="anchor" name="b4a6561bd3173d17b5407e93270f1628"></a><!-- doxytag: member="QwtScaleEngine::attributes" ref="b4a6561bd3173d17b5407e93270f1628" args="() const" -->
272
 
<div class="memitem">
273
 
<div class="memproto">
274
 
      <table class="memname">
275
 
        <tr>
276
 
          <td class="memname">int QwtScaleEngine::attributes           </td>
277
 
          <td>(</td>
278
 
          <td class="paramname">          </td>
279
 
          <td>&nbsp;)&nbsp;</td>
280
 
          <td width="100%"> const</td>
281
 
        </tr>
282
 
      </table>
283
 
</div>
284
 
<div class="memdoc">
285
 
 
286
 
<p>
287
 
Return the scale attributes 
288
 
<p>
289
 
Definition at line <a class="el" href="qwt__scale__engine_8cpp-source.html#l00372">372</a> of file <a class="el" href="qwt__scale__engine_8cpp-source.html">qwt_scale_engine.cpp</a>.
290
 
<p>
291
 
Referenced by <a class="el" href="qwt__scale__engine_8cpp-source.html#l00686">QwtLog10ScaleEngine::divideScale()</a>.
292
 
</div>
293
 
</div><p>
294
 
<a class="anchor" name="89985ea69dbd858c8b9162ecd2be936e"></a><!-- doxytag: member="QwtScaleEngine::setReference" ref="89985ea69dbd858c8b9162ecd2be936e" args="(double reference)" -->
295
 
<div class="memitem">
296
 
<div class="memproto">
297
 
      <table class="memname">
298
 
        <tr>
299
 
          <td class="memname">void QwtScaleEngine::setReference           </td>
300
 
          <td>(</td>
301
 
          <td class="paramtype">double&nbsp;</td>
302
 
          <td class="paramname"> <em>r</em>          </td>
303
 
          <td>&nbsp;)&nbsp;</td>
304
 
          <td width="100%"></td>
305
 
        </tr>
306
 
      </table>
307
 
</div>
308
 
<div class="memdoc">
309
 
 
310
 
<p>
311
 
Specify a reference point. 
312
 
<p>
313
 
<dl compact><dt><b>Parameters:</b></dt><dd>
314
 
  <table border="0" cellspacing="2" cellpadding="0">
315
 
    <tr><td valign="top"></td><td valign="top"><em>r</em>&nbsp;</td><td>new reference value</td></tr>
316
 
  </table>
317
 
</dl>
318
 
The reference point is needed if options IncludeRef or Symmetric are active. Its default value is 0.0. 
319
 
<p>
320
 
Definition at line <a class="el" href="qwt__scale__engine_8cpp-source.html#l00384">384</a> of file <a class="el" href="qwt__scale__engine_8cpp-source.html">qwt_scale_engine.cpp</a>.
321
 
<p>
322
 
Referenced by <a class="el" href="qwt__scale__engine_8cpp-source.html#l00686">QwtLog10ScaleEngine::divideScale()</a>.
323
 
</div>
324
 
</div><p>
325
 
<a class="anchor" name="041c9485898ea504d9a57ad200438d72"></a><!-- doxytag: member="QwtScaleEngine::reference" ref="041c9485898ea504d9a57ad200438d72" args="() const" -->
326
 
<div class="memitem">
327
 
<div class="memproto">
328
 
      <table class="memname">
329
 
        <tr>
330
 
          <td class="memname">double QwtScaleEngine::reference           </td>
331
 
          <td>(</td>
332
 
          <td class="paramname">          </td>
333
 
          <td>&nbsp;)&nbsp;</td>
334
 
          <td width="100%"> const</td>
335
 
        </tr>
336
 
      </table>
337
 
</div>
338
 
<div class="memdoc">
339
 
 
340
 
<p>
341
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the reference value </dd></dl>
342
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_engine.html#89985ea69dbd858c8b9162ecd2be936e">QwtScaleEngine::setReference()</a>, QwtScaleEngine::setOptions() </dd></dl>
343
 
 
344
 
<p>
345
 
Definition at line <a class="el" href="qwt__scale__engine_8cpp-source.html#l00393">393</a> of file <a class="el" href="qwt__scale__engine_8cpp-source.html">qwt_scale_engine.cpp</a>.
346
 
<p>
347
 
Referenced by <a class="el" href="qwt__scale__engine_8cpp-source.html#l00629">QwtLog10ScaleEngine::autoScale()</a>, <a class="el" href="qwt__scale__engine_8cpp-source.html#l00416">QwtLinearScaleEngine::autoScale()</a>, and <a class="el" href="qwt__scale__engine_8cpp-source.html#l00686">QwtLog10ScaleEngine::divideScale()</a>.
348
 
</div>
349
 
</div><p>
350
 
<a class="anchor" name="d6e83875e5e7a65b005ebb6213e1e869"></a><!-- doxytag: member="QwtScaleEngine::setMargins" ref="d6e83875e5e7a65b005ebb6213e1e869" args="(double m1, double m2)" -->
351
 
<div class="memitem">
352
 
<div class="memproto">
353
 
      <table class="memname">
354
 
        <tr>
355
 
          <td class="memname">void QwtScaleEngine::setMargins           </td>
356
 
          <td>(</td>
357
 
          <td class="paramtype">double&nbsp;</td>
358
 
          <td class="paramname"> <em>mlo</em>, </td>
359
 
        </tr>
360
 
        <tr>
361
 
          <td class="paramkey"></td>
362
 
          <td></td>
363
 
          <td class="paramtype">double&nbsp;</td>
364
 
          <td class="paramname"> <em>mhi</em></td><td>&nbsp;</td>
365
 
        </tr>
366
 
        <tr>
367
 
          <td></td>
368
 
          <td>)</td>
369
 
          <td></td><td></td><td width="100%"></td>
370
 
        </tr>
371
 
      </table>
372
 
</div>
373
 
<div class="memdoc">
374
 
 
375
 
<p>
376
 
Specify margins at the scale's endpoints. 
377
 
<p>
378
 
<dl compact><dt><b>Parameters:</b></dt><dd>
379
 
  <table border="0" cellspacing="2" cellpadding="0">
380
 
    <tr><td valign="top"></td><td valign="top"><em>mlo</em>&nbsp;</td><td>minimum distance between the scale's lower boundary and the smallest enclosed value </td></tr>
381
 
    <tr><td valign="top"></td><td valign="top"><em>mhi</em>&nbsp;</td><td>minimum distance between the scale's upper boundary and the greatest enclosed value</td></tr>
382
 
  </table>
383
 
</dl>
384
 
Margins can be used to leave a minimum amount of space between the enclosed intervals and the boundaries of the scale.<p>
385
 
<dl class="warning" compact><dt><b>Warning:</b></dt><dd><ul>
386
 
<li><a class="el" href="class_qwt_log10_scale_engine.html">QwtLog10ScaleEngine</a> measures the margins in decades.</li>
387
 
</ul>
388
 
</dd></dl>
389
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_engine.html#7ad7e9a499cc399732b0720f545270e0">QwtScaleEngine::hiMargin</a>, <a class="el" href="class_qwt_scale_engine.html#bb67c0d07c05c41ad4ad67c3ccaffa1b">QwtScaleEngine::loMargin</a> </dd></dl>
390
 
 
391
 
<p>
392
 
Definition at line <a class="el" href="qwt__scale__engine_8cpp-source.html#l00219">219</a> of file <a class="el" href="qwt__scale__engine_8cpp-source.html">qwt_scale_engine.cpp</a>.
393
 
<p>
394
 
Referenced by <a class="el" href="qwt__scale__engine_8cpp-source.html#l00686">QwtLog10ScaleEngine::divideScale()</a>.
395
 
</div>
396
 
</div><p>
397
 
<a class="anchor" name="bb67c0d07c05c41ad4ad67c3ccaffa1b"></a><!-- doxytag: member="QwtScaleEngine::loMargin" ref="bb67c0d07c05c41ad4ad67c3ccaffa1b" args="() const" -->
398
 
<div class="memitem">
399
 
<div class="memproto">
400
 
      <table class="memname">
401
 
        <tr>
402
 
          <td class="memname">double QwtScaleEngine::loMargin           </td>
403
 
          <td>(</td>
404
 
          <td class="paramname">          </td>
405
 
          <td>&nbsp;)&nbsp;</td>
406
 
          <td width="100%"> const</td>
407
 
        </tr>
408
 
      </table>
409
 
</div>
410
 
<div class="memdoc">
411
 
 
412
 
<p>
413
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the margin at the lower end of the scale The default margin is 0.</dd></dl>
414
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_engine.html#d6e83875e5e7a65b005ebb6213e1e869">QwtScaleEngine::setMargins()</a> </dd></dl>
415
 
 
416
 
<p>
417
 
Definition at line <a class="el" href="qwt__scale__engine_8cpp-source.html#l00187">187</a> of file <a class="el" href="qwt__scale__engine_8cpp-source.html">qwt_scale_engine.cpp</a>.
418
 
<p>
419
 
Referenced by <a class="el" href="qwt__scale__engine_8cpp-source.html#l00629">QwtLog10ScaleEngine::autoScale()</a>, <a class="el" href="qwt__scale__engine_8cpp-source.html#l00416">QwtLinearScaleEngine::autoScale()</a>, and <a class="el" href="qwt__scale__engine_8cpp-source.html#l00686">QwtLog10ScaleEngine::divideScale()</a>.
420
 
</div>
421
 
</div><p>
422
 
<a class="anchor" name="7ad7e9a499cc399732b0720f545270e0"></a><!-- doxytag: member="QwtScaleEngine::hiMargin" ref="7ad7e9a499cc399732b0720f545270e0" args="() const" -->
423
 
<div class="memitem">
424
 
<div class="memproto">
425
 
      <table class="memname">
426
 
        <tr>
427
 
          <td class="memname">double QwtScaleEngine::hiMargin           </td>
428
 
          <td>(</td>
429
 
          <td class="paramname">          </td>
430
 
          <td>&nbsp;)&nbsp;</td>
431
 
          <td width="100%"> const</td>
432
 
        </tr>
433
 
      </table>
434
 
</div>
435
 
<div class="memdoc">
436
 
 
437
 
<p>
438
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the margin at the upper end of the scale The default margin is 0.</dd></dl>
439
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_engine.html#d6e83875e5e7a65b005ebb6213e1e869">QwtScaleEngine::setMargins()</a> </dd></dl>
440
 
 
441
 
<p>
442
 
Definition at line <a class="el" href="qwt__scale__engine_8cpp-source.html#l00198">198</a> of file <a class="el" href="qwt__scale__engine_8cpp-source.html">qwt_scale_engine.cpp</a>.
443
 
<p>
444
 
Referenced by <a class="el" href="qwt__scale__engine_8cpp-source.html#l00629">QwtLog10ScaleEngine::autoScale()</a>, <a class="el" href="qwt__scale__engine_8cpp-source.html#l00416">QwtLinearScaleEngine::autoScale()</a>, and <a class="el" href="qwt__scale__engine_8cpp-source.html#l00686">QwtLog10ScaleEngine::divideScale()</a>.
445
 
</div>
446
 
</div><p>
447
 
<a class="anchor" name="a27323d6d9d5348bd253a61b45e4785b"></a><!-- doxytag: member="QwtScaleEngine::autoScale" ref="a27323d6d9d5348bd253a61b45e4785b" args="(int maxNumSteps, double &amp;x1, double &amp;x2, double &amp;stepSize) const =0" -->
448
 
<div class="memitem">
449
 
<div class="memproto">
450
 
      <table class="memname">
451
 
        <tr>
452
 
          <td class="memname">virtual void QwtScaleEngine::autoScale           </td>
453
 
          <td>(</td>
454
 
          <td class="paramtype">int&nbsp;</td>
455
 
          <td class="paramname"> <em>maxNumSteps</em>, </td>
456
 
        </tr>
457
 
        <tr>
458
 
          <td class="paramkey"></td>
459
 
          <td></td>
460
 
          <td class="paramtype">double &amp;&nbsp;</td>
461
 
          <td class="paramname"> <em>x1</em>, </td>
462
 
        </tr>
463
 
        <tr>
464
 
          <td class="paramkey"></td>
465
 
          <td></td>
466
 
          <td class="paramtype">double &amp;&nbsp;</td>
467
 
          <td class="paramname"> <em>x2</em>, </td>
468
 
        </tr>
469
 
        <tr>
470
 
          <td class="paramkey"></td>
471
 
          <td></td>
472
 
          <td class="paramtype">double &amp;&nbsp;</td>
473
 
          <td class="paramname"> <em>stepSize</em></td><td>&nbsp;</td>
474
 
        </tr>
475
 
        <tr>
476
 
          <td></td>
477
 
          <td>)</td>
478
 
          <td></td><td></td><td width="100%"> const<code> [pure virtual]</code></td>
479
 
        </tr>
480
 
      </table>
481
 
</div>
482
 
<div class="memdoc">
483
 
 
484
 
<p>
485
 
Align and divide an interval<p>
486
 
<dl compact><dt><b>Parameters:</b></dt><dd>
487
 
  <table border="0" cellspacing="2" cellpadding="0">
488
 
    <tr><td valign="top"></td><td valign="top"><em>maxNumSteps</em>&nbsp;</td><td>Max. number of steps </td></tr>
489
 
    <tr><td valign="top"></td><td valign="top"><em>x1</em>&nbsp;</td><td>First limit of the interval (In/Out) </td></tr>
490
 
    <tr><td valign="top"></td><td valign="top"><em>x2</em>&nbsp;</td><td>Second limit of the interval (In/Out) </td></tr>
491
 
    <tr><td valign="top"></td><td valign="top"><em>stepSize</em>&nbsp;</td><td>Step size (Return value) </td></tr>
492
 
  </table>
493
 
</dl>
494
 
 
495
 
<p>
496
 
Implemented in <a class="el" href="class_qwt_linear_scale_engine.html#2b59d0b1b40d476f01b5b693ceac30ed">QwtLinearScaleEngine</a>, and <a class="el" href="class_qwt_log10_scale_engine.html#f725424b579831a058b1d81490a4cec6">QwtLog10ScaleEngine</a>.
497
 
</div>
498
 
</div><p>
499
 
<a class="anchor" name="9e788f29baf63184297f55350dd58e30"></a><!-- doxytag: member="QwtScaleEngine::divideScale" ref="9e788f29baf63184297f55350dd58e30" args="(double x1, double x2, int maxMajSteps, int maxMinSteps, double stepSize=0.0) const=0" -->
500
 
<div class="memitem">
501
 
<div class="memproto">
502
 
      <table class="memname">
503
 
        <tr>
504
 
          <td class="memname">virtual <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> QwtScaleEngine::divideScale           </td>
505
 
          <td>(</td>
506
 
          <td class="paramtype">double&nbsp;</td>
507
 
          <td class="paramname"> <em>x1</em>, </td>
508
 
        </tr>
509
 
        <tr>
510
 
          <td class="paramkey"></td>
511
 
          <td></td>
512
 
          <td class="paramtype">double&nbsp;</td>
513
 
          <td class="paramname"> <em>x2</em>, </td>
514
 
        </tr>
515
 
        <tr>
516
 
          <td class="paramkey"></td>
517
 
          <td></td>
518
 
          <td class="paramtype">int&nbsp;</td>
519
 
          <td class="paramname"> <em>maxMajSteps</em>, </td>
520
 
        </tr>
521
 
        <tr>
522
 
          <td class="paramkey"></td>
523
 
          <td></td>
524
 
          <td class="paramtype">int&nbsp;</td>
525
 
          <td class="paramname"> <em>maxMinSteps</em>, </td>
526
 
        </tr>
527
 
        <tr>
528
 
          <td class="paramkey"></td>
529
 
          <td></td>
530
 
          <td class="paramtype">double&nbsp;</td>
531
 
          <td class="paramname"> <em>stepSize</em> = <code>0.0</code></td><td>&nbsp;</td>
532
 
        </tr>
533
 
        <tr>
534
 
          <td></td>
535
 
          <td>)</td>
536
 
          <td></td><td></td><td width="100%"> const<code> [pure virtual]</code></td>
537
 
        </tr>
538
 
      </table>
539
 
</div>
540
 
<div class="memdoc">
541
 
 
542
 
<p>
543
 
Calculate a scale division. 
544
 
<p>
545
 
<dl compact><dt><b>Parameters:</b></dt><dd>
546
 
  <table border="0" cellspacing="2" cellpadding="0">
547
 
    <tr><td valign="top"></td><td valign="top"><em>x1</em>&nbsp;</td><td>First interval limit </td></tr>
548
 
    <tr><td valign="top"></td><td valign="top"><em>x2</em>&nbsp;</td><td>Second interval limit </td></tr>
549
 
    <tr><td valign="top"></td><td valign="top"><em>maxMajSteps</em>&nbsp;</td><td>Maximum for the number of major steps </td></tr>
550
 
    <tr><td valign="top"></td><td valign="top"><em>maxMinSteps</em>&nbsp;</td><td>Maximum number of minor steps </td></tr>
551
 
    <tr><td valign="top"></td><td valign="top"><em>stepSize</em>&nbsp;</td><td>Step size. If stepSize == 0.0, the scaleEngine calculates one. </td></tr>
552
 
  </table>
553
 
</dl>
554
 
 
555
 
<p>
556
 
Implemented in <a class="el" href="class_qwt_linear_scale_engine.html#9f74287e61d1abfc2096cc88222c132a">QwtLinearScaleEngine</a>, and <a class="el" href="class_qwt_log10_scale_engine.html#302caf0da5f30265827b8d4e9b0cfedb">QwtLog10ScaleEngine</a>.
557
 
</div>
558
 
</div><p>
559
 
<a class="anchor" name="8219578551ce5fd1ab8cccd657afdc71"></a><!-- doxytag: member="QwtScaleEngine::transformation" ref="8219578551ce5fd1ab8cccd657afdc71" args="() const=0" -->
560
 
<div class="memitem">
561
 
<div class="memproto">
562
 
      <table class="memname">
563
 
        <tr>
564
 
          <td class="memname">virtual <a class="el" href="class_qwt_scale_transformation.html">QwtScaleTransformation</a>* QwtScaleEngine::transformation           </td>
565
 
          <td>(</td>
566
 
          <td class="paramname">          </td>
567
 
          <td>&nbsp;)&nbsp;</td>
568
 
          <td width="100%"> const<code> [pure virtual]</code></td>
569
 
        </tr>
570
 
      </table>
571
 
</div>
572
 
<div class="memdoc">
573
 
 
574
 
<p>
575
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a transformation </dd></dl>
576
 
 
577
 
<p>
578
 
 
579
 
<p>
580
 
Implemented in <a class="el" href="class_qwt_linear_scale_engine.html#def184ed0c1febe7611d4f91bb09f5d7">QwtLinearScaleEngine</a>, and <a class="el" href="class_qwt_log10_scale_engine.html#1dd1c14da59c9103a21358971a373e2b">QwtLog10ScaleEngine</a>.
581
 
</div>
582
 
</div><p>
583
 
<a class="anchor" name="3fb6cda1c6b66bf5508913655e90d0e0"></a><!-- doxytag: member="QwtScaleEngine::contains" ref="3fb6cda1c6b66bf5508913655e90d0e0" args="(const QwtDoubleInterval &amp;, double val) const" -->
584
 
<div class="memitem">
585
 
<div class="memproto">
586
 
      <table class="memname">
587
 
        <tr>
588
 
          <td class="memname">bool QwtScaleEngine::contains           </td>
589
 
          <td>(</td>
590
 
          <td class="paramtype">const <a class="el" href="class_qwt_double_interval.html">QwtDoubleInterval</a> &amp;&nbsp;</td>
591
 
          <td class="paramname"> <em>interval</em>, </td>
592
 
        </tr>
593
 
        <tr>
594
 
          <td class="paramkey"></td>
595
 
          <td></td>
596
 
          <td class="paramtype">double&nbsp;</td>
597
 
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
598
 
        </tr>
599
 
        <tr>
600
 
          <td></td>
601
 
          <td>)</td>
602
 
          <td></td><td></td><td width="100%"> const<code> [protected]</code></td>
603
 
        </tr>
604
 
      </table>
605
 
</div>
606
 
<div class="memdoc">
607
 
 
608
 
<p>
609
 
Check if an interval "contains" a value<p>
610
 
<dl compact><dt><b>Parameters:</b></dt><dd>
611
 
  <table border="0" cellspacing="2" cellpadding="0">
612
 
    <tr><td valign="top"></td><td valign="top"><em>interval</em>&nbsp;</td><td>Interval </td></tr>
613
 
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>Value</td></tr>
614
 
  </table>
615
 
</dl>
616
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_arithmetic.html#6c6f982022550fba9ccee034f87461ce">QwtScaleArithmetic::compareEps</a> </dd></dl>
617
 
 
618
 
<p>
619
 
Definition at line <a class="el" href="qwt__scale__engine_8cpp-source.html#l00251">251</a> of file <a class="el" href="qwt__scale__engine_8cpp-source.html">qwt_scale_engine.cpp</a>.
620
 
<p>
621
 
References <a class="el" href="qwt__scale__engine_8cpp-source.html#l00028">QwtScaleArithmetic::compareEps()</a>, <a class="el" href="qwt__double__interval_8h-source.html#l00200">QwtDoubleInterval::isValid()</a>, <a class="el" href="qwt__double__interval_8h-source.html#l00134">QwtDoubleInterval::maxValue()</a>, <a class="el" href="qwt__double__interval_8h-source.html#l00128">QwtDoubleInterval::minValue()</a>, and <a class="el" href="qwt__double__interval_8h-source.html#l00146">QwtDoubleInterval::width()</a>.
622
 
<p>
623
 
Referenced by <a class="el" href="qwt__scale__engine_8cpp-source.html#l00280">strip()</a>.
624
 
</div>
625
 
</div><p>
626
 
<a class="anchor" name="82210ea6ad135a55142578879cb6a8f6"></a><!-- doxytag: member="QwtScaleEngine::strip" ref="82210ea6ad135a55142578879cb6a8f6" args="(const QwtValueList &amp;, const QwtDoubleInterval &amp;) const" -->
627
 
<div class="memitem">
628
 
<div class="memproto">
629
 
      <table class="memname">
630
 
        <tr>
631
 
          <td class="memname">QwtValueList QwtScaleEngine::strip           </td>
632
 
          <td>(</td>
633
 
          <td class="paramtype">const QwtValueList &amp;&nbsp;</td>
634
 
          <td class="paramname"> <em>ticks</em>, </td>
635
 
        </tr>
636
 
        <tr>
637
 
          <td class="paramkey"></td>
638
 
          <td></td>
639
 
          <td class="paramtype">const <a class="el" href="class_qwt_double_interval.html">QwtDoubleInterval</a> &amp;&nbsp;</td>
640
 
          <td class="paramname"> <em>interval</em></td><td>&nbsp;</td>
641
 
        </tr>
642
 
        <tr>
643
 
          <td></td>
644
 
          <td>)</td>
645
 
          <td></td><td></td><td width="100%"> const<code> [protected]</code></td>
646
 
        </tr>
647
 
      </table>
648
 
</div>
649
 
<div class="memdoc">
650
 
 
651
 
<p>
652
 
Remove ticks from a list, that are not inside an interval<p>
653
 
<dl compact><dt><b>Parameters:</b></dt><dd>
654
 
  <table border="0" cellspacing="2" cellpadding="0">
655
 
    <tr><td valign="top"></td><td valign="top"><em>ticks</em>&nbsp;</td><td>Tick list </td></tr>
656
 
    <tr><td valign="top"></td><td valign="top"><em>interval</em>&nbsp;</td><td>Interval</td></tr>
657
 
  </table>
658
 
</dl>
659
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Stripped tick list </dd></dl>
660
 
 
661
 
<p>
662
 
Definition at line <a class="el" href="qwt__scale__engine_8cpp-source.html#l00280">280</a> of file <a class="el" href="qwt__scale__engine_8cpp-source.html">qwt_scale_engine.cpp</a>.
663
 
<p>
664
 
References <a class="el" href="qwt__scale__engine_8cpp-source.html#l00251">contains()</a>, and <a class="el" href="qwt__double__interval_8h-source.html#l00200">QwtDoubleInterval::isValid()</a>.
665
 
</div>
666
 
</div><p>
667
 
<a class="anchor" name="ff30158c5ccfee78f4c3e01c0fb5f4de"></a><!-- doxytag: member="QwtScaleEngine::divideInterval" ref="ff30158c5ccfee78f4c3e01c0fb5f4de" args="(double interval, int numSteps) const " -->
668
 
<div class="memitem">
669
 
<div class="memproto">
670
 
      <table class="memname">
671
 
        <tr>
672
 
          <td class="memname">double QwtScaleEngine::divideInterval           </td>
673
 
          <td>(</td>
674
 
          <td class="paramtype">double&nbsp;</td>
675
 
          <td class="paramname"> <em>intervalSize</em>, </td>
676
 
        </tr>
677
 
        <tr>
678
 
          <td class="paramkey"></td>
679
 
          <td></td>
680
 
          <td class="paramtype">int&nbsp;</td>
681
 
          <td class="paramname"> <em>numSteps</em></td><td>&nbsp;</td>
682
 
        </tr>
683
 
        <tr>
684
 
          <td></td>
685
 
          <td>)</td>
686
 
          <td></td><td></td><td width="100%"> const<code> [protected]</code></td>
687
 
        </tr>
688
 
      </table>
689
 
</div>
690
 
<div class="memdoc">
691
 
 
692
 
<p>
693
 
Calculate a step size for an interval size<p>
694
 
<dl compact><dt><b>Parameters:</b></dt><dd>
695
 
  <table border="0" cellspacing="2" cellpadding="0">
696
 
    <tr><td valign="top"></td><td valign="top"><em>intervalSize</em>&nbsp;</td><td>Interval size </td></tr>
697
 
    <tr><td valign="top"></td><td valign="top"><em>numSteps</em>&nbsp;</td><td>Number of steps</td></tr>
698
 
  </table>
699
 
</dl>
700
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Step size </dd></dl>
701
 
 
702
 
<p>
703
 
Definition at line <a class="el" href="qwt__scale__engine_8cpp-source.html#l00233">233</a> of file <a class="el" href="qwt__scale__engine_8cpp-source.html">qwt_scale_engine.cpp</a>.
704
 
<p>
705
 
References <a class="el" href="qwt__scale__engine_8cpp-source.html#l00098">QwtScaleArithmetic::ceil125()</a>, and <a class="el" href="qwt__scale__engine_8cpp-source.html#l00084">QwtScaleArithmetic::divideEps()</a>.
706
 
<p>
707
 
Referenced by <a class="el" href="qwt__scale__engine_8cpp-source.html#l00629">QwtLog10ScaleEngine::autoScale()</a>, <a class="el" href="qwt__scale__engine_8cpp-source.html#l00416">QwtLinearScaleEngine::autoScale()</a>, <a class="el" href="qwt__scale__engine_8cpp-source.html#l00686">QwtLog10ScaleEngine::divideScale()</a>, and <a class="el" href="qwt__scale__engine_8cpp-source.html#l00461">QwtLinearScaleEngine::divideScale()</a>.
708
 
</div>
709
 
</div><p>
710
 
<a class="anchor" name="614c8bc7c24000b0461ed1e63a0d1db8"></a><!-- doxytag: member="QwtScaleEngine::buildInterval" ref="614c8bc7c24000b0461ed1e63a0d1db8" args="(double v) const" -->
711
 
<div class="memitem">
712
 
<div class="memproto">
713
 
      <table class="memname">
714
 
        <tr>
715
 
          <td class="memname"><a class="el" href="class_qwt_double_interval.html">QwtDoubleInterval</a> QwtScaleEngine::buildInterval           </td>
716
 
          <td>(</td>
717
 
          <td class="paramtype">double&nbsp;</td>
718
 
          <td class="paramname"> <em>v</em>          </td>
719
 
          <td>&nbsp;)&nbsp;</td>
720
 
          <td width="100%"> const<code> [protected]</code></td>
721
 
        </tr>
722
 
      </table>
723
 
</div>
724
 
<div class="memdoc">
725
 
 
726
 
<p>
727
 
Build an interval for a value. 
728
 
<p>
729
 
In case of v == 0.0 the interval is [-0.5, 0.5], otherwide it is [0.5 * v, 1.5 * v] 
730
 
<p>
731
 
Definition at line <a class="el" href="qwt__scale__engine_8cpp-source.html#l00309">309</a> of file <a class="el" href="qwt__scale__engine_8cpp-source.html">qwt_scale_engine.cpp</a>.
732
 
<p>
733
 
Referenced by <a class="el" href="qwt__scale__engine_8cpp-source.html#l00629">QwtLog10ScaleEngine::autoScale()</a>, and <a class="el" href="qwt__scale__engine_8cpp-source.html#l00416">QwtLinearScaleEngine::autoScale()</a>.
734
 
</div>
735
 
</div><p>
736
 
<hr size="1"><address style="align: right;"><small>Generated on Sat May 24 18:49:03 2008 for Qwt User's Guide by&nbsp;
737
 
<a href="http://www.doxygen.org/index.html">
738
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
739
 
</body>
740
 
</html>