How do I create a surface plot with matplotlib of a closed loop revolve about an axis given coordinate data of the 2D profile?
问题 I have the closed loop stored as a two column by N row numpy array. The last row of the array is the same as the first row, implying that it is, indeed, a closed loop. The number of angular divisions in the rotation (as in, "slices of pie" so to speak) ought be set by a variable called 'angsteps' The profile in question is plotted in the x-y coordinate plane, and is rotated about the 'x-axis'. You can find the profile in question plotted here. https://i.imgur.com/yJoKIEp.png I apologize for