Skip to content

Added logplots#174

Merged
max-models merged 5 commits into
develfrom
logplots
May 18, 2026
Merged

Added logplots#174
max-models merged 5 commits into
develfrom
logplots

Conversation

@max-models

@max-models max-models commented May 18, 2026

Copy link
Copy Markdown
Owner
fig = TikzFigure()

# Semilog-x plot (x axis logarithmic, y axis linear)
ax = fig.axis2d(
    xlabel="Frequency (Hz)",
    ylabel="Gain",
    xlim=(1, 10000),
    ylim=(0.1, 100),
    xlog=True,
    grid=True,
)
ax.add_plot(
    [1, 10, 100, 1000, 10000],
    [0.2, 2, 5, 50, 100],
    label="semilog-x",
    color="blue",
    mark="*",
)

fig.show()
image

@max-models max-models merged commit ed9dcca into devel May 18, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant