vtkChartXY - axis with equal aspect ration

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

vtkChartXY - axis with equal aspect ration

gde23

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