How to enforce Multiline in NodeLabel Graph plot using 'tex' Interpreter

3 ビュー (過去 30 日間)
Thomas Emmert
Thomas Emmert 2020 年 9 月 3 日
コメント済み: Thomas Emmert 2020 年 9 月 3 日
Hi,
I just realized that a graph plot that has nodelabels rendered using 'tex' interpreter will display the NodeLabel in a single line if it is shorter than 116 characters, even if it contains newline chars on R2018b.
If the NodeLabel is longer than that, it will correctly display a multiline NodeLabel.
What can I do to enforce short multiline NodeLabels using 'tex' interpreter?
best,
Thomas
  2 件のコメント
Thomas Emmert
Thomas Emmert 2020 年 9 月 3 日
I just realized it is not because of the length.
If the label does not contain a tex syntax sign (like underscore for subscript), the tex interpreter is not invoked (even though it is enforced by the 'interpreter' option). Is this a bug?
Thomas Emmert
Thomas Emmert 2020 年 9 月 3 日
Repectively the 'none' Interpreter does not evaluate newline characters. This might be a bug as well.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Object Properties についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by