Dynamic fetching of plot variables