Im trying to plot a surface thats continuous which should represent the surface of the earth. Im grabbing the data from a text file using importdata.
However when i plot it, its one line connecting the points and not the entire surface.
Here's my coding.
% [X,Y,Z] = meshgrid (x,y,h); % This generates the actual grid of x and y values.
[X] = meshgrid(x);
[Y] = meshgrid(y);
[Z] = meshgrid(h);
figure(1); % Generating a new window to plot in.
Can anyone please help, thank you very much.