T O P I C R E V I E W |
benderrr |
Posted - 07/31/2005 : 1:10:46 PM Origin Version (Select Help-->About Origin): 7.5 pro Operating System: WinXP
Hi, three things:
1. I would like to create a 1:1 copy of the existing worksheet named "OldWorkSheet". I tried to
create NewWorksheet -w 500;
but how do I then copy the content of the worksheet "OldWorkSheet" into the new one "NewWorkSheet"?
2. I try to apply a theme to my graph but I have to click on a plot and have to set it to "independent" first. Is there also a LabTalk command that can do that?
3. When applying a theme (multilayer box checked) to my graph, it occurs that the title of the second y-axis does not seem to be copied, the title just does not appear at all. Did I forget to check something when saving the theme?
Thank you very much in advance, bender |
5 L A T E S T R E P L I E S (Newest First) |
Mike Buess |
Posted - 08/02/2005 : 12:34:01 PM Hi Bender,
Yes, it's possible to create text labels in LabTalk using the label command. However, it seems to me like it would be easier to use a template with both layers and all labels included.
Mike Buess Origin WebRing Member |
benderrr |
Posted - 08/02/2005 : 09:57:01 AM Hi easwar, I see. Any chance to create a title for the right YAxis of layer2 via LabTalk then?
The same problem seems to be the reason why no text labels appear (because again, the application of the theme does not create them but would just rename them, right?). So is there a possibility to create text labels (at different positions) in the Graph window via LabTalk too? Then I could hopefully create dummy text labels via the script and could afterwards apply my theme which would bring out those special labels. |
easwar |
Posted - 08/02/2005 : 09:36:45 AM Hi bender,
I tried turning on the right y axis on the 2nd layer of a graph, then copy the theme for the entire page (right-click in grey area of graph page and select Copy Format) and then apply the theme to another 2-layer graph (right-click in grey area and select Apply Format) and this works fine - the labels and tick marks show up. I tested this in 7.5 SR5.
In your first post you said the title does not appear. Note that theme only changes properties of existing objects and does not create objects. So if you had placed custom text in your title of the original graph and then copy theme and apply to another graph, this would not create the same title text in your second graph.
Easwar OriginLab
|
benderrr |
Posted - 08/02/2005 : 05:38:25 AM Hey Mike, thank you.
Concerning my pt. 3, the use of themes from the theme gallery:
I have a two layer graph, and save my theme as multilayer, and also in the "list view" e.g. the box for "Page.Layer2.YAxis.RightLabels.Show" is checked. However, when I apply this theme to another two layer graph, the right label does not show up. The same holds for all my text labels! Do you know what's wrong here?
Thanks again, bender |
Mike Buess |
Posted - 07/31/2005 : 1:55:50 PM Hi Bender,
1. Use the duplicate command...
win -a OldWorkSheet; // activate win -d; // duplicate doc -e W {%W=%H}; // find new wks name win -a %W; // activate new wks win -r %W NewWorksheet; // rename
Mike Buess Origin WebRing Member |