r - New x-axis does not show up -


i have dataset values depend on days. there on 6000 days in dataset.i see of days on x-axis of graph.

dates <- as.date(yen[,1], "%d.%m.%y") yen <- as.xts(yen[,2], dates) plot(yen, xaxt= 'n', ylab="exchange rate", xlab= "time") 

with have created graph no values on x-axis.

i want 1st, 1000th , 3000th day shown on x-axis.

axis(side=1, at=1:3, labels= dates(c[1,2000,3000]) 

r gives no error warning not drawing new axis requested values.

thanks in advance!


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -