I’m trying to remove the x axis (i.e., bottom border, x ticks and x labels) from a plot. For the sake of helping the documentation effort, here’s what I tried so far.
My first guess was:
but that removes only the ticks and labels.
Looking at the Attributes page in the documentation, I see that axes have a
bodercolor attribute, but I couldn’t find info on how to set axis attributes. I tried
p = plot(x,y) xaxis!(p,bordercolor="white")
but surprisingly, that affects both axes. The documentation seems to hint that I can get some axis object using
p[:xaxis], but that doesn’t work either.
Any help would be appreciated.