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

4 visualizaciones (últimos 30 días)
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 comentarios
Thomas Emmert
Thomas Emmert el 3 de Sept. de 2020
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 el 3 de Sept. de 2020
Repectively the 'none' Interpreter does not evaluate newline characters. This might be a bug as well.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Graphics Object Properties en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by