[R] double-axis labels function of each other
Hurr
hill0093 at umn.edu
Fri Apr 3 02:16:30 CEST 2015
I have been doing other things, but want again to learn R.
First some code:
#try 2 axes at bottom
x1 <- c(1,2,3,4,5,6,7,8,9)
x2 <- c(5,1,9,6,3,7,8,2,4)
plot(x1,x2,type="l") #scatter plot x1 on horizontal, x2 on vertical axis
axis(1,labels=TRUE,tick=TRUE,col="red",col.axis="red",lwd=4,line=2.5)
Some simple questions:
1)How do I make it put the value 1/HorizScaleValue at the lower axis ticks?
2)How do I give more space at the bottom for the lower axis?
3)How do I make the two X axes the same length?
--
View this message in context: http://r.789695.n4.nabble.com/double-axis-labels-function-of-each-other-tp4705457.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list