demonstration of plot j