How do I print [%] in a title plot while using LaTeX interpeter?

28 visualizaciones (últimos 30 días)
Hi, guys!
I'm creating a plot whose title should look like:
η[%]
while using:
title('$\eta [%]$','fontsize',14,'interpreter','latex')
But it returns the following Warning and the wrong title:
Warning: Error updating Text.
String scalar or character vector must have valid interpreter syntax:
$\eta [
any idea?

Respuesta aceptada

madhan ravi
madhan ravi el 12 de Jul. de 2020
title('$\eta \left[\%\right]$','interpreter','latex','FontSize',14)

Más respuestas (0)

Categorías

Más información sobre Title en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by