prototype of plotting query parameter