Issue with latex interpreter plot/chart title
Show older comments
Hi, I would like to assign plot title as follows Y_10mm_X = num2str(b2(i)). where i = 0.78
For this, I tried as follows
title(['Y= 5mm_x =' num2str(b2(i)) ' mm'],'FontSize',20,'Color','black','Interpreter','latex')
However, I got teh below error..Please help me with this..
String scalar or character vector must have valid interpreter syntax:
Accepted Answer
More Answers (0)
Categories
Find more on Labels and Styling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!