How to rotate the axes
Opened this issue · 2 comments
HLQzZ commented
When I set slice_across='y' and plot=True in ts.get_field, what I draw is a picture of the x-z plane, but I want to rotate the coordinate axis to draw a picture of the z-x plane, what should I do?
ax3l commented
Instead of plot=True
you can take the numpy 2D array that the ts.get_field
returns, transpose it as usual with .T
and then plug it into matplotlib's plt.imshow()
.
Data API:
Numpy:
Matplotlib:
HLQzZ commented
Thank you very much, this problem has been solved. Another question is how to select a specific id format in select like select=[id]? And how to write or such as x=[None,-8e-6]or[8e-6,None], thank you!