I am trying to draw an arbitrary line on a figure in matlab (off of a plot) and I don't know what command I can use.
I tried using the arrow package, but I'm getting bad results
I am trying to draw an arbitrary line on a figure in matlab (off of a plot) and I don't know what command I can use.
I tried using the arrow package, but I'm getting bad results
You can use the line
function and set the clipping
property to off
to draw a line that is visible outside the axis. The x and y coordinates of line will be in the coordinates of the axis and you may need to change the axis limits.