From: Guillaume on
Hi, I am trying to plot a segment of an ellipsoid in its own axis. For that I was generating half of the ellipsoid then translating it to its final position and finally rotating the axis to have them tangent and orthogonal to the segment of the 3D curve. Unfortunately it seems that my rotation does not work because I should obtain something centered but I am not. I am using the classic rotation matrix. I keep having complex numbers for the surface plot. I don't know if I am explaining it clearly. I hope someone can help.
Thank you.