I have this plot

enter image description here

And I shall label the axes as if I were in the Frame ambient that is, putting $t$ and $d\psi/dt$ on the axis but not at their top and right (like in the normal AxesLabel mode) but in the FrameLabel mode.

The problem is that I don't want any frame.

I don't know if I have been clear, but it's like to be able to write $t$ above the X axis, like in the middle, and $d\psi/dt$ at the left of the Y axis, in the middle.

Thank you!


1 Answer 1


Something like this?

Plot[Sqrt[x], {x, 0, 6 Pi},
 Epilog -> {
   Inset[Style["t", 12], {10, -1.5}],
   Inset[Style[Rotate["dw/dt", Pi/2], 12], {-2, 3}]},
 PlotRangePadding -> 2.5]

enter image description here


Probably a better solution is:

Plot[Sqrt[x], {x, 0, 6 Pi},
 Frame -> {{True, False}, {True, False}},
 FrameLabel -> {{Style["dw/dt", 12], None}, {Style["t", 12], None}},
 PlotRangePadding -> None]

enter image description here

  • $\begingroup$ This is great! What if I wanted a Cartesian Plane without the X and Y negative parts? Shall I use something like "axesOrigin"? $\endgroup$
    – Enrico M.
    Jun 22, 2017 at 14:18
  • 1
    $\begingroup$ See my updated answer $\endgroup$
    – eldo
    Jun 22, 2017 at 14:37
  • 1
    $\begingroup$ @HenryTuring Maybe add PlotRange -> {{0, 10}, {0, 4}} $\endgroup$
    – SquareOne
    Jun 22, 2017 at 15:52
  • 1
    $\begingroup$ or even PlotRange -> {{0, Automatic}, {0, Automatic}} $\endgroup$
    – george2079
    Jun 22, 2017 at 16:23
  • 1
    $\begingroup$ @george2079 PlotRangePadding -> None works perfect! $\endgroup$
    – Enrico M.
    Jun 23, 2017 at 12:53

Your Answer

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

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