Hello everybody,
I am trying to print a filename on a plot title but the file names have underscores. This helps in a way to organize the files. But matlab interpretes underscores for subscripts.
Is there a way to make matlab print the filenames the way they are?
Thank you.
|
|
0
|
|
|
|
Reply
|
kazeem
|
7/7/2010 9:56:04 AM |
|
You need to turn off tex interpreter, for example:
title('x_2','Interpreter','none')
------------------------------------
Maxim Vedenev, Matlab freelancer
vedenev@ngs.ru
http://simulations.narod.ru/
|
|
0
|
|
|
|
Reply
|
vedenev
|
7/7/2010 10:06:18 AM
|
|
"vedenev" <vedenev.maxim@gmail.com> wrote in message
news:54430612-ce09-4728-a866-8b8c2e9030ee@q12g2000yqj.googlegroups.com...
> You need to turn off tex interpreter, for example:
> title('x_2','Interpreter','none')
>
> ------------------------------------
> Maxim Vedenev, Matlab freelancer
> vedenev@ngs.ru
> http://simulations.narod.ru/
Or if you need the TeX or LaTeX interpreters, replace the underscore
character with \_
title('x_2\_3', 'Interpreter', 'tex')
This will display a title containing the character x with a subscript 2,
followed by an underscore and the character 3.
--
Steve Lord
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com
|
|
0
|
|
|
|
Reply
|
slord (13358)
|
7/7/2010 2:02:55 PM
|
|