Code covered by the BSD License  

Highlights from
spharmPlot(L, resolution)

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

spharmPlot(L, resolution)

by

 

03 May 2013 (Updated )

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

| Watch this File

File Information
Description

% 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: http://www.mathworks.com/help/bioinfo/ref/redgreencmap.html

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

11 Nov 2014 Tahariet Sharon

Errror when loading "redgreencmap". Help!

Updates
04 Dec 2014

Corrected the sign of Legendre polynomials

Contact us