vtkChartXY - axis with equal aspect ration

gdeee <[email protected]>
Newsgroups gmane.comp.lib.vtk.user
Message-ID <[email protected]>
Hello,

I have a simple plot that uses a vtkChartXY like in this example:

https://www.vtk.org/Wiki/VTK/Examples/Cxx/Plotting/ScatterPlot

How can I set the aspect ratio of the axis to be fixed?
What I want to reach is that, when I draw a circle for example, it stays
a circle and not an elipse when the size of the rendererwindow is changed.

_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.