The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Graph template - choosing a name for new graph

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
suku12 Posted - 04/12/2012 : 4:27:38 PM
Origin Ver. and Service Release 8.6 Pro. Sr2
Operating System: Win 7

Hi,

When I am plotting graphs from my own user template
the new graph has always the same name (after one used to created my template)
Can that be somehow modified? When I am making lots of graphs
I am getting tired of renaming one after one.

Thx
Sebastian
3   L A T E S T    R E P L I E S    (Newest First)
easwar Posted - 04/14/2012 : 5:58:28 PM
Hi Sebastian,

Sure, the long name can be set from script just by assigning that property, such as:
string str$="long name of my graph";
page.longname$ = str$;

You can build a custom string with file name, file date etc and assign to the long name property.

Do you create these graphs manually? Or you already have some script code that imports data and also creates the graphs?

For more help with scripting, you can post in the LabTalk forum.

Easwar
OriginLab

suku12 Posted - 04/12/2012 : 5:20:28 PM
Many thanks for prompt reply

However I would prefer to use long name as it contains for me some relevant info about the test, i.e. test date and number
so I use the long name when exporting graphs

Therefore I wonder if there is any script or command which can change that property of graph template (long name) each time to match test date or folder name (I keep data set from each test in separate folder)?

Many thanks,
Sebastian
easwar Posted - 04/12/2012 : 5:12:56 PM
Hi Sebastian,

I think the repeated name you are seeing is the "Long Name" property. If you type in a custom name into long name property and then save the template, that name is remembered and kept unchanged.

Try this:
1> Right click on window title of one of the graphs and select Properties
2> Erase the Long name property - leave as blank
3> Re-save the template

Then when new graphs are created with the template, the long name will be set same as short name, so it will be different in each window.

Also, in the properties dialog, you can decide what should be displayed: long name, short name, or both.

And in Project Explorer, by default, the Name property shows Long Name if it is different from Short Name, so it would have shown same string for all of your graphs. you can right click on the header there and select "show Long and Short Names" to display both columns if you want to.

Easwar
OriginLab

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000