nfline | R Documentation |
This is a simple interface over abline meant to be used along with the Hough transform. In the Hesse normal form (theta,rho), a line is represented as the set of values (x,y) such that cos(theta)*x + sin(theta)*y = rho. Here theta is an angle and rho is a distance. See the documentation for hough_lines.
nfline(theta, rho, col, ...)
theta |
angle (radians) |
rho |
distance |
col |
colour |
... |
other graphical parameters, passed along to abline |
nothing
Simon Barthelme
#Boring example, see ?hough_lines
plot(boats)
nfline(theta=0,rho=10,col="red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.