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 for Programming
 LabTalk Forum
 Rename Graph after fit
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

CRTBT-UBT

France
Posts

Posted - 01/12/2006 :  10:13:31 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5
Operating System: Win-XP

Hi,
I got another question:
I would like to automatically rename the graph after a NLSF session uisng the after fit script. I suppose that the function
win -r winName newName;
should do the job, but I don't how I can get the name of the corresponding graph automatically..
Thx for help,
Johannes

Sell

Germany
20 Posts

Posted - 01/12/2006 :  10:20:19 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,
if you are doing the fit interactively, then the graph window should be the active window, what means its name is in %H. (Look for string system variables in labtalk help). If you perform the fit completely by a script only you can know the name.

Then you can apply win -r oldname newname.

Hans-Juergen Sell
Go to Top of Page

CRTBT-UBT

France
Posts

Posted - 01/12/2006 :  10:36:44 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thx, that helps...
...and the bad thing about it: I knew that %h is the active window, but I thougt the active window is the dataset from which I'm plotting... stupid me
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