Mesh generation and plot works