Remove axis line in plot #112
Unanswered
stefaneng
asked this question in
Show and tell
Replies: 1 comment
-
I think there's likely an easier way to do this with minor changes. Currently if |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In BPG (or lattice in general) it is not easy to remove a specific axis line.
For most plotting function there is a parameter
axes.lwd
which can be set to 0 to remove all axes. This removes all axis lines, and the ticks as well.Removing the top and right axes for scatterplot
Waterfall plot
Created on 2023-04-21 with reprex v2.0.2
While this work for all axis lines and ticks it is sometimes useful to remove only specific axis lines.
Beta Was this translation helpful? Give feedback.
All reactions