Skip to content

Make method to easily switch axis to logarithmic scale, #1

@mpetrasinovic

Description

@mpetrasinovic

Adds a convenience method that lets you toggle any plot axis between linear and logarithmic scale with a single call. The method preserves the current view as much as possible (limits, ticks, labels) and safely handles invalid or non-positive ranges by applying sensible defaults or clamping. This makes it quick to switch scaling for better visualization of values spanning multiple orders of magnitude without rewriting plotting code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions