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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Graph template - choosing a name for new graph
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

suku12

United Kingdom
7 Posts

Posted - 04/12/2012 :  4:27:38 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

easwar

USA
1964 Posts

Posted - 04/12/2012 :  5:12:56 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

suku12

United Kingdom
7 Posts

Posted - 04/12/2012 :  5:20:28 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

easwar

USA
1964 Posts

Posted - 04/14/2012 :  5:58:28 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000