add join operation capability to plot code, change dpi