M-File Help: plot_box View code for plot_box

plot_box

a box on the current plot

plot_box(x1,y1, x2,y2, ls) draws a box with corners at (x1,y1) and (x2,y2), and optional Matlab linestyle options ls. plot_box('topleft', P, 'size', W, ls) draws a box with top-left at P=[X,Y] and with dimensions W=[WIDTH HEIGHT].
 

© 1990-2011 Peter Corke.