Sallygreen
Nov 6th, 2008, 10:22 AM
Hey guys
please anyone can tell me how can I open an input file to save my inputs for Fortran 77 program:confused::confused:
krtxmrtz
Dec 2nd, 2008, 11:10 AM
Hey guys
please anyone can tell me how can I open an input file to save my inputs for Fortran 77 program:confused::confused:
Have you asked in a Fortran 77 forum?
Sallygreen
Mar 26th, 2009, 12:43 PM
Hey Guys
I would be grateful if you could have some time to look into my question, I am trying to do density plot (contour or surface or map)from a data file which has 3 columns.........the code below does not shows any errors, but also does not give any figure, I think may be the way I had added the extension manually(.csv......comma separated variables)...is there anyway to export my data in such extension file.....
data = csvread('my_file.csv');
x=data(:,1);
y=data(:,2);
z=data(:,3);
a=size(data);
b=a(:,1);
xlin=linspace(min(x),max(x),b);
ylin=linspace(min(y),max(y),b);
[X,Y]=meshgrid(xlin,ylin);
Z=griddata(x,y,z,X,Y);
mesh(X,Y,Z)
colorbar