Solution coordinates


I have solved vector Poisson equation with Ngsolve and I want to write my solution (and the coordinates of the dof containing that solution) in a tex file. I find information about how to print out the coordinates of dofs and solution seperately but I am not sure if they are printed in the same manner (i.e., the first line in dof coordinates is what is contained in the first line of solution vector).

Also, how can i print out the solution only through a say x=3 line or plane?

Thank you in advance.

did you find this tutorial for evaluating functions along a line: