link data problem for a polar plot
조회 수: 3 (최근 30일)
이전 댓글 표시
I am essentially using the example from the doc nearly verbatim and can't get this to work Master is a matrix that is continuously updating. The Only the Y value needs to change dynamically as the matrix changes. The X values are constant
Can someone tell me why this won't work I continue to get an error that says resolve ambiguity and when i try to select x and y it tells me its not a valid variable. This is taking place in a function not a script.
x = Master(:,1); % Angle
y = Master (:,2); % Rho
polarscatter(x,y,'*')
rlim([0 26]);
linkdata on
댓글 수: 2
Walter Roberson
2016년 11월 4일
Is the message as soon as you execute the linkdata on, or is it later?
Do you also happen to have x or y in the base workspace?
Is the function returning so the variables are going out of scope?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!