how to use partial derivative in fraction form in latex intepreter
15 次查看(过去 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 个评论
采纳的回答
Star Strider
2021-2-9
Try this:
figure
text(0.5, 0.5, '$ \frac{\partial_{u}}{\partial_{x}} $', 'Interpreter','latex', 'FontSize',25)
0 个评论
更多回答(1 个)
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)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 LaTeX 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!