Does \varepsilon still work for Matlab R2016a?

36 ビュー (過去 30 日間)
Tamika Bassman
Tamika Bassman 2017 年 6 月 6 日
コメント済み: Tamika Bassman 2017 年 6 月 8 日
I'm trying to create a plot with an axis label that includes ε (Latin lowercase epsilon) instead of ϵ (lunate epsilon) using Matlab R2016a. \varepsilon no longer seems to be supported, and I've tried changing fonts as well as using the unicode char(___) way of coding for the epsilon character with no luck. Is there a way to get the ε without using the LaTeX interpreter (as I would like to keep the label's font type as Helvetica, not the LaTeX font type)?
Thanks.

回答 (1 件)

Kushagr Gupta
Kushagr Gupta 2017 年 6 月 8 日
To include the lowercase epsilon you can make use of the unicode char representation. The following code should get you this particular character.
>> xlabel(char(949))
% If inserting it in xlabel, for example.
The following link contains the unicode representation of small epsilon:
  1 件のコメント
Tamika Bassman
Tamika Bassman 2017 年 6 月 8 日
Thank you for the help; I tried your method. I have a Windows computer though, and unfortunately it doesn't seem like extended ASCII characters are supported:

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLabels and Annotations についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by