XLPack for Matplotlib Experimental Version 0.1
Reference Manual
Loading...
Searching...
No Matches

◆ Set_aspect()

Sub Set_aspect ( Aspect As  Double,
Optional KwArgs As  String 
)

Set aspect ratio for x and y axes

Purpose
Set the aspect ratio of the Axes scaling, i.e. y/x-scale.
Parameters
[in]AspectAspect.
= 0: Fill the position rectangle with data. (auto)

‍0: The displayed size of 1 unit in y-data coordinates will be aspect times the displayed size of 1 unit in x-data coordinates; e.g. for aspect = 2 a square in data coordinates will be rendered with a height of twice its width.

[in]KwArgs(Optional)
Optional keyword parameters. (default = "")