ITADN

yscale demonstration accidental overlap

#5549Openlukem12345 创建于 2026-03-05
documentation
L
lukem12345commented
For incorrect Documentation - [x] What version of Makie are you running? (`]st -m Makie`) - 0.24.9 - [x] Please provide a link to the page/section or name the Julia object/function that has incorrect documentation. - https://docs.makie.org/stable/reference/blocks/axis.html#yscale - [x] Please explain what is incorrect. The "Pseudolog scale with LogTicks" plot is overlaid on the "Pseudolog scale" plot. Looking at the code, it appears that `ax3` in the given code block is meant to be at `f[3,1]`, not `f[1,1]`. <img width="1200" height="900" alt="Image" src="https://github.com/user-attachments/assets/c3c4af5c-6518-40b7-94f3-6dd7823594fe" /> ```julia using CairoMakie f = Figure() ax1 = Axis(f[1, 1], yscale = Makie.pseudolog10, title = "Pseudolog scale", yticks = [-100, -10, -1, 0, 1, 10, 100] ) ax2 = Axis(f[2, 1], yscale = Makie.Symlog10(10.0), title = "Symlog10 with linear scaling between -10 and 10", yticks = [-100, -10, 0, 10, 100] ) ax3 = Axis(f[1, 1], yscale = Makie.pseudolog10, title = "Pseudolog scale with LogTicks", yticks = LogTicks(-2:2) ) for ax in [ax1, ax2, ax3] lines!(ax, -100:0.1:100) end f ```
2 条评论