Re: [Qwt-interest] Static plot size independent of axis size
Brought to you by:
rathmann
From: <sla...@gm...> - 2011-02-12 19:25:50
|
That's exactly what I was looking for. Thank yoz, Uwe! Am 12.02.2011 20:18:52, schrieb Uwe Rathmann <Uwe...@ti...>: >> Havent found a way to keep the size of the plot to a fixed size because >> whenever the axis scale draw (on the right side) changes, it enlarges or >> shrinks my plot area because of the bigger or smaller labels for the axis, >> which depend on the numbers displayed on labels. > >When you can calculate a width in advance, that is large enough for all of >your possible numbers you can do: > >axisWidget(...)->scaleDraw()->setMinimumExtent(...); > >Uwe > >------------------------------------------------------------------------------ >The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >Pinpoint memory and threading errors before they happen. >Find and fix more than 250 security defects in the development cycle. >Locate bottlenecks in serial and parallel code that limit performance. >http://p.sf.net/sfu/intel-dev2devfeb >_______________________________________________ >qwt-interest mailing list >qwt...@li... >https://lists.sourceforge.net/lists/listinfo/qwt-interest > |