Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New scientific theme with frame, and axes label alignment #73

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

mmikhasenko
Copy link
Contributor

@mmikhasenko mmikhasenko commented Oct 23, 2024

It would be nice to create a theme with settings below.
I'd save me a lot of time, not adjusting the header of every script.

theme(:wong2, minorticks=true, grid=false, frame=:box,
    guidefontvalign=:top, guidefonthalign=:right,
    foreground_color_legend = nothing,
    legendfontsize=9, legend =:topright,
    xlim=(:auto,:auto), ylim=(:auto,:auto), lab="")

Example

image

julia> Plots.showtheme(:boxed)

image

@mmikhasenko mmikhasenko changed the title PlotTheme.jl New scientific theme with frame, and axes label alignment Oct 23, 2024
@BeastyBlacksmith
Copy link
Member

Would be good to add a picture to the README as documentation

@mmikhasenko
Copy link
Contributor Author

mmikhasenko commented Oct 25, 2024

sure thing, adding to the header, will also propagate to the README.md

@BeastyBlacksmith BeastyBlacksmith merged commit 94cf243 into JuliaPlots:master Oct 29, 2024
10 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.

2 participants