Reputation: 5148
I am trying to make a surface plot without the axis and grid lines. I found that I can turn off the grid with grid = false
but I can't find a way to remove the axis lines.
surface(x2d, y2d, z2d, fill_z = color_mat, fc = :haline, grid=false)
Thanks!
Upvotes: 12
Views: 13279
Reputation: 531
Try showaxis = false
, as described in the axis attributes documentation.
Here's an example that works for me (in the Plotly backend).
surface(-10:10, -10:10, (x, y) -> x^2 - y^2, showaxis = false)
Upvotes: 1
Reputation: 8044
You can almost but not quite get rid of them with ticks = false
.
Upvotes: 8