• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Switch to Night Mode
  • Stolen Accounts Recovery 
  • Change Account Password 
  • Vote for Witnesses 
  • Steem Proposals 
  • Developer Portal 
  • Steem Bluepaper 
  • SMT Whitepaper 
  • Steem Whitepaper 
  • Privacy Policy
  • Terms of Service
Homeby Witness Moecki
LoginSign up

Drawing line and point graphs in ggplot

south-man (32)in #ggplot • 7 years ago

library(ggplot2)
ggplot(pressure, aes(x=temperature, y=pressure)) +
geom_line() +
geom_point() +
geom_line(mapping = aes(y=pressure/2, colour="red")) +
geom_point(mapping = aes(y=pressure/2), colour="red")

#r #line #point
7 years ago in #ggplot by south-man (32)
$0.00
    2 votes
    • + south-man
    • + raise-me-up
    Reply 0