[plot/vs] Draw a straight line on a plot

cited from 1,2

Very very simple, but powerful function.

I usually use this to draw a line for dividing quadrant to four.

 

plot/vs/line=1 {-10,10},{0,0} ! drawing horizontal line

plot/vs/over/line=2 {0,0},{-10,10} ! drawing vertical line

 

! plot/vs : plotting scatter plot

! line=1 : black colored line

! line=2 : red colored line

! over : overlaying

 

Result,

line.PNG

 

 

So, Simple! 🙂