Makie: is it possible to draw major and minor ticks on all four axes?

I can not find the solution from the doc. Note that I do not mean twin axes. I just want to pair the ticks for left and right axes, and bottom and top axes, respectively. Thanks!

I never implemented those, no. But you can add them with a little bit of extra work. You can examine ax.elements[:xaxis] for example, it has observables that hold the tick positions, you just need to mirror them over to the other side and add them via linesegments

But this seems a basic functionality for a plotting software? Python’s matplotlib do it with a simple option: = True and ytick.right = True. And a bunch of physics journal seems to prefer such axis layout.

Yes it could be useful, we always appreciate PRs for missing features

1 Like