polarscatter error - Adding polar plot to Cartesian axes is not supported.
조회 수: 14 (최근 30일)
이전 댓글 표시
I have been unable to find any information on this error. I've no idea why it occurs. I am not at all adding a polar plot to a Cartesian plot.
If i run
polarscatter(pi,1)
in the command window, it works fine. But as soon as i run it in the work space, i get the error. What am i doing wrong? And why does this error occur exactly.
댓글 수: 5
Steven Lord
2018년 4월 5일
Or you can create a polaraxes first, turn hold on, then plot into the existing polaraxes.
채택된 답변
KSSV
2017년 9월 13일
It seems you are trying to plot polarscatter on an existing figure (Cartesian axes) using hold on . If you want to plot it alone close the existing figure and plot or open a new figure and plot. If you want to plot it on existing figure...either use subplot or create a different axes for this.
댓글 수: 2
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Polar Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!