[vtkusers] More than one Y-axis/X-axis range on Charts

Julien Finet julien.finet at kitware.com
Thu Sep 29 09:58:17 EDT 2011


Hi Sergey,
For information, vtkChartXY supports up to 2 Y axes (one to the left, and
one to the right).
Julien.

On Thu, Sep 29, 2011 at 9:15 AM, Eric E. Monson <emonson at cs.duke.edu> wrote:

> Hello Sergey,
>
> I know that vtkChart can not do what you want, and I strongly suspect that
> the Qt-based charts can't either. (I've actually never seen a charting
> system that can, so I'm glad you included an example of what you are looking
> for.)
>
> Maybe this won't be useful for you, but I would strongly suggest putting
> all of those plots into what's sometimes called "small multiples" or a
> "trellis chart" rather than trying to have a single chart with that many
> axes to compare the data. It will let you compare trends between curves
> without the confusion of trying to decipher which curve is which with so
> many colors and overlaps.
>
> http://en.wikipedia.org/wiki/Small_multiple
>
> http://www.juiceanalytics.com/writing/better-know-visualization-small-multiples/
>
> There is a way to do this with vtkChartXY which is shown in
> [vtk_source]/Charts/Testing/Cxx/TestPlotMatrix.cxx, but it requires you to
> turn off autosizing and manually place each chart's bounds in the scene. At
> one point the developers were thinking about a more flexible system of a
> grid of plots, but I haven't heard about that for a while, so I suspect it
> just hasn't been a high enough priority yet.
>
> Good luck,
> -Eric
>
> · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
> Eric E Monson
> Duke Visualization Technology Group
>
>
> On Sep 29, 2011, at 7:09 AM, sergey.ryadno wrote:
>
> > Hi,
> > Can VTK API (vtkChart or vtkQtChart) allow to draw chart with several
> Y-axis
> > - when two (and may be more) plots on one chart have one X-axis range and
> > two(and may be more)  different ranges of Y-axis? I attached image with
> > exampl http://vtk.1045678.n5.nabble.com/file/n4852641/chart1.pngchart1.png
> > e of such chart to help understand what i mean.
> >
> > --
> > View this message in context:
> http://vtk.1045678.n5.nabble.com/More-than-one-Y-axis-X-axis-range-on-Charts-tp4852641p4852641.html
> > Sent from the VTK - Users mailing list archive at Nabble.com.
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110929/f00b979d/attachment.htm>


More information about the vtkusers mailing list