I am calculting spherical harmonics projected on an oblate spheroid via surf(x,y,z,data) - example output like:
I would like to save a matrix that is the flattened version of this via some set perspective (the plot below is constructed from the above plot with the view(90,0) command included):
While this output gives the exact appearance that I am looking for, I do not know how to save this data into another matrix.
I imagine some loop that cuts through a section each itteration and saves the values into a blank matrix, however, I was wondering
if there was a built in function or some better way to go about this... Thank you!