how to add a subscript in colour map labels

3 visualizzazioni (ultimi 30 giorni)
How to add a subscript to a text(Uo) in matlab 2020a. Please help me to write a subscript to colour map label.
h.Label.String = 'ωc/U_{0}';% not the right way
  2 Commenti
MS
MS il 8 Mag 2020
you are correct ameer. It only works without LaTex interpreter. Kindly let me know if you know the solution to work with LaTex interpreter.

Accedi per commentare.

Risposta accettata

Cris LaPierre
Cris LaPierre il 8 Mag 2020
Modificato: Cris LaPierre il 8 Mag 2020
The interpreter in app designer only works for figure objects (title, labels, text, legend). See this post for possible workarounds for other components.
  3 Commenti
MS
MS il 8 Mag 2020
Thanks, it worked for me.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Labels and Annotations in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by