Code covered by the BSD License  

Highlights from
spharmPlot(L, resolution)

Be the first to rate this file! 14 Downloads (last 30 days) File Size: 1.88 KB File ID: #41613 Version: 1.1
image thumbnail

spharmPlot(L, resolution)



03 May 2013 (Updated )

A simple function for plotting real basis of spherical harmonics with different orders.

| Watch this File

File Information

% Syntax:
% spharmPlot(L, resolution)
% spharmPlot(L)
% spharmPlot()
% Inputs:%
% L: degree of the functions, default value = 2;
% resolution: resolution of sphere surface, default value = 500.
% Results:
% green regions represent negative values
% red regions represent positive values

MATLAB release MATLAB 8.3 (R2014a)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
12 Nov 2014 Mengliu Zhao

@Tahariet "Errror when loading "redgreencmap". Help!" -- Maybe you're using a MATLAB version before2012a? See red and green colormap ref:

Actually you can use any colormap choice you want, e.g., colormap('default').

Comment only
11 Nov 2014 Tahariet Sharon

Errror when loading "redgreencmap". Help!

Comment only
04 Dec 2014 1.1

Corrected the sign of Legendre polynomials

Contact us