Drawing line on figure with fixed length and coordinates

2 次查看(过去 30 天)
I have data displayed as text in a figure. I would like to draw lines so that it looks like a table (creating an uitable was not satisfying). I tried using the function line(), but it does not seem like coordinates for the line can be set. How should I go about this? Thank you.

回答(1 个)

Walter Roberson
Walter Roberson 2015-5-15
In a recent discussion here I showed how to plot in screen cm coordinates; the technique can easily be adapted for pixel coordinates.

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by