Skip to content

Instantly share code, notes, and snippets.

@bharatbhole
Created February 4, 2012 13:08
Show Gist options
  • Save bharatbhole/1737770 to your computer and use it in GitHub Desktop.
Save bharatbhole/1737770 to your computer and use it in GitHub Desktop.
custom color and thickness of the plotted line
# Line plot with custom color and thickness for the plotted line
plt <- ggplot() + geom_line(data=df, aes(x=xcol, y=ycol),
color='steelblue',
size=1)
print(plt)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment