ggplotd icon indicating copy to clipboard operation
ggplotd copied to clipboard

Disable drawing axis

Open deviator opened this issue 9 years ago • 1 comments

How to disable drawing axis (line, ticks, labels)? I try hide it by delegate, but it's not work:

auto gg = GGPlotD().put((YAxis ya){ ya.show = false; return ya; });

Put YAxis directly don't work too.

deviator avatar Dec 28 '16 15:12 deviator

Currently this is not directly supported. You can do it though by setting the offset of the axes far below/above the plotted range.

Am planning to add a cleaner way of doing it in the future.

BlackEdder avatar Dec 28 '16 15:12 BlackEdder