Skip to content

Instantly share code, notes, and snippets.

@abrarShariar
Created September 9, 2019 11:54
Show Gist options
  • Save abrarShariar/b759dd0cbcf67e6fc37ac26c2f71f018 to your computer and use it in GitHub Desktop.
Save abrarShariar/b759dd0cbcf67e6fc37ac26c2f71f018 to your computer and use it in GitHub Desktop.
x = -50:50
y = 500 - (900*x)
plot(x,y, type="l", col="red", xlim=c(-100,100), ylim=c(-1000, 1000))
abline(h=0, v=0)
title(main="500 - (900*x)", col.main="blue", font.main=2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment