Created
December 2, 2010 11:47
-
-
Save prasoonsharma/725167 to your computer and use it in GitHub Desktop.
Basic plots in R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DOT PLOT | |
x <- c(1:100) | |
y <- x*x | |
plot(x, y) | |
# LINE PLOT | |
x <- c(1:100) | |
y <- x*x | |
plot(x, y, type="l") | |
# BAR PLOT | |
# TITLE | |
# LEGENDS | |
# COMPLEX CHARTS | |
https://gist.github.com/651807 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment