Is a 2-D plot with bi-linear Interpolation possible ?

35 views
Skip to first unread message

Albert Schütz

unread,
Mar 14, 2023, 12:03:53 PM3/14/23
to dislin-users
Hello,

Is it possible to plot a general square with Biliear Interpolation of values at the nodes, instead of linear interpolation?

currently, I get this plot with the functions
call crvqdr (x,y,z,4) 
and
call SHDMOD ('smooth', 'surface'):
Linear Interpolation.PNG


But I want the Plot to look more like this:
bi_linear_interpolation.PNG

Is this possible using DISLIN?

Thanks for any suggestions.

Best regards,
Albert

Helmut Michels

unread,
Mar 14, 2023, 1:04:27 PM3/14/23
to dislin-users
Dear Albert,

thank you for the examples. The routine crvqdr divides the quadrilaterals into triangles and makes
then a bilinear interpolation of the triangles. This is not correct as your examples show. I will try
to correct the problem and make a bilinear interpolation directly of the quadrilaterals.

With best regards,

Helmut
Reply all
Reply to author
Forward
0 new messages