Skip to content

remove label from specific axis

2 messages · e-letter, Rui Barradas

#
Readers,

For a graph plot instruction:

plot(seq(10:50),type='h',yaxt='n',yaxs='i',lab=c(20,2,2),xlab='x axis
label',bty='l',main='graph title')

how to remove y-axis label and keep the x-axis label?

_
r2151
#
Hello,

Just use ylab = "".

Hope this helps,

Rui Barradas

Em 30-01-2013 13:33, e-letter escreveu: