convert mesh to meters, more coefficients
This commit is contained in:
parent
6039802b9f
commit
2c4e8ea79c
8 changed files with 33016 additions and 32624 deletions
|
|
@ -15,6 +15,14 @@ fname = 'uv.txt';
|
|||
|
||||
[xc,ia,v] = ascii_read_meshvector(fname);
|
||||
|
||||
h = trisurf(ia, xc(:,1), xc(:,2), v);
|
||||
%h = trisurf(ia, xc(:,1), xc(:,2), v);
|
||||
|
||||
figure;
|
||||
h = patch('Faces', ia, 'Vertices', xc, 'FaceVertexCData', v, ...
|
||||
'FaceColor', 'interp', 'EdgeColor', 'k');
|
||||
axis equal tight;
|
||||
colorbar;
|
||||
colormap(jet);
|
||||
title('Heat distribution');
|
||||
|
||||
waitfor(h) % wait for closing the figure
|
||||
Loading…
Add table
Add a link
Reference in a new issue