plot1D improvement