MATLAB Answers

How to update patternCustom plots

4 views (last 30 days)
Arye Lerner
Arye Lerner on 1 May 2019
Edited: Arye Lerner on 12 May 2019
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 Comment

Arye Lerner
Arye Lerner on 12 May 2019
Oh, sorry, I ment :
What is ZData? How do I update it according to new magE?
I got the answer already. thanks!

Sign in to comment.

Accepted Answer

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

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Products


Release

R2017a