Hi Redman,
The syntax changing the rotation of text label or data label is set name -tr/-qr angle.
If you are using data label and all your plots in active graph layer are grouped, you can simply use set %C -qr angle to change all data labels' rotation angles in active layer where build-in string register %C is the name of current active dataset.
If the plots in active layer are independent and you want to change the rotation angle of one of the plots, use the following code:
range rr = [Graph1]Layer1!1; // For first plot in first layer in
// graph window Graph1
set rr -qr 90;
If you have a text label plot where you have label column (Designation Label) in column C for example, you can change the rotation of text labels by:
range rr = [Book1]Sheet1!C; //Label column in Book1 and Sheet1
//Column C
set rr -tr 90;
If you want to change the rotation angle of added annotations, you can use the following commands for graphic objects:
Text.rotate = 30; // If the added text object's name is Text
// Right click to find object's name in
// Programming Control dialog
For details about range notations, please refer to link below:
http://www.originlab.com/doc/LabTalk/Tutorials/Tutorial-Range-Notation
Regards!
Sean
OriginLab Technical Service