update visualization

This commit is contained in:
dino.celebic 2026-01-23 18:05:44 +01:00
commit a04763e7bc
2 changed files with 2933 additions and 2925 deletions

File diff suppressed because it is too large Load diff

View file

@ -15,6 +15,14 @@ fname = 'uv.txt';
[xc,ia,v] = ascii_read_meshvector(fname); [xc,ia,v] = ascii_read_meshvector(fname);
h = trisurf(ia, xc(:,1), xc(:,2), v); %h = trisurf(ia, xc(:,1), xc(:,2), v);
figure;
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 waitfor(h) % wait for closing the figure