Keep aspect ratio does not keep the aspect ratio in itom1dqwtplot

Issue #43 wontfix
Robin Hahn created an issue

When running the following code and setting the keep aspect ratio option the aspect ratio is not 1:1:

a=dataObject([1,20])
a[:,:]=1
plot(a)

The aspect ratio is approx. 20:8 as it is shown in the picture:

Comments (2)

  1. M. Gronle

    I think that the behaviour is OK. The aspect ratio does not mean that the range of the x- and y-axis is equal, but that the number of pixels for one unit at the x-axis is equal to the number of pixels for the same unit at the y-axis:

    The red square represents a range of 5 both at the x- and y-axis.

  2. Log in to comment