sysplot.get_figsize#

get_figsize(nrows=1, ncols=1, nmax=None)[source]#

Calculate figure dimensions for a subplot grid.

Scales the base figure size from the active figure_size by the number of rows and columns, capping each dimension at nmax times the base size to prevent excessively large figures.

Parameters:
  • nrows (int) – Number of subplot rows. Must be >= 1.

  • ncols (int) – Number of subplot columns. Must be >= 1.

  • nmax (int | None) – Maximum scale factor per dimension. Defaults to figure_size_nmax.

Return type:

tuple[float, float]

Returns:

Figure dimensions as (width, height) in inches.

Examples using sysplot.get_figsize#

Get Figure Size

Get Figure Size

Get Style Example

Get Style Example

Heaviside Step Function

Heaviside Step Function

Plot Bode

Plot Bode

Plot Filter Tolerance

Plot Filter Tolerance

Plot Nyquist

Plot Nyquist

Plot Poles and Zeros

Plot Poles and Zeros

Plot Stem

Plot Stem

Quick Start Example

Quick Start Example

Save Current Figure

Save Current Figure

Set Major Ticks

Set Major Ticks

Set Minor Log Ticks

Set Minor Log Ticks