Generate a realistic portrait of a 19th-century Scottish gentleman, specifically Sir Thomas Makdougall Brisbane, dressed in formal attire, with a backdrop that reflects his military, astronomical, or administrative achievements, such as an observatory, a military uniform, or a colonial setting, in a dignified and respectful style, befitting a Knight Grand Cross of the Order of the Bath and a Fellow of the Royal Society.