Monday, March 16, 2009

generating 3D plot

% assuming the LUT is a 256x256 look-up-table ranging from 0..255.


[X Y] = meshgrid([0:1:255]);

figure,surf(X,Y,LUT);

xlim([0 255]);
ylim([0 255]);
zlim([0 255]);

0 Comments:

Post a Comment

<< Home