Home > NoiseTools > nt_imagescc.m

nt_imagescc

PURPOSE ^

imagescc - plot image with symmetric scaling

SYNOPSIS ^

function imagescc(a, b, c)

DESCRIPTION ^

imagescc - plot image with symmetric scaling

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function imagescc(a, b, c)
0002 %imagescc - plot image with symmetric scaling
0003 
0004 if nargin==1
0005     C=a;
0006     m=max(abs(C(:)));
0007     imagesc(C,[-m-realmin,m+realmin]);
0008 else
0009     X=a;
0010     Y=b;
0011     C=c;
0012     m=max(abs(C(:)));
0013     imagesc(X,Y,C,[-m-realmin,m+realmin]);
0014 end

Generated on Mon 10-Nov-2014 14:40:42 by m2html © 2005