Plot with fixed axes ratio

Oystein Bjorke 10 years ago 0
This discussion was imported from CodePlex

xsquare wrote at 2013-08-21 10:08:

I need to draw a plot with a fixed ratio of axes lengths. For example, I need Y-axis to be twice as long as the X-axis. How can I do that?

Thank you in advance.

everytimer wrote at 2013-08-21 11:48:

Try to set the PlotType to cartesian and the Width the double of the Height of the plot. If changing the size of the Plot is not an option you should capture the ActualMinimum/Maximum of one axis and zoom at the double starting at the lowest value. See the coupled axes Wpf example, instead of relating two axis from different plots here you should do it for the same plot. Good luck