further to my previous post, i now have it working as a realised that win -r works on the "short name" not the "long name" so it was unhappy that i was trying to rename a graph as the name of an existing worksheet.
string strG1$;
strG1$ = %H;
type strG1$;
plotxy (1:3)!(1,2) plot:=200; //plotxy book (sheets)!(columns) options
win -r %H Gra_%(strG1$);
But....does anybody know how to write to he "long name"? How would the above be achieved on the "long name"? I cannot find this in the help.