R barplot() – Without Axes
To draw a Bar Plot without Axes using barplot() function, pass logical value
axes parameter in the function call.
axes parameter is optional and can accept a logical value. If
TRUE, axis is drawn in the bar plot. If
FALSE, axis is not drawn in the bar plot.
In the following program, we draw bar plot without axis, by setting
height <- c(2, 4, 7, 5) barplot(height, axes = FALSE)
In this R Tutorial, we learned how to draw a Bar Plot without Axes using R barplot() function, with the help of examples.