How to update patternCustom plots

4 次查看(过去 30 天)
Hi,
I am using patternCustom function to show radiation pattern of an array.
Plotting it is straight forward:
patternCustom(magE,theta,phi);
I want to update the plot without redrawing it - it suppose to be much faster.
So, XData and YData is theta and phi, respectively (or not - its less important), CData is magE - What is ZData? How do I update it according to new magE?
Thanks
  1 个评论
Arye Lerner
Arye Lerner 2019-5-12
Oh, sorry, I ment :
What is ZData? How do I update it according to new magE?
I got the answer already. thanks!

请先登录,再进行评论。

采纳的回答

Honglei Chen
Honglei Chen 2019-5-9
Since magE is CData, you can just do
h = patternCustom(magE,theta,phi);
h.CData = newMagE;
HTH

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by