Updated iypplot.R to determine xylim by sort(d)