Just want to say thanks for all the help again.
I am creating two 3d plots. Inside the plot there should be a 3d line. With one of the plots the line seems fine and rotates with the plot (1st picture). The second plot, for some reason the line is 2d and there is a 2d axis that does not rotate with the rest of the plot. The matlab figure does not have this. It only appears on the plotly plot. (2nd picture)
The code for both plots are almost the same with a little differences. Do you know why this axis and line are like this?