Added genrayplot.