added plotsize option