Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. user distance time
  2. 1 1 8.559737 4
  3. 2 1 5.013872 5
  4. 3 1 11.168995 9
  5. 4 1 4.059428 4
  6. 5 1 3.928071 4
  7. 6 1 12.403195 7
  8.  
  9. plot <- ggplot(scatter, aes(x=scatter[['distance']], y=scatter[['time']])) +
  10. geom_point(shape=16, size=5, colour=scatter[['user']]) +
  11. scale_x_continuous("Distance", limits=c(0,100), breaks=seq(0, 100, 10)) +
  12. scale_y_continuous("Time", limits=c(0,20), breaks=seq(0, 20, 2))
  13.  
  14. png(filename="scatters/0_2_scatter.png", width=800, height=800)
  15. plot(plot)
  16. dev.off()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement