suppose, I have a text file 'data.txt' that has three columns and contains output of below.
% code
fileID = fopen('data.txt','w');for x = 0.1:0.1:10 for y = 0.1:0.1:10 z = x*y; T = [x, y, z]; fprintf(fileID,'%f %f %f\n',T); endend fclose(fileID);
Now i want to do the density plot of this data. Please help.
Best Answer