Skip to content

Labelling x axis in plot function

3 messages · T Bal, Rui Barradas, Jim Lemon

#
Hello,

You should provide sample data and code.

plot(3:10, xlim = c(0, 12), xaxt = "n")
axis(1, at = 1:12)


See the help page ?par for a description of the graphical parameters 
'xlim' and 'xaxt', and of ?axis.

Hope this helps,

Rui Barradas
Em 04-12-2012 17:24, T Bal escreveu:
#
On 12/05/2012 04:24 AM, T Bal wrote:
Hi T Bal,
You are probably troubled by missing labels. Try the staxlab (plotrix) 
function after adding xaxt="n" to your plot call`.

Jim