polar data 3d plot
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have my data in an array u with variales t (time), r (radius), and θ (polar angle). How can I plot the function at different times?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1559264/image.png)
For example, I want to plot
for all
,
and
and
,
.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1559269/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1559274/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1559279/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1559284/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1559289/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1559294/image.png)
0 Commenti
Risposte (1)
Chunru
il 4 Dic 2023
r = linspace(0,100, 101)';
theta = linspace(0, 360, 61);
t = 1; % single t point for simplicity here
u = 1./r.*cos(2*pi*.05*r) .* ones(size(theta)); % generate some data to plot
xx = r.*cosd(theta);
yy = r.*sind(theta);
p = pcolor(xx, yy, u);
p.EdgeColor = 'none';
0 Commenti
Vedere anche
Categorie
Scopri di più su Polar Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!