Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 81adc19a14c2cc1cbca5f0c63be116dc > files > 215

libqwt-devel-5.2.0-1mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Qwt User&#39;s Guide: QwtPlotCurve Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>QwtPlotCurve Class Reference</h1><!-- doxytag: class="QwtPlotCurve" --><!-- doxytag: inherits="QwtPlotItem" -->A plot item, that represents a series of points.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="qwt__plot__curve_8h-source.html">qwt_plot_curve.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for QwtPlotCurve:</div>
<div class="dynsection">
<p><center><img src="class_qwt_plot_curve__inherit__graph.png" border="0" usemap="#_qwt_plot_curve__inherit__map" alt="Inheritance graph"></center>
<map name="_qwt_plot_curve__inherit__map">
<area shape="rect" href="class_qwt_plot_item.html" title="Base class for items on the plot canvas." alt="" coords="43,83,139,107"><area shape="rect" href="class_qwt_legend_item_manager.html" title="Abstract API to bind plot items to the legend." alt="" coords="7,8,175,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="class_qwt_plot_curve-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#c173d5059500d1c783602e33689714f5">CurveType</a> { <br>
&nbsp;&nbsp;<b>Yfx</b>, 
<br>
&nbsp;&nbsp;<b>Xfy</b>
<br>
 }</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#15998aa80a11ba6ba80eebabaf773f70">CurveStyle</a> { <br>
&nbsp;&nbsp;<b>NoCurve</b>, 
<br>
&nbsp;&nbsp;<b>Lines</b>, 
<br>
&nbsp;&nbsp;<b>Sticks</b>, 
<br>
&nbsp;&nbsp;<b>Steps</b>, 
<br>
&nbsp;&nbsp;<b>Dots</b>, 
<br>
&nbsp;&nbsp;<b>UserCurve</b> =  100
<br>
 }</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#38064f7de6f026a49db782c365f872c3">CurveAttribute</a> { <br>
&nbsp;&nbsp;<b>Inverted</b> =  1, 
<br>
&nbsp;&nbsp;<b>Fitted</b> =  2
<br>
 }</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#96db1b854c63bfbc452c943251a11b66">PaintAttribute</a> { <br>
&nbsp;&nbsp;<b>PaintFiltered</b> =  1, 
<br>
&nbsp;&nbsp;<b>ClipPolygons</b> =  2
<br>
 }</td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#798339b953deb10e3dddb0f8b56427c0">QwtPlotCurve</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#3bcaa88363509f4bc1ad92bee498f203">QwtPlotCurve</a> (const <a class="el" href="class_qwt_text.html">QwtText</a> &amp;title)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#0abb61c8a31fad952bfe45a1f325209f">QwtPlotCurve</a> (const QString &amp;title)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#a05ec6d3883821a8e62330fbeeb85dbd">~QwtPlotCurve</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#1cb75062e781f4e0839a6cd2081c3928">rtti</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#ca451fa4a6d56c362bde659bb7b0f9b4">setCurveType</a> (<a class="el" href="class_qwt_plot_curve.html#c173d5059500d1c783602e33689714f5">CurveType</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_plot_curve.html#c173d5059500d1c783602e33689714f5">CurveType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#203a29e61eda8434826a12f14db96255">curveType</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#7f9c70366415b5cb068af80be5bf3748">setPaintAttribute</a> (<a class="el" href="class_qwt_plot_curve.html#96db1b854c63bfbc452c943251a11b66">PaintAttribute</a>, bool on=true)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#d262cf6b8448d3cb693cbceecc6d8481">testPaintAttribute</a> (<a class="el" href="class_qwt_plot_curve.html#96db1b854c63bfbc452c943251a11b66">PaintAttribute</a>) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#35533bd778842cf45b283a2baf5ff4a4">setRawData</a> (const double *x, const double *y, int size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#1dc2caaddb1733703b5fcfbe19f29fe8">setData</a> (const double *xData, const double *yData, int size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#ee3452eaaba4fe13e7452319893c4a86">setData</a> (const QwtArray&lt; double &gt; &amp;xData, const QwtArray&lt; double &gt; &amp;yData)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#fabee31ee9ea2c9b8526e5a8b7739e77">setData</a> (const QPolygonF &amp;data)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#4e9abd5034a175deef8e88a7f8ad41ca">setData</a> (const <a class="el" href="class_qwt_data.html">QwtData</a> &amp;data)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#47620cb8ca3940f7007f8fb990d614f6">closestPoint</a> (const QPoint &amp;pos, double *dist=NULL) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_data.html">QwtData</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#1e30b056439ea629f08e8a5f1055949d">data</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_data.html">QwtData</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#61b68da6a4ca2ae107dc843743b7f7c4">data</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#261170c51a8e6853f333c76c501992b7">dataSize</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#312b1fe8635430c293ee8fdc9fcfd774">x</a> (int i) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#db2885f90bfe2ce1f83929a20dffc38e">y</a> (int i) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QwtDoubleRect&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#592742a3aa52a81bd9ea548e81a50f12">boundingRect</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#20c92bfce270e71893cdfa465781017b">minXValue</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#2428e72e84b23a9442ae48fe4540c17f">maxXValue</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#09f7aac646f0e534c2540d61a027b856">minYValue</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#135a412978bf646716b37b0ac8528665">maxYValue</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#6ac9243e280f96cd149102a91271a473">setCurveAttribute</a> (<a class="el" href="class_qwt_plot_curve.html#38064f7de6f026a49db782c365f872c3">CurveAttribute</a>, bool on=true)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#0dc5e6af9ec33a1b54e3c3041c00b939">testCurveAttribute</a> (<a class="el" href="class_qwt_plot_curve.html#38064f7de6f026a49db782c365f872c3">CurveAttribute</a>) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#08328abaf2c3b67e479d1e485d2d0c4d">setPen</a> (const QPen &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const QPen &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#778aafd1385ce833821751d0a8635cef">pen</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#dc52ea882ec1f994e2d2e23c7465b0c2">setBrush</a> (const QBrush &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const QBrush &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#72b678ebb8e4821c1f85351292ce5697">brush</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#2d60cc9c35527480ad3a7b2f668d05fc">setBaseline</a> (double ref)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#93e390b172c5fa9ffd534aeb2d572c0e">baseline</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#2de41014c2b87fd459d0c438a15dd33e">setStyle</a> (<a class="el" href="class_qwt_plot_curve.html#15998aa80a11ba6ba80eebabaf773f70">CurveStyle</a> style)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_plot_curve.html#15998aa80a11ba6ba80eebabaf773f70">CurveStyle</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#2df43bdea2a17118c9114d6fa774e598">style</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#f7ce6652d2ba981c19bddd1b6973bf94">setSymbol</a> (const <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> &amp;s)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#4278ed4f767e394b6f92ce4e5d25231a">symbol</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#c15588c78d175906a30de501b4dd7957">setCurveFitter</a> (<a class="el" href="class_qwt_curve_fitter.html">QwtCurveFitter</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_curve_fitter.html">QwtCurveFitter</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#af299522e4ad972996c781aacc940d31">curveFitter</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#8d52afdd1612ccb4dbf3f410886e680b">draw</a> (QPainter *p, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;xMap, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;yMap, const QRect &amp;) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#517b93ce008faddb49e706b882f44474">draw</a> (QPainter *p, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;xMap, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;yMap, int from, int to) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#57cabe79dbb0df094f5c337689ff88a0">draw</a> (int from, int to) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#edbca95048e4c7b42cd0bf486ec36b4d">updateLegend</a> (<a class="el" href="class_qwt_legend.html">QwtLegend</a> *) const </td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#7afecd61327d56ddc76687d119e92b5d">init</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#cb4e2f26df075483bf6105bb5f2f74fc">drawCurve</a> (QPainter *p, int style, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;xMap, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;yMap, int from, int to) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#b16f5a4329291305c267beab1a6d2dfe">drawSymbols</a> (QPainter *p, const <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> &amp;, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;xMap, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;yMap, int from, int to) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#66fb80deaa39c0b7c70b2914dc74d194">drawLines</a> (QPainter *p, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;xMap, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;yMap, int from, int to) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#64062381af95034c9d590517bd4d7bfb">drawSticks</a> (QPainter *p, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;xMap, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;yMap, int from, int to) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#6fcda40f4bd62fb3a91017ed9e7e49dc">drawDots</a> (QPainter *p, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;xMap, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;yMap, int from, int to) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#46fe8d36454bc19b71615e3df96aa2e9">drawSteps</a> (QPainter *p, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;xMap, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;yMap, int from, int to) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#4003f0a4badb1381c3c00f83dde33daf">fillCurve</a> (QPainter *, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;, QwtPolygon &amp;) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_curve.html#1ba57cbd293566b068669c876ce1263d">closePolyline</a> (const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;, QwtPolygon &amp;) const </td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A plot item, that represents a series of points. 
<p>
A curve is the representation of a series of points in the x-y plane. It supports different display styles, interpolation ( f.e. spline ) and symbols.<p>
<dl class="user" compact><dt><b>Usage</b></dt><dd><dl>
<dt>a) Assign curve properties </dt>
<dd>When a curve is created, it is configured to draw black solid lines with in Lines style and no symbols. You can change this by calling <a class="el" href="class_qwt_plot_curve.html#08328abaf2c3b67e479d1e485d2d0c4d">setPen()</a>, <a class="el" href="class_qwt_plot_curve.html#2de41014c2b87fd459d0c438a15dd33e">setStyle()</a> and <a class="el" href="class_qwt_plot_curve.html#f7ce6652d2ba981c19bddd1b6973bf94" title="Assign a symbol.">setSymbol()</a>. </dd>
<dt>b) Connect/Assign data. </dt>
<dd><a class="el" href="class_qwt_plot_curve.html" title="A plot item, that represents a series of points.">QwtPlotCurve</a> gets its points using a <a class="el" href="class_qwt_data.html" title="QwtData defines an interface to any type of curve data.">QwtData</a> object offering a bridge to the real storage of the points ( like QAbstractItemModel ). There are several convenience classes derived from <a class="el" href="class_qwt_data.html" title="QwtData defines an interface to any type of curve data.">QwtData</a>, that also store the points inside ( like QStandardItemModel ). <a class="el" href="class_qwt_plot_curve.html" title="A plot item, that represents a series of points.">QwtPlotCurve</a> also offers a couple of variations of <a class="el" href="class_qwt_plot_curve.html#1dc2caaddb1733703b5fcfbe19f29fe8">setData()</a>, that build <a class="el" href="class_qwt_data.html" title="QwtData defines an interface to any type of curve data.">QwtData</a> objects from arrays internally. </dd>
<dt>c) Attach the curve to a plot </dt>
<dd>See <a class="el" href="class_qwt_plot_item.html#eb2f676533ccae3436bf578824e2165e" title="Attach the item to a plot.">QwtPlotItem::attach()</a> </dd>
</dl>
</dd></dl>
<dl class="user" compact><dt><b>Example:</b></dt><dd>see examples/bode</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>, <a class="el" href="class_qwt_data.html" title="QwtData defines an interface to any type of curve data.">QwtData</a>, <a class="el" href="class_qwt_symbol.html" title="A class for drawing symbols.">QwtSymbol</a>, <a class="el" href="class_qwt_scale_map.html" title="A scale map.">QwtScaleMap</a> </dd></dl>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="38064f7de6f026a49db782c365f872c3"></a><!-- doxytag: member="QwtPlotCurve::CurveAttribute" ref="38064f7de6f026a49db782c365f872c3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_qwt_plot_curve.html#38064f7de6f026a49db782c365f872c3">QwtPlotCurve::CurveAttribute</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Attribute for drawing the curve<p>
<ul>
<li>Fitted ( in combination with the Lines <a class="el" href="class_qwt_plot_curve.html#15998aa80a11ba6ba80eebabaf773f70">QwtPlotCurve::CurveStyle</a> only )<br>
 A <a class="el" href="class_qwt_curve_fitter.html" title="Abstract base class for a curve fitter.">QwtCurveFitter</a> tries to interpolate/smooth the curve, before it is painted. Note that curve fitting requires temorary memory for calculating coefficients and additional points. If painting in Fitted mode is slow it might be better to fit the points, before they are passed to <a class="el" href="class_qwt_plot_curve.html" title="A plot item, that represents a series of points.">QwtPlotCurve</a>.</li><li>Inverted<br>
 For Steps only. Draws a step function from the right to the left.</li></ul>
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#6ac9243e280f96cd149102a91271a473">setCurveAttribute()</a>, <a class="el" href="class_qwt_plot_curve.html#0dc5e6af9ec33a1b54e3c3041c00b939">testCurveAttribute()</a>, <a class="el" href="class_qwt_plot_curve.html#af299522e4ad972996c781aacc940d31">curveFitter()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="15998aa80a11ba6ba80eebabaf773f70"></a><!-- doxytag: member="QwtPlotCurve::CurveStyle" ref="15998aa80a11ba6ba80eebabaf773f70" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_qwt_plot_curve.html#15998aa80a11ba6ba80eebabaf773f70">QwtPlotCurve::CurveStyle</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Curve styles.<p>
<ul>
<li>NoCurve<br>
 Don't draw a curve. Note: This doesn't affect the symbols.</li><li>Lines<br>
 Connect the points with straight lines. The lines might be interpolated depending on the 'Fitted' attribute. Curve fitting can be configured using <a class="el" href="class_qwt_plot_curve.html#c15588c78d175906a30de501b4dd7957">setCurveFitter()</a>.</li><li>Sticks<br>
 Draw vertical(Yfx) or horizontal(Xfy) sticks from a baseline which is defined by <a class="el" href="class_qwt_plot_curve.html#2d60cc9c35527480ad3a7b2f668d05fc" title="Set the value of the baseline.">setBaseline()</a>.</li><li>Steps<br>
 Connect the points with a step function. The step function is drawn from the left to the right or vice versa, depending on the 'Inverted' attribute.</li><li>Dots<br>
 Draw dots at the locations of the data points. Note: This is different from a dotted line (see <a class="el" href="class_qwt_plot_curve.html#08328abaf2c3b67e479d1e485d2d0c4d">setPen()</a>), and faster as a curve in NoStyle style and a symbol painting a point.</li><li>UserCurve<br>
 Styles &gt;= UserCurve are reserved for derived classes of <a class="el" href="class_qwt_plot_curve.html" title="A plot item, that represents a series of points.">QwtPlotCurve</a> that overload <a class="el" href="class_qwt_plot_curve.html#cb4e2f26df075483bf6105bb5f2f74fc" title="Draw the line part (without symbols) of a curve interval.">drawCurve()</a> with additional application specific curve types.</li></ul>
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#2de41014c2b87fd459d0c438a15dd33e">setStyle()</a>, <a class="el" href="class_qwt_plot_curve.html#2df43bdea2a17118c9114d6fa774e598">style()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="c173d5059500d1c783602e33689714f5"></a><!-- doxytag: member="QwtPlotCurve::CurveType" ref="c173d5059500d1c783602e33689714f5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_qwt_plot_curve.html#c173d5059500d1c783602e33689714f5">QwtPlotCurve::CurveType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Curve type.<p>
<ul>
<li>Yfx<br>
 Draws y as a function of x (the default). The baseline is interpreted as a horizontal line with y = <a class="el" href="class_qwt_plot_curve.html#93e390b172c5fa9ffd534aeb2d572c0e">baseline()</a>.</li><li>Xfy<br>
 Draws x as a function of y. The baseline is interpreted as a vertical line with x = <a class="el" href="class_qwt_plot_curve.html#93e390b172c5fa9ffd534aeb2d572c0e">baseline()</a>.</li></ul>
<p>
The baseline is used for aligning the sticks, or filling the curve with a brush.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#ca451fa4a6d56c362bde659bb7b0f9b4">setCurveType()</a>, <a class="el" href="class_qwt_plot_curve.html#203a29e61eda8434826a12f14db96255">curveType()</a>, <a class="el" href="class_qwt_plot_curve.html#93e390b172c5fa9ffd534aeb2d572c0e">baseline()</a> <a class="el" href="class_qwt_plot_curve.html#72b678ebb8e4821c1f85351292ce5697" title="Return the brush used to fill the area between lines and the baseline.">brush()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="96db1b854c63bfbc452c943251a11b66"></a><!-- doxytag: member="QwtPlotCurve::PaintAttribute" ref="96db1b854c63bfbc452c943251a11b66" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_qwt_plot_curve.html#96db1b854c63bfbc452c943251a11b66">QwtPlotCurve::PaintAttribute</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Attributes to modify the drawing algorithm.<p>
<ul>
<li>PaintFiltered<br>
 Tries to reduce the data that has to be painted, by sorting out duplicates, or paintings outside the visible area. Might have a notable impact on curves with many close points. Only a couple of very basic filtering algos are implemented.</li><li>ClipPolygons<br>
 Clip polygons before painting them. In situations, where points are far outside the visible area (f.e when zooming deep) this might be a substantial improvement for the painting performance ( especially on Windows ).</li></ul>
<p>
The default is, that no paint attributes are enabled.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#7f9c70366415b5cb068af80be5bf3748">setPaintAttribute()</a>, <a class="el" href="class_qwt_plot_curve.html#d262cf6b8448d3cb693cbceecc6d8481" title="Return the current paint attributes.">testPaintAttribute()</a> </dd></dl>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="798339b953deb10e3dddb0f8b56427c0"></a><!-- doxytag: member="QwtPlotCurve::QwtPlotCurve" ref="798339b953deb10e3dddb0f8b56427c0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotCurve::QwtPlotCurve           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor. 
<p>

</div>
</div><p>
<a class="anchor" name="3bcaa88363509f4bc1ad92bee498f203"></a><!-- doxytag: member="QwtPlotCurve::QwtPlotCurve" ref="3bcaa88363509f4bc1ad92bee498f203" args="(const QwtText &amp;title)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotCurve::QwtPlotCurve           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qwt_text.html">QwtText</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>title</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>title</em>&nbsp;</td><td>Title of the curve </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="0abb61c8a31fad952bfe45a1f325209f"></a><!-- doxytag: member="QwtPlotCurve::QwtPlotCurve" ref="0abb61c8a31fad952bfe45a1f325209f" args="(const QString &amp;title)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotCurve::QwtPlotCurve           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>title</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>title</em>&nbsp;</td><td>Title of the curve </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="a05ec6d3883821a8e62330fbeeb85dbd"></a><!-- doxytag: member="QwtPlotCurve::~QwtPlotCurve" ref="a05ec6d3883821a8e62330fbeeb85dbd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotCurve::~QwtPlotCurve           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. 
<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="93e390b172c5fa9ffd534aeb2d572c0e"></a><!-- doxytag: member="QwtPlotCurve::baseline" ref="93e390b172c5fa9ffd534aeb2d572c0e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtPlotCurve::baseline           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the value of the baseline <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#2d60cc9c35527480ad3a7b2f668d05fc" title="Set the value of the baseline.">setBaseline()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="592742a3aa52a81bd9ea548e81a50f12"></a><!-- doxytag: member="QwtPlotCurve::boundingRect" ref="592742a3aa52a81bd9ea548e81a50f12" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtDoubleRect QwtPlotCurve::boundingRect           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the bounding rectangle of the curve data. If there is no bounding rect, like for empty data the rectangle is invalid. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_data.html#d72b6842ce6af1f61f9643786d63a91f">QwtData::boundingRect()</a>, QwtDoubleRect::isValid() </dd></dl>

<p>Reimplemented from <a class="el" href="class_qwt_plot_item.html#4c2c1c77421229383b3c43cb777e3bfe">QwtPlotItem</a>.</p>

</div>
</div><p>
<a class="anchor" name="72b678ebb8e4821c1f85351292ce5697"></a><!-- doxytag: member="QwtPlotCurve::brush" ref="72b678ebb8e4821c1f85351292ce5697" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QBrush &amp; QwtPlotCurve::brush           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the brush used to fill the area between lines and the baseline. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#dc52ea882ec1f994e2d2e23c7465b0c2" title="Assign a brush.">setBrush()</a>, <a class="el" href="class_qwt_plot_curve.html#2d60cc9c35527480ad3a7b2f668d05fc" title="Set the value of the baseline.">setBaseline()</a>, <a class="el" href="class_qwt_plot_curve.html#93e390b172c5fa9ffd534aeb2d572c0e">baseline()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="1ba57cbd293566b068669c876ce1263d"></a><!-- doxytag: member="QwtPlotCurve::closePolyline" ref="1ba57cbd293566b068669c876ce1263d" args="(const QwtScaleMap &amp;, const QwtScaleMap &amp;, QwtPolygon &amp;) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::closePolyline           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>xMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>yMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QwtPolygon &amp;&nbsp;</td>
          <td class="paramname"> <em>pa</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Complete a polygon to be a closed polygon including the area between the original polygon and the baseline. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>xMap</em>&nbsp;</td><td>X map </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yMap</em>&nbsp;</td><td>Y map </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pa</em>&nbsp;</td><td>Polygon to be completed </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="47620cb8ca3940f7007f8fb990d614f6"></a><!-- doxytag: member="QwtPlotCurve::closestPoint" ref="47620cb8ca3940f7007f8fb990d614f6" args="(const QPoint &amp;pos, double *dist=NULL) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QwtPlotCurve::closestPoint           </td>
          <td>(</td>
          <td class="paramtype">const QPoint &amp;&nbsp;</td>
          <td class="paramname"> <em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>dist</em> = <code>NULL</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Find the closest curve point for a specific position<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pos</em>&nbsp;</td><td>Position, where to look for the closest curve point </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dist</em>&nbsp;</td><td>If dist != NULL, <a class="el" href="class_qwt_plot_curve.html#47620cb8ca3940f7007f8fb990d614f6">closestPoint()</a> returns the distance between the position and the clostest curve point </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Index of the closest curve point, or -1 if none can be found ( f.e when the curve has no points ) </dd></dl>
<dl class="note" compact><dt><b>Note:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#47620cb8ca3940f7007f8fb990d614f6">closestPoint()</a> implements a dumb algorithm, that iterates over all points </dd></dl>

</div>
</div><p>
<a class="anchor" name="af299522e4ad972996c781aacc940d31"></a><!-- doxytag: member="QwtPlotCurve::curveFitter" ref="af299522e4ad972996c781aacc940d31" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_curve_fitter.html">QwtCurveFitter</a> * QwtPlotCurve::curveFitter           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the curve fitter. If curve fitting is disabled NULL is returned. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Curve fitter </dd></dl>

</div>
</div><p>
<a class="anchor" name="203a29e61eda8434826a12f14db96255"></a><!-- doxytag: member="QwtPlotCurve::curveType" ref="203a29e61eda8434826a12f14db96255" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_plot_curve.html#c173d5059500d1c783602e33689714f5">QwtPlotCurve::CurveType</a> QwtPlotCurve::curveType           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the curve type <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#c173d5059500d1c783602e33689714f5">CurveType</a>, <a class="el" href="class_qwt_plot_curve.html#ca451fa4a6d56c362bde659bb7b0f9b4">setCurveType()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="61b68da6a4ca2ae107dc843743b7f7c4"></a><!-- doxytag: member="QwtPlotCurve::data" ref="61b68da6a4ca2ae107dc843743b7f7c4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_qwt_data.html">QwtData</a> &amp; QwtPlotCurve::data           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the the curve data </dd></dl>

</div>
</div><p>
<a class="anchor" name="1e30b056439ea629f08e8a5f1055949d"></a><!-- doxytag: member="QwtPlotCurve::data" ref="1e30b056439ea629f08e8a5f1055949d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_data.html">QwtData</a> &amp; QwtPlotCurve::data           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the the curve data </dd></dl>

</div>
</div><p>
<a class="anchor" name="261170c51a8e6853f333c76c501992b7"></a><!-- doxytag: member="QwtPlotCurve::dataSize" ref="261170c51a8e6853f333c76c501992b7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QwtPlotCurve::dataSize           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the size of the data arrays <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#1dc2caaddb1733703b5fcfbe19f29fe8">setData()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="57cabe79dbb0df094f5c337689ff88a0"></a><!-- doxytag: member="QwtPlotCurve::draw" ref="57cabe79dbb0df094f5c337689ff88a0" args="(int from, int to) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::draw           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>to</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw a set of points of a curve. 
<p>
When observing an measurement while it is running, new points have to be added to an existing curve. drawCurve can be used to display them avoiding a complete redraw of the canvas.<p>
Setting <a class="el" href="class_qwt_plot_item.html#4c99653a14a49ad94d466168d06e97b9" title="Return attached plot.">plot()</a>-&gt;canvas()-&gt;setAttribute(Qt::WA_PaintOutsidePaintEvent, true); will result in faster painting, if the paint engine of the canvas widget supports this feature.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>from</em>&nbsp;</td><td>Index of the first point to be painted </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>to</em>&nbsp;</td><td>Index of the last point to be painted. If to &lt; 0 the curve will be painted to its last point.</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#cb4e2f26df075483bf6105bb5f2f74fc" title="Draw the line part (without symbols) of a curve interval.">drawCurve()</a>, <a class="el" href="class_qwt_plot_curve.html#b16f5a4329291305c267beab1a6d2dfe" title="Draw symbols.">drawSymbols()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="517b93ce008faddb49e706b882f44474"></a><!-- doxytag: member="QwtPlotCurve::draw" ref="517b93ce008faddb49e706b882f44474" args="(QPainter *p, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, int from, int to) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::draw           </td>
          <td>(</td>
          <td class="paramtype">QPainter *&nbsp;</td>
          <td class="paramname"> <em>painter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>xMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>yMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>to</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw an interval of the curve. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>painter</em>&nbsp;</td><td>Painter </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>xMap</em>&nbsp;</td><td>maps x-values into pixel coordinates. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yMap</em>&nbsp;</td><td>maps y-values into pixel coordinates. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>from</em>&nbsp;</td><td>index of the first point to be painted </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>to</em>&nbsp;</td><td>index of the last point to be painted. If to &lt; 0 the curve will be painted to its last point.</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#cb4e2f26df075483bf6105bb5f2f74fc" title="Draw the line part (without symbols) of a curve interval.">drawCurve()</a>, <a class="el" href="class_qwt_plot_curve.html#b16f5a4329291305c267beab1a6d2dfe" title="Draw symbols.">drawSymbols()</a>, </dd></dl>

</div>
</div><p>
<a class="anchor" name="8d52afdd1612ccb4dbf3f410886e680b"></a><!-- doxytag: member="QwtPlotCurve::draw" ref="8d52afdd1612ccb4dbf3f410886e680b" args="(QPainter *p, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QRect &amp;) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::draw           </td>
          <td>(</td>
          <td class="paramtype">QPainter *&nbsp;</td>
          <td class="paramname"> <em>painter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>xMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>yMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw the complete curve. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>painter</em>&nbsp;</td><td>Painter </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>xMap</em>&nbsp;</td><td>Maps x-values into pixel coordinates. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yMap</em>&nbsp;</td><td>Maps y-values into pixel coordinates.</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#cb4e2f26df075483bf6105bb5f2f74fc" title="Draw the line part (without symbols) of a curve interval.">drawCurve()</a>, <a class="el" href="class_qwt_plot_curve.html#b16f5a4329291305c267beab1a6d2dfe" title="Draw symbols.">drawSymbols()</a> </dd></dl>

<p>Implements <a class="el" href="class_qwt_plot_item.html#5483623e4fd1ae85b06b93523784358b">QwtPlotItem</a>.</p>

</div>
</div><p>
<a class="anchor" name="cb4e2f26df075483bf6105bb5f2f74fc"></a><!-- doxytag: member="QwtPlotCurve::drawCurve" ref="cb4e2f26df075483bf6105bb5f2f74fc" args="(QPainter *p, int style, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, int from, int to) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::drawCurve           </td>
          <td>(</td>
          <td class="paramtype">QPainter *&nbsp;</td>
          <td class="paramname"> <em>painter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>style</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>xMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>yMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>to</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw the line part (without symbols) of a curve interval. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>painter</em>&nbsp;</td><td>Painter </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>style</em>&nbsp;</td><td>curve style, see <a class="el" href="class_qwt_plot_curve.html#15998aa80a11ba6ba80eebabaf773f70">QwtPlotCurve::CurveStyle</a> </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>xMap</em>&nbsp;</td><td>x map </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yMap</em>&nbsp;</td><td>y map </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>from</em>&nbsp;</td><td>index of the first point to be painted </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>to</em>&nbsp;</td><td>index of the last point to be painted </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#8d52afdd1612ccb4dbf3f410886e680b" title="Draw the complete curve.">draw()</a>, <a class="el" href="class_qwt_plot_curve.html#6fcda40f4bd62fb3a91017ed9e7e49dc">drawDots()</a>, <a class="el" href="class_qwt_plot_curve.html#66fb80deaa39c0b7c70b2914dc74d194" title="Draw lines.">drawLines()</a>, <a class="el" href="class_qwt_plot_curve.html#46fe8d36454bc19b71615e3df96aa2e9">drawSteps()</a>, <a class="el" href="class_qwt_plot_curve.html#64062381af95034c9d590517bd4d7bfb">drawSticks()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="6fcda40f4bd62fb3a91017ed9e7e49dc"></a><!-- doxytag: member="QwtPlotCurve::drawDots" ref="6fcda40f4bd62fb3a91017ed9e7e49dc" args="(QPainter *p, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, int from, int to) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::drawDots           </td>
          <td>(</td>
          <td class="paramtype">QPainter *&nbsp;</td>
          <td class="paramname"> <em>painter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>xMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>yMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>to</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw dots<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>painter</em>&nbsp;</td><td>Painter </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>xMap</em>&nbsp;</td><td>x map </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yMap</em>&nbsp;</td><td>y map </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>from</em>&nbsp;</td><td>index of the first point to be painted </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>to</em>&nbsp;</td><td>index of the last point to be painted</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#8d52afdd1612ccb4dbf3f410886e680b" title="Draw the complete curve.">draw()</a>, <a class="el" href="class_qwt_plot_curve.html#cb4e2f26df075483bf6105bb5f2f74fc" title="Draw the line part (without symbols) of a curve interval.">drawCurve()</a>, <a class="el" href="class_qwt_plot_curve.html#64062381af95034c9d590517bd4d7bfb">drawSticks()</a>, <a class="el" href="class_qwt_plot_curve.html#66fb80deaa39c0b7c70b2914dc74d194" title="Draw lines.">drawLines()</a>, <a class="el" href="class_qwt_plot_curve.html#46fe8d36454bc19b71615e3df96aa2e9">drawSteps()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="66fb80deaa39c0b7c70b2914dc74d194"></a><!-- doxytag: member="QwtPlotCurve::drawLines" ref="66fb80deaa39c0b7c70b2914dc74d194" args="(QPainter *p, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, int from, int to) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::drawLines           </td>
          <td>(</td>
          <td class="paramtype">QPainter *&nbsp;</td>
          <td class="paramname"> <em>painter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>xMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>yMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>to</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw lines. 
<p>
If the CurveAttribute Fitted is enabled a <a class="el" href="class_qwt_curve_fitter.html" title="Abstract base class for a curve fitter.">QwtCurveFitter</a> tries to interpolate/smooth the curve, before it is painted.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>painter</em>&nbsp;</td><td>Painter </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>xMap</em>&nbsp;</td><td>x map </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yMap</em>&nbsp;</td><td>y map </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>from</em>&nbsp;</td><td>index of the first point to be painted </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>to</em>&nbsp;</td><td>index of the last point to be painted</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#6ac9243e280f96cd149102a91271a473">setCurveAttribute()</a>, <a class="el" href="class_qwt_plot_curve.html#c15588c78d175906a30de501b4dd7957">setCurveFitter()</a>, <a class="el" href="class_qwt_plot_curve.html#8d52afdd1612ccb4dbf3f410886e680b" title="Draw the complete curve.">draw()</a>, <a class="el" href="class_qwt_plot_curve.html#66fb80deaa39c0b7c70b2914dc74d194" title="Draw lines.">drawLines()</a>, <a class="el" href="class_qwt_plot_curve.html#6fcda40f4bd62fb3a91017ed9e7e49dc">drawDots()</a>, <a class="el" href="class_qwt_plot_curve.html#46fe8d36454bc19b71615e3df96aa2e9">drawSteps()</a>, <a class="el" href="class_qwt_plot_curve.html#64062381af95034c9d590517bd4d7bfb">drawSticks()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="46fe8d36454bc19b71615e3df96aa2e9"></a><!-- doxytag: member="QwtPlotCurve::drawSteps" ref="46fe8d36454bc19b71615e3df96aa2e9" args="(QPainter *p, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, int from, int to) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::drawSteps           </td>
          <td>(</td>
          <td class="paramtype">QPainter *&nbsp;</td>
          <td class="paramname"> <em>painter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>xMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>yMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>to</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw step function<p>
The direction of the steps depends on Inverted attribute.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>painter</em>&nbsp;</td><td>Painter </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>xMap</em>&nbsp;</td><td>x map </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yMap</em>&nbsp;</td><td>y map </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>from</em>&nbsp;</td><td>index of the first point to be painted </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>to</em>&nbsp;</td><td>index of the last point to be painted</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#38064f7de6f026a49db782c365f872c3">CurveAttribute</a>, <a class="el" href="class_qwt_plot_curve.html#6ac9243e280f96cd149102a91271a473">setCurveAttribute()</a>, <a class="el" href="class_qwt_plot_curve.html#8d52afdd1612ccb4dbf3f410886e680b" title="Draw the complete curve.">draw()</a>, <a class="el" href="class_qwt_plot_curve.html#cb4e2f26df075483bf6105bb5f2f74fc" title="Draw the line part (without symbols) of a curve interval.">drawCurve()</a>, <a class="el" href="class_qwt_plot_curve.html#6fcda40f4bd62fb3a91017ed9e7e49dc">drawDots()</a>, <a class="el" href="class_qwt_plot_curve.html#66fb80deaa39c0b7c70b2914dc74d194" title="Draw lines.">drawLines()</a>, <a class="el" href="class_qwt_plot_curve.html#64062381af95034c9d590517bd4d7bfb">drawSticks()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="64062381af95034c9d590517bd4d7bfb"></a><!-- doxytag: member="QwtPlotCurve::drawSticks" ref="64062381af95034c9d590517bd4d7bfb" args="(QPainter *p, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, int from, int to) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::drawSticks           </td>
          <td>(</td>
          <td class="paramtype">QPainter *&nbsp;</td>
          <td class="paramname"> <em>painter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>xMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>yMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>to</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw sticks<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>painter</em>&nbsp;</td><td>Painter </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>xMap</em>&nbsp;</td><td>x map </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yMap</em>&nbsp;</td><td>y map </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>from</em>&nbsp;</td><td>index of the first point to be painted </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>to</em>&nbsp;</td><td>index of the last point to be painted</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#8d52afdd1612ccb4dbf3f410886e680b" title="Draw the complete curve.">draw()</a>, <a class="el" href="class_qwt_plot_curve.html#cb4e2f26df075483bf6105bb5f2f74fc" title="Draw the line part (without symbols) of a curve interval.">drawCurve()</a>, <a class="el" href="class_qwt_plot_curve.html#6fcda40f4bd62fb3a91017ed9e7e49dc">drawDots()</a>, <a class="el" href="class_qwt_plot_curve.html#66fb80deaa39c0b7c70b2914dc74d194" title="Draw lines.">drawLines()</a>, <a class="el" href="class_qwt_plot_curve.html#46fe8d36454bc19b71615e3df96aa2e9">drawSteps()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="b16f5a4329291305c267beab1a6d2dfe"></a><!-- doxytag: member="QwtPlotCurve::drawSymbols" ref="b16f5a4329291305c267beab1a6d2dfe" args="(QPainter *p, const QwtSymbol &amp;, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, int from, int to) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::drawSymbols           </td>
          <td>(</td>
          <td class="paramtype">QPainter *&nbsp;</td>
          <td class="paramname"> <em>painter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>symbol</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>xMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>yMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>to</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw symbols. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>painter</em>&nbsp;</td><td>Painter </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>symbol</em>&nbsp;</td><td>Curve symbol </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>xMap</em>&nbsp;</td><td>x map </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yMap</em>&nbsp;</td><td>y map </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>from</em>&nbsp;</td><td>index of the first point to be painted </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>to</em>&nbsp;</td><td>index of the last point to be painted</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#f7ce6652d2ba981c19bddd1b6973bf94" title="Assign a symbol.">setSymbol()</a>, <a class="el" href="class_qwt_plot_curve.html#8d52afdd1612ccb4dbf3f410886e680b" title="Draw the complete curve.">draw()</a>, <a class="el" href="class_qwt_plot_curve.html#cb4e2f26df075483bf6105bb5f2f74fc" title="Draw the line part (without symbols) of a curve interval.">drawCurve()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="4003f0a4badb1381c3c00f83dde33daf"></a><!-- doxytag: member="QwtPlotCurve::fillCurve" ref="4003f0a4badb1381c3c00f83dde33daf" args="(QPainter *, const QwtScaleMap &amp;, const QwtScaleMap &amp;, QwtPolygon &amp;) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::fillCurve           </td>
          <td>(</td>
          <td class="paramtype">QPainter *&nbsp;</td>
          <td class="paramname"> <em>painter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>xMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>yMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QwtPolygon &amp;&nbsp;</td>
          <td class="paramname"> <em>pa</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Fill the area between the curve and the baseline with the curve brush<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>painter</em>&nbsp;</td><td>Painter </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>xMap</em>&nbsp;</td><td>x map </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yMap</em>&nbsp;</td><td>y map </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pa</em>&nbsp;</td><td>Polygon</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#dc52ea882ec1f994e2d2e23c7465b0c2" title="Assign a brush.">setBrush()</a>, <a class="el" href="class_qwt_plot_curve.html#2d60cc9c35527480ad3a7b2f668d05fc" title="Set the value of the baseline.">setBaseline()</a>, <a class="el" href="class_qwt_plot_curve.html#ca451fa4a6d56c362bde659bb7b0f9b4">setCurveType()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="7afecd61327d56ddc76687d119e92b5d"></a><!-- doxytag: member="QwtPlotCurve::init" ref="7afecd61327d56ddc76687d119e92b5d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::init           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Initialize data members. 
<p>

</div>
</div><p>
<a class="anchor" name="2428e72e84b23a9442ae48fe4540c17f"></a><!-- doxytag: member="QwtPlotCurve::maxXValue" ref="2428e72e84b23a9442ae48fe4540c17f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtPlotCurve::maxXValue           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="class_qwt_plot_curve.html#592742a3aa52a81bd9ea548e81a50f12">boundingRect()</a>.right() 
<p>

</div>
</div><p>
<a class="anchor" name="135a412978bf646716b37b0ac8528665"></a><!-- doxytag: member="QwtPlotCurve::maxYValue" ref="135a412978bf646716b37b0ac8528665" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtPlotCurve::maxYValue           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="class_qwt_plot_curve.html#592742a3aa52a81bd9ea548e81a50f12">boundingRect()</a>.bottom() 
<p>

</div>
</div><p>
<a class="anchor" name="20c92bfce270e71893cdfa465781017b"></a><!-- doxytag: member="QwtPlotCurve::minXValue" ref="20c92bfce270e71893cdfa465781017b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtPlotCurve::minXValue           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="class_qwt_plot_curve.html#592742a3aa52a81bd9ea548e81a50f12">boundingRect()</a>.left() 
<p>

</div>
</div><p>
<a class="anchor" name="09f7aac646f0e534c2540d61a027b856"></a><!-- doxytag: member="QwtPlotCurve::minYValue" ref="09f7aac646f0e534c2540d61a027b856" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtPlotCurve::minYValue           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="class_qwt_plot_curve.html#592742a3aa52a81bd9ea548e81a50f12">boundingRect()</a>.top() 
<p>

</div>
</div><p>
<a class="anchor" name="778aafd1385ce833821751d0a8635cef"></a><!-- doxytag: member="QwtPlotCurve::pen" ref="778aafd1385ce833821751d0a8635cef" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QPen &amp; QwtPlotCurve::pen           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the pen used to draw the lines. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#08328abaf2c3b67e479d1e485d2d0c4d">setPen()</a>, <a class="el" href="class_qwt_plot_curve.html#72b678ebb8e4821c1f85351292ce5697" title="Return the brush used to fill the area between lines and the baseline.">brush()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="1cb75062e781f4e0839a6cd2081c3928"></a><!-- doxytag: member="QwtPlotCurve::rtti" ref="1cb75062e781f4e0839a6cd2081c3928" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QwtPlotCurve::rtti           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>QwtPlotItem::Rtti_PlotCurve </dd></dl>

<p>Reimplemented from <a class="el" href="class_qwt_plot_item.html#f153b5a40a60ac626f1c58e69fc4ecad">QwtPlotItem</a>.</p>

</div>
</div><p>
<a class="anchor" name="2d60cc9c35527480ad3a7b2f668d05fc"></a><!-- doxytag: member="QwtPlotCurve::setBaseline" ref="2d60cc9c35527480ad3a7b2f668d05fc" args="(double ref)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::setBaseline           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>reference</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the value of the baseline. 
<p>
The baseline is needed for filling the curve with a brush or the Sticks drawing style. The default value is 0.0. The interpretation of the baseline depends on the CurveType. With QwtPlotCurve::Yfx, the baseline is interpreted as a horizontal line at y = <a class="el" href="class_qwt_plot_curve.html#93e390b172c5fa9ffd534aeb2d572c0e">baseline()</a>, with QwtPlotCurve::Yfy, it is interpreted as a vertical line at x = <a class="el" href="class_qwt_plot_curve.html#93e390b172c5fa9ffd534aeb2d572c0e">baseline()</a>. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>reference</em>&nbsp;</td><td>baseline </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#93e390b172c5fa9ffd534aeb2d572c0e">baseline()</a>, <a class="el" href="class_qwt_plot_curve.html#dc52ea882ec1f994e2d2e23c7465b0c2" title="Assign a brush.">setBrush()</a>, <a class="el" href="class_qwt_plot_curve.html#2de41014c2b87fd459d0c438a15dd33e">setStyle()</a>, <a class="el" href="class_qwt_plot_curve.html#ca451fa4a6d56c362bde659bb7b0f9b4">setCurveType()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="dc52ea882ec1f994e2d2e23c7465b0c2"></a><!-- doxytag: member="QwtPlotCurve::setBrush" ref="dc52ea882ec1f994e2d2e23c7465b0c2" args="(const QBrush &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::setBrush           </td>
          <td>(</td>
          <td class="paramtype">const QBrush &amp;&nbsp;</td>
          <td class="paramname"> <em>brush</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Assign a brush. 
<p>
In case of brush.style() != QBrush::NoBrush and <a class="el" href="class_qwt_plot_curve.html#2df43bdea2a17118c9114d6fa774e598">style()</a> != QwtPlotCurve::Sticks the area between the curve and the baseline will be filled.<p>
In case !brush.color().isValid() the area will be filled by pen.color(). The fill algorithm simply connects the first and the last curve point to the baseline. So the curve data has to be sorted (ascending or descending).<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>brush</em>&nbsp;</td><td>New brush </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#72b678ebb8e4821c1f85351292ce5697" title="Return the brush used to fill the area between lines and the baseline.">brush()</a>, <a class="el" href="class_qwt_plot_curve.html#2d60cc9c35527480ad3a7b2f668d05fc" title="Set the value of the baseline.">setBaseline()</a>, <a class="el" href="class_qwt_plot_curve.html#93e390b172c5fa9ffd534aeb2d572c0e">baseline()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="6ac9243e280f96cd149102a91271a473"></a><!-- doxytag: member="QwtPlotCurve::setCurveAttribute" ref="6ac9243e280f96cd149102a91271a473" args="(CurveAttribute, bool on=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::setCurveAttribute           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot_curve.html#38064f7de6f026a49db782c365f872c3">CurveAttribute</a>&nbsp;</td>
          <td class="paramname"> <em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>on</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify an attribute for drawing the curve<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>attribute</em>&nbsp;</td><td>Curve attribute </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>on</em>&nbsp;</td><td>On/Off</td></tr>
  </table>
</dl>
/sa CurveAttribute, <a class="el" href="class_qwt_plot_curve.html#0dc5e6af9ec33a1b54e3c3041c00b939">testCurveAttribute()</a>, <a class="el" href="class_qwt_plot_curve.html#c15588c78d175906a30de501b4dd7957">setCurveFitter()</a> 
</div>
</div><p>
<a class="anchor" name="c15588c78d175906a30de501b4dd7957"></a><!-- doxytag: member="QwtPlotCurve::setCurveFitter" ref="c15588c78d175906a30de501b4dd7957" args="(QwtCurveFitter *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::setCurveFitter           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_curve_fitter.html">QwtCurveFitter</a> *&nbsp;</td>
          <td class="paramname"> <em>curveFitter</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Assign a curve fitter setCurveFitter(NULL) disables curve fitting.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>curveFitter</em>&nbsp;</td><td>Curve fitter </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="ca451fa4a6d56c362bde659bb7b0f9b4"></a><!-- doxytag: member="QwtPlotCurve::setCurveType" ref="ca451fa4a6d56c362bde659bb7b0f9b4" args="(CurveType)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::setCurveType           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot_curve.html#c173d5059500d1c783602e33689714f5">CurveType</a>&nbsp;</td>
          <td class="paramname"> <em>curveType</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Assign the curve type<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>curveType</em>&nbsp;</td><td>Yfx or Xfy </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#c173d5059500d1c783602e33689714f5">CurveType</a>, <a class="el" href="class_qwt_plot_curve.html#203a29e61eda8434826a12f14db96255">curveType()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="4e9abd5034a175deef8e88a7f8ad41ca"></a><!-- doxytag: member="QwtPlotCurve::setData" ref="4e9abd5034a175deef8e88a7f8ad41ca" args="(const QwtData &amp;data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::setData           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qwt_data.html">QwtData</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>data</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Initialize data with a pointer to <a class="el" href="class_qwt_data.html" title="QwtData defines an interface to any type of curve data.">QwtData</a>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>Data </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_data.html#8531a1add1f0b2d12809f90f97fd80c9">QwtData::copy()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="fabee31ee9ea2c9b8526e5a8b7739e77"></a><!-- doxytag: member="QwtPlotCurve::setData" ref="fabee31ee9ea2c9b8526e5a8b7739e77" args="(const QPolygonF &amp;data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::setData           </td>
          <td>(</td>
          <td class="paramtype">const QPolygonF &amp;&nbsp;</td>
          <td class="paramname"> <em>data</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Initialize data with an array of points (explicitly shared).<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>Data </td></tr>
  </table>
</dl>
<dl class="note" compact><dt><b>Note:</b></dt><dd>Internally the data is stored in a <a class="el" href="class_qwt_polygon_f_data.html" title="Data class containing a single QwtArray&lt;QwtDoublePoint&gt; object.">QwtPolygonFData</a> object </dd></dl>

</div>
</div><p>
<a class="anchor" name="ee3452eaaba4fe13e7452319893c4a86"></a><!-- doxytag: member="QwtPlotCurve::setData" ref="ee3452eaaba4fe13e7452319893c4a86" args="(const QwtArray&lt; double &gt; &amp;xData, const QwtArray&lt; double &gt; &amp;yData)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::setData           </td>
          <td>(</td>
          <td class="paramtype">const QwtArray&lt; double &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>xData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QwtArray&lt; double &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>yData</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Initialize data with x- and y-arrays (explicitly shared) ( Builds an <a class="el" href="class_qwt_array_data.html" title="Data class containing two QwtArray&lt;double&gt; objects.">QwtArrayData</a> object internally )<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>xData</em>&nbsp;</td><td>x data </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yData</em>&nbsp;</td><td>y data</td></tr>
  </table>
</dl>
<dl class="note" compact><dt><b>Note:</b></dt><dd>Internally the data is stored in a <a class="el" href="class_qwt_array_data.html" title="Data class containing two QwtArray&lt;double&gt; objects.">QwtArrayData</a> object </dd></dl>

</div>
</div><p>
<a class="anchor" name="1dc2caaddb1733703b5fcfbe19f29fe8"></a><!-- doxytag: member="QwtPlotCurve::setData" ref="1dc2caaddb1733703b5fcfbe19f29fe8" args="(const double *xData, const double *yData, int size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::setData           </td>
          <td>(</td>
          <td class="paramtype">const double *&nbsp;</td>
          <td class="paramname"> <em>xData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double *&nbsp;</td>
          <td class="paramname"> <em>yData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set data by copying x- and y-values from specified memory blocks. Contrary to setCurveRawData(), this function makes a 'deep copy' of the data.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>xData</em>&nbsp;</td><td>Pointer to x values </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yData</em>&nbsp;</td><td>Pointer to y values </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>size</em>&nbsp;</td><td>Size of xData and yData</td></tr>
  </table>
</dl>
<dl class="note" compact><dt><b>Note:</b></dt><dd>Internally the data is stored in a <a class="el" href="class_qwt_array_data.html" title="Data class containing two QwtArray&lt;double&gt; objects.">QwtArrayData</a> object </dd></dl>

</div>
</div><p>
<a class="anchor" name="7f9c70366415b5cb068af80be5bf3748"></a><!-- doxytag: member="QwtPlotCurve::setPaintAttribute" ref="7f9c70366415b5cb068af80be5bf3748" args="(PaintAttribute, bool on=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::setPaintAttribute           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot_curve.html#96db1b854c63bfbc452c943251a11b66">PaintAttribute</a>&nbsp;</td>
          <td class="paramname"> <em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>on</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify an attribute how to draw the curve<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>attribute</em>&nbsp;</td><td>Paint attribute </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>on</em>&nbsp;</td><td>On/Off /sa PaintAttribute, <a class="el" href="class_qwt_plot_curve.html#d262cf6b8448d3cb693cbceecc6d8481" title="Return the current paint attributes.">testPaintAttribute()</a> </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="08328abaf2c3b67e479d1e485d2d0c4d"></a><!-- doxytag: member="QwtPlotCurve::setPen" ref="08328abaf2c3b67e479d1e485d2d0c4d" args="(const QPen &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::setPen           </td>
          <td>(</td>
          <td class="paramtype">const QPen &amp;&nbsp;</td>
          <td class="paramname"> <em>pen</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Assign a pen<p>
The width of non cosmetic pens is scaled according to the resolution of the paint device.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pen</em>&nbsp;</td><td>New pen </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#778aafd1385ce833821751d0a8635cef" title="Return the pen used to draw the lines.">pen()</a>, <a class="el" href="class_qwt_plot_curve.html#72b678ebb8e4821c1f85351292ce5697" title="Return the brush used to fill the area between lines and the baseline.">brush()</a>, <a class="el" href="class_qwt_painter.html#a26d78607cf7f1d99e9b43c84f29e868" title="Scale a pen according to the layout metrics.">QwtPainter::scaledPen()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="35533bd778842cf45b283a2baf5ff4a4"></a><!-- doxytag: member="QwtPlotCurve::setRawData" ref="35533bd778842cf45b283a2baf5ff4a4" args="(const double *x, const double *y, int size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::setRawData           </td>
          <td>(</td>
          <td class="paramtype">const double *&nbsp;</td>
          <td class="paramname"> <em>xData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double *&nbsp;</td>
          <td class="paramname"> <em>yData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Initialize the data by pointing to memory blocks which are not managed by <a class="el" href="class_qwt_plot_curve.html" title="A plot item, that represents a series of points.">QwtPlotCurve</a>. 
<p>
setRawData is provided for efficiency. It is important to keep the pointers during the lifetime of the underlying <a class="el" href="class_qwt_c_pointer_data.html" title="Data class containing two pointers to memory blocks of doubles.">QwtCPointerData</a> class.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>xData</em>&nbsp;</td><td>pointer to x data </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yData</em>&nbsp;</td><td>pointer to y data </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>size</em>&nbsp;</td><td>size of x and y</td></tr>
  </table>
</dl>
<dl class="note" compact><dt><b>Note:</b></dt><dd>Internally the data is stored in a <a class="el" href="class_qwt_c_pointer_data.html" title="Data class containing two pointers to memory blocks of doubles.">QwtCPointerData</a> object </dd></dl>

</div>
</div><p>
<a class="anchor" name="2de41014c2b87fd459d0c438a15dd33e"></a><!-- doxytag: member="QwtPlotCurve::setStyle" ref="2de41014c2b87fd459d0c438a15dd33e" args="(CurveStyle style)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::setStyle           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot_curve.html#15998aa80a11ba6ba80eebabaf773f70">CurveStyle</a>&nbsp;</td>
          <td class="paramname"> <em>style</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the curve's drawing style<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>style</em>&nbsp;</td><td>Curve style </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#15998aa80a11ba6ba80eebabaf773f70">CurveStyle</a>, <a class="el" href="class_qwt_plot_curve.html#2df43bdea2a17118c9114d6fa774e598">style()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="f7ce6652d2ba981c19bddd1b6973bf94"></a><!-- doxytag: member="QwtPlotCurve::setSymbol" ref="f7ce6652d2ba981c19bddd1b6973bf94" args="(const QwtSymbol &amp;s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::setSymbol           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>symbol</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Assign a symbol. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>symbol</em>&nbsp;</td><td>Symbol </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#4278ed4f767e394b6f92ce4e5d25231a" title="Return the current symbol.">symbol()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="2df43bdea2a17118c9114d6fa774e598"></a><!-- doxytag: member="QwtPlotCurve::style" ref="2df43bdea2a17118c9114d6fa774e598" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_plot_curve.html#15998aa80a11ba6ba80eebabaf773f70">QwtPlotCurve::CurveStyle</a> QwtPlotCurve::style           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the current style <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#15998aa80a11ba6ba80eebabaf773f70">CurveStyle</a>, <a class="el" href="class_qwt_plot_curve.html#2de41014c2b87fd459d0c438a15dd33e">setStyle()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="4278ed4f767e394b6f92ce4e5d25231a"></a><!-- doxytag: member="QwtPlotCurve::symbol" ref="4278ed4f767e394b6f92ce4e5d25231a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> &amp; QwtPlotCurve::symbol           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the current symbol. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#f7ce6652d2ba981c19bddd1b6973bf94" title="Assign a symbol.">setSymbol()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="0dc5e6af9ec33a1b54e3c3041c00b939"></a><!-- doxytag: member="QwtPlotCurve::testCurveAttribute" ref="0dc5e6af9ec33a1b54e3c3041c00b939" args="(CurveAttribute) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtPlotCurve::testCurveAttribute           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot_curve.html#38064f7de6f026a49db782c365f872c3">CurveAttribute</a>&nbsp;</td>
          <td class="paramname"> <em>attribute</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true, if attribute is enabled </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#38064f7de6f026a49db782c365f872c3">CurveAttribute</a>, <a class="el" href="class_qwt_plot_curve.html#6ac9243e280f96cd149102a91271a473">setCurveAttribute()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="d262cf6b8448d3cb693cbceecc6d8481"></a><!-- doxytag: member="QwtPlotCurve::testPaintAttribute" ref="d262cf6b8448d3cb693cbceecc6d8481" args="(PaintAttribute) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtPlotCurve::testPaintAttribute           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot_curve.html#96db1b854c63bfbc452c943251a11b66">PaintAttribute</a>&nbsp;</td>
          <td class="paramname"> <em>attribute</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the current paint attributes. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_curve.html#96db1b854c63bfbc452c943251a11b66">PaintAttribute</a>, <a class="el" href="class_qwt_plot_curve.html#7f9c70366415b5cb068af80be5bf3748">setPaintAttribute()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="edbca95048e4c7b42cd0bf486ec36b4d"></a><!-- doxytag: member="QwtPlotCurve::updateLegend" ref="edbca95048e4c7b42cd0bf486ec36b4d" args="(QwtLegend *) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCurve::updateLegend           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_legend.html">QwtLegend</a> *&nbsp;</td>
          <td class="paramname"> <em>legend</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Update the widget that represents the curve on the legend. 
<p>

<p>Reimplemented from <a class="el" href="class_qwt_plot_item.html#193770cd20609a368c5130de59cb782e">QwtPlotItem</a>.</p>

</div>
</div><p>
<a class="anchor" name="312b1fe8635430c293ee8fdc9fcfd774"></a><!-- doxytag: member="QwtPlotCurve::x" ref="312b1fe8635430c293ee8fdc9fcfd774" args="(int i) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtPlotCurve::x           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>i</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>index </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>x-value at position i </dd></dl>

</div>
</div><p>
<a class="anchor" name="db2885f90bfe2ce1f83929a20dffc38e"></a><!-- doxytag: member="QwtPlotCurve::y" ref="db2885f90bfe2ce1f83929a20dffc38e" args="(int i) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtPlotCurve::y           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>i</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>index </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>y-value at position i </dd></dl>

</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 22 16:41:24 2009 for Qwt User's Guide by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>