scf_celebic/ex3/seq/jacobi_oo_stl/visualize_results.m
dino.celebic 3882aee07a task8
2025-11-11 15:50:51 +01:00

20 lines
No EOL
361 B
Matlab

%% Visualize results
%
% flatpak run org.octave.Octave <filename>
% or
% octave --no-window-system --no-gui -qf <filename>
%
% or
% matlab -nosplash < <filename>
clear all
clc
%%
fname = 'uv.txt';
[xc,ia,v] = ascii_read_meshvector(fname);
h = trisurf(ia, xc(:,1), xc(:,2), v);
waitfor(h) % wait for closing the figure