/[MITgcm]/MITgcm_contrib/high_res_cube/matlab-grid-generator/plotcube.m
ViewVC logotype

Annotation of /MITgcm_contrib/high_res_cube/matlab-grid-generator/plotcube.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Nov 11 18:08:08 2003 UTC (21 years, 8 months ago) by cnh
Branch point for: MAIN, initial
Initial revision

1 cnh 1.1 function [] = plotcube(X,Y,Z,C)
2    
3     n=size(X,3);
4    
5     surf(X(:,:,1),Y(:,:,1),Z(:,:,1),C(:,:,1))
6     hold on
7     for j=2:n
8     surf(X(:,:,j),Y(:,:,j),Z(:,:,j),C(:,:,j))
9     end
10     hold off
11     xlabel('X');
12     ylabel('Y');
13     zlabel('Z');

  ViewVC Help
Powered by ViewVC 1.1.22