## 1.52.63 size

    set size [<width>]
             [( ratio <ratio> | noratio  | square)]
             [(zratio <ratio> | nozratio )]

The setting `size` is used to set the width or aspect ratio of the next graph to be generated. If a width is specified, then it may either take the form of a dimensionless number implicitly measured in centimeters, or a quantity with physical dimensions of length such as `unit(50*mm)`.

When the keyword `ratio` is specified, it should be followed by the ratio of the graph’s height to its width, i.e. of the length of its -axes to that of its -axes. The keyword `noratio` returns the aspect ratio to its default value of the golden ratio, and the keyword `square` sets the aspect ratio to one.

When the keyword `zratio` is specified, it should be followed by the ratio of the length of three-dimensional graphs’ -axes to that of their -axes. The keyword `nozratio` returns this aspect ratio to its default value of the golden ratio.

### noratio

    set size noratio

Executing the command

    set size noratio

resets Pyxplot to produce plots with its default aspect ratio, which is the golden ratio. Other aspect ratios can be set with the `set size ratio` command.

### ratio

    set size ratio <ratio>

This command sets the aspect ratio of plots produced by Pyxplot. The height of resulting plots will equal the plot width, as set by the `set width` command, multiplied by this aspect ratio. For example,

    set size ratio 2.0

would cause Pyxplot to produce plots that are twice as high as they are wide. The default aspect ratio which Pyxplot uses is a golden ratio of .

### square

    set size square

This command sets Pyxplot to produce square plots, i.e. with unit aspect ratio. Other aspect ratios can be set with the `set size ratio` command.