Parent Directory
|
Revision Log
|
Revision Graph
Checking in work done with Dimitri on high-resolution cube gridding and parallel communications. o code is in a contrib experiment for now so we can continue collaborating on it. However most code is general and will be moved into main branch once it is fully hardened. o There are README files in the contrib root and in the subdirectories that explain the contents
1 | cnh | 1.1 | function [] = plotcube(X,Y,Z,C) |
2 | % e.g. | ||
3 | % load CUBE_3DGRID | ||
4 | % tt=rdmds('TTtave.0000103680'); | ||
5 | % plotcube(XG,YG,ZG,tt(:,:,1)) | ||
6 | % | ||
7 | % $Header: % | ||
8 | % $Name: % | ||
9 | |||
10 | n=size(C,2); | ||
11 | |||
12 | surf(X(:,:,1),Y(:,:,1),Z(:,:,1),C(1:n,:)) | ||
13 | hold on | ||
14 | for j=2:6 | ||
15 | surf(X(:,:,j),Y(:,:,j),Z(:,:,j),C((j-1)*n+1:j*n,:)) | ||
16 | end | ||
17 | hold off | ||
18 | xlabel('X'); | ||
19 | ylabel('Y'); | ||
20 | zlabel('Z'); |
ViewVC Help | |
Powered by ViewVC 1.1.22 |