How to add lines between specific rows and col's in a table?
11 ビュー (過去 30 日間)
古いコメントを表示
Let's say I have this matrix:
M 1 2 3 4 5 6 7
_ _ __ __ __ __ __ _
M 0 0 0 0 0 0 0
M 0 0 0 0 0 0 0
M 0 0 0 0 0 0 0
M 0 0 0 0 0 0 0
How can I draw a horizontal line between this first and second row?
And a vertical line between columns 6 and 7?
is this possible?
if this involves downloading a package, where can I do so?
Thank you,
0 件のコメント
採用された回答
Adam Danz
2021 年 4 月 25 日
編集済み: Adam Danz
2021 年 4 月 25 日
No, it is not possible to display horizontal and vertical lines in a table or in a uitable.
You could add a column of characters "|" to simulate a dashed vertical line but since your table contains numeric values you cannot use the same approach to add a horizontal line but you could add a horizontal row of NaN values for a visual separator.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!