Quiver3 resets axes automatically?
조회 수: 2 (최근 30일)
이전 댓글 표시
I'm using the quiver3 function in a for loop, and each time I am replotting the arrows in different locations. However, I want the axis limits to stay constant for the entire loop. I se tthe axis limits using xlim, ylim and zlim, and I set the XLimMode (and Y and Z modes) to 'manual'. However, as I go through the loop, this mode changes to auto and I don't know how to prevent that. I even set it to manual and reset the limits in each iteration, but when it runs quiver3, the axes limits still change.
One guess I have is that it may be because I have not enabled the 'hold on' command. But if I do this, it plots every iteration on top of each other. I have tried assigning the quiver3 plot to a handle, like h1 = quiver3(...), and then deleting h1 each time through the loop, but this doesn't work (they still plot on top of each other). I've tried looking at the quiver3 documentation, but it's difficult for me to pinpoint how the XLimMode could be resetting itself with this function. Does anyone know why this happens?
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!