add 1d plot