How to write the values at an axes in a usual plot in Matlab R2014a in Latex style?
조회 수: 4 (최근 30일)
이전 댓글 표시
I want all objects in my plot in Latex style. The legend and the x and ylabels are already in latex style. But the values (red in the picture) are still in another font.

I start the code with
set(0,'DefaultTextInterpreter','latex')
set(groot,'DefaultLegendInterpreter','latex')
But that seems not enough. When I try
set(gca,'TickLabelInterpreter','latex','FontSize',fontsize);
I get an error:
>>Error using set
Invalid property found.
Object Name: axes
Property Name: 'TickLabelInterpreter'<<.
Anyone there who can help me with this?
댓글 수: 0
답변 (1개)
dpb
2017년 3월 30일
Works with R2014b; I suspect that was the release in which the additional property was introduced; I wasn't aware of it until this posting.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Labels and Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!