0
$\begingroup$

Please see the following image showing my plot. enter image description here

I would like to indicate $\omega$ is maximized at $\bar{\omega}$. But as you can see, it is cut and does not appear correctly. Do you know how to fix this?

Thank you so much for your help!

$\endgroup$
  • $\begingroup$ In version 9.0.1.0 (Windomws 8 64bit) Plot[{5x,10x, 20x,,x(20-x)},{x,0,20},PlotRange->{0,150},Ticks->{None,{{100,Style[Overscript["\[Omega]", _],16]}}},AxesLabel->{Style["g",16],Style["\[Omega]",16]}] gives the expected output -- tick label is not cut off. $\endgroup$ – kglr Apr 17 '15 at 15:09
  • $\begingroup$ @kguler, it work! Thank you so much! $\endgroup$ – ppp Apr 17 '15 at 16:12
2
$\begingroup$

Plot[{5 x, 10 x, 20 x, , x (20 - x)}, {x, 0, 20}, PlotRange -> {0, 150}, Ticks -> {None, {{100, Style[Overscript["ω", _], 16]}}}, AxesLabel -> {Style["g", 16], Style["ω", 16]}]

Works in mathematica v10.0 I have deleted the [/Omega] and writing it back appears the Omega character.

$\endgroup$
  • $\begingroup$ great!, it works! I really appreciate! $\endgroup$ – ppp Apr 17 '15 at 16:13
  • $\begingroup$ Hi Nick, I'm trying to do the same thing for the x-axis. I tried similarly, but does work. Do you know how to do it? Thanks so much! $\endgroup$ – ppp Apr 17 '15 at 16:44
  • $\begingroup$ If I understand well this is what you want: $\endgroup$ – Nick Mpountouropoulos Apr 17 '15 at 17:23
  • $\begingroup$ Plot[{5 x, 10 x, 20 x, , x (20 - x)}, {x, 0, 20}, PlotRange -> {0, 150}, Ticks -> {{{3, Style[Overscript["ω", _], 16]}}, {{100, Style[Overscript["ω", _], 16]}}}, AxesLabel -> {Style["g", 16], Style["ω", 16]} ] $\endgroup$ – Nick Mpountouropoulos Apr 17 '15 at 17:23
  • $\begingroup$ wonderful! Many thanks! $\endgroup$ – ppp Apr 17 '15 at 17:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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