Stream: helpdesk (published)

Topic: Makie plots with mirrored axes


view this post on Zulip Moorits Muru (Apr 26 2021 at 07:45):

I'm making a plot with Makie and would like to have axis ticks on all four sides (xticks on bottom and top, and yticks on left and right) of the plot. I can do it manually by just having two Axis elements and configuring them identically except for the xaxisposition and yaxisposition parameters. Is there an option to just mirror the axes, so I don't have to write all the attributes for ax1 and then also forax2? I guess I could also maybe first modify ax1, then copy it to ax2 and just flip the axes there. But I haven't tried that yet and I am not even sure I know how to do that.


Last updated: Dec 28 2024 at 04:38 UTC