I have the next stem plot
plt.stem(m)
and I want it but 90 degrees clockwise rotated. I've tried with
plt.stem(m,np.arange(m.size))
And obtain the next plot
The expecting result it's something like the R(t) of the next image:
and:
import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0.1, 2 * np.pi, 41)
y = np.exp(np.sin(x))
plt.stem(x,y, orientation='vertical')
plt.show()