회전된 그림이 문서 오른쪽으로 이동합니다.

회전된 그림이 문서 오른쪽으로 이동합니다.

하위 그림 환경 내에서 tikz-3dplot을 사용하여 3D 솔리드를 회전하고 싶습니다(IEEEtran 문서 클래스도 사용하고 있습니다). 회전을 수행하면 그림이 예상대로 회전하지만 열(2열 문서)의 맨 오른쪽으로 이동합니다. 예를 들어, 열에 하위 그림 행렬 {ab \ cd}가 있습니다. c 위치에 그림을 그리려면 d 위치의 오른쪽을 덮어씁니다. 해당 문제를 해결하기 위한 조언이 있습니까?

\subfigure[$\xi$]{
\tdplotsetmaincoords{60}{125}
\tdplotsetrotatedcoords{0}{0}{10}
\begin{tikzpicture}
        [ %tdplot_main_coords,
          tdplot_rotated_coords,
          cube/.style={very thick,black},
            grid/.style={very thin,gray},
            axis/.style={-latex,black,thin}]


    %draw the axes
    \draw[axis,tdplot_main_coords] (0,0,0) -- (1.2,0,0) node[anchor=east]{$\xi_{1}$};
    \draw[axis,tdplot_main_coords] (0,0,0) -- (0,1.2,0) node[anchor=west]{$\xi_{2}$};
    \draw[axis,tdplot_main_coords] (0,0,0) -- (0,0,2) node[anchor=west]{$\xi_{3}$};

    %draw the top and bottom of the cube
    \draw[cube] (0,0,0) -- (-0.2,0.3464,0.4) -- (-0.4,0,0.8);
    \draw[cube,dotted] (-0.4,0,0.8) -- (-0.2,-0.3464,0.4) -- (0,0,0);
    \draw[cube] (0.4,0,0.4) -- (0.2,0.3464,0.8) -- (0,0,1.2) -- (0.2,-0.3464,0.8) -- cycle;

    %draw the edges of the cube
    \draw[cube] (0,0,0) -- (0.4,0,0.4);
    \draw[cube] (-0.2,0.3464,0.4) -- (0.2,0.3464,0.8);
    \draw[cube] (-0.4,0,0.8) -- (0,0,1.2);
    \draw[cube,dotted] (-0.2,-0.3464,0.4) -- (0.2,-0.3464,0.8);
    \end{tikzpicture}
    }

관련 정보