function [r,q] = map1d(xgrid,ygrid,qgrid)
% for 1d scatter plot, plot x vs. q
r = xgrid(:);
q = qgrid(:);

