I run into a small problem and I wanted to know if somebody had a solution: If I use on a graph window doc -e d {...} the variable %C contains the dataset name so I can copy the dataset to a different worksheet if I need. But how do I copy the corresonding x dataset? %C contain only information on the y and not on the x. Is there any simple way to do it? I could 1) edit the wks 2) select the y dataset 3) check which is the first x column on the left of my y column but it is kind of cumbersome Thanks fabio