4

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!

kglr
  • 394,356
  • 18
  • 477
  • 896
Enrico M.
  • 961
  • 1
  • 6
  • 15

1 Answers1

2

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

Update

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

eldo
  • 67,911
  • 5
  • 60
  • 168