How to use Matlab for latex output?

4 visualizaciones (últimos 30 días)
Shuping Ruan
Shuping Ruan el 17 de Feb. de 2017
Comentada: Shuping Ruan el 17 de Feb. de 2017
I tried this and got an error.
set(0, 'defaultTextInterpreter', 'latex');
Subscript indices must either be real positive integers or logicals.

Respuestas (2)

dbmn
dbmn el 17 de Feb. de 2017

Shuping Ruan
Shuping Ruan el 17 de Feb. de 2017
After reading this link https://www.mathworks.com/matlabcentral/answers/65423-problem-with-subplot-error-using-subsindex , I realized that I had a variable named set somewhere else. set(0, 'defaultTextInterpreter', 'latex') works.
  1 comentario
Shuping Ruan
Shuping Ruan el 17 de Feb. de 2017
This is a very nice slides on how to prepare plot for latex by Azad Ghaffari. http://flyingv.ucsd.edu/azad/Matlab_LaTeX_Figures.pdf

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by