Generate mesh, quadratic interpolation-how does it work?

Beta releases, announcements and anything else that doesn't fit below. Please read the <B>Welcome</B> topic.

Moderator: DPlotAdmin

Post Reply
Calum_G
Posts: 2
Joined: Wed Feb 28, 2018 5:25 am

Generate mesh, quadratic interpolation-how does it work?

Post by Calum_G »

Hi,
I'm using the generate mesh function of Dplot to create heat maps of my data, and I'm particularly interested in how the quadratic interpolation is filling in the gaps in my data to produce the mesh. It would be very useful for my work to know how Dplot is doing this, can anyone give me an idea of the formula used by the software or a simple example?

Kind regards,

Calum
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

There's not much to it. For every new point, DPlot finds the closest "Control points" points in the original mesh. It squares the distance in the XY plane from the new point to the closest "Control points" points, then weights the influence of each of those points by the inverse of the square of the distance. (If the new point lies exactly at an input X,Y, then the corresponding Z is used and the other points have no influence.)
Visualize Your Data
support@dplot.com
Calum_G
Posts: 2
Joined: Wed Feb 28, 2018 5:25 am

Post by Calum_G »

Thanks for the quick reply, that should be a great help to me!
Post Reply