Related question Can you also comment on the meaning of the dataset while working with graph. I want to understand the difference between plot and dataset (associated with the plot). For example, while looping through graphs %C contains the name of the active dataset (not active plot). How do I link plot and dataset toghether?