Skip to content

Instantly share code, notes, and snippets.

@mw55309
Created Jul 30, 2017
Embed
What would you like to do?
par(mar=c(2,2,1,1))
plot(sqrt, bty="n", xaxt="n", yaxt="n", xlab="", ylab="")
axis(side=1, at=seq(0,1,by=0.2), las=1, labels=FALSE)
axis(side=2, at=seq(0,1,by=0.2), las=2, labels=FALSE)
axis(side=1, at=seq(0,1,by=0.2), las=1, labels=TRUE, tick=FALSE, line=-0.5, cex.axis=0.8)
axis(side=2, at=seq(0,1,by=0.2), las=2, labels=TRUE, tick=FALSE, line=-0.5, cex.axis=0.8)
axis(side=1, at=0.5, labels="x", tick=FALSE, line=0)
axis(side=2, at=0.5, labels="sqrt", tick=FALSE, line=0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment