[R] plot custom x axis ticks values

e-letter inpost at gmail.com
Fri Feb 15 09:24:37 CET 2013


On 14/02/2013, MacQueen, Don <macqueen1 at llnl.gov> wrote:
>> plot(testvalues,ann=FALSE,type='l',yaxt='n',xaxt='n')
>> par()$usr
> [1]  0.88  4.12  8.80 41.20
>
> The x axis range is from 0.88 to 4.12, so tick labels at 0, 100, 200, 300
> makes no sense.
>

True per se, but the purpose of the tick labels is to indicate
approximate correlation with another data set.



More information about the R-help mailing list