y log
using CairoMakie
x = LinRange(0.01, 30Ï€, 2000)
y = cos.(x)
lines(y, x; color=:orangered, figure=(resolution=(600, 400),),
axis=(yscale=log10, xlabel="x", ylabel="y", xgridstyle=:dash,
ygridstyle=:dash, yminorticksvisible=true,
yminorticks=IntervalsBetween(9))) ## possible issue with log-ticks
xlims!(-1, 1)
current_figure()
Warning
This example was autogenerated using:
using Pkg
Pkg.status("CairoMakie")
Status `~/work/BeautifulMakie/BeautifulMakie/docs/Project.toml`
[13f3f980] CairoMakie v0.10.6
This page was generated using Literate.jl.