x log
using CairoMakie
x = LinRange(0.01, 30Ï€, 2000)
y = sin.(x)
lines(x, y; color = :black, figure = (resolution = (600, 400),),
axis = (xscale = log10, xlabel = "x", ylabel = "y", xgridstyle = :dash,
ygridstyle = :dash, xminorticksvisible = true,
xminorticks = IntervalsBetween(9))) ## possible issue with log-ticks
ylims!(-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.