To span to full axis range, add the script following nlbegin.
nlgui gg 1;
gg.Graph1.XDataType.Range= 1;
nlgui gg 0;
To change a plot's line property in a layer, you can use the following script.
range p1=1!1; //The first plot
set %c -c 3; //Change the line's color
set %c -d 1; //Change the line's style.
Sam
OriginLab Technical Services