1
$\begingroup$

Why have the numbers disappeared from in the $X$ Axis ?

Is there some way to keep the Frame and having the numbers on the Axis?

Plot[
 {
  f[10, 1, 1, 2, 0, t]
  }
 , {t, 0, 19}
 , PlotRange -> {-5, 2}
 , LabelStyle -> {FontSize -> 22, FontFamily -> "Times", Black, Bold}
 , PlotStyle -> {{Darker[Blue], 
    Thickness[0.004]}, {Darker[Blue]}, {Darker[Blue]}, {Darker[
     Blue]}, {Darker[Blue]}}
 , PlotRangePadding -> 0
 , LabelStyle -> {FontSize -> 13}
 , AxesStyle -> Bold
 , Frame -> True
 , FrameLabel -> {t[sec], \[ScriptCapitalD]'[t]}
 , LabelStyle -> {FontSize -> 13}
 , AxesStyle -> Bold
 , FrameStyle -> {{Directive[FontColor -> Darker[Red]], 
    Automatic}, {Directive[FontColor -> Darker[Red]], Automatic}}
 ]

enter image description here

$\endgroup$
  • 1
    $\begingroup$ Using Frame for the plot causes this. This is expected. Compare Plot[Sin[x], {x, -6, 6}] and Plot[Sin[x], {x, -6, 6}, Frame -> True] $\endgroup$ – Lotus Jun 22 '18 at 10:10
  • $\begingroup$ @Lotus Is there some way to keep the frame and having the numbers on the axis? $\endgroup$ – Henry Jun 22 '18 at 10:12
  • $\begingroup$ Look at this question for putting both frame ticks and axis ticks on the same plot. Also, note that you are using some style commands (as LabelStyle) more than once, and this is in general a bad practice. $\endgroup$ – Fraccalo Jun 22 '18 at 10:15

Your Answer

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

Browse other questions tagged or ask your own question.