link data problem for a polar plot

4 ビュー (過去 30 日間)
Robert
Robert 2016 年 11 月 3 日
編集済み: Robert 2016 年 11 月 4 日
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 件のコメント
Robert
Robert 2016 年 11 月 4 日
編集済み: Robert 2016 年 11 月 4 日
Hello Walter
No there is no other x or y in the workspace. It happens after the figure comes up
it plots the first iteration of the plot then when my loop starts to change the information in the matrix that should control the plot i get the error. I don't get why I'm having difficulty. This is literally verbatim from the link data example
The function is not returning anything. ITs purpose in life is to just to open and plot the data.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by