how to use partial derivative in fraction form in latex intepreter

조회 수: 31 (최근 30일)
Hi,
I intend to use ∂u/ ∂x in colorbar, could someone help me on how to represent this is in latex interpreter ???
c.Title.String='$\partial_{u} $'/'$\partial_{x} $';
  댓글 수: 2
jessupj
jessupj 2021년 2월 9일
편집: jessupj 2021년 2월 9일
try '$\partial u/\partial x$' and change 'interpreter' to 'Latex'

댓글을 달려면 로그인하십시오.

채택된 답변

Star Strider
Star Strider 2021년 2월 9일
Try this:
figure
text(0.5, 0.5, '$ \frac{\partial_{u}}{\partial_{x}} $', 'Interpreter','latex', 'FontSize',25)
For more information, see The Not So Short Guide to Latex 2e, page 49 ff.

추가 답변 (1개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023년 2월 2일
편집: Sulaymon Eshkabilov 2023년 2월 2일
Here is one simple example on how to use latex to display partial derivatives, e.g:
fplot(@(t)exp(sin(2*t)), [-pi, pi])
title('Plot of: $\frac{\partial_{F}}{\partial_{x}}+\frac{\partial_{F}}{\partial_{y}}$', ...
'Interpreter','latex', 'fontsize', 15)

카테고리

Help CenterFile Exchange에서 LaTeX에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by