class_qwt_plot_rescaler.html 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.20"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>Qwt User&#39;s Guide: QwtPlotRescaler Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="resize.js"></script>
  14. <script type="text/javascript" src="navtreedata.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  17. <script type="text/javascript" src="search/searchdata.js"></script>
  18. <script type="text/javascript" src="search/search.js"></script>
  19. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  20. </head>
  21. <body>
  22. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  23. <div id="titlearea">
  24. <table cellspacing="0" cellpadding="0">
  25. <tbody>
  26. <tr style="height: 56px;">
  27. <td id="projectalign" style="padding-left: 0.5em;">
  28. <div id="projectname">Qwt User&#39;s Guide
  29. &#160;<span id="projectnumber">6.1.6</span>
  30. </div>
  31. </td>
  32. </tr>
  33. </tbody>
  34. </table>
  35. </div>
  36. <!-- end header part -->
  37. <!-- Generated by Doxygen 1.8.20 -->
  38. <script type="text/javascript">
  39. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  40. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  41. /* @license-end */
  42. </script>
  43. <script type="text/javascript" src="menudata.js"></script>
  44. <script type="text/javascript" src="menu.js"></script>
  45. <script type="text/javascript">
  46. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  47. $(function() {
  48. initMenu('',true,false,'search.php','Search');
  49. $(document).ready(function() { init_search(); });
  50. });
  51. /* @license-end */</script>
  52. <div id="main-nav"></div>
  53. </div><!-- top -->
  54. <div id="side-nav" class="ui-resizable side-nav-resizable">
  55. <div id="nav-tree">
  56. <div id="nav-tree-contents">
  57. <div id="nav-sync" class="sync"></div>
  58. </div>
  59. </div>
  60. <div id="splitbar" style="-moz-user-select:none;"
  61. class="ui-resizable-handle">
  62. </div>
  63. </div>
  64. <script type="text/javascript">
  65. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  66. $(document).ready(function(){initNavTree('class_qwt_plot_rescaler.html',''); initResizable(); });
  67. /* @license-end */
  68. </script>
  69. <div id="doc-content">
  70. <!-- window showing the filter options -->
  71. <div id="MSearchSelectWindow"
  72. onmouseover="return searchBox.OnSearchSelectShow()"
  73. onmouseout="return searchBox.OnSearchSelectHide()"
  74. onkeydown="return searchBox.OnSearchSelectKey(event)">
  75. </div>
  76. <!-- iframe showing the search results (closed by default) -->
  77. <div id="MSearchResultsWindow">
  78. <iframe src="javascript:void(0)" frameborder="0"
  79. name="MSearchResults" id="MSearchResults">
  80. </iframe>
  81. </div>
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-types">Public Types</a> &#124;
  85. <a href="#pub-methods">Public Member Functions</a> &#124;
  86. <a href="#pro-methods">Protected Member Functions</a> &#124;
  87. <a href="class_qwt_plot_rescaler-members.html">List of all members</a> </div>
  88. <div class="headertitle">
  89. <div class="title">QwtPlotRescaler Class Reference</div> </div>
  90. </div><!--header-->
  91. <div class="contents">
  92. <p><a class="el" href="class_qwt_plot_rescaler.html" title="QwtPlotRescaler takes care of fixed aspect ratios for plot scales.">QwtPlotRescaler</a> takes care of fixed aspect ratios for plot scales.
  93. <a href="class_qwt_plot_rescaler.html#details">More...</a></p>
  94. <p><code>#include &lt;<a class="el" href="qwt__plot__rescaler_8h_source.html">qwt_plot_rescaler.h</a>&gt;</code></p>
  95. <div class="dynheader">
  96. Inheritance diagram for QwtPlotRescaler:</div>
  97. <div class="dyncontent">
  98. <div class="center"><img src="class_qwt_plot_rescaler__inherit__graph.png" border="0" usemap="#a_qwt_plot_rescaler_inherit__map" alt="Inheritance graph"/></div>
  99. <map name="_qwt_plot_rescaler_inherit__map" id="a_qwt_plot_rescaler_inherit__map">
  100. <area shape="rect" title="QwtPlotRescaler takes care of fixed aspect ratios for plot scales." alt="" coords="5,80,125,107"/>
  101. <area shape="rect" title=" " alt="" coords="30,5,101,32"/>
  102. </map>
  103. <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
  104. <table class="memberdecls">
  105. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  106. Public Types</h2></td></tr>
  107. <tr class="memitem:a6a614b832876a7641cb5410ba81d9d6a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">RescalePolicy</a> { <a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6aab8f9ce10c092bee12de74b05a46b6e9c">Fixed</a>,
  108. <a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6aac0b9db1ea3c5666792c2a9813ca5d7e1">Expanding</a>,
  109. <a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6aa30a43b11d9df23f66110b65d1e249db1">Fitting</a>
  110. }</td></tr>
  111. <tr class="separator:a6a614b832876a7641cb5410ba81d9d6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:a1c314e9513cef076a79381111aa67585"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">ExpandingDirection</a> { <a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585a10adc202ca84a06179b905db6802668c">ExpandUp</a>,
  113. <a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585a856d9a1fe75ed6398a1b3c4b60f3fbfd">ExpandDown</a>,
  114. <a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585a3dfb8208dfb62200761e4221763db033">ExpandBoth</a>
  115. }</td></tr>
  116. <tr class="separator:a1c314e9513cef076a79381111aa67585"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. </table><table class="memberdecls">
  118. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  119. Public Member Functions</h2></td></tr>
  120. <tr class="memitem:a4bef342d0a571af31685c2ff88def5d5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a4bef342d0a571af31685c2ff88def5d5">QwtPlotRescaler</a> (QWidget *<a class="el" href="class_qwt_plot_rescaler.html#ad4aa9bf81032b822b848774ee21142ce">canvas</a>, int <a class="el" href="class_qwt_plot_rescaler.html#a207a8382199ab99a91d9c93d27aa5cf2">referenceAxis</a>=<a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271ad5566960e78f2473c1a1e853def4c4ac">QwtPlot::xBottom</a>, <a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">RescalePolicy</a>=<a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6aac0b9db1ea3c5666792c2a9813ca5d7e1">Expanding</a>)</td></tr>
  121. <tr class="separator:a4bef342d0a571af31685c2ff88def5d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:ae34a0dbae9074c211f36c765142d8ddd"><td class="memItemLeft" align="right" valign="top"><a id="ae34a0dbae9074c211f36c765142d8ddd"></a>
  123. virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#ae34a0dbae9074c211f36c765142d8ddd">~QwtPlotRescaler</a> ()</td></tr>
  124. <tr class="memdesc:ae34a0dbae9074c211f36c765142d8ddd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  125. <tr class="separator:ae34a0dbae9074c211f36c765142d8ddd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:a6f1c886d127ec4943552170dc63edf29"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a6f1c886d127ec4943552170dc63edf29">setEnabled</a> (bool)</td></tr>
  127. <tr class="memdesc:a6f1c886d127ec4943552170dc63edf29"><td class="mdescLeft">&#160;</td><td class="mdescRight">En/disable the rescaler. <a href="class_qwt_plot_rescaler.html#a6f1c886d127ec4943552170dc63edf29">More...</a><br /></td></tr>
  128. <tr class="separator:a6f1c886d127ec4943552170dc63edf29"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:a85a9b40054acaab051f3679db1547b81"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a85a9b40054acaab051f3679db1547b81">isEnabled</a> () const</td></tr>
  130. <tr class="separator:a85a9b40054acaab051f3679db1547b81"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:ae6b7df41b5387d0aed532559546e40b6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#ae6b7df41b5387d0aed532559546e40b6">setRescalePolicy</a> (<a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">RescalePolicy</a>)</td></tr>
  132. <tr class="separator:ae6b7df41b5387d0aed532559546e40b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:ac5a49fa34b071da28517efe6212d81ea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">RescalePolicy</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#ac5a49fa34b071da28517efe6212d81ea">rescalePolicy</a> () const</td></tr>
  134. <tr class="separator:ac5a49fa34b071da28517efe6212d81ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:aa2ecffbc14d951ab9f1809c14bc4e21b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#aa2ecffbc14d951ab9f1809c14bc4e21b">setExpandingDirection</a> (<a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">ExpandingDirection</a>)</td></tr>
  136. <tr class="separator:aa2ecffbc14d951ab9f1809c14bc4e21b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:a1681eb01b65b91e8b2583d87f890576f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a1681eb01b65b91e8b2583d87f890576f">setExpandingDirection</a> (int axis, <a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">ExpandingDirection</a>)</td></tr>
  138. <tr class="separator:a1681eb01b65b91e8b2583d87f890576f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:acdd929d4b55be6956acd4ec5d0df9467"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">ExpandingDirection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#acdd929d4b55be6956acd4ec5d0df9467">expandingDirection</a> (int axis) const</td></tr>
  140. <tr class="separator:acdd929d4b55be6956acd4ec5d0df9467"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:a6f13d60cc1e1071a6830ea30ccbcca37"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a6f13d60cc1e1071a6830ea30ccbcca37">setReferenceAxis</a> (int axis)</td></tr>
  142. <tr class="separator:a6f13d60cc1e1071a6830ea30ccbcca37"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:a207a8382199ab99a91d9c93d27aa5cf2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a207a8382199ab99a91d9c93d27aa5cf2">referenceAxis</a> () const</td></tr>
  144. <tr class="separator:a207a8382199ab99a91d9c93d27aa5cf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. <tr class="memitem:a31f71937b4cff3e60f74db83beb6d2de"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a31f71937b4cff3e60f74db83beb6d2de">setAspectRatio</a> (double ratio)</td></tr>
  146. <tr class="separator:a31f71937b4cff3e60f74db83beb6d2de"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:aa747f1cf3ecc3a37f98d0972e1db600b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#aa747f1cf3ecc3a37f98d0972e1db600b">setAspectRatio</a> (int axis, double ratio)</td></tr>
  148. <tr class="separator:aa747f1cf3ecc3a37f98d0972e1db600b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:a76bc7cc4987b1572e12431b8128500ae"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a76bc7cc4987b1572e12431b8128500ae">aspectRatio</a> (int axis) const</td></tr>
  150. <tr class="separator:a76bc7cc4987b1572e12431b8128500ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
  151. <tr class="memitem:afefb0ec065ff855785d0198fc04a07d3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#afefb0ec065ff855785d0198fc04a07d3">setIntervalHint</a> (int axis, const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;)</td></tr>
  152. <tr class="separator:afefb0ec065ff855785d0198fc04a07d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:ac3f9475494b33ebc1a1e8103e327d56b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_interval.html">QwtInterval</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#ac3f9475494b33ebc1a1e8103e327d56b">intervalHint</a> (int axis) const</td></tr>
  154. <tr class="separator:ac3f9475494b33ebc1a1e8103e327d56b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. <tr class="memitem:ad4aa9bf81032b822b848774ee21142ce"><td class="memItemLeft" align="right" valign="top">QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#ad4aa9bf81032b822b848774ee21142ce">canvas</a> ()</td></tr>
  156. <tr class="separator:ad4aa9bf81032b822b848774ee21142ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. <tr class="memitem:a49e3d4084037f6786c5bb6a8d2c78047"><td class="memItemLeft" align="right" valign="top">const QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a49e3d4084037f6786c5bb6a8d2c78047">canvas</a> () const</td></tr>
  158. <tr class="separator:a49e3d4084037f6786c5bb6a8d2c78047"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:aca7a946dd53744e4640be383cd161a7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#aca7a946dd53744e4640be383cd161a7c">plot</a> ()</td></tr>
  160. <tr class="separator:aca7a946dd53744e4640be383cd161a7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. <tr class="memitem:ae54220a61cab777a6cb60103091a0aa3"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#ae54220a61cab777a6cb60103091a0aa3">plot</a> () const</td></tr>
  162. <tr class="separator:ae54220a61cab777a6cb60103091a0aa3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  163. <tr class="memitem:a2a6809f3940b9114a1faed30f6edc3d0"><td class="memItemLeft" align="right" valign="top"><a id="a2a6809f3940b9114a1faed30f6edc3d0"></a>
  164. virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a2a6809f3940b9114a1faed30f6edc3d0">eventFilter</a> (QObject *, QEvent *)</td></tr>
  165. <tr class="memdesc:a2a6809f3940b9114a1faed30f6edc3d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event filter for the plot canvas. <br /></td></tr>
  166. <tr class="separator:a2a6809f3940b9114a1faed30f6edc3d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  167. <tr class="memitem:af4b1840575eb6812c23acd9be199e5df"><td class="memItemLeft" align="right" valign="top"><a id="af4b1840575eb6812c23acd9be199e5df"></a>
  168. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#af4b1840575eb6812c23acd9be199e5df">rescale</a> () const</td></tr>
  169. <tr class="memdesc:af4b1840575eb6812c23acd9be199e5df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adjust the plot axes scales. <br /></td></tr>
  170. <tr class="separator:af4b1840575eb6812c23acd9be199e5df"><td class="memSeparator" colspan="2">&#160;</td></tr>
  171. </table><table class="memberdecls">
  172. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  173. Protected Member Functions</h2></td></tr>
  174. <tr class="memitem:a5490a4a1b576b1118c095cc54810e2aa"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a5490a4a1b576b1118c095cc54810e2aa">canvasResizeEvent</a> (QResizeEvent *)</td></tr>
  175. <tr class="separator:a5490a4a1b576b1118c095cc54810e2aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  176. <tr class="memitem:a1a98f9c7a1102e486ce81a2833799155"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a1a98f9c7a1102e486ce81a2833799155">rescale</a> (const QSize &amp;oldSize, const QSize &amp;newSize) const</td></tr>
  177. <tr class="separator:a1a98f9c7a1102e486ce81a2833799155"><td class="memSeparator" colspan="2">&#160;</td></tr>
  178. <tr class="memitem:a163fd15cb5e6fa1c855ff069f1711c5c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_qwt_interval.html">QwtInterval</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a163fd15cb5e6fa1c855ff069f1711c5c">expandScale</a> (int axis, const QSize &amp;oldSize, const QSize &amp;newSize) const</td></tr>
  179. <tr class="separator:a163fd15cb5e6fa1c855ff069f1711c5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  180. <tr class="memitem:a21f64ee537246c96bb724f09f3a6524c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_qwt_interval.html">QwtInterval</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a21f64ee537246c96bb724f09f3a6524c">syncScale</a> (int axis, const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;reference, const QSize &amp;size) const</td></tr>
  181. <tr class="separator:a21f64ee537246c96bb724f09f3a6524c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <tr class="memitem:aaead8df76bb22831577fd11ed6d46e5a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#aaead8df76bb22831577fd11ed6d46e5a">updateScales</a> (<a class="el" href="class_qwt_interval.html">QwtInterval</a> intervals[<a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271aea62036dfd48ee0f9450718592614892">QwtPlot::axisCnt</a>]) const</td></tr>
  183. <tr class="separator:aaead8df76bb22831577fd11ed6d46e5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  184. <tr class="memitem:a6a4435f91c459517db9e08bd30b1ad37"><td class="memItemLeft" align="right" valign="top">Qt::Orientation&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a6a4435f91c459517db9e08bd30b1ad37">orientation</a> (int axis) const</td></tr>
  185. <tr class="separator:a6a4435f91c459517db9e08bd30b1ad37"><td class="memSeparator" colspan="2">&#160;</td></tr>
  186. <tr class="memitem:afa1a81034796b68339fcb71ef179c394"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_interval.html">QwtInterval</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#afa1a81034796b68339fcb71ef179c394">interval</a> (int axis) const</td></tr>
  187. <tr class="separator:afa1a81034796b68339fcb71ef179c394"><td class="memSeparator" colspan="2">&#160;</td></tr>
  188. <tr class="memitem:a3dfd3bd03394c66ede8e37478d32784c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_interval.html">QwtInterval</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_rescaler.html#a3dfd3bd03394c66ede8e37478d32784c">expandInterval</a> (const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;, double width, <a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">ExpandingDirection</a>) const</td></tr>
  189. <tr class="separator:a3dfd3bd03394c66ede8e37478d32784c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  190. </table>
  191. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  192. <div class="textblock"><p><a class="el" href="class_qwt_plot_rescaler.html" title="QwtPlotRescaler takes care of fixed aspect ratios for plot scales.">QwtPlotRescaler</a> takes care of fixed aspect ratios for plot scales. </p>
  193. <p><a class="el" href="class_qwt_plot_rescaler.html" title="QwtPlotRescaler takes care of fixed aspect ratios for plot scales.">QwtPlotRescaler</a> auto adjusts the axes of a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a> according to fixed aspect ratios. </p>
  194. </div><h2 class="groupheader">Member Enumeration Documentation</h2>
  195. <a id="a1c314e9513cef076a79381111aa67585"></a>
  196. <h2 class="memtitle"><span class="permalink"><a href="#a1c314e9513cef076a79381111aa67585">&#9670;&nbsp;</a></span>ExpandingDirection</h2>
  197. <div class="memitem">
  198. <div class="memproto">
  199. <table class="memname">
  200. <tr>
  201. <td class="memname">enum <a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">QwtPlotRescaler::ExpandingDirection</a></td>
  202. </tr>
  203. </table>
  204. </div><div class="memdoc">
  205. <p>When <a class="el" href="class_qwt_plot_rescaler.html#ac5a49fa34b071da28517efe6212d81ea">rescalePolicy()</a> is set to Expanding its direction depends on ExpandingDirection </p>
  206. <table class="fieldtable">
  207. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a1c314e9513cef076a79381111aa67585a10adc202ca84a06179b905db6802668c"></a>ExpandUp&#160;</td><td class="fielddoc"><p>The upper limit of the scale is adjusted. </p>
  208. </td></tr>
  209. <tr><td class="fieldname"><a id="a1c314e9513cef076a79381111aa67585a856d9a1fe75ed6398a1b3c4b60f3fbfd"></a>ExpandDown&#160;</td><td class="fielddoc"><p>The lower limit of the scale is adjusted. </p>
  210. </td></tr>
  211. <tr><td class="fieldname"><a id="a1c314e9513cef076a79381111aa67585a3dfb8208dfb62200761e4221763db033"></a>ExpandBoth&#160;</td><td class="fielddoc"><p>Both limits of the scale are adjusted. </p>
  212. </td></tr>
  213. </table>
  214. </div>
  215. </div>
  216. <a id="a6a614b832876a7641cb5410ba81d9d6a"></a>
  217. <h2 class="memtitle"><span class="permalink"><a href="#a6a614b832876a7641cb5410ba81d9d6a">&#9670;&nbsp;</a></span>RescalePolicy</h2>
  218. <div class="memitem">
  219. <div class="memproto">
  220. <table class="memname">
  221. <tr>
  222. <td class="memname">enum <a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">QwtPlotRescaler::RescalePolicy</a></td>
  223. </tr>
  224. </table>
  225. </div><div class="memdoc">
  226. <p>The rescale policy defines how to rescale the reference axis and their depending axes.</p>
  227. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">ExpandingDirection</a>, <a class="el" href="class_qwt_plot_rescaler.html#afefb0ec065ff855785d0198fc04a07d3">setIntervalHint()</a> </dd></dl>
  228. <table class="fieldtable">
  229. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a6a614b832876a7641cb5410ba81d9d6aab8f9ce10c092bee12de74b05a46b6e9c"></a>Fixed&#160;</td><td class="fielddoc"><p>The interval of the reference axis remains unchanged, when the geometry of the canvas changes. All other axes will be adjusted according to their aspect ratio. </p>
  230. </td></tr>
  231. <tr><td class="fieldname"><a id="a6a614b832876a7641cb5410ba81d9d6aac0b9db1ea3c5666792c2a9813ca5d7e1"></a>Expanding&#160;</td><td class="fielddoc"><p>The interval of the reference axis will be shrunk/expanded, when the geometry of the canvas changes. All other axes will be adjusted according to their aspect ratio.</p>
  232. <p>The interval, that is represented by one pixel is fixed. </p>
  233. </td></tr>
  234. <tr><td class="fieldname"><a id="a6a614b832876a7641cb5410ba81d9d6aa30a43b11d9df23f66110b65d1e249db1"></a>Fitting&#160;</td><td class="fielddoc"><p>The intervals of the axes are calculated, so that all axes include their interval hint. </p>
  235. </td></tr>
  236. </table>
  237. </div>
  238. </div>
  239. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  240. <a id="a4bef342d0a571af31685c2ff88def5d5"></a>
  241. <h2 class="memtitle"><span class="permalink"><a href="#a4bef342d0a571af31685c2ff88def5d5">&#9670;&nbsp;</a></span>QwtPlotRescaler()</h2>
  242. <div class="memitem">
  243. <div class="memproto">
  244. <table class="mlabels">
  245. <tr>
  246. <td class="mlabels-left">
  247. <table class="memname">
  248. <tr>
  249. <td class="memname">QwtPlotRescaler::QwtPlotRescaler </td>
  250. <td>(</td>
  251. <td class="paramtype">QWidget *&#160;</td>
  252. <td class="paramname"><em>canvas</em>, </td>
  253. </tr>
  254. <tr>
  255. <td class="paramkey"></td>
  256. <td></td>
  257. <td class="paramtype">int&#160;</td>
  258. <td class="paramname"><em>referenceAxis</em> = <code><a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271ad5566960e78f2473c1a1e853def4c4ac">QwtPlot::xBottom</a></code>, </td>
  259. </tr>
  260. <tr>
  261. <td class="paramkey"></td>
  262. <td></td>
  263. <td class="paramtype"><a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">RescalePolicy</a>&#160;</td>
  264. <td class="paramname"><em>policy</em> = <code><a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6aac0b9db1ea3c5666792c2a9813ca5d7e1">Expanding</a></code>&#160;</td>
  265. </tr>
  266. <tr>
  267. <td></td>
  268. <td>)</td>
  269. <td></td><td></td>
  270. </tr>
  271. </table>
  272. </td>
  273. <td class="mlabels-right">
  274. <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
  275. </tr>
  276. </table>
  277. </div><div class="memdoc">
  278. <p>Constructor</p>
  279. <dl class="params"><dt>Parameters</dt><dd>
  280. <table class="params">
  281. <tr><td class="paramname">canvas</td><td>Canvas </td></tr>
  282. <tr><td class="paramname">referenceAxis</td><td>Reference axis, see RescalePolicy </td></tr>
  283. <tr><td class="paramname">policy</td><td>Rescale policy</td></tr>
  284. </table>
  285. </dd>
  286. </dl>
  287. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#ae6b7df41b5387d0aed532559546e40b6">setRescalePolicy()</a>, <a class="el" href="class_qwt_plot_rescaler.html#a6f13d60cc1e1071a6830ea30ccbcca37">setReferenceAxis()</a> </dd></dl>
  288. </div>
  289. </div>
  290. <h2 class="groupheader">Member Function Documentation</h2>
  291. <a id="a76bc7cc4987b1572e12431b8128500ae"></a>
  292. <h2 class="memtitle"><span class="permalink"><a href="#a76bc7cc4987b1572e12431b8128500ae">&#9670;&nbsp;</a></span>aspectRatio()</h2>
  293. <div class="memitem">
  294. <div class="memproto">
  295. <table class="memname">
  296. <tr>
  297. <td class="memname">double QwtPlotRescaler::aspectRatio </td>
  298. <td>(</td>
  299. <td class="paramtype">int&#160;</td>
  300. <td class="paramname"><em>axis</em></td><td>)</td>
  301. <td> const</td>
  302. </tr>
  303. </table>
  304. </div><div class="memdoc">
  305. <dl class="section return"><dt>Returns</dt><dd>Aspect ratio between an axis and the reference axis.</dd></dl>
  306. <dl class="params"><dt>Parameters</dt><dd>
  307. <table class="params">
  308. <tr><td class="paramname">axis</td><td>Axis index ( see QwtPlot::AxisId ) </td></tr>
  309. </table>
  310. </dd>
  311. </dl>
  312. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a31f71937b4cff3e60f74db83beb6d2de">setAspectRatio()</a> </dd></dl>
  313. </div>
  314. </div>
  315. <a id="ad4aa9bf81032b822b848774ee21142ce"></a>
  316. <h2 class="memtitle"><span class="permalink"><a href="#ad4aa9bf81032b822b848774ee21142ce">&#9670;&nbsp;</a></span>canvas() <span class="overload">[1/2]</span></h2>
  317. <div class="memitem">
  318. <div class="memproto">
  319. <table class="memname">
  320. <tr>
  321. <td class="memname">QWidget * QwtPlotRescaler::canvas </td>
  322. <td>(</td>
  323. <td class="paramname"></td><td>)</td>
  324. <td></td>
  325. </tr>
  326. </table>
  327. </div><div class="memdoc">
  328. <dl class="section return"><dt>Returns</dt><dd>plot canvas </dd></dl>
  329. </div>
  330. </div>
  331. <a id="a49e3d4084037f6786c5bb6a8d2c78047"></a>
  332. <h2 class="memtitle"><span class="permalink"><a href="#a49e3d4084037f6786c5bb6a8d2c78047">&#9670;&nbsp;</a></span>canvas() <span class="overload">[2/2]</span></h2>
  333. <div class="memitem">
  334. <div class="memproto">
  335. <table class="memname">
  336. <tr>
  337. <td class="memname">const QWidget * QwtPlotRescaler::canvas </td>
  338. <td>(</td>
  339. <td class="paramname"></td><td>)</td>
  340. <td> const</td>
  341. </tr>
  342. </table>
  343. </div><div class="memdoc">
  344. <dl class="section return"><dt>Returns</dt><dd>plot canvas </dd></dl>
  345. </div>
  346. </div>
  347. <a id="a5490a4a1b576b1118c095cc54810e2aa"></a>
  348. <h2 class="memtitle"><span class="permalink"><a href="#a5490a4a1b576b1118c095cc54810e2aa">&#9670;&nbsp;</a></span>canvasResizeEvent()</h2>
  349. <div class="memitem">
  350. <div class="memproto">
  351. <table class="mlabels">
  352. <tr>
  353. <td class="mlabels-left">
  354. <table class="memname">
  355. <tr>
  356. <td class="memname">void QwtPlotRescaler::canvasResizeEvent </td>
  357. <td>(</td>
  358. <td class="paramtype">QResizeEvent *&#160;</td>
  359. <td class="paramname"><em>event</em></td><td>)</td>
  360. <td></td>
  361. </tr>
  362. </table>
  363. </td>
  364. <td class="mlabels-right">
  365. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  366. </tr>
  367. </table>
  368. </div><div class="memdoc">
  369. <p>Event handler for resize events of the plot canvas</p>
  370. <dl class="params"><dt>Parameters</dt><dd>
  371. <table class="params">
  372. <tr><td class="paramname">event</td><td>Resize event </td></tr>
  373. </table>
  374. </dd>
  375. </dl>
  376. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#af4b1840575eb6812c23acd9be199e5df" title="Adjust the plot axes scales.">rescale()</a> </dd></dl>
  377. </div>
  378. </div>
  379. <a id="acdd929d4b55be6956acd4ec5d0df9467"></a>
  380. <h2 class="memtitle"><span class="permalink"><a href="#acdd929d4b55be6956acd4ec5d0df9467">&#9670;&nbsp;</a></span>expandingDirection()</h2>
  381. <div class="memitem">
  382. <div class="memproto">
  383. <table class="memname">
  384. <tr>
  385. <td class="memname"><a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">QwtPlotRescaler::ExpandingDirection</a> QwtPlotRescaler::expandingDirection </td>
  386. <td>(</td>
  387. <td class="paramtype">int&#160;</td>
  388. <td class="paramname"><em>axis</em></td><td>)</td>
  389. <td> const</td>
  390. </tr>
  391. </table>
  392. </div><div class="memdoc">
  393. <dl class="section return"><dt>Returns</dt><dd>Direction in which an axis should be expanded</dd></dl>
  394. <dl class="params"><dt>Parameters</dt><dd>
  395. <table class="params">
  396. <tr><td class="paramname">axis</td><td>Axis index ( see QwtPlot::AxisId ) </td></tr>
  397. </table>
  398. </dd>
  399. </dl>
  400. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#aa2ecffbc14d951ab9f1809c14bc4e21b">setExpandingDirection()</a> </dd></dl>
  401. </div>
  402. </div>
  403. <a id="a3dfd3bd03394c66ede8e37478d32784c"></a>
  404. <h2 class="memtitle"><span class="permalink"><a href="#a3dfd3bd03394c66ede8e37478d32784c">&#9670;&nbsp;</a></span>expandInterval()</h2>
  405. <div class="memitem">
  406. <div class="memproto">
  407. <table class="mlabels">
  408. <tr>
  409. <td class="mlabels-left">
  410. <table class="memname">
  411. <tr>
  412. <td class="memname"><a class="el" href="class_qwt_interval.html">QwtInterval</a> QwtPlotRescaler::expandInterval </td>
  413. <td>(</td>
  414. <td class="paramtype">const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;&#160;</td>
  415. <td class="paramname"><em>interval</em>, </td>
  416. </tr>
  417. <tr>
  418. <td class="paramkey"></td>
  419. <td></td>
  420. <td class="paramtype">double&#160;</td>
  421. <td class="paramname"><em>width</em>, </td>
  422. </tr>
  423. <tr>
  424. <td class="paramkey"></td>
  425. <td></td>
  426. <td class="paramtype"><a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">ExpandingDirection</a>&#160;</td>
  427. <td class="paramname"><em>direction</em>&#160;</td>
  428. </tr>
  429. <tr>
  430. <td></td>
  431. <td>)</td>
  432. <td></td><td> const</td>
  433. </tr>
  434. </table>
  435. </td>
  436. <td class="mlabels-right">
  437. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  438. </tr>
  439. </table>
  440. </div><div class="memdoc">
  441. <p>Expand the interval</p>
  442. <dl class="params"><dt>Parameters</dt><dd>
  443. <table class="params">
  444. <tr><td class="paramname">interval</td><td>Interval to be expanded </td></tr>
  445. <tr><td class="paramname">width</td><td>Distance to be added to the interval </td></tr>
  446. <tr><td class="paramname">direction</td><td>Direction of the expand operation</td></tr>
  447. </table>
  448. </dd>
  449. </dl>
  450. <dl class="section return"><dt>Returns</dt><dd>Expanded interval </dd></dl>
  451. </div>
  452. </div>
  453. <a id="a163fd15cb5e6fa1c855ff069f1711c5c"></a>
  454. <h2 class="memtitle"><span class="permalink"><a href="#a163fd15cb5e6fa1c855ff069f1711c5c">&#9670;&nbsp;</a></span>expandScale()</h2>
  455. <div class="memitem">
  456. <div class="memproto">
  457. <table class="mlabels">
  458. <tr>
  459. <td class="mlabels-left">
  460. <table class="memname">
  461. <tr>
  462. <td class="memname"><a class="el" href="class_qwt_interval.html">QwtInterval</a> QwtPlotRescaler::expandScale </td>
  463. <td>(</td>
  464. <td class="paramtype">int&#160;</td>
  465. <td class="paramname"><em>axis</em>, </td>
  466. </tr>
  467. <tr>
  468. <td class="paramkey"></td>
  469. <td></td>
  470. <td class="paramtype">const QSize &amp;&#160;</td>
  471. <td class="paramname"><em>oldSize</em>, </td>
  472. </tr>
  473. <tr>
  474. <td class="paramkey"></td>
  475. <td></td>
  476. <td class="paramtype">const QSize &amp;&#160;</td>
  477. <td class="paramname"><em>newSize</em>&#160;</td>
  478. </tr>
  479. <tr>
  480. <td></td>
  481. <td>)</td>
  482. <td></td><td> const</td>
  483. </tr>
  484. </table>
  485. </td>
  486. <td class="mlabels-right">
  487. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  488. </tr>
  489. </table>
  490. </div><div class="memdoc">
  491. <p>Calculate the new scale interval of a plot axis</p>
  492. <dl class="params"><dt>Parameters</dt><dd>
  493. <table class="params">
  494. <tr><td class="paramname">axis</td><td>Axis index ( see QwtPlot::AxisId ) </td></tr>
  495. <tr><td class="paramname">oldSize</td><td>Previous size of the canvas </td></tr>
  496. <tr><td class="paramname">newSize</td><td>New size of the canvas</td></tr>
  497. </table>
  498. </dd>
  499. </dl>
  500. <dl class="section return"><dt>Returns</dt><dd>Calculated new interval for the axis </dd></dl>
  501. </div>
  502. </div>
  503. <a id="afa1a81034796b68339fcb71ef179c394"></a>
  504. <h2 class="memtitle"><span class="permalink"><a href="#afa1a81034796b68339fcb71ef179c394">&#9670;&nbsp;</a></span>interval()</h2>
  505. <div class="memitem">
  506. <div class="memproto">
  507. <table class="mlabels">
  508. <tr>
  509. <td class="mlabels-left">
  510. <table class="memname">
  511. <tr>
  512. <td class="memname"><a class="el" href="class_qwt_interval.html">QwtInterval</a> QwtPlotRescaler::interval </td>
  513. <td>(</td>
  514. <td class="paramtype">int&#160;</td>
  515. <td class="paramname"><em>axis</em></td><td>)</td>
  516. <td> const</td>
  517. </tr>
  518. </table>
  519. </td>
  520. <td class="mlabels-right">
  521. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  522. </tr>
  523. </table>
  524. </div><div class="memdoc">
  525. <dl class="params"><dt>Parameters</dt><dd>
  526. <table class="params">
  527. <tr><td class="paramname">axis</td><td>Axis index ( see QwtPlot::AxisId ) </td></tr>
  528. </table>
  529. </dd>
  530. </dl>
  531. <dl class="section return"><dt>Returns</dt><dd>Normalized interval of an axis </dd></dl>
  532. </div>
  533. </div>
  534. <a id="ac3f9475494b33ebc1a1e8103e327d56b"></a>
  535. <h2 class="memtitle"><span class="permalink"><a href="#ac3f9475494b33ebc1a1e8103e327d56b">&#9670;&nbsp;</a></span>intervalHint()</h2>
  536. <div class="memitem">
  537. <div class="memproto">
  538. <table class="memname">
  539. <tr>
  540. <td class="memname"><a class="el" href="class_qwt_interval.html">QwtInterval</a> QwtPlotRescaler::intervalHint </td>
  541. <td>(</td>
  542. <td class="paramtype">int&#160;</td>
  543. <td class="paramname"><em>axis</em></td><td>)</td>
  544. <td> const</td>
  545. </tr>
  546. </table>
  547. </div><div class="memdoc">
  548. <dl class="params"><dt>Parameters</dt><dd>
  549. <table class="params">
  550. <tr><td class="paramname">axis</td><td>Axis, see <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271" title="Axis index.">QwtPlot::Axis</a> </td></tr>
  551. </table>
  552. </dd>
  553. </dl>
  554. <dl class="section return"><dt>Returns</dt><dd>Interval hint </dd></dl>
  555. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#afefb0ec065ff855785d0198fc04a07d3">setIntervalHint()</a>, <a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">RescalePolicy</a> </dd></dl>
  556. </div>
  557. </div>
  558. <a id="a85a9b40054acaab051f3679db1547b81"></a>
  559. <h2 class="memtitle"><span class="permalink"><a href="#a85a9b40054acaab051f3679db1547b81">&#9670;&nbsp;</a></span>isEnabled()</h2>
  560. <div class="memitem">
  561. <div class="memproto">
  562. <table class="memname">
  563. <tr>
  564. <td class="memname">bool QwtPlotRescaler::isEnabled </td>
  565. <td>(</td>
  566. <td class="paramname"></td><td>)</td>
  567. <td> const</td>
  568. </tr>
  569. </table>
  570. </div><div class="memdoc">
  571. <dl class="section return"><dt>Returns</dt><dd>true when enabled, false otherwise </dd></dl>
  572. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a6f1c886d127ec4943552170dc63edf29" title="En/disable the rescaler.">setEnabled</a>, <a class="el" href="class_qwt_plot_rescaler.html#a2a6809f3940b9114a1faed30f6edc3d0" title="Event filter for the plot canvas.">eventFilter()</a> </dd></dl>
  573. </div>
  574. </div>
  575. <a id="a6a4435f91c459517db9e08bd30b1ad37"></a>
  576. <h2 class="memtitle"><span class="permalink"><a href="#a6a4435f91c459517db9e08bd30b1ad37">&#9670;&nbsp;</a></span>orientation()</h2>
  577. <div class="memitem">
  578. <div class="memproto">
  579. <table class="mlabels">
  580. <tr>
  581. <td class="mlabels-left">
  582. <table class="memname">
  583. <tr>
  584. <td class="memname">Qt::Orientation QwtPlotRescaler::orientation </td>
  585. <td>(</td>
  586. <td class="paramtype">int&#160;</td>
  587. <td class="paramname"><em>axis</em></td><td>)</td>
  588. <td> const</td>
  589. </tr>
  590. </table>
  591. </td>
  592. <td class="mlabels-right">
  593. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  594. </tr>
  595. </table>
  596. </div><div class="memdoc">
  597. <dl class="section return"><dt>Returns</dt><dd>Orientation of an axis </dd></dl>
  598. <dl class="params"><dt>Parameters</dt><dd>
  599. <table class="params">
  600. <tr><td class="paramname">axis</td><td>Axis index ( see QwtPlot::AxisId ) </td></tr>
  601. </table>
  602. </dd>
  603. </dl>
  604. </div>
  605. </div>
  606. <a id="aca7a946dd53744e4640be383cd161a7c"></a>
  607. <h2 class="memtitle"><span class="permalink"><a href="#aca7a946dd53744e4640be383cd161a7c">&#9670;&nbsp;</a></span>plot() <span class="overload">[1/2]</span></h2>
  608. <div class="memitem">
  609. <div class="memproto">
  610. <table class="memname">
  611. <tr>
  612. <td class="memname"><a class="el" href="class_qwt_plot.html">QwtPlot</a> * QwtPlotRescaler::plot </td>
  613. <td>(</td>
  614. <td class="paramname"></td><td>)</td>
  615. <td></td>
  616. </tr>
  617. </table>
  618. </div><div class="memdoc">
  619. <dl class="section return"><dt>Returns</dt><dd>plot widget </dd></dl>
  620. </div>
  621. </div>
  622. <a id="ae54220a61cab777a6cb60103091a0aa3"></a>
  623. <h2 class="memtitle"><span class="permalink"><a href="#ae54220a61cab777a6cb60103091a0aa3">&#9670;&nbsp;</a></span>plot() <span class="overload">[2/2]</span></h2>
  624. <div class="memitem">
  625. <div class="memproto">
  626. <table class="memname">
  627. <tr>
  628. <td class="memname">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> * QwtPlotRescaler::plot </td>
  629. <td>(</td>
  630. <td class="paramname"></td><td>)</td>
  631. <td> const</td>
  632. </tr>
  633. </table>
  634. </div><div class="memdoc">
  635. <dl class="section return"><dt>Returns</dt><dd>plot widget </dd></dl>
  636. </div>
  637. </div>
  638. <a id="a207a8382199ab99a91d9c93d27aa5cf2"></a>
  639. <h2 class="memtitle"><span class="permalink"><a href="#a207a8382199ab99a91d9c93d27aa5cf2">&#9670;&nbsp;</a></span>referenceAxis()</h2>
  640. <div class="memitem">
  641. <div class="memproto">
  642. <table class="memname">
  643. <tr>
  644. <td class="memname">int QwtPlotRescaler::referenceAxis </td>
  645. <td>(</td>
  646. <td class="paramname"></td><td>)</td>
  647. <td> const</td>
  648. </tr>
  649. </table>
  650. </div><div class="memdoc">
  651. <dl class="section return"><dt>Returns</dt><dd>Reference axis ( see RescalePolicy ) </dd></dl>
  652. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a6f13d60cc1e1071a6830ea30ccbcca37">setReferenceAxis()</a> </dd></dl>
  653. </div>
  654. </div>
  655. <a id="a1a98f9c7a1102e486ce81a2833799155"></a>
  656. <h2 class="memtitle"><span class="permalink"><a href="#a1a98f9c7a1102e486ce81a2833799155">&#9670;&nbsp;</a></span>rescale()</h2>
  657. <div class="memitem">
  658. <div class="memproto">
  659. <table class="mlabels">
  660. <tr>
  661. <td class="mlabels-left">
  662. <table class="memname">
  663. <tr>
  664. <td class="memname">void QwtPlotRescaler::rescale </td>
  665. <td>(</td>
  666. <td class="paramtype">const QSize &amp;&#160;</td>
  667. <td class="paramname"><em>oldSize</em>, </td>
  668. </tr>
  669. <tr>
  670. <td class="paramkey"></td>
  671. <td></td>
  672. <td class="paramtype">const QSize &amp;&#160;</td>
  673. <td class="paramname"><em>newSize</em>&#160;</td>
  674. </tr>
  675. <tr>
  676. <td></td>
  677. <td>)</td>
  678. <td></td><td> const</td>
  679. </tr>
  680. </table>
  681. </td>
  682. <td class="mlabels-right">
  683. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  684. </tr>
  685. </table>
  686. </div><div class="memdoc">
  687. <p>Adjust the plot axes scales</p>
  688. <dl class="params"><dt>Parameters</dt><dd>
  689. <table class="params">
  690. <tr><td class="paramname">oldSize</td><td>Previous size of the canvas </td></tr>
  691. <tr><td class="paramname">newSize</td><td>New size of the canvas </td></tr>
  692. </table>
  693. </dd>
  694. </dl>
  695. </div>
  696. </div>
  697. <a id="ac5a49fa34b071da28517efe6212d81ea"></a>
  698. <h2 class="memtitle"><span class="permalink"><a href="#ac5a49fa34b071da28517efe6212d81ea">&#9670;&nbsp;</a></span>rescalePolicy()</h2>
  699. <div class="memitem">
  700. <div class="memproto">
  701. <table class="memname">
  702. <tr>
  703. <td class="memname"><a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">QwtPlotRescaler::RescalePolicy</a> QwtPlotRescaler::rescalePolicy </td>
  704. <td>(</td>
  705. <td class="paramname"></td><td>)</td>
  706. <td> const</td>
  707. </tr>
  708. </table>
  709. </div><div class="memdoc">
  710. <dl class="section return"><dt>Returns</dt><dd>Rescale policy </dd></dl>
  711. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#ae6b7df41b5387d0aed532559546e40b6">setRescalePolicy()</a> </dd></dl>
  712. </div>
  713. </div>
  714. <a id="a31f71937b4cff3e60f74db83beb6d2de"></a>
  715. <h2 class="memtitle"><span class="permalink"><a href="#a31f71937b4cff3e60f74db83beb6d2de">&#9670;&nbsp;</a></span>setAspectRatio() <span class="overload">[1/2]</span></h2>
  716. <div class="memitem">
  717. <div class="memproto">
  718. <table class="memname">
  719. <tr>
  720. <td class="memname">void QwtPlotRescaler::setAspectRatio </td>
  721. <td>(</td>
  722. <td class="paramtype">double&#160;</td>
  723. <td class="paramname"><em>ratio</em></td><td>)</td>
  724. <td></td>
  725. </tr>
  726. </table>
  727. </div><div class="memdoc">
  728. <p>Set the aspect ratio between the scale of the reference axis and the other scales. The default ratio is 1.0</p>
  729. <dl class="params"><dt>Parameters</dt><dd>
  730. <table class="params">
  731. <tr><td class="paramname">ratio</td><td>Aspect ratio </td></tr>
  732. </table>
  733. </dd>
  734. </dl>
  735. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a76bc7cc4987b1572e12431b8128500ae">aspectRatio()</a> </dd></dl>
  736. </div>
  737. </div>
  738. <a id="aa747f1cf3ecc3a37f98d0972e1db600b"></a>
  739. <h2 class="memtitle"><span class="permalink"><a href="#aa747f1cf3ecc3a37f98d0972e1db600b">&#9670;&nbsp;</a></span>setAspectRatio() <span class="overload">[2/2]</span></h2>
  740. <div class="memitem">
  741. <div class="memproto">
  742. <table class="memname">
  743. <tr>
  744. <td class="memname">void QwtPlotRescaler::setAspectRatio </td>
  745. <td>(</td>
  746. <td class="paramtype">int&#160;</td>
  747. <td class="paramname"><em>axis</em>, </td>
  748. </tr>
  749. <tr>
  750. <td class="paramkey"></td>
  751. <td></td>
  752. <td class="paramtype">double&#160;</td>
  753. <td class="paramname"><em>ratio</em>&#160;</td>
  754. </tr>
  755. <tr>
  756. <td></td>
  757. <td>)</td>
  758. <td></td><td></td>
  759. </tr>
  760. </table>
  761. </div><div class="memdoc">
  762. <p>Set the aspect ratio between the scale of the reference axis and another scale. The default ratio is 1.0</p>
  763. <dl class="params"><dt>Parameters</dt><dd>
  764. <table class="params">
  765. <tr><td class="paramname">axis</td><td>Axis index ( see QwtPlot::AxisId ) </td></tr>
  766. <tr><td class="paramname">ratio</td><td>Aspect ratio </td></tr>
  767. </table>
  768. </dd>
  769. </dl>
  770. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a76bc7cc4987b1572e12431b8128500ae">aspectRatio()</a> </dd></dl>
  771. </div>
  772. </div>
  773. <a id="a6f1c886d127ec4943552170dc63edf29"></a>
  774. <h2 class="memtitle"><span class="permalink"><a href="#a6f1c886d127ec4943552170dc63edf29">&#9670;&nbsp;</a></span>setEnabled()</h2>
  775. <div class="memitem">
  776. <div class="memproto">
  777. <table class="memname">
  778. <tr>
  779. <td class="memname">void QwtPlotRescaler::setEnabled </td>
  780. <td>(</td>
  781. <td class="paramtype">bool&#160;</td>
  782. <td class="paramname"><em>on</em></td><td>)</td>
  783. <td></td>
  784. </tr>
  785. </table>
  786. </div><div class="memdoc">
  787. <p>En/disable the rescaler. </p>
  788. <p>When enabled is true an event filter is installed for the canvas, otherwise the event filter is removed.</p>
  789. <dl class="params"><dt>Parameters</dt><dd>
  790. <table class="params">
  791. <tr><td class="paramname">on</td><td>true or false </td></tr>
  792. </table>
  793. </dd>
  794. </dl>
  795. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a85a9b40054acaab051f3679db1547b81">isEnabled()</a>, <a class="el" href="class_qwt_plot_rescaler.html#a2a6809f3940b9114a1faed30f6edc3d0" title="Event filter for the plot canvas.">eventFilter()</a> </dd></dl>
  796. </div>
  797. </div>
  798. <a id="aa2ecffbc14d951ab9f1809c14bc4e21b"></a>
  799. <h2 class="memtitle"><span class="permalink"><a href="#aa2ecffbc14d951ab9f1809c14bc4e21b">&#9670;&nbsp;</a></span>setExpandingDirection() <span class="overload">[1/2]</span></h2>
  800. <div class="memitem">
  801. <div class="memproto">
  802. <table class="memname">
  803. <tr>
  804. <td class="memname">void QwtPlotRescaler::setExpandingDirection </td>
  805. <td>(</td>
  806. <td class="paramtype"><a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">ExpandingDirection</a>&#160;</td>
  807. <td class="paramname"><em>direction</em></td><td>)</td>
  808. <td></td>
  809. </tr>
  810. </table>
  811. </div><div class="memdoc">
  812. <p>Set the direction in which all axis should be expanded</p>
  813. <dl class="params"><dt>Parameters</dt><dd>
  814. <table class="params">
  815. <tr><td class="paramname">direction</td><td>Direction </td></tr>
  816. </table>
  817. </dd>
  818. </dl>
  819. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#acdd929d4b55be6956acd4ec5d0df9467">expandingDirection()</a> </dd></dl>
  820. </div>
  821. </div>
  822. <a id="a1681eb01b65b91e8b2583d87f890576f"></a>
  823. <h2 class="memtitle"><span class="permalink"><a href="#a1681eb01b65b91e8b2583d87f890576f">&#9670;&nbsp;</a></span>setExpandingDirection() <span class="overload">[2/2]</span></h2>
  824. <div class="memitem">
  825. <div class="memproto">
  826. <table class="memname">
  827. <tr>
  828. <td class="memname">void QwtPlotRescaler::setExpandingDirection </td>
  829. <td>(</td>
  830. <td class="paramtype">int&#160;</td>
  831. <td class="paramname"><em>axis</em>, </td>
  832. </tr>
  833. <tr>
  834. <td class="paramkey"></td>
  835. <td></td>
  836. <td class="paramtype"><a class="el" href="class_qwt_plot_rescaler.html#a1c314e9513cef076a79381111aa67585">ExpandingDirection</a>&#160;</td>
  837. <td class="paramname"><em>direction</em>&#160;</td>
  838. </tr>
  839. <tr>
  840. <td></td>
  841. <td>)</td>
  842. <td></td><td></td>
  843. </tr>
  844. </table>
  845. </div><div class="memdoc">
  846. <p>Set the direction in which an axis should be expanded</p>
  847. <dl class="params"><dt>Parameters</dt><dd>
  848. <table class="params">
  849. <tr><td class="paramname">axis</td><td>Axis index ( see QwtPlot::AxisId ) </td></tr>
  850. <tr><td class="paramname">direction</td><td>Direction </td></tr>
  851. </table>
  852. </dd>
  853. </dl>
  854. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#acdd929d4b55be6956acd4ec5d0df9467">expandingDirection()</a> </dd></dl>
  855. </div>
  856. </div>
  857. <a id="afefb0ec065ff855785d0198fc04a07d3"></a>
  858. <h2 class="memtitle"><span class="permalink"><a href="#afefb0ec065ff855785d0198fc04a07d3">&#9670;&nbsp;</a></span>setIntervalHint()</h2>
  859. <div class="memitem">
  860. <div class="memproto">
  861. <table class="memname">
  862. <tr>
  863. <td class="memname">void QwtPlotRescaler::setIntervalHint </td>
  864. <td>(</td>
  865. <td class="paramtype">int&#160;</td>
  866. <td class="paramname"><em>axis</em>, </td>
  867. </tr>
  868. <tr>
  869. <td class="paramkey"></td>
  870. <td></td>
  871. <td class="paramtype">const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;&#160;</td>
  872. <td class="paramname"><em>interval</em>&#160;</td>
  873. </tr>
  874. <tr>
  875. <td></td>
  876. <td>)</td>
  877. <td></td><td></td>
  878. </tr>
  879. </table>
  880. </div><div class="memdoc">
  881. <p>Set an interval hint for an axis</p>
  882. <p>In Fitting mode, the hint is used as minimal interval that always needs to be displayed.</p>
  883. <dl class="params"><dt>Parameters</dt><dd>
  884. <table class="params">
  885. <tr><td class="paramname">axis</td><td>Axis, see <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271" title="Axis index.">QwtPlot::Axis</a> </td></tr>
  886. <tr><td class="paramname">interval</td><td>Axis </td></tr>
  887. </table>
  888. </dd>
  889. </dl>
  890. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#ac3f9475494b33ebc1a1e8103e327d56b">intervalHint()</a>, <a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">RescalePolicy</a> </dd></dl>
  891. </div>
  892. </div>
  893. <a id="a6f13d60cc1e1071a6830ea30ccbcca37"></a>
  894. <h2 class="memtitle"><span class="permalink"><a href="#a6f13d60cc1e1071a6830ea30ccbcca37">&#9670;&nbsp;</a></span>setReferenceAxis()</h2>
  895. <div class="memitem">
  896. <div class="memproto">
  897. <table class="memname">
  898. <tr>
  899. <td class="memname">void QwtPlotRescaler::setReferenceAxis </td>
  900. <td>(</td>
  901. <td class="paramtype">int&#160;</td>
  902. <td class="paramname"><em>axis</em></td><td>)</td>
  903. <td></td>
  904. </tr>
  905. </table>
  906. </div><div class="memdoc">
  907. <p>Set the reference axis ( see RescalePolicy )</p>
  908. <dl class="params"><dt>Parameters</dt><dd>
  909. <table class="params">
  910. <tr><td class="paramname">axis</td><td>Axis index ( <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271" title="Axis index.">QwtPlot::Axis</a> ) </td></tr>
  911. </table>
  912. </dd>
  913. </dl>
  914. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#a207a8382199ab99a91d9c93d27aa5cf2">referenceAxis()</a> </dd></dl>
  915. </div>
  916. </div>
  917. <a id="ae6b7df41b5387d0aed532559546e40b6"></a>
  918. <h2 class="memtitle"><span class="permalink"><a href="#ae6b7df41b5387d0aed532559546e40b6">&#9670;&nbsp;</a></span>setRescalePolicy()</h2>
  919. <div class="memitem">
  920. <div class="memproto">
  921. <table class="memname">
  922. <tr>
  923. <td class="memname">void QwtPlotRescaler::setRescalePolicy </td>
  924. <td>(</td>
  925. <td class="paramtype"><a class="el" href="class_qwt_plot_rescaler.html#a6a614b832876a7641cb5410ba81d9d6a">RescalePolicy</a>&#160;</td>
  926. <td class="paramname"><em>policy</em></td><td>)</td>
  927. <td></td>
  928. </tr>
  929. </table>
  930. </div><div class="memdoc">
  931. <p>Change the rescale policy</p>
  932. <dl class="params"><dt>Parameters</dt><dd>
  933. <table class="params">
  934. <tr><td class="paramname">policy</td><td>Rescale policy </td></tr>
  935. </table>
  936. </dd>
  937. </dl>
  938. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_rescaler.html#ac5a49fa34b071da28517efe6212d81ea">rescalePolicy()</a> </dd></dl>
  939. </div>
  940. </div>
  941. <a id="a21f64ee537246c96bb724f09f3a6524c"></a>
  942. <h2 class="memtitle"><span class="permalink"><a href="#a21f64ee537246c96bb724f09f3a6524c">&#9670;&nbsp;</a></span>syncScale()</h2>
  943. <div class="memitem">
  944. <div class="memproto">
  945. <table class="mlabels">
  946. <tr>
  947. <td class="mlabels-left">
  948. <table class="memname">
  949. <tr>
  950. <td class="memname"><a class="el" href="class_qwt_interval.html">QwtInterval</a> QwtPlotRescaler::syncScale </td>
  951. <td>(</td>
  952. <td class="paramtype">int&#160;</td>
  953. <td class="paramname"><em>axis</em>, </td>
  954. </tr>
  955. <tr>
  956. <td class="paramkey"></td>
  957. <td></td>
  958. <td class="paramtype">const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;&#160;</td>
  959. <td class="paramname"><em>reference</em>, </td>
  960. </tr>
  961. <tr>
  962. <td class="paramkey"></td>
  963. <td></td>
  964. <td class="paramtype">const QSize &amp;&#160;</td>
  965. <td class="paramname"><em>size</em>&#160;</td>
  966. </tr>
  967. <tr>
  968. <td></td>
  969. <td>)</td>
  970. <td></td><td> const</td>
  971. </tr>
  972. </table>
  973. </td>
  974. <td class="mlabels-right">
  975. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  976. </tr>
  977. </table>
  978. </div><div class="memdoc">
  979. <p>Synchronize an axis scale according to the scale of the reference axis</p>
  980. <dl class="params"><dt>Parameters</dt><dd>
  981. <table class="params">
  982. <tr><td class="paramname">axis</td><td>Axis index ( see QwtPlot::AxisId ) </td></tr>
  983. <tr><td class="paramname">reference</td><td>Interval of the reference axis </td></tr>
  984. <tr><td class="paramname">size</td><td>Size of the canvas</td></tr>
  985. </table>
  986. </dd>
  987. </dl>
  988. <dl class="section return"><dt>Returns</dt><dd>New interval for axis </dd></dl>
  989. </div>
  990. </div>
  991. <a id="aaead8df76bb22831577fd11ed6d46e5a"></a>
  992. <h2 class="memtitle"><span class="permalink"><a href="#aaead8df76bb22831577fd11ed6d46e5a">&#9670;&nbsp;</a></span>updateScales()</h2>
  993. <div class="memitem">
  994. <div class="memproto">
  995. <table class="mlabels">
  996. <tr>
  997. <td class="mlabels-left">
  998. <table class="memname">
  999. <tr>
  1000. <td class="memname">void QwtPlotRescaler::updateScales </td>
  1001. <td>(</td>
  1002. <td class="paramtype"><a class="el" href="class_qwt_interval.html">QwtInterval</a>&#160;</td>
  1003. <td class="paramname"><em>intervals</em>[QwtPlot::axisCnt]</td><td>)</td>
  1004. <td> const</td>
  1005. </tr>
  1006. </table>
  1007. </td>
  1008. <td class="mlabels-right">
  1009. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  1010. </tr>
  1011. </table>
  1012. </div><div class="memdoc">
  1013. <p>Update the axes scales</p>
  1014. <dl class="params"><dt>Parameters</dt><dd>
  1015. <table class="params">
  1016. <tr><td class="paramname">intervals</td><td>Scale intervals </td></tr>
  1017. </table>
  1018. </dd>
  1019. </dl>
  1020. </div>
  1021. </div>
  1022. </div><!-- contents -->
  1023. </div><!-- doc-content -->
  1024. <!-- start footer part -->
  1025. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  1026. <ul>
  1027. <li class="navelem"><a class="el" href="class_qwt_plot_rescaler.html">QwtPlotRescaler</a></li>
  1028. <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  1029. </ul>
  1030. </div>
  1031. </body>
  1032. </html>