Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Irregular grid contour plots

Status
Not open for further replies.

rocketian

Aerospace
Jun 9, 2009
3
I have a set of data from thermocouples on an irregular grid and want to produce contour plot - any ideas how to convert the irregular grid to regular ???

The data changes with time - but I can handle that with an animation

 
Replies continue below

Recommended for you

You need to interpolate your current data onto a regular grid. That is not a foolproof process since you'll have to decide how to do the interpolation.



Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376
 
Yes - I had thought of that. It is the 2d interpolation that is tricky...
 
You could interpolate each column, and then each row, as 2d interpolations using a spline fit. that'll give you 2 Z values for each x and y, so take the average.

Crude, but it will work for smoothly varying data.

Otherwise Matlab et al offer a variety of solutions, as does the excellent xlxtrfun for Excel.

Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor