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
 Plot a 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

mej

Albania
Posts

Posted - 02/13/2004 :  04:53:05 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello
I want to plot a dataset named T50 (y column) versus dataset a (x column). I use the fallowing scipt:

win -t plot;
win -r %H graphT50;
layer.include(data2_T50,200);

May i do this with only one command?

Laurie

USA
404 Posts

Posted - 02/15/2004 :  10:37:07 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You have to do it in 2 steps: first create the graph and then include the dataset to be plotted.

Still 2 steps, but you can use the worksheet -s and then worksheet -p commands. This selects the dataset to plot and then plots the current worksheet selection.

You also don't need to use win -r to rename. You can do that by using win -t plot origin graphT50;

You could define a macro, so that you would only need one command.

OriginLab Technical Support
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