Dear Python community,
I am attempting to generate a figure in the three-dimensional space using Python, as illustrated in the attached image. In more detail, I need to create a three-dimensional coordinate system and denote the x, y, and z axes. I also wish to plot an arrow representing a vector and mark the angle alpha it makes with the x-y plane and the angle beta it makes with the z-axis.
I have learned that there are libraries such as matplotlib that might assist me in accomplishing my goal, yet I am uncertain about how to employ them to properly construct the image I want, like adding angle annotations and correctly positioning the vector arrow. Please see the reference image of the diagram I aim to create below:
Thank you very much for your valuable time and assistance. I am looking forward to your response and to learning more from you.
Best wishes,
Zhao