The aspect ratio is defined by the ratio of the number of pixels for one data unit on the y axis and the number of pixels for one data unit on the x axes.
Arguments
- widget
widget path as a string or as an object handle
- aspect
aspect ratio, optional, if omitted then the
x
andy
arguments have to be specified.- x
optional, if the
aspect
argument is missing thenx
andy
can be specified and the aspect ratio is calculted usdingy/x
.- y
see description for
x
argument above