Adding rotation to the plotting routines