MATLAB: How to add a subscript in colour map labels

subscript

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

Best Answer

The interpreter in app designer only works for figure objects (title, labels, text, legend). See this post for possible workarounds for other components.