clear all; close all; data = importdata('result.txt'); figure; plot3(data(:,1), data(:,2), data(:,3), 'r-'); grid on axis on