Plot Intensity on Sphere

版本 1.0.0.0 (2.3 KB) 作者: David Johnstone
Plot intensity (color) for given points on a sphere.
2.8K 次下载
更新时间 2008/3/18

无许可证

PlotSphereIntensity(azimuth, elevation)
PlotSphereIntensity(azimuth, elevation, intensity)
h = PlotSphereIntensity(...)

Plots the intensity (as color) of a number of points on a unit sphere.

Input:
azimuth (phi), in degrees
elevation (theta), in degrees
intensity (optional, if not provided, a green sphere is produced)

All inputs must be vectors or matrices of the same size. Data does not have to be evenly spaced. When there aren't enough points to draw a smooth sphere, additional points (with color) are interpolated.

Output:
h - a handle to the patch object

The axes are also plotted:
positive x axis is red
positive y axis is green
positive z axis is blue

引用格式

David Johnstone (2025). Plot Intensity on Sphere (https://www.mathworks.com/matlabcentral/fileexchange/19247-plot-intensity-on-sphere), MATLAB Central File Exchange. 检索时间: .

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

Community Treasure Hunt

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

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