Hello Patrick,Thank a lot for your reply.
Let 't' represent time, 's' represent sin. Both are list, or numpy array of 1 dimension,
If I use plot(x,y), the sin wave is plotted such that x-axis(horizontal) is time, y-axis(vertical) is sin wave.
I want to use same "plot(x,y)" such that, vertical axis is time and horizontal axis is sin wave.
Now the simpler way to go is to use "plot(y,x)". But it create confusion in code, for example, to actually set XLimits, I have to use values of YLimits.
It would be great if there is method to simply interchange the x-axis to y-axis.
## +ve Y
## ^ Default axis
## |
## |
## |
## -------> +ve X
##
##
## +ve X
## ^ Required axis
## |
## |
## |
## +ve Y <-------
Proposed Method:
1) Interchange X-axis to Y-axis, then Invert Y-axis
2) Rotate the plot in place by -90 degrees.(making sure all text, tick labels of axis doesn't get rotated.
Thank you.