%% Visualize results % % flatpak run org.octave.Octave % or % octave --no-window-system --no-gui -qf % % or % matlab -nosplash < clear all clc %% fname = 'uv.txt'; [xc,ia,v] = ascii_read_meshvector(fname); %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