I have a gui which has many tabs and a different plot on each, so far I have used a method similar to that below (which is a minimised part of the code but won\'t run if you