I want to change the graph axes directions from (horizontal, vertical) = (x, y) to (h, v) = (y, x) in 2D graph not in polar mode.
Of course, it may be realized by using rotated texts (set label, xlabel, xtics, etc.) and the rotation of result graph image. But it is not interactive, and we can not rotate "keys".
Attached patch is a sample doing it, but is not smart. It adds the command
set horizontal {x|y}
which sets the external variable "h_eq_x" to 1 (default) or 0. If h_eq_x equals 0, then it swaps the x- and y-coordinates of any plot elements (graphs, labels, tics) of 2D graph, except key and title.
plot sin(x) ==> normal graph
set horizontal y
replot ==> vertical axis is x, horizontal axis is y
However, the patch is not complete. Tics label potions may not be correct, coordinates of "objects" (rectangle, arc, polygons) does not be swaped yet, and coordinates of some elements may be swaped incorrectly in polar mode.