The Queen seemed to be in high spirits as she watched the event in the gardens of the Palace of Holyroodhouse.