3D Polar Plot

版本 1.0.0.0 (1.1 MB) 作者: J De Freitas
Plots 3D polar data with axes.
20.5K 次下载
更新时间 2006/3/8

无许可证

编者注: This file was a File Exchange Pick of the Week

Polar3D plots 3 dimensional data given angular and radial ranges. A choice of plot types and interpolation methods is supported by this function. Useful particularly in producing 3D plots sampled on a uniform spacing over a disc.

Version 1.2 introduces the new ?meshl? plot option that allows the user to plot the data without interpolation or modification to the input Zin, and adds a polar axis with suitable tick marks and labels. The output of this option returns the input unchanged as well as the corresponding x and y coordinates, both being the same size as Zin. The ?contourf? plot option has been replaced by the ?meshl? option in this version.

Polar3D(Zin,theta_min,theta_max,Rho_min,Rho_max,meshscale) produces a mesh plot of the data Zin, between theta_min and theta_max, radii Rho_min and Rho_max, with the size of the mesh squares being determined by meshscale; meshscale takes on any real positive value.

Polar3D(Zin,...,plotspec) plots the data as 'surf', 'surfc', 'contour' etc, as set by plotspec.

Polar3D(Zin,..., interpspec) plots the data as mesh plot with 2D 'linear', 'cubic', etc, interpolation over the input data. No interpolation is carried out if the ?meshl? option is used.

[x,y,z] = Polar3D(Zin,...,'off') disengages the plot function and returns the (x,y,z) plot data.

Example:
P = peaks(49);
polar3d(20*P,13*pi/180,pi/2.31,70,320,1,'meshl');

Version History.

Version 1.1. (June 2005). meshscale updated so that Polar3D could take on both integer and non-integer values greater than 0.
Version 1.2. (Mar 2006) introduced the ?meshl? plot option.

引用格式

J De Freitas (2024). 3D Polar Plot (https://www.mathworks.com/matlabcentral/fileexchange/7656-3d-polar-plot), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R14
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Polar Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Version 1.2