[R] plot custom x axis ticks values

e-letter inpost at gmail.com
Thu Feb 14 11:41:16 CET 2013


Readers,

For this data set:

testvalues<-c(10,20,30,40)

How to amend the plot instruction:

plot(testvalues,ann=FALSE,type='l',yaxt='n',xaxt='n')

so that x axis ticks labels can be added to existing graph with
arbitrary value such as 0,100,200,300)?

Thanks in advance.

--
r2151



More information about the R-help mailing list