I have a DensityPlot of Tan[x - y] as follows.
I want to set different View Point. (As I know ViewPoint is not active in DensityPlot)
When I rotate the DensityPlot, frame labels, plot legends, and axis also rotate. How to set correct frame labels, plot legends, and axis numbers?
plot = DensityPlot[Tan[x - y], {x, 0, 2}, {y, 0, 5},
Mesh -> Automatic, MeshFunctions -> {#3 &}, FrameLabel -> {x, y}, PlotLegends -> Automatic];
Rotate[plot, Pi/2]
I want to get a figure as follows: (But, on the x-axis, the large values can be at the top and small values at the bottom.)




xandyin{x,0,5},{y,0,5}? $\endgroup$