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
 filename of data import on 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

bnebenda

Germany
4 Posts

Posted - 04/02/2003 :  11:36:00 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I would like to use the name of the datafile to label the graph that is showing the data.

Mike Buess

USA
3037 Posts

Posted - 04/02/2003 :  12:38:50 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
First make sure the file name shows up in the worksheet label. (See my reply to your other topic.) Then incorporate the following script into a macro...

// graph must be active
%A=%[%C,'_']; // get worksheet name from active plot
%A=%A!page.label$; // retrieve the worksheet label
page.label$=%A; // transfer it to your graph

Mike Buess
Origin WebRing Member
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