plot_sph(phi,theta,​r,axisdis)

plot_sph(phi,rho,z,axisdis) This function plots any function in spherical coordinates.
102 Downloads
Updated 2 Dec 2015

View License

plot_sph(phi,rho,z,axisdis)
This function plot any function in spherical coordinates.
phi is the angle in x-y plane (0<phi<2*pi)
theta is the angle in y-z plane(-pi<theta<pi)
r is the radius of sphere (0<r<inf)
axisdis is 1 or 0 to display axis or not .
Examples included.
plot any function in spherical coordinates .

Cite As

Nirakh Rastogi (2024). plot_sph(phi,theta,r,axisdis) (https://www.mathworks.com/matlabcentral/fileexchange/54271-plot_sph-phi-theta-r-axisdis), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0