Import and interpolate data.txt

I would like to know how to import and interpolate on my mesh a data (array) of type txt in freefem++. I haven’t seen an example like this in the documentation.

I think you can use the triangulate function to create a 2D mesh from a set of points. Then, you can define a P1 FE space, and assign the function values at the corresponding points to a FE variable.

Thank you very much, I will do it as you said.