www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/IncludeGreekLettersInGraphTitleExample.m
%% Include Greek Letters in Graph Text % Create a simple line plot and add a title to the graph. Include the Greek % letter $\pi$ in the title by using the TeX markup |\pi|. % Copyright 2015 The MathWorks, Inc. x = linspace(0,2*pi); y = sin(x); plot(x,y) title('x ranges from 0 to 2\pi')