Adding cube plot