1
$\begingroup$

Why does the Greek Letter "ν" with esc+n+esc turn into the English letter "v" when used in graphics e.g. labeling a frame? Is there any solution to this, please? Thanks!

Example:

Plot[Sin[x], {x, 0, 5 \[Pi]}, Frame -> True, 
 FrameLabel -> {"\[Nu]", "\[Lambda]"}]
$\endgroup$
6
  • $\begingroup$ Please add Mathematica code for a minimal working example. $\endgroup$
    – Syed
    Commented Mar 5, 2022 at 20:30
  • $\begingroup$ Apply on example above, please $\endgroup$
    – SciJewel
    Commented Mar 5, 2022 at 20:58
  • $\begingroup$ Plot[Sin[x], {x, 0, 5 \[Pi]} , Frame -> True , FrameLabel -> {StringForm["``", Style[\[Nu], 14, Red, FontFamily -> "Times"]] , StringForm["``", Style[\[Lambda], 14, Blue, FontFamily -> "Times"]]} ] $\endgroup$
    – Syed
    Commented Mar 5, 2022 at 21:07
  • $\begingroup$ This works too: Plot[Sin[x], {x, 0, 5 \[Pi]} , Frame -> True , FrameLabel -> {Style[\[Nu], 14, Red, FontFamily -> "Times"] , Style[\[Lambda], 14, Blue, FontFamily -> "Times"]} ] $\endgroup$
    – Syed
    Commented Mar 5, 2022 at 21:16
  • 1
    $\begingroup$ Another possibility is MaTeX (see here or here or here). Once installed, execute Needs["MaTeX`"] whenever you want to use it. Then FrameLabel -> {MaTeX["\\nu"], MaTeX["\\lambda"]} gives nice TeX'ed labels. $\endgroup$
    – Michael E2
    Commented Mar 5, 2022 at 22:00

1 Answer 1

5
$\begingroup$

It is not turned into "v", it is just the way "nu" looks like in the default output font (Arial in my case). Use Style to use another FontFamily, or TraditionalForm.

Style["α β ν", FontFamily -> "Times New Roman"]

TraditionalForm["α β ν"]

Greek letters

Example for your plot:

Plot[Sin[x], {x, 0, 5 Pi}, Frame -> True, 
 FrameLabel -> {"ν", "λ"}, 
 LabelStyle -> {FontFamily -> "Times New Roman", FontSize -> 20}]

Plot

$\endgroup$
2
  • $\begingroup$ Can you try on example above? I wonder why does it not work for "FontFamily -> "MathJax_SansSerif"" $\endgroup$
    – SciJewel
    Commented Mar 5, 2022 at 20:45
  • $\begingroup$ Yes, it worked, thanks! $\endgroup$
    – SciJewel
    Commented Mar 5, 2022 at 20:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.