Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In the plot below, the "l" letter in the axes labels looks like number one also the "x" in the numerator and denominator of the x-axis are not the same?

 Plot[{x, Sin[x]/2}, {x, 0, 3}, Frame -> True, 
 FrameLabel -> {"x l/\!\(\*SubscriptBox[\(x\), \(0\)]\)", 
   "G l/\!\(\*SubscriptBox[\(L\), \(0\)]\)"}, ImageSize -> 260, 
 LabelStyle -> {FontSize -> 22, FontFamily -> "Times", , Black, Bold},
  PlotRange -> {0, 0.8}, 
 PlotStyle -> {{Black, Thick}, {Green, Thick}, {Red, Thick}, {Black, 
    Dashed, Thick}, {Blue, Dashed, Thick}}, 
 FrameTicks -> {{{0, 0.2, 0.4, 0.6, 0.8}, 
    None}, {{0, 0.5, 1, 1.5, 2, 2.5, 3}, None}}]

enter image description here

share|improve this question
up vote 4 down vote accepted

You can style the fonts in the front end using the usual shortcuts (e.g. on Windows CTRL+i will give you italic, etc). To prevent the "el" letter from looking like a "1" number, you may want to show it italic.

Plot[{x, Sin[x]/2}, {x, 0, 3},
 Frame -> True, FrameLabel -> {
   Text@Style["x l/\!\(\*SubscriptBox[\(x\), \(0\)]\)", Bold, Italic],
   Text@Style["G \!\(\*StyleBox[\"l\",\nFontSlant->\"Italic\"]\) / \!\(\*SubscriptBox[\(L\), \(0\)]\)", Bold]
 },
 ImageSize -> 260, 
 LabelStyle -> {FontSize -> 22, FontFamily -> "Times", Black, Bold}, 
 PlotRange -> {0, 0.8}, 
 PlotStyle -> {{Black, Thick}, {Green, Thick}, {Red, Thick}, {Black, Dashed, Thick}, {Blue, Dashed, Thick}}, 
 FrameTicks -> {{{0, 0.2, 0.4, 0.6, 0.8}, None}, {{0, 0.5, 1, 1.5, 2, 2.5, 3}, None}}]

Mathematica graphics

share|improve this answer
    
Thank you very much! it works :-) – Abdullah Feb 29 at 0:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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