Is there a function similar to rbbox that draws a line from corner to corner?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
AJ
el 21 de Oct. de 2014
Comentada: AJ
el 21 de Oct. de 2014
I am currently using rbbox to select a point on the axis and draw a ray to some other point. The rbbox draws the outline of the rectangle as I drag the mouse cursor around. When rbbox is done, I draw the line from the starting corner to the ending corner. However, my goal is to make a line parallel to a feature on the axis (image) and I find that I cannot do this precisely being able to see only the rectangle outline. I'd really like rbbox to draw a line corner-to-corner as I drag the mouse cursor. Is there a function similar to rbbox that can help me with this? Or do I need to write my own "real-time" line drawer?
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!