Im trying to plot a 3d surface graph, but Im having trouble.(adsbygoogle = window.adsbygoogle || []).push({});

I have 3 data inputs, x,y,z. I also had X and Y=Y' which are the min:int:max values. Because I only have a few points, I tried to do Z= griddata(x,y,z,X,Y) to interpolate the results. But it comes up with an error saying that not all points could converge.

When I type surf(X,Y,Z) a new window opens and I get a blank graph.

Any ideas why this may be happening?

Cheers

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# MATLAB Help

**Physics Forums | Science Articles, Homework Help, Discussion**