I want to modify the question in Flipping axis on a plot. How to flip y-axes on a LogPlot? In contrast to Plot, LogPlot does not allow for the ScalingFunctions option so that the first solution proposed in Flipping axis on a plot does not work.
1 Answer
$\begingroup$
$\endgroup$
You can use a custom ScalingFunctions
option for Plot
instead. For example, here is a log plot:
LogPlot[Abs[Gamma[z]], {z, -5, 5}]
To reverse the y-axis use a custom ScalingFunctions
option to Plot
:
Plot[Abs[Gamma[z]], {z, -5, 5}, ScalingFunctions -> {Minus @* Log, Exp @* Minus}]