plot_mesh function

Plot a one dimensional mesh