Drawing line on figure with fixed length and coordinates

2 views (last 30 days)
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.

Answers (1)

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

Community Treasure Hunt

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

Start Hunting!