Advertisement
Guest User

Untitled

a guest
Mar 30th, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. # The data
  2. x <- seq(0,2*pi,0.1)
  3. y <- sin(x)
  4.  
  5. # Plot the data, no axes
  6. plot(x,
  7. y,
  8. axes=FALSE)
  9.  
  10. # Draw a box
  11. box()
  12.  
  13. # Add (modified) axes to the plot
  14. axis(2,
  15. las=2)
  16. axis(1,
  17. las=0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement