How can I plot 3D polar plot in MATLAB
Show older comments
I have three values, azimuth, elevation and corresponding data points. is it possible to plot 3D polar plot using this three values. and 1 want to show the third value in colour. I am looking forward to hear your suggestions. A sample data is attaching herewith
Thanking You,
Accepted Answer
More Answers (1)
Juan Esteban Villegas
on 26 May 2021
0 votes
Hey I made this function to plot a scatter 3d plot, it is rather raw but it does the job maybe you can modify it to make it better.
Best
Juan
3 Comments
hema vardhan patti
on 3 May 2023
Hey, I really need the syntax for this plot. Will help me a lot in my thesis
Juan Esteban Villegas
on 3 May 2023
Hey Hema, you can use something like:
theta = linspace(0,10*pi,401);
phi = linspace(-pi/2,pi/2,401);
rho = linspace(1,1,401);
polarscatter3(theta,phi,rho,'x','r','LineWidth',0.5)
hema vardhan patti
on 4 May 2023
Thank you for responding Juan, But how to get from a table of values or excel.
Categories
Find more on Polar 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!