Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
ytyyutianyun
Posted - 02/21/2012 : 9:20:43 PM Origin Ver.7.5 and Service Release sp5(Select Help-->About Origin): Operating System:windows 7
I have created 100 graphs 1.I want to delete all the texts(not axis label) in the graphs to make clean 2.Add the custom variables ineach graph. 1st graph text : "X/d=6" 2nd graph text : "X/d=16" 3rd graph text : "X/d=26" All in all£¬"X/d="is fixed and "6","16"...is varied by the numbers of the graph which express: N=10*i-4. N is "6","16"... i is the numbers of the graphs Thanks
For -p, x and y represent the percent distance from the top left corner of the layer frame.
Sam OriginLab Technical Services
ytyyutianyun
Posted - 02/22/2012 : 05:07:23 AM Thanks,but doc -e P means printing the contents of all graph windows And how can I add text in specified graphs. For example
I want to add text only in graph 1 to graph 8 from 100 graphs
loop (i, 1, 8);
{
label -s "x/d=$(10*i-4)";
}
?
And then can I put the text in the position I want
Thanks
Sam Fang
Posted - 02/22/2012 : 03:42:02 AM If all the texts use default names, you can use the following script to delete all texts.
label -ra text;
To add a text in each graph, you can use a loop, and activate each graph using script, then use the following script to create a text object.