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's Guide: QwtPlot Class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.5.0 -->
10
<li><a href="index.html"><span>Main 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 Pages</span></a></li>
17
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
18
<li><a href="annotated.html"><span>Class List</span></a></li>
19
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
20
<li><a href="functions.html"><span>Class Members</span></a></li>
22
<h1>QwtPlot Class Reference</h1><!-- doxytag: class="QwtPlot" --><!-- doxytag: inherits="QwtPlotDict" -->Inheritance diagram for QwtPlot:<p><center><img src="class_qwt_plot__inherit__graph.png" border="0" usemap="#_qwt_plot__inherit__map" alt="Inheritance graph"></center>
23
<map name="_qwt_plot__inherit__map">
24
<area href="class_qwt_plot_dict.html" shape="rect" coords="7,8,97,32" alt="">
26
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QwtPlot:<p><center><img src="class_qwt_plot__coll__graph.png" border="0" usemap="#_qwt_plot__coll__map" alt="Collaboration graph"></center>
27
<map name="_qwt_plot__coll__map">
28
<area href="class_qwt_plot_dict.html" shape="rect" coords="7,8,97,32" alt="">
30
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_plot-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
31
A 2-D plotting widget.
33
<a class="el" href="class_qwt_plot.html">QwtPlot</a> is a widget for plotting two-dimensional graphs. An unlimited number of plot items can be displayed on its canvas. Plot items might be curves (<a class="el" href="class_qwt_plot_curve.html">QwtPlotCurve</a>), markers (<a class="el" href="class_qwt_plot_marker.html">QwtPlotMarker</a>), the grid (<a class="el" href="class_qwt_plot_grid.html">QwtPlotGrid</a>), or anything else derived from <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a>. A plot can have up to four axes, with each plot item attached to an x- and a y axis. The scales at the axes can be explicitely set (<a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a>), or are calculated from the plot items, using algorithms (<a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a>) which can be configured separately for each axis.<p>
35
<img src="plot.png" alt="plot.png">
38
<dl class="user" compact><dt><b>Example</b></dt><dd>The following example shows (schematically) the most simple way to use <a class="el" href="class_qwt_plot.html">QwtPlot</a>. By default, only the left and bottom axes are visible and their scales are computed automatically. <div class="fragment"><pre class="fragment">
39
#include <qwt_plot.h>
40
#include <qwt_plot_curve.h>
43
double x[100], y1[100], y2[100]; // x and y values
45
myPlot = new QwtPlot("Two Curves", parent);
48
QwtPlotCurve *curve1 = new QwtPlotCurve("Curve 1");
49
QwtPlotCurve *curve2 = new QwtPlotCurve("Curve 2");
51
getSomeValues(x, y1, y2);
53
// copy the data into the curves
54
curve1->setData(x, y1, 100);
55
curve2->setData(x, y2, 100);
57
curve1->attach(myPlot);
58
curve2->attach(myPlot);
60
// finally, refresh the plot
62
</pre></div> </dd></dl>
67
Definition at line <a class="el" href="qwt__plot_8h-source.html#l00077">77</a> of file <a class="el" href="qwt__plot_8h-source.html">qwt_plot.h</a>.<table border="0" cellpadding="0" cellspacing="0">
69
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
70
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#81df699dcf9dde0752c0726b5f31e271">Axis</a> { <br>
71
<b>yLeft</b>,
73
<b>yRight</b>,
75
<b>xBottom</b>,
77
<b>xTop</b>,
79
<b>axisCnt</b>
83
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#31aacb65b5c049dde8c34a0d8482661b">LegendPosition</a> { <br>
84
<b>LeftLegend</b>,
86
<b>RightLegend</b>,
88
<b>BottomLegend</b>,
90
<b>TopLegend</b>,
92
<b>ExternalLegend</b>
96
<tr><td colspan="2"><br><h2>Public Slots</h2></td></tr>
97
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#e2191d8ad33164b83aa2a14563f132a5">clear</a> ()</td></tr>
99
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#7b094e29b8e92b00e36517d0d7633c4b">replot</a> ()</td></tr>
101
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#ea78ab565d05b69b8730a4af2a11f07e">autoRefresh</a> ()</td></tr>
103
<tr><td colspan="2"><br><h2>Signals</h2></td></tr>
104
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#52b75d5548fbe04539b6297de53a2222">legendClicked</a> (<a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> *plotItem)</td></tr>
106
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#bd9e17629dd7c142fed017ea5e347149">legendChecked</a> (<a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> *plotItem, bool on)</td></tr>
108
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
109
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#cde7121614da027e9a1dbc4591613ca7">QwtPlot</a> (QWidget *=NULL)</td></tr>
111
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#12888a2101ba2091db0e4710c6a109cb">QwtPlot</a> (const <a class="el" href="class_qwt_text.html">QwtText</a> &title, QWidget *p=NULL)</td></tr>
113
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#2b60620e3681810946dcc66002aad016">~QwtPlot</a> ()</td></tr>
115
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e7e93c7112d16cbd299cf3cbc0bf9f9f"></a><!-- doxytag: member="QwtPlot::applyProperties" ref="e7e93c7112d16cbd299cf3cbc0bf9f9f" args="(const QString &)" -->
116
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#e7e93c7112d16cbd299cf3cbc0bf9f9f">applyProperties</a> (const QString &)</td></tr>
118
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="864f78bcebc9cb767e8decca266cc3e4"></a><!-- doxytag: member="QwtPlot::grabProperties" ref="864f78bcebc9cb767e8decca266cc3e4" args="() const" -->
119
QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#864f78bcebc9cb767e8decca266cc3e4">grabProperties</a> () const</td></tr>
121
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#654934ec2ad167101dacb5174f5172d6">setAutoReplot</a> (bool tf=true)</td></tr>
123
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#3a639850b65bc4dbf22b3f3170d61804">autoReplot</a> () const</td></tr>
125
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#d6270719d1ca5ac5952ab5e7fec3f84a">print</a> (QPaintDevice &p, const <a class="el" href="class_qwt_plot_print_filter.html">QwtPlotPrintFilter</a> &=<a class="el" href="class_qwt_plot_print_filter.html">QwtPlotPrintFilter</a>()) const</td></tr>
127
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#034ba0fb75a71f0a3000636bf1c2388b">print</a> (QPainter *, const QRect &rect, const <a class="el" href="class_qwt_plot_print_filter.html">QwtPlotPrintFilter</a> &=<a class="el" href="class_qwt_plot_print_filter.html">QwtPlotPrintFilter</a>()) const</td></tr>
129
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_plot_layout.html">QwtPlotLayout</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#9156b14a6f67f6279a16fea063ce1d14">plotLayout</a> ()</td></tr>
131
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_plot_layout.html">QwtPlotLayout</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#d4b695580cdf504dd0996177c56ebe0b">plotLayout</a> () const</td></tr>
133
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#26f01ba1c3c85308db6cac67c5f1159c">setMargin</a> (int margin)</td></tr>
135
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#a1cd0fa079f2057df3ddb33355bf9536">margin</a> () const</td></tr>
137
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#9a7f0b219b404e5bed5dfca26c5c06a7">setTitle</a> (const QString &)</td></tr>
139
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#032ced8ddfad7483a372214954203719">setTitle</a> (const <a class="el" href="class_qwt_text.html">QwtText</a> &t)</td></tr>
141
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_text.html">QwtText</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#fb56eb977718774dff0fb4127f200bb0">title</a> () const</td></tr>
143
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_text_label.html">QwtTextLabel</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#c39356b86ed70ebf256a8ae964910206">titleLabel</a> ()</td></tr>
145
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_text_label.html">QwtTextLabel</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#09dcd60b8f2ce62904f4c21dcbfe2fa1">titleLabel</a> () const</td></tr>
147
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#afcc82150034fbeb393ceb9f54ba2f1a">canvas</a> ()</td></tr>
149
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#0e45633c978e7514af0d7ad032359670">canvas</a> () const</td></tr>
151
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#1a56902d2109fcf709ad1dbd35f0b859">setCanvasBackground</a> (const QColor &c)</td></tr>
153
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QColor & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#0094df4164c97de505e3dc6ad7be3385">canvasBackground</a> () const</td></tr>
155
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#5af96e90be286753d524bdb042917618">setCanvasLineWidth</a> (int w)</td></tr>
157
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#d310af5a2b55bfc8b064c70afc8eb5e8">canvasLineWidth</a> () const</td></tr>
159
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#44dc140e8503bb44da7921841f31051c">canvasMap</a> (int axisId) const</td></tr>
161
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#b98066e62e3a9f574f8f1d482974ef5c">invTransform</a> (int axisId, int pos) const </td></tr>
163
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#d7b0d371abcd3c86a7ee77f97eca06c5">transform</a> (int axisId, double value) const</td></tr>
165
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#619b65bb95090ab5a528e33a5014ae4f">axisScaleEngine</a> (int axisId)</td></tr>
167
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#358673463a8df0a65e58cd9d37223ff9">axisScaleEngine</a> (int axisId) const</td></tr>
169
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#bf09452377b53e584a5086354a134d78">setAxisScaleEngine</a> (int axisId, <a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a> *)</td></tr>
171
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#8138eee4eb6989a1f6d93bd34b9c4cfa">setAxisAutoScale</a> (int axisId)</td></tr>
173
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#2f306d8f8ca37352a9c42ff55d5f960f">axisAutoScale</a> (int axisId) const</td></tr>
175
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#b644f7a0a0566ff776c89cc225ce37d7">enableAxis</a> (int axisId, bool tf=true)</td></tr>
177
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#a6d08ba153cb46662692611b5c38bbe0">axisEnabled</a> (int axisId) const</td></tr>
179
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#9a14e57652c016f40388a68e556917e3">setAxisFont</a> (int axisId, const QFont &f)</td></tr>
181
<tr><td class="memItemLeft" nowrap align="right" valign="top">QFont </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#0469c6a1fcbc4d6f32c66b08b50b7e13">axisFont</a> (int axisId) const</td></tr>
183
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#cef5ea818944b93b8695d0c16924eed6">setAxisScale</a> (int axisId, double min, double max, double step=0)</td></tr>
185
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#2365da57b983eb39752fa4f6378c225a">setAxisScaleDiv</a> (int axisId, const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &)</td></tr>
187
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#956a14b08e016eb83768ff4187d3849d">setAxisScaleDraw</a> (int axisId, <a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> *)</td></tr>
189
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#85856d20d3904b0028b2f1ff7c65d113">axisStepSize</a> (int axisId) const</td></tr>
191
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#029086e7b26fcfeff5430d25a4df4f3e">axisScaleDiv</a> (int axisId) const</td></tr>
193
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#f20f32c68fdd8ae4adfeabf21eb6068b">axisScaleDiv</a> (int axisId)</td></tr>
195
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#aedfff42d8aee875d7bec082e1382f9f">axisScaleDraw</a> (int axisId) const</td></tr>
197
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#bbb49f1730c3ea9f636c032f81e5a87e">axisScaleDraw</a> (int axisId)</td></tr>
199
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_scale_widget.html">QwtScaleWidget</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#8436c30175884d7643d68fd0dd236cd8">axisWidget</a> (int axisId) const</td></tr>
201
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_scale_widget.html">QwtScaleWidget</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#e3386e1d38f70864c4c019c0eb6a3d9d">axisWidget</a> (int axisId)</td></tr>
203
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#19f1b67fa79b80c712cf5f52b97ea0c5">setAxisLabelAlignment</a> (int axisId, Qt::Alignment)</td></tr>
205
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#d5fa7aa01c88eab38ad64b131584f977">setAxisLabelRotation</a> (int axisId, double rotation)</td></tr>
207
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#5d60f1836e05e5cc5c7fe9570d6a608a">setAxisTitle</a> (int axisId, const QString &)</td></tr>
209
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#d134a193ab40ce33743365558d0303c4">setAxisTitle</a> (int axisId, const <a class="el" href="class_qwt_text.html">QwtText</a> &)</td></tr>
211
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_text.html">QwtText</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#0132283508f41bc16e559a6688b8e106">axisTitle</a> (int axisId) const</td></tr>
213
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#a45b271684d6202061f1afcfa70e7cf6">setAxisMaxMinor</a> (int axisId, int maxMinor)</td></tr>
215
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#663fd43f9ccecc4f5390dcd01baa46c0">axisMaxMajor</a> (int axisId) const</td></tr>
217
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#34df698558c9bd9c38bdd8ff04cc6c41">setAxisMaxMajor</a> (int axisId, int maxMajor)</td></tr>
219
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#14afbe0622b1b30c0ad5f725e1fc6b2a">axisMaxMinor</a> (int axisId) const</td></tr>
221
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#6e23cad2bce7b04a09f18fa139341d5c">insertLegend</a> (<a class="el" href="class_qwt_legend.html">QwtLegend</a> *, <a class="el" href="class_qwt_plot.html#31aacb65b5c049dde8c34a0d8482661b">LegendPosition</a>=QwtPlot::RightLegend, double ratio=-1.0)</td></tr>
223
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_legend.html">QwtLegend</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#ab1f2cf0e567e09a4c4bce3181c03ba0">legend</a> ()</td></tr>
225
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_legend.html">QwtLegend</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#f8ac9c9332b8625699d38d3d79354c57">legend</a> () const</td></tr>
227
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#99ad643676cf0cd5f11478f154102df2">polish</a> ()</td></tr>
229
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#2f57c941dd36f96c395b339474418fba">sizeHint</a> () const</td></tr>
231
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#1f013570f561aba1af14b5c98da2132b">minimumSizeHint</a> () const</td></tr>
233
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#d470068832406086d6823109d8d7f050">updateLayout</a> ()</td></tr>
235
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#f40d1bfdd9b6cd94e9981db8b254b961">event</a> (QEvent *)</td></tr>
237
<tr><td colspan="2"><br><h2>Protected Slots</h2></td></tr>
238
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#e1b53fe373a12b1558fca37fdc2f0a54">legendItemClicked</a> ()</td></tr>
240
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#d41768a65a7cc426091c89d54e3c2ab2">legendItemChecked</a> (bool)</td></tr>
242
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
243
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#dd1b88d8312e2671652d23f8181f2433">drawCanvas</a> (QPainter *)</td></tr>
245
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#e36e68025f4f8b460d690ea7c7a04d9e">drawItems</a> (QPainter *, const QRect &, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> maps[axisCnt], const <a class="el" href="class_qwt_plot_print_filter.html">QwtPlotPrintFilter</a> &) const</td></tr>
247
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#6455596162a69876a3504c0017531cf3">updateTabOrder</a> ()</td></tr>
249
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#1fb2dbc3697a66024d48c08b1d18f8a5">updateAxes</a> ()</td></tr>
251
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#a4d5f73681880b9770bb6a604c415987">resizeEvent</a> (QResizeEvent *e)</td></tr>
253
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#9790ac102d566d744b9cfe9bb5e52a67">printLegendItem</a> (QPainter *, const QWidget *, const QRect &) const</td></tr>
255
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#37a3264b7e3bc692f35474a82a6ab28b">printTitle</a> (QPainter *, const QRect &) const</td></tr>
257
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#d881d5918384f5a0f112c2faa68ab031">printScale</a> (QPainter *, int axisId, int startDist, int endDist, int baseDist, const QRect &) const</td></tr>
259
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#d42514cf3728466a720d2a1290f13a53">printCanvas</a> (QPainter *, const QRect &boundingRect, const QRect &canvasRect, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> maps[axisCnt], const <a class="el" href="class_qwt_plot_print_filter.html">QwtPlotPrintFilter</a> &) const</td></tr>
261
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#4a082258f60aef10b3bcdab1574d2ae2">printLegend</a> (QPainter *, const QRect &) const</td></tr>
263
<tr><td colspan="2"><br><h2>Static Protected Member Functions</h2></td></tr>
264
<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#c02c033b024a4ecbefcf1b0e93c91205">axisValid</a> (int axisId)</td></tr>
266
<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
267
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ccdb72255f819eb70751e070294496fd"></a><!-- doxytag: member="QwtPlot::QwtPlotCanvas" ref="ccdb72255f819eb70751e070294496fd" args="" -->
268
class </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot.html#ccdb72255f819eb70751e070294496fd">QwtPlotCanvas</a></td></tr>
271
<hr><h2>Member Enumeration Documentation</h2>
272
<a class="anchor" name="81df699dcf9dde0752c0726b5f31e271"></a><!-- doxytag: member="QwtPlot::Axis" ref="81df699dcf9dde0752c0726b5f31e271" args="" -->
273
<div class="memitem">
274
<div class="memproto">
275
<table class="memname">
277
<td class="memname">enum <a class="el" href="class_qwt_plot.html#81df699dcf9dde0752c0726b5f31e271">QwtPlot::Axis</a> </td>
288
Definition at line <a class="el" href="qwt__plot_8h-source.html#l00087">87</a> of file <a class="el" href="qwt__plot_8h-source.html">qwt_plot.h</a>.
291
<a class="anchor" name="31aacb65b5c049dde8c34a0d8482661b"></a><!-- doxytag: member="QwtPlot::LegendPosition" ref="31aacb65b5c049dde8c34a0d8482661b" args="" -->
292
<div class="memitem">
293
<div class="memproto">
294
<table class="memname">
296
<td class="memname">enum <a class="el" href="class_qwt_plot.html#31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a> </td>
303
Position of the legend, relative to the canvas.
305
ExternalLegend means that only the content of the legend will be handled by <a class="el" href="class_qwt_plot.html">QwtPlot</a>, but not its geometry. This might be interesting if an application wants to have a legend in an external window.
307
Definition at line <a class="el" href="qwt__plot_8h-source.html#l00105">105</a> of file <a class="el" href="qwt__plot_8h-source.html">qwt_plot.h</a>.
310
<hr><h2>Constructor & Destructor Documentation</h2>
311
<a class="anchor" name="cde7121614da027e9a1dbc4591613ca7"></a><!-- doxytag: member="QwtPlot::QwtPlot" ref="cde7121614da027e9a1dbc4591613ca7" args="(QWidget *=NULL)" -->
312
<div class="memitem">
313
<div class="memproto">
314
<table class="memname">
316
<td class="memname">QwtPlot::QwtPlot </td>
318
<td class="paramtype">QWidget * </td>
319
<td class="paramname"> <em>parent</em> = <code>NULL</code> </td>
320
<td> ) </td>
321
<td width="100%"><code> [explicit]</code></td>
330
<dl compact><dt><b>Parameters:</b></dt><dd>
331
<table border="0" cellspacing="2" cellpadding="0">
332
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Parent widget </td></tr>
337
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00052">52</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
340
<a class="anchor" name="12888a2101ba2091db0e4710c6a109cb"></a><!-- doxytag: member="QwtPlot::QwtPlot" ref="12888a2101ba2091db0e4710c6a109cb" args="(const QwtText &title, QWidget *p=NULL)" -->
341
<div class="memitem">
342
<div class="memproto">
343
<table class="memname">
345
<td class="memname">QwtPlot::QwtPlot </td>
347
<td class="paramtype">const <a class="el" href="class_qwt_text.html">QwtText</a> & </td>
348
<td class="paramname"> <em>title</em>, </td>
351
<td class="paramkey"></td>
353
<td class="paramtype">QWidget * </td>
354
<td class="paramname"> <em>parent</em> = <code>NULL</code></td><td> </td>
359
<td></td><td></td><td width="100%"><code> [explicit]</code></td>
368
<dl compact><dt><b>Parameters:</b></dt><dd>
369
<table border="0" cellspacing="2" cellpadding="0">
370
<tr><td valign="top"></td><td valign="top"><em>title</em> </td><td>Title text </td></tr>
371
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Parent widget </td></tr>
376
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00063">63</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
378
References <a class="el" href="qwt__plot_8cpp-source.html#l00222">title()</a>.
381
<a class="anchor" name="2b60620e3681810946dcc66002aad016"></a><!-- doxytag: member="QwtPlot::~QwtPlot" ref="2b60620e3681810946dcc66002aad016" args="()" -->
382
<div class="memitem">
383
<div class="memproto">
384
<table class="memname">
386
<td class="memname">QwtPlot::~QwtPlot </td>
388
<td class="paramname"> </td>
389
<td> ) </td>
390
<td width="100%"><code> [virtual]</code></td>
401
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00084">84</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
403
References <a class="el" href="qwt__plot__dict_8cpp-source.html#l00129">QwtPlotDict::autoDelete()</a>, and <a class="el" href="qwt__plot__dict_8cpp-source.html#l00161">QwtPlotDict::detachItems()</a>.
406
<hr><h2>Member Function Documentation</h2>
407
<a class="anchor" name="654934ec2ad167101dacb5174f5172d6"></a><!-- doxytag: member="QwtPlot::setAutoReplot" ref="654934ec2ad167101dacb5174f5172d6" args="(bool tf=true)" -->
408
<div class="memitem">
409
<div class="memproto">
410
<table class="memname">
412
<td class="memname">void QwtPlot::setAutoReplot </td>
414
<td class="paramtype">bool </td>
415
<td class="paramname"> <em>tf</em> = <code>true</code> </td>
416
<td> ) </td>
417
<td width="100%"></td>
424
Set or reset the autoReplot option.
426
If the autoReplot option is set, the plot will be updated implicitly by manipulating member functions. Since this may be time-consuming, it is recommended to leave this option switched off and call <a class="el" href="class_qwt_plot.html#7b094e29b8e92b00e36517d0d7633c4b">replot()</a> explicitly if necessary.<p>
427
The autoReplot option is set to false by default, which means that the user has to call <a class="el" href="class_qwt_plot.html#7b094e29b8e92b00e36517d0d7633c4b">replot()</a> in order to make changes visible. <dl compact><dt><b>Parameters:</b></dt><dd>
428
<table border="0" cellspacing="2" cellpadding="0">
429
<tr><td valign="top"></td><td valign="top"><em>tf</em> </td><td><code>true</code> or <code>false</code>. Defaults to <code>true</code>. </td></tr>
432
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#7b094e29b8e92b00e36517d0d7633c4b">replot()</a> </dd></dl>
435
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00184">184</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
437
Referenced by <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00157">QwtPlotPrintFilter::apply()</a>, <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00250">QwtPlotCanvas::drawContents()</a>, <a class="el" href="qwt__plot__panner_8cpp-source.html#l00130">QwtPlotPanner::moveCanvas()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00363">replot()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00379">QwtPlotZoomer::rescale()</a>, <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00120">QwtPlotMagnifier::rescale()</a>, and <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00366">QwtPlotPrintFilter::reset()</a>.
440
<a class="anchor" name="3a639850b65bc4dbf22b3f3170d61804"></a><!-- doxytag: member="QwtPlot::autoReplot" ref="3a639850b65bc4dbf22b3f3170d61804" args="() const" -->
441
<div class="memitem">
442
<div class="memproto">
443
<table class="memname">
445
<td class="memname">bool QwtPlot::autoReplot </td>
447
<td class="paramname"> </td>
448
<td> ) </td>
449
<td width="100%"> const</td>
456
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if the autoReplot option is set. </dd></dl>
461
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00190">190</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
463
Referenced by <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00157">QwtPlotPrintFilter::apply()</a>, <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00250">QwtPlotCanvas::drawContents()</a>, <a class="el" href="qwt__plot__panner_8cpp-source.html#l00130">QwtPlotPanner::moveCanvas()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00363">replot()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00379">QwtPlotZoomer::rescale()</a>, <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00120">QwtPlotMagnifier::rescale()</a>, and <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00366">QwtPlotPrintFilter::reset()</a>.
466
<a class="anchor" name="d6270719d1ca5ac5952ab5e7fec3f84a"></a><!-- doxytag: member="QwtPlot::print" ref="d6270719d1ca5ac5952ab5e7fec3f84a" args="(QPaintDevice &p, const QwtPlotPrintFilter &=QwtPlotPrintFilter()) const" -->
467
<div class="memitem">
468
<div class="memproto">
469
<table class="memname">
471
<td class="memname">void QwtPlot::print </td>
473
<td class="paramtype">QPaintDevice & </td>
474
<td class="paramname"> <em>paintDev</em>, </td>
477
<td class="paramkey"></td>
479
<td class="paramtype">const <a class="el" href="class_qwt_plot_print_filter.html">QwtPlotPrintFilter</a> & </td>
480
<td class="paramname"> <em>pfilter</em> = <code><a class="el" href="class_qwt_plot_print_filter.html">QwtPlotPrintFilter</a>()</code></td><td> </td>
485
<td></td><td></td><td width="100%"> const</td>
492
Print the plot to a <code>QPaintDevice</code> (<code>QPrinter</code>) This function prints the contents of a <a class="el" href="class_qwt_plot.html">QwtPlot</a> instance to <code>QPaintDevice</code> object. The size is derived from its device metrics.
494
<dl compact><dt><b>Parameters:</b></dt><dd>
495
<table border="0" cellspacing="2" cellpadding="0">
496
<tr><td valign="top"></td><td valign="top"><em>paintDev</em> </td><td>device to paint on, often a printer </td></tr>
497
<tr><td valign="top"></td><td valign="top"><em>pfilter</em> </td><td>print filter </td></tr>
500
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#d6270719d1ca5ac5952ab5e7fec3f84a">QwtPlot::print</a> <p>
501
<a class="el" href="class_qwt_plot_print_filter.html">QwtPlotPrintFilter</a> </dd></dl>
504
Definition at line <a class="el" href="qwt__plot__print_8cpp-source.html#l00043">43</a> of file <a class="el" href="qwt__plot__print_8cpp-source.html">qwt_plot_print.cpp</a>.
507
<a class="anchor" name="034ba0fb75a71f0a3000636bf1c2388b"></a><!-- doxytag: member="QwtPlot::print" ref="034ba0fb75a71f0a3000636bf1c2388b" args="(QPainter *, const QRect &rect, const QwtPlotPrintFilter &=QwtPlotPrintFilter()) const" -->
508
<div class="memitem">
509
<div class="memproto">
510
<table class="memname">
512
<td class="memname">void QwtPlot::print </td>
514
<td class="paramtype">QPainter * </td>
515
<td class="paramname"> <em>painter</em>, </td>
518
<td class="paramkey"></td>
520
<td class="paramtype">const QRect & </td>
521
<td class="paramname"> <em>plotRect</em>, </td>
524
<td class="paramkey"></td>
526
<td class="paramtype">const <a class="el" href="class_qwt_plot_print_filter.html">QwtPlotPrintFilter</a> & </td>
527
<td class="paramname"> <em>pfilter</em> = <code><a class="el" href="class_qwt_plot_print_filter.html">QwtPlotPrintFilter</a>()</code></td><td> </td>
532
<td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
539
Paint the plot into a given rectangle. Paint the contents of a <a class="el" href="class_qwt_plot.html">QwtPlot</a> instance into a given rectangle.
541
<dl compact><dt><b>Parameters:</b></dt><dd>
542
<table border="0" cellspacing="2" cellpadding="0">
543
<tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter </td></tr>
544
<tr><td valign="top"></td><td valign="top"><em>plotRect</em> </td><td>Bounding rectangle </td></tr>
545
<tr><td valign="top"></td><td valign="top"><em>pfilter</em> </td><td>Print filter </td></tr>
548
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_print_filter.html">QwtPlotPrintFilter</a> </dd></dl>
551
Definition at line <a class="el" href="qwt__plot__print_8cpp-source.html#l00073">73</a> of file <a class="el" href="qwt__plot__print_8cpp-source.html">qwt_plot_print.cpp</a>.
553
References <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00157">QwtPlotPrintFilter::apply()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00177">axisEnabled()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00235">axisScaleDiv()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00144">axisScaleEngine()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00100">axisWidget()</a>, <a class="el" href="qwt__plot__layout_8cpp-source.html#l00253">QwtPlotLayout::canvasMargin()</a>, <a class="el" href="qwt__plot__layout_8cpp-source.html#l00442">QwtPlotLayout::canvasRect()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00375">QwtScaleWidget::endBorderDist()</a>, <a class="el" href="qwt__scale__div_8h-source.html#l00111">QwtScaleDiv::hBound()</a>, <a class="el" href="qwt__legend_8cpp-source.html#l00617">QwtLegend::isEmpty()</a>, <a class="el" href="qwt__scale__div_8h-source.html#l00102">QwtScaleDiv::lBound()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00257">legend()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00681">margin()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00384">QwtScaleWidget::margin()</a>, <a class="el" href="qwt__painter_8cpp-source.html#l00160">QwtPainter::metricsMap()</a>, <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00108">QwtPlotPrintFilter::options()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00228">plotLayout()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00467">printCanvas()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00280">printLegend()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00359">printScale()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00256">printTitle()</a>, <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00366">QwtPlotPrintFilter::reset()</a>, <a class="el" href="qwt__painter_8cpp-source.html#l00152">QwtPainter::resetMetricsMap()</a>, <a class="el" href="qwt__plot__layout_8cpp-source.html#l00427">QwtPlotLayout::scaleRect()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00248">QwtScaleWidget::setMargin()</a>, <a class="el" href="qwt__painter_8cpp-source.html#l00133">QwtPainter::setMetricsMap()</a>, <a class="el" href="qwt__scale__map_8cpp-source.html#l00194">QwtScaleMap::setPaintXInterval()</a>, <a class="el" href="qwt__scale__map_8cpp-source.html#l00153">QwtScaleMap::setScaleInterval()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00366">QwtScaleWidget::startBorderDist()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00240">titleLabel()</a>.
556
<a class="anchor" name="9156b14a6f67f6279a16fea063ce1d14"></a><!-- doxytag: member="QwtPlot::plotLayout" ref="9156b14a6f67f6279a16fea063ce1d14" args="()" -->
557
<div class="memitem">
558
<div class="memproto">
559
<table class="memname">
561
<td class="memname"><a class="el" href="class_qwt_plot_layout.html">QwtPlotLayout</a> * QwtPlot::plotLayout </td>
563
<td class="paramname"> </td>
564
<td> ) </td>
565
<td width="100%"></td>
572
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the plot's title </dd></dl>
577
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00228">228</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
579
Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00612">canvasMap()</a>, and <a class="el" href="qwt__plot__print_8cpp-source.html#l00073">print()</a>.
582
<a class="anchor" name="d4b695580cdf504dd0996177c56ebe0b"></a><!-- doxytag: member="QwtPlot::plotLayout" ref="d4b695580cdf504dd0996177c56ebe0b" args="() const" -->
583
<div class="memitem">
584
<div class="memproto">
585
<table class="memname">
587
<td class="memname">const <a class="el" href="class_qwt_plot_layout.html">QwtPlotLayout</a> * QwtPlot::plotLayout </td>
589
<td class="paramname"> </td>
590
<td> ) </td>
591
<td width="100%"> const</td>
598
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the plot's titel label. </dd></dl>
603
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00234">234</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
606
<a class="anchor" name="26f01ba1c3c85308db6cac67c5f1159c"></a><!-- doxytag: member="QwtPlot::setMargin" ref="26f01ba1c3c85308db6cac67c5f1159c" args="(int margin)" -->
607
<div class="memitem">
608
<div class="memproto">
609
<table class="memname">
611
<td class="memname">void QwtPlot::setMargin </td>
613
<td class="paramtype">int </td>
614
<td class="paramname"> <em>margin</em> </td>
615
<td> ) </td>
616
<td width="100%"></td>
623
Change the margin of the plot. The margin is the space around all components.<p>
624
<dl compact><dt><b>Parameters:</b></dt><dd>
625
<table border="0" cellspacing="2" cellpadding="0">
626
<tr><td valign="top"></td><td valign="top"><em>margin</em> </td><td>new margin </td></tr>
629
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_layout.html#67fc75a6f4c4d368d629841df1c5e6a5">QwtPlotLayout::setMargin()</a>, <a class="el" href="class_qwt_plot.html#a1cd0fa079f2057df3ddb33355bf9536">margin()</a>, <a class="el" href="class_qwt_plot.html#9156b14a6f67f6279a16fea063ce1d14">plotLayout()</a> </dd></dl>
632
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00665">665</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
634
References <a class="el" href="qwt__plot_8cpp-source.html#l00413">updateLayout()</a>.
637
<a class="anchor" name="a1cd0fa079f2057df3ddb33355bf9536"></a><!-- doxytag: member="QwtPlot::margin" ref="a1cd0fa079f2057df3ddb33355bf9536" args="() const" -->
638
<div class="memitem">
639
<div class="memproto">
640
<table class="memname">
642
<td class="memname">int QwtPlot::margin </td>
644
<td class="paramname"> </td>
645
<td> ) </td>
646
<td width="100%"> const</td>
653
<dl class="return" compact><dt><b>Returns:</b></dt><dd>margin </dd></dl>
654
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#26f01ba1c3c85308db6cac67c5f1159c">setMargin()</a>, <a class="el" href="class_qwt_plot_layout.html#cd383d112d14e13d0c9a4371ef4ce7de">QwtPlotLayout::margin()</a>, <a class="el" href="class_qwt_plot.html#9156b14a6f67f6279a16fea063ce1d14">plotLayout()</a> </dd></dl>
657
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00681">681</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
659
Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00612">canvasMap()</a>, and <a class="el" href="qwt__plot__print_8cpp-source.html#l00073">print()</a>.
662
<a class="anchor" name="9a7f0b219b404e5bed5dfca26c5c06a7"></a><!-- doxytag: member="QwtPlot::setTitle" ref="9a7f0b219b404e5bed5dfca26c5c06a7" args="(const QString &)" -->
663
<div class="memitem">
664
<div class="memproto">
665
<table class="memname">
667
<td class="memname">void QwtPlot::setTitle </td>
669
<td class="paramtype">const QString & </td>
670
<td class="paramname"> <em>title</em> </td>
671
<td> ) </td>
672
<td width="100%"></td>
679
Change the plot's title <dl compact><dt><b>Parameters:</b></dt><dd>
680
<table border="0" cellspacing="2" cellpadding="0">
681
<tr><td valign="top"></td><td valign="top"><em>title</em> </td><td>New title </td></tr>
686
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00199">199</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
688
References <a class="el" href="qwt__plot_8cpp-source.html#l00413">updateLayout()</a>.
690
Referenced by <a class="el" href="qwt__plot__xml_8cpp-source.html#l00012">applyProperties()</a>.
693
<a class="anchor" name="032ced8ddfad7483a372214954203719"></a><!-- doxytag: member="QwtPlot::setTitle" ref="032ced8ddfad7483a372214954203719" args="(const QwtText &t)" -->
694
<div class="memitem">
695
<div class="memproto">
696
<table class="memname">
698
<td class="memname">void QwtPlot::setTitle </td>
700
<td class="paramtype">const <a class="el" href="class_qwt_text.html">QwtText</a> & </td>
701
<td class="paramname"> <em>title</em> </td>
702
<td> ) </td>
703
<td width="100%"></td>
710
Change the plot's title <dl compact><dt><b>Parameters:</b></dt><dd>
711
<table border="0" cellspacing="2" cellpadding="0">
712
<tr><td valign="top"></td><td valign="top"><em>title</em> </td><td>New title </td></tr>
717
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00212">212</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
719
References <a class="el" href="qwt__plot_8cpp-source.html#l00222">title()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00413">updateLayout()</a>.
722
<a class="anchor" name="fb56eb977718774dff0fb4127f200bb0"></a><!-- doxytag: member="QwtPlot::title" ref="fb56eb977718774dff0fb4127f200bb0" args="() const" -->
723
<div class="memitem">
724
<div class="memproto">
725
<table class="memname">
727
<td class="memname"><a class="el" href="class_qwt_text.html">QwtText</a> QwtPlot::title </td>
729
<td class="paramname"> </td>
730
<td> ) </td>
731
<td width="100%"> const</td>
738
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the plot's title </dd></dl>
743
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00222">222</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
745
Referenced by <a class="el" href="qwt__plot__xml_8cpp-source.html#l00021">grabProperties()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00063">QwtPlot()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00572">setAxisTitle()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00212">setTitle()</a>.
748
<a class="anchor" name="c39356b86ed70ebf256a8ae964910206"></a><!-- doxytag: member="QwtPlot::titleLabel" ref="c39356b86ed70ebf256a8ae964910206" args="()" -->
749
<div class="memitem">
750
<div class="memproto">
751
<table class="memname">
753
<td class="memname"><a class="el" href="class_qwt_text_label.html">QwtTextLabel</a> * QwtPlot::titleLabel </td>
755
<td class="paramname"> </td>
756
<td> ) </td>
757
<td width="100%"></td>
764
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the plot's titel label. </dd></dl>
769
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00240">240</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
771
Referenced by <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00157">QwtPlotPrintFilter::apply()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00073">print()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00256">printTitle()</a>, and <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00366">QwtPlotPrintFilter::reset()</a>.
774
<a class="anchor" name="09dcd60b8f2ce62904f4c21dcbfe2fa1"></a><!-- doxytag: member="QwtPlot::titleLabel" ref="09dcd60b8f2ce62904f4c21dcbfe2fa1" args="() const" -->
775
<div class="memitem">
776
<div class="memproto">
777
<table class="memname">
779
<td class="memname">const <a class="el" href="class_qwt_text_label.html">QwtTextLabel</a> * QwtPlot::titleLabel </td>
781
<td class="paramname"> </td>
782
<td> ) </td>
783
<td width="100%"> const</td>
790
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the plot's titel label. </dd></dl>
793
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00248">248</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
796
<a class="anchor" name="afcc82150034fbeb393ceb9f54ba2f1a"></a><!-- doxytag: member="QwtPlot::canvas" ref="afcc82150034fbeb393ceb9f54ba2f1a" args="()" -->
797
<div class="memitem">
798
<div class="memproto">
799
<table class="memname">
801
<td class="memname"><a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a> * QwtPlot::canvas </td>
803
<td class="paramname"> </td>
804
<td> ) </td>
805
<td width="100%"></td>
812
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the plot's canvas </dd></dl>
815
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00275">275</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
817
Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00716">canvasBackground()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00744">canvasLineWidth()</a>, <a class="el" href="qwt__plot__curve_8cpp-source.html#l00483">QwtPlotCurve::draw()</a>, <a class="el" href="qwt__plot__layout_8cpp-source.html#l00463">QwtPlotLayout::minimumSizeHint()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00467">printCanvas()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00363">replot()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00694">setCanvasBackground()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00733">setCanvasLineWidth()</a>.
820
<a class="anchor" name="0e45633c978e7514af0d7ad032359670"></a><!-- doxytag: member="QwtPlot::canvas" ref="0e45633c978e7514af0d7ad032359670" args="() const" -->
821
<div class="memitem">
822
<div class="memproto">
823
<table class="memname">
825
<td class="memname">const <a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a> * QwtPlot::canvas </td>
827
<td class="paramname"> </td>
828
<td> ) </td>
829
<td width="100%"> const</td>
836
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the plot's canvas </dd></dl>
839
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00283">283</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
842
<a class="anchor" name="1a56902d2109fcf709ad1dbd35f0b859"></a><!-- doxytag: member="QwtPlot::setCanvasBackground" ref="1a56902d2109fcf709ad1dbd35f0b859" args="(const QColor &c)" -->
843
<div class="memitem">
844
<div class="memproto">
845
<table class="memname">
847
<td class="memname">void QwtPlot::setCanvasBackground </td>
849
<td class="paramtype">const QColor & </td>
850
<td class="paramname"> <em>c</em> </td>
851
<td> ) </td>
852
<td width="100%"></td>
859
Change the background of the plotting area.
861
Sets c to QColorGroup::Background of all colorgroups of the palette of the canvas. Using <a class="el" href="class_qwt_plot.html#afcc82150034fbeb393ceb9f54ba2f1a">canvas()</a>->setPalette() is a more powerful way to set these colors. <dl compact><dt><b>Parameters:</b></dt><dd>
862
<table border="0" cellspacing="2" cellpadding="0">
863
<tr><td valign="top"></td><td valign="top"><em>c</em> </td><td>new background color </td></tr>
868
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00694">694</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
870
References <a class="el" href="qwt__plot_8cpp-source.html#l00275">canvas()</a>.
872
Referenced by <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00157">QwtPlotPrintFilter::apply()</a>, and <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00366">QwtPlotPrintFilter::reset()</a>.
875
<a class="anchor" name="0094df4164c97de505e3dc6ad7be3385"></a><!-- doxytag: member="QwtPlot::canvasBackground" ref="0094df4164c97de505e3dc6ad7be3385" args="() const" -->
876
<div class="memitem">
877
<div class="memproto">
878
<table class="memname">
880
<td class="memname">const QColor & QwtPlot::canvasBackground </td>
882
<td class="paramname"> </td>
883
<td> ) </td>
884
<td width="100%"> const</td>
891
Nothing else than: <a class="el" href="class_qwt_plot.html#afcc82150034fbeb393ceb9f54ba2f1a">canvas()</a>->palette().color( QPalette::Normal, QColorGroup::Background);<p>
892
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the background color of the plotting area. </dd></dl>
895
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00716">716</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
897
References <a class="el" href="qwt__plot_8cpp-source.html#l00275">canvas()</a>.
899
Referenced by <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00157">QwtPlotPrintFilter::apply()</a>.
902
<a class="anchor" name="5af96e90be286753d524bdb042917618"></a><!-- doxytag: member="QwtPlot::setCanvasLineWidth" ref="5af96e90be286753d524bdb042917618" args="(int w)" -->
903
<div class="memitem">
904
<div class="memproto">
905
<table class="memname">
907
<td class="memname">void QwtPlot::setCanvasLineWidth </td>
909
<td class="paramtype">int </td>
910
<td class="paramname"> <em>w</em> </td>
911
<td> ) </td>
912
<td width="100%"></td>
919
Change the border width of the plotting area Nothing else than <a class="el" href="class_qwt_plot.html#afcc82150034fbeb393ceb9f54ba2f1a">canvas()</a>->setLineWidth(w), left for compatibility only.
921
<dl compact><dt><b>Parameters:</b></dt><dd>
922
<table border="0" cellspacing="2" cellpadding="0">
923
<tr><td valign="top"></td><td valign="top"><em>w</em> </td><td>new border width </td></tr>
928
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00733">733</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
930
References <a class="el" href="qwt__plot_8cpp-source.html#l00275">canvas()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00413">updateLayout()</a>.
933
<a class="anchor" name="d310af5a2b55bfc8b064c70afc8eb5e8"></a><!-- doxytag: member="QwtPlot::canvasLineWidth" ref="d310af5a2b55bfc8b064c70afc8eb5e8" args="() const" -->
934
<div class="memitem">
935
<div class="memproto">
936
<table class="memname">
938
<td class="memname">int QwtPlot::canvasLineWidth </td>
940
<td class="paramname"> </td>
941
<td> ) </td>
942
<td width="100%"> const</td>
949
Nothing else than: <a class="el" href="class_qwt_plot.html#afcc82150034fbeb393ceb9f54ba2f1a">canvas()</a>->lineWidth(), left for compatibility only. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the border width of the plotting area </dd></dl>
952
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00744">744</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
954
References <a class="el" href="qwt__plot_8cpp-source.html#l00275">canvas()</a>.
957
<a class="anchor" name="44dc140e8503bb44da7921841f31051c"></a><!-- doxytag: member="QwtPlot::canvasMap" ref="44dc140e8503bb44da7921841f31051c" args="(int axisId) const" -->
958
<div class="memitem">
959
<div class="memproto">
960
<table class="memname">
962
<td class="memname"><a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> QwtPlot::canvasMap </td>
964
<td class="paramtype">int </td>
965
<td class="paramname"> <em>axisId</em> </td>
966
<td> ) </td>
967
<td width="100%"> const<code> [virtual]</code></td>
974
<dl compact><dt><b>Parameters:</b></dt><dd>
975
<table border="0" cellspacing="2" cellpadding="0">
976
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>Axis </td></tr>
979
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Map for the axis on the canvas. With this map pixel coordinates can translated to plot coordinates and vice versa. </dd></dl>
980
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a>, <a class="el" href="class_qwt_plot.html#d7b0d371abcd3c86a7ee77f97eca06c5">transform()</a>, <a class="el" href="class_qwt_plot.html#b98066e62e3a9f574f8f1d482974ef5c">invTransform()</a> </dd></dl>
983
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00612">612</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
985
References <a class="el" href="qwt__plot__axis_8cpp-source.html#l00177">axisEnabled()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00235">axisScaleDiv()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00144">axisScaleEngine()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00100">axisWidget()</a>, <a class="el" href="qwt__plot__layout_8cpp-source.html#l00253">QwtPlotLayout::canvasMargin()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00375">QwtScaleWidget::endBorderDist()</a>, <a class="el" href="qwt__scale__div_8h-source.html#l00111">QwtScaleDiv::hBound()</a>, <a class="el" href="qwt__scale__div_8h-source.html#l00102">QwtScaleDiv::lBound()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00681">margin()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00228">plotLayout()</a>, <a class="el" href="qwt__scale__map_8cpp-source.html#l00180">QwtScaleMap::setPaintInterval()</a>, <a class="el" href="qwt__scale__map_8cpp-source.html#l00153">QwtScaleMap::setScaleInterval()</a>, <a class="el" href="qwt__scale__map_8cpp-source.html#l00130">QwtScaleMap::setTransformation()</a>, and <a class="el" href="qwt__scale__widget_8cpp-source.html#l00366">QwtScaleWidget::startBorderDist()</a>.
987
Referenced by <a class="el" href="qwt__plot__curve_8cpp-source.html#l01190">QwtPlotCurve::closestPoint()</a>, <a class="el" href="qwt__plot__curve_8cpp-source.html#l00483">QwtPlotCurve::draw()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00554">drawCanvas()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00332">QwtPlotPicker::invTransform()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00349">invTransform()</a>, <a class="el" href="qwt__plot__panner_8cpp-source.html#l00130">QwtPlotPanner::moveCanvas()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00351">QwtPlotPicker::transform()</a>, and <a class="el" href="qwt__plot__axis_8cpp-source.html#l00365">transform()</a>.
990
<a class="anchor" name="b98066e62e3a9f574f8f1d482974ef5c"></a><!-- doxytag: member="QwtPlot::invTransform" ref="b98066e62e3a9f574f8f1d482974ef5c" args="(int axisId, int pos) const " -->
991
<div class="memitem">
992
<div class="memproto">
993
<table class="memname">
995
<td class="memname">double QwtPlot::invTransform </td>
997
<td class="paramtype">int </td>
998
<td class="paramname"> <em>axisId</em>, </td>
1001
<td class="paramkey"></td>
1003
<td class="paramtype">int </td>
1004
<td class="paramname"> <em>pos</em></td><td> </td>
1009
<td></td><td></td><td width="100%"> const</td>
1013
<div class="memdoc">
1016
Transform the x or y coordinate of a position in the drawing region into a value. <dl compact><dt><b>Parameters:</b></dt><dd>
1017
<table border="0" cellspacing="2" cellpadding="0">
1018
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1019
<tr><td valign="top"></td><td valign="top"><em>pos</em> </td><td>position </td></tr>
1022
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>The position can be an x or a y coordinate, depending on the specified axis. </dd></dl>
1025
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00349">349</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1027
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00612">canvasMap()</a>.
1030
<a class="anchor" name="d7b0d371abcd3c86a7ee77f97eca06c5"></a><!-- doxytag: member="QwtPlot::transform" ref="d7b0d371abcd3c86a7ee77f97eca06c5" args="(int axisId, double value) const" -->
1031
<div class="memitem">
1032
<div class="memproto">
1033
<table class="memname">
1035
<td class="memname">int QwtPlot::transform </td>
1037
<td class="paramtype">int </td>
1038
<td class="paramname"> <em>axisId</em>, </td>
1041
<td class="paramkey"></td>
1043
<td class="paramtype">double </td>
1044
<td class="paramname"> <em>value</em></td><td> </td>
1049
<td></td><td></td><td width="100%"> const</td>
1053
<div class="memdoc">
1056
Transform a value into a coordinate in the plotting region.
1058
<dl compact><dt><b>Parameters:</b></dt><dd>
1059
<table border="0" cellspacing="2" cellpadding="0">
1060
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1061
<tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>value </td></tr>
1064
<dl class="return" compact><dt><b>Returns:</b></dt><dd>X or y coordinate in the plotting region corresponding to the value. </dd></dl>
1067
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00365">365</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1069
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00612">canvasMap()</a>.
1072
<a class="anchor" name="619b65bb95090ab5a528e33a5014ae4f"></a><!-- doxytag: member="QwtPlot::axisScaleEngine" ref="619b65bb95090ab5a528e33a5014ae4f" args="(int axisId)" -->
1073
<div class="memitem">
1074
<div class="memproto">
1075
<table class="memname">
1077
<td class="memname"><a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a> * QwtPlot::axisScaleEngine </td>
1079
<td class="paramtype">int </td>
1080
<td class="paramname"> <em>axisId</em> </td>
1081
<td> ) </td>
1082
<td width="100%"></td>
1086
<div class="memdoc">
1089
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Scale engine for a specific axis </dd></dl>
1094
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00144">144</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1096
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>.
1098
Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00612">canvasMap()</a>, and <a class="el" href="qwt__plot__print_8cpp-source.html#l00073">print()</a>.
1101
<a class="anchor" name="358673463a8df0a65e58cd9d37223ff9"></a><!-- doxytag: member="QwtPlot::axisScaleEngine" ref="358673463a8df0a65e58cd9d37223ff9" args="(int axisId) const" -->
1102
<div class="memitem">
1103
<div class="memproto">
1104
<table class="memname">
1106
<td class="memname">const <a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a> * QwtPlot::axisScaleEngine </td>
1108
<td class="paramtype">int </td>
1109
<td class="paramname"> <em>axisId</em> </td>
1110
<td> ) </td>
1111
<td width="100%"> const</td>
1115
<div class="memdoc">
1118
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Scale engine for a specific axis </dd></dl>
1123
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00153">153</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1125
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>.
1128
<a class="anchor" name="bf09452377b53e584a5086354a134d78"></a><!-- doxytag: member="QwtPlot::setAxisScaleEngine" ref="bf09452377b53e584a5086354a134d78" args="(int axisId, QwtScaleEngine *)" -->
1129
<div class="memitem">
1130
<div class="memproto">
1131
<table class="memname">
1133
<td class="memname">void QwtPlot::setAxisScaleEngine </td>
1135
<td class="paramtype">int </td>
1136
<td class="paramname"> <em>axisId</em>, </td>
1139
<td class="paramkey"></td>
1141
<td class="paramtype"><a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a> * </td>
1142
<td class="paramname"> <em>scaleEngine</em></td><td> </td>
1147
<td></td><td></td><td width="100%"></td>
1151
<div class="memdoc">
1154
Change the scale engine for an axis<p>
1155
<dl compact><dt><b>Parameters:</b></dt><dd>
1156
<table border="0" cellspacing="2" cellpadding="0">
1157
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1158
<tr><td valign="top"></td><td valign="top"><em>scaleEngine</em> </td><td>Scale engine</td></tr>
1161
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#619b65bb95090ab5a528e33a5014ae4f">axisScaleEngine()</a> </dd></dl>
1164
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00128">128</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1166
References <a class="el" href="qwt__plot_8cpp-source.html#l00163">autoRefresh()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>.
1169
<a class="anchor" name="8138eee4eb6989a1f6d93bd34b9c4cfa"></a><!-- doxytag: member="QwtPlot::setAxisAutoScale" ref="8138eee4eb6989a1f6d93bd34b9c4cfa" args="(int axisId)" -->
1170
<div class="memitem">
1171
<div class="memproto">
1172
<table class="memname">
1174
<td class="memname">void QwtPlot::setAxisAutoScale </td>
1176
<td class="paramtype">int </td>
1177
<td class="paramname"> <em>axisId</em> </td>
1178
<td> ) </td>
1179
<td width="100%"></td>
1183
<div class="memdoc">
1186
Enable autoscaling for a specified axis.
1188
This member function is used to switch back to autoscaling mode after a fixed scale has been set. Autoscaling is enabled by default.<p>
1189
<dl compact><dt><b>Parameters:</b></dt><dd>
1190
<table border="0" cellspacing="2" cellpadding="0">
1191
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1194
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#cef5ea818944b93b8695d0c16924eed6">QwtPlot::setAxisScale()</a>, <a class="el" href="class_qwt_plot.html#2365da57b983eb39752fa4f6378c225a">QwtPlot::setAxisScaleDiv()</a> </dd></dl>
1197
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00396">396</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1199
References <a class="el" href="qwt__plot_8cpp-source.html#l00163">autoRefresh()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>.
1202
<a class="anchor" name="2f306d8f8ca37352a9c42ff55d5f960f"></a><!-- doxytag: member="QwtPlot::axisAutoScale" ref="2f306d8f8ca37352a9c42ff55d5f960f" args="(int axisId) const" -->
1203
<div class="memitem">
1204
<div class="memproto">
1205
<table class="memname">
1207
<td class="memname">bool QwtPlot::axisAutoScale </td>
1209
<td class="paramtype">int </td>
1210
<td class="paramname"> <em>axisId</em> </td>
1211
<td> ) </td>
1212
<td width="100%"> const</td>
1216
<div class="memdoc">
1219
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if autoscaling is enabled </dd></dl>
1220
<dl compact><dt><b>Parameters:</b></dt><dd>
1221
<table border="0" cellspacing="2" cellpadding="0">
1222
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1227
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00164">164</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1229
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>.
1231
Referenced by <a class="el" href="qwt__plot__axis_8cpp-source.html#l00579">updateAxes()</a>.
1234
<a class="anchor" name="b644f7a0a0566ff776c89cc225ce37d7"></a><!-- doxytag: member="QwtPlot::enableAxis" ref="b644f7a0a0566ff776c89cc225ce37d7" args="(int axisId, bool tf=true)" -->
1235
<div class="memitem">
1236
<div class="memproto">
1237
<table class="memname">
1239
<td class="memname">void QwtPlot::enableAxis </td>
1241
<td class="paramtype">int </td>
1242
<td class="paramname"> <em>axisId</em>, </td>
1245
<td class="paramkey"></td>
1247
<td class="paramtype">bool </td>
1248
<td class="paramname"> <em>tf</em> = <code>true</code></td><td> </td>
1253
<td></td><td></td><td width="100%"></td>
1257
<div class="memdoc">
1260
Enable or disable a specified axis.
1262
When an axis is disabled, this only means that it is not visible on the screen. Curves, markers and can be attached to disabled axes, and transformation of screen coordinates into values works as normal.<p>
1263
Only xBottom and yLeft are enabled by default. <dl compact><dt><b>Parameters:</b></dt><dd>
1264
<table border="0" cellspacing="2" cellpadding="0">
1265
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1266
<tr><td valign="top"></td><td valign="top"><em>tf</em> </td><td><code>true</code> (enabled) or <code>false</code> (disabled) </td></tr>
1271
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00332">332</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1273
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00413">updateLayout()</a>.
1276
<a class="anchor" name="a6d08ba153cb46662692611b5c38bbe0"></a><!-- doxytag: member="QwtPlot::axisEnabled" ref="a6d08ba153cb46662692611b5c38bbe0" args="(int axisId) const" -->
1277
<div class="memitem">
1278
<div class="memproto">
1279
<table class="memname">
1281
<td class="memname">bool QwtPlot::axisEnabled </td>
1283
<td class="paramtype">int </td>
1284
<td class="paramname"> <em>axisId</em> </td>
1285
<td> ) </td>
1286
<td width="100%"> const</td>
1290
<div class="memdoc">
1293
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if a specified axis is enabled </dd></dl>
1294
<dl compact><dt><b>Parameters:</b></dt><dd>
1295
<table border="0" cellspacing="2" cellpadding="0">
1296
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1301
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00177">177</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1303
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>.
1305
Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00612">canvasMap()</a>, <a class="el" href="qwt__plot__layout_8cpp-source.html#l00463">QwtPlotLayout::minimumSizeHint()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00073">print()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00359">printScale()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00032">QwtPlotPicker::QwtPlotPicker()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00303">sizeHint()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00413">updateLayout()</a>.
1308
<a class="anchor" name="9a14e57652c016f40388a68e556917e3"></a><!-- doxytag: member="QwtPlot::setAxisFont" ref="9a14e57652c016f40388a68e556917e3" args="(int axisId, const QFont &f)" -->
1309
<div class="memitem">
1310
<div class="memproto">
1311
<table class="memname">
1313
<td class="memname">void QwtPlot::setAxisFont </td>
1315
<td class="paramtype">int </td>
1316
<td class="paramname"> <em>axisId</em>, </td>
1319
<td class="paramkey"></td>
1321
<td class="paramtype">const QFont & </td>
1322
<td class="paramname"> <em>f</em></td><td> </td>
1327
<td></td><td></td><td width="100%"></td>
1331
<div class="memdoc">
1334
Change the font of an axis.
1336
<dl compact><dt><b>Parameters:</b></dt><dd>
1337
<table border="0" cellspacing="2" cellpadding="0">
1338
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1339
<tr><td valign="top"></td><td valign="top"><em>f</em> </td><td>font </td></tr>
1342
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>This function changes the font of the tick labels, not of the axis title. </dd></dl>
1345
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00381">381</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1347
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>, and <a class="el" href="qwt__plot__axis_8cpp-source.html#l00100">axisWidget()</a>.
1350
<a class="anchor" name="0469c6a1fcbc4d6f32c66b08b50b7e13"></a><!-- doxytag: member="QwtPlot::axisFont" ref="0469c6a1fcbc4d6f32c66b08b50b7e13" args="(int axisId) const" -->
1351
<div class="memitem">
1352
<div class="memproto">
1353
<table class="memname">
1355
<td class="memname">QFont QwtPlot::axisFont </td>
1357
<td class="paramtype">int </td>
1358
<td class="paramname"> <em>axisId</em> </td>
1359
<td> ) </td>
1360
<td width="100%"> const</td>
1364
<div class="memdoc">
1367
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the font of the scale labels for a specified axis </dd></dl>
1368
<dl compact><dt><b>Parameters:</b></dt><dd>
1369
<table border="0" cellspacing="2" cellpadding="0">
1370
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1375
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00189">189</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1377
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>, and <a class="el" href="qwt__plot__axis_8cpp-source.html#l00100">axisWidget()</a>.
1380
<a class="anchor" name="cef5ea818944b93b8695d0c16924eed6"></a><!-- doxytag: member="QwtPlot::setAxisScale" ref="cef5ea818944b93b8695d0c16924eed6" args="(int axisId, double min, double max, double step=0)" -->
1381
<div class="memitem">
1382
<div class="memproto">
1383
<table class="memname">
1385
<td class="memname">void QwtPlot::setAxisScale </td>
1387
<td class="paramtype">int </td>
1388
<td class="paramname"> <em>axisId</em>, </td>
1391
<td class="paramkey"></td>
1393
<td class="paramtype">double </td>
1394
<td class="paramname"> <em>min</em>, </td>
1397
<td class="paramkey"></td>
1399
<td class="paramtype">double </td>
1400
<td class="paramname"> <em>max</em>, </td>
1403
<td class="paramkey"></td>
1405
<td class="paramtype">double </td>
1406
<td class="paramname"> <em>stepSize</em> = <code>0</code></td><td> </td>
1411
<td></td><td></td><td width="100%"></td>
1415
<div class="memdoc">
1418
Disable autoscaling and specify a fixed scale for a selected axis.
1420
<dl compact><dt><b>Parameters:</b></dt><dd>
1421
<table border="0" cellspacing="2" cellpadding="0">
1422
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1423
<tr><td valign="top"></td><td valign="top"><em>min</em> </td><td></td></tr>
1424
<tr><td valign="top"></td><td valign="top"><em>max</em> </td><td>minimum and maximum of the scale </td></tr>
1425
<tr><td valign="top"></td><td valign="top"><em>stepSize</em> </td><td>Major step size. If <code>step == 0</code>, the step size is calculated automatically using the maxMajor setting. </td></tr>
1428
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#34df698558c9bd9c38bdd8ff04cc6c41">setAxisMaxMajor()</a>, <a class="el" href="class_qwt_plot.html#8138eee4eb6989a1f6d93bd34b9c4cfa">setAxisAutoScale()</a> </dd></dl>
1431
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00414">414</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1433
References <a class="el" href="qwt__plot_8cpp-source.html#l00163">autoRefresh()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>.
1435
Referenced by <a class="el" href="qwt__plot__panner_8cpp-source.html#l00130">QwtPlotPanner::moveCanvas()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00379">QwtPlotZoomer::rescale()</a>, and <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00120">QwtPlotMagnifier::rescale()</a>.
1438
<a class="anchor" name="2365da57b983eb39752fa4f6378c225a"></a><!-- doxytag: member="QwtPlot::setAxisScaleDiv" ref="2365da57b983eb39752fa4f6378c225a" args="(int axisId, const QwtScaleDiv &)" -->
1439
<div class="memitem">
1440
<div class="memproto">
1441
<table class="memname">
1443
<td class="memname">void QwtPlot::setAxisScaleDiv </td>
1445
<td class="paramtype">int </td>
1446
<td class="paramname"> <em>axisId</em>, </td>
1449
<td class="paramkey"></td>
1451
<td class="paramtype">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> & </td>
1452
<td class="paramname"> <em>scaleDiv</em></td><td> </td>
1457
<td></td><td></td><td width="100%"></td>
1461
<div class="memdoc">
1464
Disable autoscaling and specify a fixed scale for a selected axis.
1466
<dl compact><dt><b>Parameters:</b></dt><dd>
1467
<table border="0" cellspacing="2" cellpadding="0">
1468
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1469
<tr><td valign="top"></td><td valign="top"><em>scaleDiv</em> </td><td>Scale division </td></tr>
1472
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#cef5ea818944b93b8695d0c16924eed6">setAxisScale()</a>, <a class="el" href="class_qwt_plot.html#8138eee4eb6989a1f6d93bd34b9c4cfa">setAxisAutoScale()</a> </dd></dl>
1475
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00437">437</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1477
References <a class="el" href="qwt__plot_8cpp-source.html#l00163">autoRefresh()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>.
1480
<a class="anchor" name="956a14b08e016eb83768ff4187d3849d"></a><!-- doxytag: member="QwtPlot::setAxisScaleDraw" ref="956a14b08e016eb83768ff4187d3849d" args="(int axisId, QwtScaleDraw *)" -->
1481
<div class="memitem">
1482
<div class="memproto">
1483
<table class="memname">
1485
<td class="memname">void QwtPlot::setAxisScaleDraw </td>
1487
<td class="paramtype">int </td>
1488
<td class="paramname"> <em>axisId</em>, </td>
1491
<td class="paramkey"></td>
1493
<td class="paramtype"><a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> * </td>
1494
<td class="paramname"> <em>scaleDraw</em></td><td> </td>
1499
<td></td><td></td><td width="100%"></td>
1503
<div class="memdoc">
1508
<dl compact><dt><b>Parameters:</b></dt><dd>
1509
<table border="0" cellspacing="2" cellpadding="0">
1510
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1511
<tr><td valign="top"></td><td valign="top"><em>scaleDraw</em> </td><td>object responsible for drawing scales.</td></tr>
1514
By passing scaleDraw it is possible to extend <a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> functionality and let it take place in <a class="el" href="class_qwt_plot.html">QwtPlot</a>. Please note that scaleDraw has to be created with new and will be deleted by the corresponding QwtScale member ( like a child object ).<p>
1515
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a>, <a class="el" href="class_qwt_scale_widget.html">QwtScaleWidget</a> </dd></dl>
1516
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>The attributes of scaleDraw will be overwritten by those of the previous <a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a>. </dd></dl>
1519
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00465">465</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1521
References <a class="el" href="qwt__plot_8cpp-source.html#l00163">autoRefresh()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00100">axisWidget()</a>, and <a class="el" href="qwt__scale__widget_8cpp-source.html#l00321">QwtScaleWidget::setScaleDraw()</a>.
1524
<a class="anchor" name="85856d20d3904b0028b2f1ff7c65d113"></a><!-- doxytag: member="QwtPlot::axisStepSize" ref="85856d20d3904b0028b2f1ff7c65d113" args="(int axisId) const" -->
1525
<div class="memitem">
1526
<div class="memproto">
1527
<table class="memname">
1529
<td class="memname">double QwtPlot::axisStepSize </td>
1531
<td class="paramtype">int </td>
1532
<td class="paramname"> <em>axisId</em> </td>
1533
<td> ) </td>
1534
<td width="100%"> const</td>
1538
<div class="memdoc">
1541
Return the step size parameter, that has been set in setAxisScale. This doesn't need to be the step size of the current scale.<p>
1542
<dl compact><dt><b>Parameters:</b></dt><dd>
1543
<table border="0" cellspacing="2" cellpadding="0">
1544
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1547
<dl class="return" compact><dt><b>Returns:</b></dt><dd>step size parameter value</dd></dl>
1548
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#cef5ea818944b93b8695d0c16924eed6">setAxisScale</a> </dd></dl>
1551
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00300">300</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1553
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>.
1556
<a class="anchor" name="029086e7b26fcfeff5430d25a4df4f3e"></a><!-- doxytag: member="QwtPlot::axisScaleDiv" ref="029086e7b26fcfeff5430d25a4df4f3e" args="(int axisId) const" -->
1557
<div class="memitem">
1558
<div class="memproto">
1559
<table class="memname">
1561
<td class="memname">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> * QwtPlot::axisScaleDiv </td>
1563
<td class="paramtype">int </td>
1564
<td class="paramname"> <em>axisId</em> </td>
1565
<td> ) </td>
1566
<td width="100%"> const</td>
1570
<div class="memdoc">
1573
Return the scale division of a specified axis.
1575
axisScaleDiv(axisId)->lBound(), axisScaleDiv(axisId)->hBound() are the current limits of the axis scale.<p>
1576
<dl compact><dt><b>Parameters:</b></dt><dd>
1577
<table border="0" cellspacing="2" cellpadding="0">
1578
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1581
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Scale division</dd></dl>
1582
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a>, <a class="el" href="class_qwt_plot.html#2365da57b983eb39752fa4f6378c225a">setAxisScaleDiv</a> </dd></dl>
1585
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00235">235</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1587
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>.
1589
Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00612">canvasMap()</a>, <a class="el" href="qwt__plot__panner_8cpp-source.html#l00130">QwtPlotPanner::moveCanvas()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00073">print()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00379">QwtPlotZoomer::rescale()</a>, <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00120">QwtPlotMagnifier::rescale()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00143">QwtPlotPicker::scaleRect()</a>, <a class="el" href="qwt__plot__scaleitem_8cpp-source.html#l00108">QwtPlotScaleItem::setScaleDivFromAxis()</a>, <a class="el" href="qwt__plot__scaleitem_8cpp-source.html#l00220">QwtPlotScaleItem::setScaleDraw()</a>, and <a class="el" href="qwt__plot__axis_8cpp-source.html#l00579">updateAxes()</a>.
1592
<a class="anchor" name="f20f32c68fdd8ae4adfeabf21eb6068b"></a><!-- doxytag: member="QwtPlot::axisScaleDiv" ref="f20f32c68fdd8ae4adfeabf21eb6068b" args="(int axisId)" -->
1593
<div class="memitem">
1594
<div class="memproto">
1595
<table class="memname">
1597
<td class="memname"><a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> * QwtPlot::axisScaleDiv </td>
1599
<td class="paramtype">int </td>
1600
<td class="paramname"> <em>axisId</em> </td>
1601
<td> ) </td>
1602
<td width="100%"></td>
1606
<div class="memdoc">
1609
Return the scale division of a specified axis.
1611
axisScaleDiv(axisId)->lBound(), axisScaleDiv(axisId)->hBound() are the current limits of the axis scale.<p>
1612
<dl compact><dt><b>Parameters:</b></dt><dd>
1613
<table border="0" cellspacing="2" cellpadding="0">
1614
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1617
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Scale division</dd></dl>
1618
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a>, <a class="el" href="class_qwt_plot.html#2365da57b983eb39752fa4f6378c225a">setAxisScaleDiv</a> </dd></dl>
1621
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00254">254</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1623
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>.
1626
<a class="anchor" name="aedfff42d8aee875d7bec082e1382f9f"></a><!-- doxytag: member="QwtPlot::axisScaleDraw" ref="aedfff42d8aee875d7bec082e1382f9f" args="(int axisId) const" -->
1627
<div class="memitem">
1628
<div class="memproto">
1629
<table class="memname">
1631
<td class="memname">const <a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> * QwtPlot::axisScaleDraw </td>
1633
<td class="paramtype">int </td>
1634
<td class="paramname"> <em>axisId</em> </td>
1635
<td> ) </td>
1636
<td width="100%"> const</td>
1640
<div class="memdoc">
1643
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the scale draw of a specified axis </dd></dl>
1644
<dl compact><dt><b>Parameters:</b></dt><dd>
1645
<table border="0" cellspacing="2" cellpadding="0">
1646
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1649
<dl class="return" compact><dt><b>Returns:</b></dt><dd>specified scaleDraw for axis, or NULL if axis is invalid. </dd></dl>
1650
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> </dd></dl>
1653
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00268">268</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1655
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00100">axisWidget()</a>, and <a class="el" href="qwt__scale__widget_8cpp-source.html#l00339">QwtScaleWidget::scaleDraw()</a>.
1658
<a class="anchor" name="bbb49f1730c3ea9f636c032f81e5a87e"></a><!-- doxytag: member="QwtPlot::axisScaleDraw" ref="bbb49f1730c3ea9f636c032f81e5a87e" args="(int axisId)" -->
1659
<div class="memitem">
1660
<div class="memproto">
1661
<table class="memname">
1663
<td class="memname"><a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> * QwtPlot::axisScaleDraw </td>
1665
<td class="paramtype">int </td>
1666
<td class="paramname"> <em>axisId</em> </td>
1667
<td> ) </td>
1668
<td width="100%"></td>
1672
<div class="memdoc">
1675
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the scale draw of a specified axis </dd></dl>
1676
<dl compact><dt><b>Parameters:</b></dt><dd>
1677
<table border="0" cellspacing="2" cellpadding="0">
1678
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1681
<dl class="return" compact><dt><b>Returns:</b></dt><dd>specified scaleDraw for axis, or NULL if axis is invalid. </dd></dl>
1682
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> </dd></dl>
1685
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00282">282</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1687
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00100">axisWidget()</a>, and <a class="el" href="qwt__scale__widget_8cpp-source.html#l00339">QwtScaleWidget::scaleDraw()</a>.
1690
<a class="anchor" name="8436c30175884d7643d68fd0dd236cd8"></a><!-- doxytag: member="QwtPlot::axisWidget" ref="8436c30175884d7643d68fd0dd236cd8" args="(int axisId) const" -->
1691
<div class="memitem">
1692
<div class="memproto">
1693
<table class="memname">
1695
<td class="memname">const <a class="el" href="class_qwt_scale_widget.html">QwtScaleWidget</a> * QwtPlot::axisWidget </td>
1697
<td class="paramtype">int </td>
1698
<td class="paramname"> <em>axisId</em> </td>
1699
<td> ) </td>
1700
<td width="100%"> const</td>
1704
<div class="memdoc">
1707
<dl class="return" compact><dt><b>Returns:</b></dt><dd>specified axis, or NULL if axisId is invalid. </dd></dl>
1708
<dl compact><dt><b>Parameters:</b></dt><dd>
1709
<table border="0" cellspacing="2" cellpadding="0">
1710
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1715
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00100">100</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1717
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>.
1719
Referenced by <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00157">QwtPlotPrintFilter::apply()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00189">axisFont()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00268">axisScaleDraw()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00312">axisTitle()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00612">canvasMap()</a>, <a class="el" href="qwt__plot__layout_8cpp-source.html#l00463">QwtPlotLayout::minimumSizeHint()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00073">print()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00359">printScale()</a>, <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00366">QwtPlotPrintFilter::reset()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00381">setAxisFont()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00497">setAxisLabelRotation()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00465">setAxisScaleDraw()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00561">setAxisTitle()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00303">sizeHint()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00579">updateAxes()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00413">updateLayout()</a>.
1722
<a class="anchor" name="e3386e1d38f70864c4c019c0eb6a3d9d"></a><!-- doxytag: member="QwtPlot::axisWidget" ref="e3386e1d38f70864c4c019c0eb6a3d9d" args="(int axisId)" -->
1723
<div class="memitem">
1724
<div class="memproto">
1725
<table class="memname">
1727
<td class="memname"><a class="el" href="class_qwt_scale_widget.html">QwtScaleWidget</a> * QwtPlot::axisWidget </td>
1729
<td class="paramtype">int </td>
1730
<td class="paramname"> <em>axisId</em> </td>
1731
<td> ) </td>
1732
<td width="100%"></td>
1736
<div class="memdoc">
1739
<dl class="return" compact><dt><b>Returns:</b></dt><dd>specified axis, or NULL if axisId is invalid. </dd></dl>
1740
<dl compact><dt><b>Parameters:</b></dt><dd>
1741
<table border="0" cellspacing="2" cellpadding="0">
1742
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1747
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00112">112</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1749
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>.
1752
<a class="anchor" name="19f1b67fa79b80c712cf5f52b97ea0c5"></a><!-- doxytag: member="QwtPlot::setAxisLabelAlignment" ref="19f1b67fa79b80c712cf5f52b97ea0c5" args="(int axisId, Qt::Alignment)" -->
1753
<div class="memitem">
1754
<div class="memproto">
1755
<table class="memname">
1757
<td class="memname">void QwtPlot::setAxisLabelAlignment </td>
1759
<td class="paramtype">int </td>
1760
<td class="paramname"> <em>axisId</em>, </td>
1763
<td class="paramkey"></td>
1765
<td class="paramtype">Qt::Alignment </td>
1766
<td class="paramname"> <em>alignment</em></td><td> </td>
1771
<td></td><td></td><td width="100%"></td>
1775
<div class="memdoc">
1778
Change the alignment of the tick labels <dl compact><dt><b>Parameters:</b></dt><dd>
1779
<table border="0" cellspacing="2" cellpadding="0">
1780
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1781
<tr><td valign="top"></td><td valign="top"><em>alignment</em> </td><td>Or'd Qt::AlignmentFlags <see qnamespace.h> </td></tr>
1784
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_draw.html#3df0a1fe4a498ef028a5348e54bfaa7f">QwtScaleDraw::setLabelAlignment()</a> </dd></dl>
1787
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00483">483</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1790
<a class="anchor" name="d5fa7aa01c88eab38ad64b131584f977"></a><!-- doxytag: member="QwtPlot::setAxisLabelRotation" ref="d5fa7aa01c88eab38ad64b131584f977" args="(int axisId, double rotation)" -->
1791
<div class="memitem">
1792
<div class="memproto">
1793
<table class="memname">
1795
<td class="memname">void QwtPlot::setAxisLabelRotation </td>
1797
<td class="paramtype">int </td>
1798
<td class="paramname"> <em>axisId</em>, </td>
1801
<td class="paramkey"></td>
1803
<td class="paramtype">double </td>
1804
<td class="paramname"> <em>rotation</em></td><td> </td>
1809
<td></td><td></td><td width="100%"></td>
1813
<div class="memdoc">
1816
Rotate all tick labels <dl compact><dt><b>Parameters:</b></dt><dd>
1817
<table border="0" cellspacing="2" cellpadding="0">
1818
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1819
<tr><td valign="top"></td><td valign="top"><em>rotation</em> </td><td>Angle in degrees. When changing the label rotation, the label alignment might be adjusted too. </td></tr>
1822
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_draw.html#bf5881339fddde65a00c1dd391023320">QwtScaleDraw::setLabelRotation()</a>, <a class="el" href="class_qwt_plot.html#19f1b67fa79b80c712cf5f52b97ea0c5">QwtPlot::setAxisLabelAlignment</a> </dd></dl>
1825
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00497">497</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1827
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00100">axisWidget()</a>, and <a class="el" href="qwt__scale__widget_8cpp-source.html#l00310">QwtScaleWidget::setLabelRotation()</a>.
1830
<a class="anchor" name="5d60f1836e05e5cc5c7fe9570d6a608a"></a><!-- doxytag: member="QwtPlot::setAxisTitle" ref="5d60f1836e05e5cc5c7fe9570d6a608a" args="(int axisId, const QString &)" -->
1831
<div class="memitem">
1832
<div class="memproto">
1833
<table class="memname">
1835
<td class="memname">void QwtPlot::setAxisTitle </td>
1837
<td class="paramtype">int </td>
1838
<td class="paramname"> <em>axisId</em>, </td>
1841
<td class="paramkey"></td>
1843
<td class="paramtype">const QString & </td>
1844
<td class="paramname"> <em>title</em></td><td> </td>
1849
<td></td><td></td><td width="100%"></td>
1853
<div class="memdoc">
1856
Change the title of a specified axis.
1858
<dl compact><dt><b>Parameters:</b></dt><dd>
1859
<table border="0" cellspacing="2" cellpadding="0">
1860
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1861
<tr><td valign="top"></td><td valign="top"><em>title</em> </td><td>axis title </td></tr>
1866
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00561">561</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1868
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00100">axisWidget()</a>, and <a class="el" href="qwt__scale__widget_8cpp-source.html#l00150">QwtScaleWidget::setTitle()</a>.
1871
<a class="anchor" name="d134a193ab40ce33743365558d0303c4"></a><!-- doxytag: member="QwtPlot::setAxisTitle" ref="d134a193ab40ce33743365558d0303c4" args="(int axisId, const QwtText &)" -->
1872
<div class="memitem">
1873
<div class="memproto">
1874
<table class="memname">
1876
<td class="memname">void QwtPlot::setAxisTitle </td>
1878
<td class="paramtype">int </td>
1879
<td class="paramname"> <em>axisId</em>, </td>
1882
<td class="paramkey"></td>
1884
<td class="paramtype">const <a class="el" href="class_qwt_text.html">QwtText</a> & </td>
1885
<td class="paramname"> <em>title</em></td><td> </td>
1890
<td></td><td></td><td width="100%"></td>
1894
<div class="memdoc">
1897
Change the title of a specified axis.
1899
<dl compact><dt><b>Parameters:</b></dt><dd>
1900
<table border="0" cellspacing="2" cellpadding="0">
1901
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1902
<tr><td valign="top"></td><td valign="top"><em>title</em> </td><td>axis title </td></tr>
1907
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00572">572</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1909
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00100">axisWidget()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00150">QwtScaleWidget::setTitle()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00222">title()</a>.
1912
<a class="anchor" name="0132283508f41bc16e559a6688b8e106"></a><!-- doxytag: member="QwtPlot::axisTitle" ref="0132283508f41bc16e559a6688b8e106" args="(int axisId) const" -->
1913
<div class="memitem">
1914
<div class="memproto">
1915
<table class="memname">
1917
<td class="memname"><a class="el" href="class_qwt_text.html">QwtText</a> QwtPlot::axisTitle </td>
1919
<td class="paramtype">int </td>
1920
<td class="paramname"> <em>axisId</em> </td>
1921
<td> ) </td>
1922
<td width="100%"> const</td>
1926
<div class="memdoc">
1929
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the title of a specified axis </dd></dl>
1930
<dl compact><dt><b>Parameters:</b></dt><dd>
1931
<table border="0" cellspacing="2" cellpadding="0">
1932
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1937
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00312">312</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1939
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00100">axisWidget()</a>, and <a class="el" href="qwt__scale__widget_8cpp-source.html#l00357">QwtScaleWidget::title()</a>.
1942
<a class="anchor" name="a45b271684d6202061f1afcfa70e7cf6"></a><!-- doxytag: member="QwtPlot::setAxisMaxMinor" ref="a45b271684d6202061f1afcfa70e7cf6" args="(int axisId, int maxMinor)" -->
1943
<div class="memitem">
1944
<div class="memproto">
1945
<table class="memname">
1947
<td class="memname">void QwtPlot::setAxisMaxMinor </td>
1949
<td class="paramtype">int </td>
1950
<td class="paramname"> <em>axisId</em>, </td>
1953
<td class="paramkey"></td>
1955
<td class="paramtype">int </td>
1956
<td class="paramname"> <em>maxMinor</em></td><td> </td>
1961
<td></td><td></td><td width="100%"></td>
1965
<div class="memdoc">
1968
Set the maximum number of minor scale intervals for a specified axis<p>
1969
<dl compact><dt><b>Parameters:</b></dt><dd>
1970
<table border="0" cellspacing="2" cellpadding="0">
1971
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
1972
<tr><td valign="top"></td><td valign="top"><em>maxMinor</em> </td><td>maximum number of minor steps </td></tr>
1975
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#14afbe0622b1b30c0ad5f725e1fc6b2a">axisMaxMinor()</a> </dd></dl>
1978
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00510">510</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
1980
References <a class="el" href="qwt__plot_8cpp-source.html#l00163">autoRefresh()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>.
1983
<a class="anchor" name="663fd43f9ccecc4f5390dcd01baa46c0"></a><!-- doxytag: member="QwtPlot::axisMaxMajor" ref="663fd43f9ccecc4f5390dcd01baa46c0" args="(int axisId) const" -->
1984
<div class="memitem">
1985
<div class="memproto">
1986
<table class="memname">
1988
<td class="memname">int QwtPlot::axisMaxMajor </td>
1990
<td class="paramtype">int </td>
1991
<td class="paramname"> <em>axisId</em> </td>
1992
<td> ) </td>
1993
<td width="100%"> const</td>
1997
<div class="memdoc">
2000
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the maximum number of major ticks for a specified axis </dd></dl>
2001
<dl compact><dt><b>Parameters:</b></dt><dd>
2002
<table border="0" cellspacing="2" cellpadding="0">
2003
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index sa <a class="el" href="class_qwt_plot.html#34df698558c9bd9c38bdd8ff04cc6c41">setAxisMaxMajor()</a> </td></tr>
2008
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00203">203</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
2010
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>.
2013
<a class="anchor" name="34df698558c9bd9c38bdd8ff04cc6c41"></a><!-- doxytag: member="QwtPlot::setAxisMaxMajor" ref="34df698558c9bd9c38bdd8ff04cc6c41" args="(int axisId, int maxMajor)" -->
2014
<div class="memitem">
2015
<div class="memproto">
2016
<table class="memname">
2018
<td class="memname">void QwtPlot::setAxisMaxMajor </td>
2020
<td class="paramtype">int </td>
2021
<td class="paramname"> <em>axisId</em>, </td>
2024
<td class="paramkey"></td>
2026
<td class="paramtype">int </td>
2027
<td class="paramname"> <em>maxMajor</em></td><td> </td>
2032
<td></td><td></td><td width="100%"></td>
2036
<div class="memdoc">
2039
Set the maximum number of major scale intervals for a specified axis<p>
2040
<dl compact><dt><b>Parameters:</b></dt><dd>
2041
<table border="0" cellspacing="2" cellpadding="0">
2042
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
2043
<tr><td valign="top"></td><td valign="top"><em>maxMajor</em> </td><td>maximum number of major steps </td></tr>
2046
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#663fd43f9ccecc4f5390dcd01baa46c0">axisMaxMajor()</a> </dd></dl>
2049
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00537">537</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
2051
References <a class="el" href="qwt__plot_8cpp-source.html#l00163">autoRefresh()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>.
2054
<a class="anchor" name="14afbe0622b1b30c0ad5f725e1fc6b2a"></a><!-- doxytag: member="QwtPlot::axisMaxMinor" ref="14afbe0622b1b30c0ad5f725e1fc6b2a" args="(int axisId) const" -->
2055
<div class="memitem">
2056
<div class="memproto">
2057
<table class="memname">
2059
<td class="memname">int QwtPlot::axisMaxMinor </td>
2061
<td class="paramtype">int </td>
2062
<td class="paramname"> <em>axisId</em> </td>
2063
<td> ) </td>
2064
<td width="100%"> const</td>
2068
<div class="memdoc">
2071
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the maximum number of minor ticks for a specified axis </dd></dl>
2072
<dl compact><dt><b>Parameters:</b></dt><dd>
2073
<table border="0" cellspacing="2" cellpadding="0">
2074
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index sa <a class="el" href="class_qwt_plot.html#a45b271684d6202061f1afcfa70e7cf6">setAxisMaxMinor()</a> </td></tr>
2079
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00216">216</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
2081
References <a class="el" href="qwt__plot_8cpp-source.html#l00753">axisValid()</a>.
2084
<a class="anchor" name="6e23cad2bce7b04a09f18fa139341d5c"></a><!-- doxytag: member="QwtPlot::insertLegend" ref="6e23cad2bce7b04a09f18fa139341d5c" args="(QwtLegend *, LegendPosition=QwtPlot::RightLegend, double ratio=-1.0)" -->
2085
<div class="memitem">
2086
<div class="memproto">
2087
<table class="memname">
2089
<td class="memname">void QwtPlot::insertLegend </td>
2091
<td class="paramtype"><a class="el" href="class_qwt_legend.html">QwtLegend</a> * </td>
2092
<td class="paramname"> <em>legend</em>, </td>
2095
<td class="paramkey"></td>
2097
<td class="paramtype"><a class="el" href="class_qwt_plot.html#31aacb65b5c049dde8c34a0d8482661b">QwtPlot::LegendPosition</a> </td>
2098
<td class="paramname"> <em>pos</em> = <code>QwtPlot::RightLegend</code>, </td>
2101
<td class="paramkey"></td>
2103
<td class="paramtype">double </td>
2104
<td class="paramname"> <em>ratio</em> = <code>-1.0</code></td><td> </td>
2109
<td></td><td></td><td width="100%"></td>
2113
<div class="memdoc">
2118
If the position legend is <code>QwtPlot::LeftLegend</code> or <code>QwtPlot::RightLegend</code> the legend will be organized in one column from top to down. Otherwise the legend items will be placed in a table with a best fit number of columns from left to right.<p>
2119
If pos != QwtPlot::ExternalLegend the plot widget will become parent of the legend. It will be deleted when the plot is deleted, or another legend is set with <a class="el" href="class_qwt_plot.html#6e23cad2bce7b04a09f18fa139341d5c">insertLegend()</a>.<p>
2120
<dl compact><dt><b>Parameters:</b></dt><dd>
2121
<table border="0" cellspacing="2" cellpadding="0">
2122
<tr><td valign="top"></td><td valign="top"><em>legend</em> </td><td>Legend </td></tr>
2123
<tr><td valign="top"></td><td valign="top"><em>pos</em> </td><td>The legend's position. For top/left position the number of colums will be limited to 1, otherwise it will be set to unlimited.</td></tr>
2124
<tr><td valign="top"></td><td valign="top"><em>ratio</em> </td><td>Ratio between legend and the bounding rect of title, canvas and axes. The legend will be shrinked if it would need more space than the given ratio. The ratio is limited to ]0.0 .. 1.0]. In case of <= 0.0 it will be reset to the default ratio. The default vertical/horizontal ratio is 0.33/0.5.</td></tr>
2127
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#ab1f2cf0e567e09a4c4bce3181c03ba0">legend()</a>, <a class="el" href="class_qwt_plot_layout.html#49106b180459ae7ee4b7f486cbb196e8">QwtPlotLayout::legendPosition()</a>, <a class="el" href="class_qwt_plot_layout.html#11c9695a68f95135841cb23212589f18">QwtPlotLayout::setLegendPosition()</a> </dd></dl>
2130
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00822">822</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
2132
References <a class="el" href="qwt__plot__dict_8cpp-source.html#l00186">QwtPlotDict::itemList()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00257">legend()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00413">updateLayout()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00477">updateTabOrder()</a>.
2135
<a class="anchor" name="ab1f2cf0e567e09a4c4bce3181c03ba0"></a><!-- doxytag: member="QwtPlot::legend" ref="ab1f2cf0e567e09a4c4bce3181c03ba0" args="()" -->
2136
<div class="memitem">
2137
<div class="memproto">
2138
<table class="memname">
2140
<td class="memname"><a class="el" href="class_qwt_legend.html">QwtLegend</a> * QwtPlot::legend </td>
2142
<td class="paramname"> </td>
2143
<td> ) </td>
2144
<td width="100%"></td>
2148
<div class="memdoc">
2151
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the plot's legend </dd></dl>
2152
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#6e23cad2bce7b04a09f18fa139341d5c">insertLegend()</a> </dd></dl>
2155
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00257">257</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
2157
Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l01022">QwtPlotLayout::activate()</a>, <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00157">QwtPlotPrintFilter::apply()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00822">insertLegend()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00073">print()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00280">printLegend()</a>, and <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00366">QwtPlotPrintFilter::reset()</a>.
2160
<a class="anchor" name="f8ac9c9332b8625699d38d3d79354c57"></a><!-- doxytag: member="QwtPlot::legend" ref="f8ac9c9332b8625699d38d3d79354c57" args="() const" -->
2161
<div class="memitem">
2162
<div class="memproto">
2163
<table class="memname">
2165
<td class="memname">const <a class="el" href="class_qwt_legend.html">QwtLegend</a> * QwtPlot::legend </td>
2167
<td class="paramname"> </td>
2168
<td> ) </td>
2169
<td width="100%"> const</td>
2173
<div class="memdoc">
2176
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the plot's legend </dd></dl>
2177
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#6e23cad2bce7b04a09f18fa139341d5c">insertLegend()</a> </dd></dl>
2180
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00266">266</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
2183
<a class="anchor" name="99ad643676cf0cd5f11478f154102df2"></a><!-- doxytag: member="QwtPlot::polish" ref="99ad643676cf0cd5f11478f154102df2" args="()" -->
2184
<div class="memitem">
2185
<div class="memproto">
2186
<table class="memname">
2188
<td class="memname">void QwtPlot::polish </td>
2190
<td class="paramname"> </td>
2191
<td> ) </td>
2192
<td width="100%"><code> [virtual]</code></td>
2196
<div class="memdoc">
2203
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00289">289</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
2205
References <a class="el" href="qwt__plot_8cpp-source.html#l00363">replot()</a>.
2207
Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00140">event()</a>.
2210
<a class="anchor" name="2f57c941dd36f96c395b339474418fba"></a><!-- doxytag: member="QwtPlot::sizeHint" ref="2f57c941dd36f96c395b339474418fba" args="() const" -->
2211
<div class="memitem">
2212
<div class="memproto">
2213
<table class="memname">
2215
<td class="memname">QSize QwtPlot::sizeHint </td>
2217
<td class="paramname"> </td>
2218
<td> ) </td>
2219
<td width="100%"> const<code> [virtual]</code></td>
2223
<div class="memdoc">
2226
Return sizeHint <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#1f013570f561aba1af14b5c98da2132b">minimumSizeHint()</a> </dd></dl>
2229
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00303">303</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
2231
References <a class="el" href="qwt__plot__axis_8cpp-source.html#l00177">axisEnabled()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00100">axisWidget()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00338">minimumSizeHint()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00697">QwtScaleWidget::minimumSizeHint()</a>, <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00138">QwtAbstractScaleDraw::scaleDiv()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00339">QwtScaleWidget::scaleDraw()</a>, and <a class="el" href="qwt__scale__div_8cpp-source.html#l00160">QwtScaleDiv::ticks()</a>.
2234
<a class="anchor" name="1f013570f561aba1af14b5c98da2132b"></a><!-- doxytag: member="QwtPlot::minimumSizeHint" ref="1f013570f561aba1af14b5c98da2132b" args="() const" -->
2235
<div class="memitem">
2236
<div class="memproto">
2237
<table class="memname">
2239
<td class="memname">QSize QwtPlot::minimumSizeHint </td>
2241
<td class="paramname"> </td>
2242
<td> ) </td>
2243
<td width="100%"> const<code> [virtual]</code></td>
2247
<div class="memdoc">
2250
Return a minimum size hint.
2254
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00338">338</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
2256
Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00303">sizeHint()</a>.
2259
<a class="anchor" name="d470068832406086d6823109d8d7f050"></a><!-- doxytag: member="QwtPlot::updateLayout" ref="d470068832406086d6823109d8d7f050" args="()" -->
2260
<div class="memitem">
2261
<div class="memproto">
2262
<table class="memname">
2264
<td class="memname">void QwtPlot::updateLayout </td>
2266
<td class="paramname"> </td>
2267
<td> ) </td>
2268
<td width="100%"><code> [virtual]</code></td>
2272
<div class="memdoc">
2275
Adjust plot content to its current size.
2277
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#a4d5f73681880b9770bb6a604c415987">resizeEvent()</a> </dd></dl>
2280
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00413">413</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
2282
References <a class="el" href="qwt__plot__axis_8cpp-source.html#l00177">axisEnabled()</a>, and <a class="el" href="qwt__plot__axis_8cpp-source.html#l00100">axisWidget()</a>.
2284
Referenced by <a class="el" href="qwt__plot__axis_8cpp-source.html#l00332">enableAxis()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00140">event()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00822">insertLegend()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00347">resizeEvent()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00733">setCanvasLineWidth()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00665">setMargin()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00199">setTitle()</a>.
2287
<a class="anchor" name="f40d1bfdd9b6cd94e9981db8b254b961"></a><!-- doxytag: member="QwtPlot::event" ref="f40d1bfdd9b6cd94e9981db8b254b961" args="(QEvent *)" -->
2288
<div class="memitem">
2289
<div class="memproto">
2290
<table class="memname">
2292
<td class="memname">bool QwtPlot::event </td>
2294
<td class="paramtype">QEvent * </td>
2295
<td class="paramname"> </td>
2296
<td> ) </td>
2297
<td width="100%"><code> [virtual]</code></td>
2301
<div class="memdoc">
2304
Adds handling of layout requests.
2308
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00140">140</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
2310
References <a class="el" href="qwt__plot_8cpp-source.html#l00289">polish()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00413">updateLayout()</a>.
2313
<a class="anchor" name="52b75d5548fbe04539b6297de53a2222"></a><!-- doxytag: member="QwtPlot::legendClicked" ref="52b75d5548fbe04539b6297de53a2222" args="(QwtPlotItem *plotItem)" -->
2314
<div class="memitem">
2315
<div class="memproto">
2316
<table class="memname">
2318
<td class="memname">void QwtPlot::legendClicked </td>
2320
<td class="paramtype"><a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> * </td>
2321
<td class="paramname"> <em>plotItem</em> </td>
2322
<td> ) </td>
2323
<td width="100%"><code> [signal]</code></td>
2327
<div class="memdoc">
2330
A signal which is emitted when the user has clicked on a legend item, which is in QwtLegend::ClickableItem mode.<p>
2331
<dl compact><dt><b>Parameters:</b></dt><dd>
2332
<table border="0" cellspacing="2" cellpadding="0">
2333
<tr><td valign="top"></td><td valign="top"><em>plotItem</em> </td><td>Corresponding plot item of the selected legend item</td></tr>
2336
<dl class="note" compact><dt><b>Note:</b></dt><dd>clicks are disabled as default </dd></dl>
2337
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend.html#edd86919e56a407bcdd2ae867a672dd1">QwtLegend::setItemMode</a>, <a class="el" href="class_qwt_legend.html#f3c8c317c6233654b99ed6d4243a55a5">QwtLegend::itemMode</a> </dd></dl>
2340
Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00762">legendItemClicked()</a>.
2343
<a class="anchor" name="bd9e17629dd7c142fed017ea5e347149"></a><!-- doxytag: member="QwtPlot::legendChecked" ref="bd9e17629dd7c142fed017ea5e347149" args="(QwtPlotItem *plotItem, bool on)" -->
2344
<div class="memitem">
2345
<div class="memproto">
2346
<table class="memname">
2348
<td class="memname">void QwtPlot::legendChecked </td>
2350
<td class="paramtype"><a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> * </td>
2351
<td class="paramname"> <em>plotItem</em>, </td>
2354
<td class="paramkey"></td>
2356
<td class="paramtype">bool </td>
2357
<td class="paramname"> <em>on</em></td><td> </td>
2362
<td></td><td></td><td width="100%"><code> [signal]</code></td>
2366
<div class="memdoc">
2369
A signal which is emitted when the user has clicked on a legend item, which is in QwtLegend::CheckableItem mode<p>
2370
<dl compact><dt><b>Parameters:</b></dt><dd>
2371
<table border="0" cellspacing="2" cellpadding="0">
2372
<tr><td valign="top"></td><td valign="top"><em>plotItem</em> </td><td>Corresponding plot item of the selected legend item </td></tr>
2373
<tr><td valign="top"></td><td valign="top"><em>on</em> </td><td>True when the legen item is checked</td></tr>
2376
<dl class="note" compact><dt><b>Note:</b></dt><dd>clicks are disabled as default </dd></dl>
2377
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend.html#edd86919e56a407bcdd2ae867a672dd1">QwtLegend::setItemMode</a>, <a class="el" href="class_qwt_legend.html#f3c8c317c6233654b99ed6d4243a55a5">QwtLegend::itemMode</a> </dd></dl>
2380
Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00777">legendItemChecked()</a>.
2383
<a class="anchor" name="e2191d8ad33164b83aa2a14563f132a5"></a><!-- doxytag: member="QwtPlot::clear" ref="e2191d8ad33164b83aa2a14563f132a5" args="()" -->
2384
<div class="memitem">
2385
<div class="memproto">
2386
<table class="memname">
2388
<td class="memname">void QwtPlot::clear </td>
2390
<td class="paramname"> </td>
2391
<td> ) </td>
2392
<td width="100%"><code> [virtual, slot]</code></td>
2396
<div class="memdoc">
2399
Remove all curves and markers.
2403
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00789">789</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
2405
References <a class="el" href="qwt__plot__dict_8cpp-source.html#l00161">QwtPlotDict::detachItems()</a>.
2408
<a class="anchor" name="7b094e29b8e92b00e36517d0d7633c4b"></a><!-- doxytag: member="QwtPlot::replot" ref="7b094e29b8e92b00e36517d0d7633c4b" args="()" -->
2409
<div class="memitem">
2410
<div class="memproto">
2411
<table class="memname">
2413
<td class="memname">void QwtPlot::replot </td>
2415
<td class="paramname"> </td>
2416
<td> ) </td>
2417
<td width="100%"><code> [virtual, slot]</code></td>
2421
<div class="memdoc">
2426
If the autoReplot option is not set (which is the default) or if any curves are attached to raw data, the plot has to be refreshed explicitly in order to make changes visible.<p>
2427
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#654934ec2ad167101dacb5174f5172d6">setAutoReplot()</a> </dd></dl>
2428
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>Calls <a class="el" href="class_qwt_plot.html#afcc82150034fbeb393ceb9f54ba2f1a">canvas()</a>->repaint, take care of infinite recursions </dd></dl>
2431
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00363">363</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
2433
References <a class="el" href="qwt__plot_8cpp-source.html#l00190">autoReplot()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00275">canvas()</a>, <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00185">QwtPlotCanvas::invalidatePaintCache()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00184">setAutoReplot()</a>, <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00167">QwtPlotCanvas::testPaintAttribute()</a>, and <a class="el" href="qwt__plot__axis_8cpp-source.html#l00579">updateAxes()</a>.
2435
Referenced by <a class="el" href="qwt__plot__xml_8cpp-source.html#l00012">applyProperties()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00163">autoRefresh()</a>, <a class="el" href="qwt__plot__panner_8cpp-source.html#l00130">QwtPlotPanner::moveCanvas()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00289">polish()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00379">QwtPlotZoomer::rescale()</a>, <a class="el" href="qwt__plot__magnifier_8cpp-source.html#l00120">QwtPlotMagnifier::rescale()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00206">QwtPlotZoomer::setZoomBase()</a>.
2438
<a class="anchor" name="ea78ab565d05b69b8730a4af2a11f07e"></a><!-- doxytag: member="QwtPlot::autoRefresh" ref="ea78ab565d05b69b8730a4af2a11f07e" args="()" -->
2439
<div class="memitem">
2440
<div class="memproto">
2441
<table class="memname">
2443
<td class="memname">void QwtPlot::autoRefresh </td>
2445
<td class="paramname"> </td>
2446
<td> ) </td>
2447
<td width="100%"><code> [slot]</code></td>
2451
<div class="memdoc">
2454
Replots the plot if <a class="el" href="class_qwt_plot.html#3a639850b65bc4dbf22b3f3170d61804">QwtPlot::autoReplot()</a> is <code>true</code>.
2458
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00163">163</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
2460
References <a class="el" href="qwt__plot_8cpp-source.html#l00363">replot()</a>.
2462
Referenced by <a class="el" href="qwt__plot__axis_8cpp-source.html#l00396">setAxisAutoScale()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00537">setAxisMaxMajor()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00510">setAxisMaxMinor()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00414">setAxisScale()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00437">setAxisScaleDiv()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00465">setAxisScaleDraw()</a>, and <a class="el" href="qwt__plot__axis_8cpp-source.html#l00128">setAxisScaleEngine()</a>.
2465
<a class="anchor" name="e1b53fe373a12b1558fca37fdc2f0a54"></a><!-- doxytag: member="QwtPlot::legendItemClicked" ref="e1b53fe373a12b1558fca37fdc2f0a54" args="()" -->
2466
<div class="memitem">
2467
<div class="memproto">
2468
<table class="memname">
2470
<td class="memname">void QwtPlot::legendItemClicked </td>
2472
<td class="paramname"> </td>
2473
<td> ) </td>
2474
<td width="100%"><code> [protected, virtual, slot]</code></td>
2478
<div class="memdoc">
2481
Called internally when the legend has been clicked on. Emits a <a class="el" href="class_qwt_plot.html#52b75d5548fbe04539b6297de53a2222">legendClicked()</a> signal.
2483
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00762">762</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
2485
References <a class="el" href="class_qwt_plot.html#52b75d5548fbe04539b6297de53a2222">legendClicked()</a>.
2488
<a class="anchor" name="d41768a65a7cc426091c89d54e3c2ab2"></a><!-- doxytag: member="QwtPlot::legendItemChecked" ref="d41768a65a7cc426091c89d54e3c2ab2" args="(bool)" -->
2489
<div class="memitem">
2490
<div class="memproto">
2491
<table class="memname">
2493
<td class="memname">void QwtPlot::legendItemChecked </td>
2495
<td class="paramtype">bool </td>
2496
<td class="paramname"> <em>on</em> </td>
2497
<td> ) </td>
2498
<td width="100%"><code> [protected, virtual, slot]</code></td>
2502
<div class="memdoc">
2505
Called internally when the legend has been checked Emits a <a class="el" href="class_qwt_plot.html#52b75d5548fbe04539b6297de53a2222">legendClicked()</a> signal.
2507
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00777">777</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
2509
References <a class="el" href="class_qwt_plot.html#bd9e17629dd7c142fed017ea5e347149">legendChecked()</a>.
2512
<a class="anchor" name="c02c033b024a4ecbefcf1b0e93c91205"></a><!-- doxytag: member="QwtPlot::axisValid" ref="c02c033b024a4ecbefcf1b0e93c91205" args="(int axisId)" -->
2513
<div class="memitem">
2514
<div class="memproto">
2515
<table class="memname">
2517
<td class="memname">bool QwtPlot::axisValid </td>
2519
<td class="paramtype">int </td>
2520
<td class="paramname"> <em>axisId</em> </td>
2521
<td> ) </td>
2522
<td width="100%"><code> [static, protected]</code></td>
2526
<div class="memdoc">
2529
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the specified axis exists, otherwise <code>false</code> </dd></dl>
2530
<dl compact><dt><b>Parameters:</b></dt><dd>
2531
<table border="0" cellspacing="2" cellpadding="0">
2532
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>axis index </td></tr>
2537
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00753">753</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
2539
Referenced by <a class="el" href="qwt__plot__axis_8cpp-source.html#l00164">axisAutoScale()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00177">axisEnabled()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00189">axisFont()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00203">axisMaxMajor()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00216">axisMaxMinor()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00235">axisScaleDiv()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00268">axisScaleDraw()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00144">axisScaleEngine()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00300">axisStepSize()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00312">axisTitle()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00100">axisWidget()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00332">enableAxis()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00349">invTransform()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00396">setAxisAutoScale()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00381">setAxisFont()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00497">setAxisLabelRotation()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00537">setAxisMaxMajor()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00510">setAxisMaxMinor()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00414">setAxisScale()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00437">setAxisScaleDiv()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00465">setAxisScaleDraw()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00128">setAxisScaleEngine()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00561">setAxisTitle()</a>, and <a class="el" href="qwt__plot__axis_8cpp-source.html#l00365">transform()</a>.
2542
<a class="anchor" name="dd1b88d8312e2671652d23f8181f2433"></a><!-- doxytag: member="QwtPlot::drawCanvas" ref="dd1b88d8312e2671652d23f8181f2433" args="(QPainter *)" -->
2543
<div class="memitem">
2544
<div class="memproto">
2545
<table class="memname">
2547
<td class="memname">void QwtPlot::drawCanvas </td>
2549
<td class="paramtype">QPainter * </td>
2550
<td class="paramname"> <em>painter</em> </td>
2551
<td> ) </td>
2552
<td width="100%"><code> [protected, virtual]</code></td>
2556
<div class="memdoc">
2559
Redraw the canvas. <dl compact><dt><b>Parameters:</b></dt><dd>
2560
<table border="0" cellspacing="2" cellpadding="0">
2561
<tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter used for drawing</td></tr>
2564
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>drawCanvas calls drawItems what is also used for printing. Applications that like to add individual plot items better overload <a class="el" href="class_qwt_plot.html#e36e68025f4f8b460d690ea7c7a04d9e">drawItems()</a> </dd></dl>
2565
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#e36e68025f4f8b460d690ea7c7a04d9e">drawItems()</a> </dd></dl>
2568
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00554">554</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
2570
References <a class="el" href="qwt__plot_8cpp-source.html#l00612">canvasMap()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00572">drawItems()</a>.
2573
<a class="anchor" name="e36e68025f4f8b460d690ea7c7a04d9e"></a><!-- doxytag: member="QwtPlot::drawItems" ref="e36e68025f4f8b460d690ea7c7a04d9e" args="(QPainter *, const QRect &, const QwtScaleMap maps[axisCnt], const QwtPlotPrintFilter &) const" -->
2574
<div class="memitem">
2575
<div class="memproto">
2576
<table class="memname">
2578
<td class="memname">void QwtPlot::drawItems </td>
2580
<td class="paramtype">QPainter * </td>
2581
<td class="paramname"> <em>painter</em>, </td>
2584
<td class="paramkey"></td>
2586
<td class="paramtype">const QRect & </td>
2587
<td class="paramname"> <em>rect</em>, </td>
2590
<td class="paramkey"></td>
2592
<td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> </td>
2593
<td class="paramname"> <em>map</em>[axisCnt], </td>
2596
<td class="paramkey"></td>
2598
<td class="paramtype">const <a class="el" href="class_qwt_plot_print_filter.html">QwtPlotPrintFilter</a> & </td>
2599
<td class="paramname"> <em>pfilter</em></td><td> </td>
2604
<td></td><td></td><td width="100%"> const<code> [protected, virtual]</code></td>
2608
<div class="memdoc">
2611
Redraw the canvas items. <dl compact><dt><b>Parameters:</b></dt><dd>
2612
<table border="0" cellspacing="2" cellpadding="0">
2613
<tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter used for drawing </td></tr>
2614
<tr><td valign="top"></td><td valign="top"><em>rect</em> </td><td>Bounding rectangle where to paint </td></tr>
2615
<tr><td valign="top"></td><td valign="top"><em>map</em> </td><td>QwtPlot::axisCnt maps, mapping between plot and paint device coordinates </td></tr>
2616
<tr><td valign="top"></td><td valign="top"><em>pfilter</em> </td><td>Plot print filter </td></tr>
2621
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00572">572</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
2623
References <a class="el" href="qwt__plot__dict_8cpp-source.html#l00186">QwtPlotDict::itemList()</a>, and <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00108">QwtPlotPrintFilter::options()</a>.
2625
Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00554">drawCanvas()</a>, and <a class="el" href="qwt__plot__print_8cpp-source.html#l00467">printCanvas()</a>.
2628
<a class="anchor" name="6455596162a69876a3504c0017531cf3"></a><!-- doxytag: member="QwtPlot::updateTabOrder" ref="6455596162a69876a3504c0017531cf3" args="()" -->
2629
<div class="memitem">
2630
<div class="memproto">
2631
<table class="memname">
2633
<td class="memname">void QwtPlot::updateTabOrder </td>
2635
<td class="paramname"> </td>
2636
<td> ) </td>
2637
<td width="100%"><code> [protected, virtual]</code></td>
2641
<div class="memdoc">
2644
Update the focus tab order<p>
2645
The order is changed so that the canvas will be in front of the first legend item, or behind the last legend item - depending on the position of the legend.
2647
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00477">477</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
2649
Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00822">insertLegend()</a>.
2652
<a class="anchor" name="1fb2dbc3697a66024d48c08b1d18f8a5"></a><!-- doxytag: member="QwtPlot::updateAxes" ref="1fb2dbc3697a66024d48c08b1d18f8a5" args="()" -->
2653
<div class="memitem">
2654
<div class="memproto">
2655
<table class="memname">
2657
<td class="memname">void QwtPlot::updateAxes </td>
2659
<td class="paramname"> </td>
2660
<td> ) </td>
2661
<td width="100%"><code> [protected]</code></td>
2665
<div class="memdoc">
2672
Definition at line <a class="el" href="qwt__plot__axis_8cpp-source.html#l00579">579</a> of file <a class="el" href="qwt__plot__axis_8cpp-source.html">qwt_plot_axis.cpp</a>.
2674
References <a class="el" href="qwt__plot__axis_8cpp-source.html#l00164">axisAutoScale()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00235">axisScaleDiv()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00100">axisWidget()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00774">QwtScaleWidget::getBorderDistHint()</a>, <a class="el" href="qwt__double__interval_8h-source.html#l00200">QwtDoubleInterval::isValid()</a>, <a class="el" href="qwt__plot__dict_8cpp-source.html#l00186">QwtPlotDict::itemList()</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>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00233">QwtScaleWidget::setBorderDist()</a>, and <a class="el" href="qwt__scale__widget_8cpp-source.html#l00839">QwtScaleWidget::setScaleDiv()</a>.
2676
Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00363">replot()</a>.
2679
<a class="anchor" name="a4d5f73681880b9770bb6a604c415987"></a><!-- doxytag: member="QwtPlot::resizeEvent" ref="a4d5f73681880b9770bb6a604c415987" args="(QResizeEvent *e)" -->
2680
<div class="memitem">
2681
<div class="memproto">
2682
<table class="memname">
2684
<td class="memname">void QwtPlot::resizeEvent </td>
2686
<td class="paramtype">QResizeEvent * </td>
2687
<td class="paramname"> <em>e</em> </td>
2688
<td> ) </td>
2689
<td width="100%"><code> [protected, virtual]</code></td>
2693
<div class="memdoc">
2696
Resize and update internal layout.
2700
Definition at line <a class="el" href="qwt__plot_8cpp-source.html#l00347">347</a> of file <a class="el" href="qwt__plot_8cpp-source.html">qwt_plot.cpp</a>.
2702
References <a class="el" href="qwt__plot_8cpp-source.html#l00413">updateLayout()</a>.
2705
<a class="anchor" name="9790ac102d566d744b9cfe9bb5e52a67"></a><!-- doxytag: member="QwtPlot::printLegendItem" ref="9790ac102d566d744b9cfe9bb5e52a67" args="(QPainter *, const QWidget *, const QRect &) const" -->
2706
<div class="memitem">
2707
<div class="memproto">
2708
<table class="memname">
2710
<td class="memname">void QwtPlot::printLegendItem </td>
2712
<td class="paramtype">QPainter * </td>
2713
<td class="paramname"> <em>painter</em>, </td>
2716
<td class="paramkey"></td>
2718
<td class="paramtype">const QWidget * </td>
2719
<td class="paramname"> <em>w</em>, </td>
2722
<td class="paramkey"></td>
2724
<td class="paramtype">const QRect & </td>
2725
<td class="paramname"> <em>rect</em></td><td> </td>
2730
<td></td><td></td><td width="100%"> const<code> [protected, virtual]</code></td>
2734
<div class="memdoc">
2737
Print the legend item into a given rectangle.<p>
2738
<dl compact><dt><b>Parameters:</b></dt><dd>
2739
<table border="0" cellspacing="2" cellpadding="0">
2740
<tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter </td></tr>
2741
<tr><td valign="top"></td><td valign="top"><em>w</em> </td><td>Widget representing a legend item </td></tr>
2742
<tr><td valign="top"></td><td valign="top"><em>rect</em> </td><td>Bounding rectangle </td></tr>
2747
Definition at line <a class="el" href="qwt__plot__print_8cpp-source.html#l00335">335</a> of file <a class="el" href="qwt__plot__print_8cpp-source.html">qwt_plot_print.cpp</a>.
2749
Referenced by <a class="el" href="qwt__plot__print_8cpp-source.html#l00280">printLegend()</a>.
2752
<a class="anchor" name="37a3264b7e3bc692f35474a82a6ab28b"></a><!-- doxytag: member="QwtPlot::printTitle" ref="37a3264b7e3bc692f35474a82a6ab28b" args="(QPainter *, const QRect &) const" -->
2753
<div class="memitem">
2754
<div class="memproto">
2755
<table class="memname">
2757
<td class="memname">void QwtPlot::printTitle </td>
2759
<td class="paramtype">QPainter * </td>
2760
<td class="paramname"> <em>painter</em>, </td>
2763
<td class="paramkey"></td>
2765
<td class="paramtype">const QRect & </td>
2766
<td class="paramname"> <em>rect</em></td><td> </td>
2771
<td></td><td></td><td width="100%"> const<code> [protected, virtual]</code></td>
2775
<div class="memdoc">
2778
Print the title into a given rectangle.<p>
2779
<dl compact><dt><b>Parameters:</b></dt><dd>
2780
<table border="0" cellspacing="2" cellpadding="0">
2781
<tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter </td></tr>
2782
<tr><td valign="top"></td><td valign="top"><em>rect</em> </td><td>Bounding rectangle </td></tr>
2787
Definition at line <a class="el" href="qwt__plot__print_8cpp-source.html#l00256">256</a> of file <a class="el" href="qwt__plot__print_8cpp-source.html">qwt_plot_print.cpp</a>.
2789
References <a class="el" href="qwt__text_8cpp-source.html#l00564">QwtText::draw()</a>, <a class="el" href="qwt__text__label_8cpp-source.html#l00107">QwtTextLabel::text()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00240">titleLabel()</a>.
2791
Referenced by <a class="el" href="qwt__plot__print_8cpp-source.html#l00073">print()</a>.
2794
<a class="anchor" name="d881d5918384f5a0f112c2faa68ab031"></a><!-- doxytag: member="QwtPlot::printScale" ref="d881d5918384f5a0f112c2faa68ab031" args="(QPainter *, int axisId, int startDist, int endDist, int baseDist, const QRect &) const" -->
2795
<div class="memitem">
2796
<div class="memproto">
2797
<table class="memname">
2799
<td class="memname">void QwtPlot::printScale </td>
2801
<td class="paramtype">QPainter * </td>
2802
<td class="paramname"> <em>painter</em>, </td>
2805
<td class="paramkey"></td>
2807
<td class="paramtype">int </td>
2808
<td class="paramname"> <em>axisId</em>, </td>
2811
<td class="paramkey"></td>
2813
<td class="paramtype">int </td>
2814
<td class="paramname"> <em>startDist</em>, </td>
2817
<td class="paramkey"></td>
2819
<td class="paramtype">int </td>
2820
<td class="paramname"> <em>endDist</em>, </td>
2823
<td class="paramkey"></td>
2825
<td class="paramtype">int </td>
2826
<td class="paramname"> <em>baseDist</em>, </td>
2829
<td class="paramkey"></td>
2831
<td class="paramtype">const QRect & </td>
2832
<td class="paramname"> <em>rect</em></td><td> </td>
2837
<td></td><td></td><td width="100%"> const<code> [protected, virtual]</code></td>
2841
<div class="memdoc">
2844
Paint a scale into a given rectangle. Paint the scale into a given rectangle.
2846
<dl compact><dt><b>Parameters:</b></dt><dd>
2847
<table border="0" cellspacing="2" cellpadding="0">
2848
<tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter </td></tr>
2849
<tr><td valign="top"></td><td valign="top"><em>axisId</em> </td><td>Axis </td></tr>
2850
<tr><td valign="top"></td><td valign="top"><em>startDist</em> </td><td>Start border distance </td></tr>
2851
<tr><td valign="top"></td><td valign="top"><em>endDist</em> </td><td>End border distance </td></tr>
2852
<tr><td valign="top"></td><td valign="top"><em>baseDist</em> </td><td>Base distance </td></tr>
2853
<tr><td valign="top"></td><td valign="top"><em>rect</em> </td><td>Bounding rectangle </td></tr>
2858
Definition at line <a class="el" href="qwt__plot__print_8cpp-source.html#l00359">359</a> of file <a class="el" href="qwt__plot__print_8cpp-source.html">qwt_plot_print.cpp</a>.
2860
References <a class="el" href="qwt__plot__axis_8cpp-source.html#l00177">axisEnabled()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00100">axisWidget()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00487">QwtScaleWidget::colorBarRect()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00882">QwtScaleWidget::colorBarWidth()</a>, <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00165">QwtAbstractScaleDraw::draw()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00602">QwtScaleWidget::drawColorBar()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00621">QwtScaleWidget::drawTitle()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00866">QwtScaleWidget::isColorBarEnabled()</a>, <a class="el" href="qwt__layout__metrics_8cpp-source.html#l00155">QwtMetricsMap::layoutToScreen()</a>, <a class="el" href="qwt__scale__draw_8cpp-source.html#l00604">QwtScaleDraw::length()</a>, <a class="el" href="qwt__painter_8cpp-source.html#l00160">QwtPainter::metricsMap()</a>, <a class="el" href="qwt__scale__draw_8h-source.html#l00104">QwtScaleDraw::move()</a>, <a class="el" href="qwt__scale__draw_8cpp-source.html#l00115">QwtScaleDraw::orientation()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00402">QwtScaleWidget::penWidth()</a>, <a class="el" href="qwt__scale__draw_8cpp-source.html#l00576">QwtScaleDraw::pos()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00339">QwtScaleWidget::scaleDraw()</a>, <a class="el" href="qwt__scale__draw_8cpp-source.html#l00589">QwtScaleDraw::setLength()</a>, and <a class="el" href="qwt__scale__widget_8cpp-source.html#l00393">QwtScaleWidget::spacing()</a>.
2862
Referenced by <a class="el" href="qwt__plot__print_8cpp-source.html#l00073">print()</a>.
2865
<a class="anchor" name="d42514cf3728466a720d2a1290f13a53"></a><!-- doxytag: member="QwtPlot::printCanvas" ref="d42514cf3728466a720d2a1290f13a53" args="(QPainter *, const QRect &boundingRect, const QRect &canvasRect, const QwtScaleMap maps[axisCnt], const QwtPlotPrintFilter &) const" -->
2866
<div class="memitem">
2867
<div class="memproto">
2868
<table class="memname">
2870
<td class="memname">void QwtPlot::printCanvas </td>
2872
<td class="paramtype">QPainter * </td>
2873
<td class="paramname"> <em>painter</em>, </td>
2876
<td class="paramkey"></td>
2878
<td class="paramtype">const QRect & </td>
2879
<td class="paramname"> <em>boundingRect</em>, </td>
2882
<td class="paramkey"></td>
2884
<td class="paramtype">const QRect & </td>
2885
<td class="paramname"> <em>canvasRect</em>, </td>
2888
<td class="paramkey"></td>
2890
<td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> </td>
2891
<td class="paramname"> <em>map</em>[axisCnt], </td>
2894
<td class="paramkey"></td>
2896
<td class="paramtype">const <a class="el" href="class_qwt_plot_print_filter.html">QwtPlotPrintFilter</a> & </td>
2897
<td class="paramname"> <em>pfilter</em></td><td> </td>
2902
<td></td><td></td><td width="100%"> const<code> [protected, virtual]</code></td>
2906
<div class="memdoc">
2909
Print the canvas into a given rectangle.<p>
2910
<dl compact><dt><b>Parameters:</b></dt><dd>
2911
<table border="0" cellspacing="2" cellpadding="0">
2912
<tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter </td></tr>
2913
<tr><td valign="top"></td><td valign="top"><em>map</em> </td><td>Maps mapping between plot and paint device coordinates </td></tr>
2914
<tr><td valign="top"></td><td valign="top"><em>boundingRect</em> </td><td>Bounding rectangle </td></tr>
2915
<tr><td valign="top"></td><td valign="top"><em>canvasRect</em> </td><td>Canvas rectangle </td></tr>
2916
<tr><td valign="top"></td><td valign="top"><em>pfilter</em> </td><td>Print filter </td></tr>
2919
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_print_filter.html">QwtPlotPrintFilter</a> </dd></dl>
2922
Definition at line <a class="el" href="qwt__plot__print_8cpp-source.html#l00467">467</a> of file <a class="el" href="qwt__plot__print_8cpp-source.html">qwt_plot_print.cpp</a>.
2924
References <a class="el" href="qwt__plot_8cpp-source.html#l00275">canvas()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00572">drawItems()</a>, <a class="el" href="qwt__painter_8cpp-source.html#l00176">QwtPainter::drawRect()</a>, <a class="el" href="qwt__painter_8cpp-source.html#l00228">QwtPainter::fillRect()</a>, <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00108">QwtPlotPrintFilter::options()</a>, and <a class="el" href="qwt__painter_8cpp-source.html#l00168">QwtPainter::setClipRect()</a>.
2926
Referenced by <a class="el" href="qwt__plot__print_8cpp-source.html#l00073">print()</a>.
2929
<a class="anchor" name="4a082258f60aef10b3bcdab1574d2ae2"></a><!-- doxytag: member="QwtPlot::printLegend" ref="4a082258f60aef10b3bcdab1574d2ae2" args="(QPainter *, const QRect &) const" -->
2930
<div class="memitem">
2931
<div class="memproto">
2932
<table class="memname">
2934
<td class="memname">void QwtPlot::printLegend </td>
2936
<td class="paramtype">QPainter * </td>
2937
<td class="paramname"> <em>painter</em>, </td>
2940
<td class="paramkey"></td>
2942
<td class="paramtype">const QRect & </td>
2943
<td class="paramname"> <em>rect</em></td><td> </td>
2948
<td></td><td></td><td width="100%"> const<code> [protected, virtual]</code></td>
2952
<div class="memdoc">
2955
Print the legend into a given rectangle.<p>
2956
<dl compact><dt><b>Parameters:</b></dt><dd>
2957
<table border="0" cellspacing="2" cellpadding="0">
2958
<tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter </td></tr>
2959
<tr><td valign="top"></td><td valign="top"><em>rect</em> </td><td>Bounding rectangle </td></tr>
2964
Definition at line <a class="el" href="qwt__plot__print_8cpp-source.html#l00280">280</a> of file <a class="el" href="qwt__plot__print_8cpp-source.html">qwt_plot_print.cpp</a>.
2966
References <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00353">QwtDynGridLayout::columnsForWidth()</a>, <a class="el" href="qwt__legend_8cpp-source.html#l00355">QwtLegend::contentsWidget()</a>, <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00292">QwtDynGridLayout::count()</a>, <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00275">QwtDynGridLayout::itemAt()</a>, <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00440">QwtDynGridLayout::layoutItems()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00257">legend()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00335">printLegendItem()</a>, and <a class="el" href="qwt__painter_8cpp-source.html#l00168">QwtPainter::setClipRect()</a>.
2968
Referenced by <a class="el" href="qwt__plot__print_8cpp-source.html#l00073">print()</a>.
2971
<hr size="1"><address style="align: right;"><small>Generated on Thu May 1 15:45:00 2008 for Qwt User's Guide by
2972
<a href="http://www.doxygen.org/index.html">
2973
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>