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
 Create datasets when graph active
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

peter.cook

UK
356 Posts

Posted - 12/22/2003 :  09:54:30 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

I think I asked this question years ago (Origin 5?) - Origin appears to always plot datasets when a graph window is active. I actually find this a bit of a nuisance for my appliactions but usually get around this by making a worksheet tempoorarily active eg

win -o Data1 {
create pete -n 1;
create pete2 -c 2;
}

Is this correct and/or is there a better way to avoid this (eg I always have to now the name of an existing worksheet)?

Cheers,

Pete



cpyang

USA
1407 Posts

Posted - 12/22/2003 :  10:35:50 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
using the -w related options does not plot the dataset, like

create test1 -wd 100 aa bb cc;

or if you want the worksheet created as well, but minimized,

create test2 -wh 100 aa bb cc;

CP


Go to Top of Page

peter.cook

UK
356 Posts

Posted - 12/22/2003 :  11:00:33 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi CP,

Thanks for reply.

Just to check : the help file says -wd / -wdn options create datasets but not worksheet.

How does this differ from create -t : maybe this is whatI want?
Why might I then use create test1 -wd 100 aa bb cc?

Cheers,

pete

Go to Top of Page

cpyang

USA
1407 Posts

Posted - 12/22/2003 :  11:21:11 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
create test1 -w[options] npts col...;

will not plot to the current graph, but

create test1_aa -t npts;

will plot to the current graph.

-wd[n] will create datasets without worksheet
-w will create worksheet
-wh[n] will create datasets with minimized worksheet

CP




Go to Top of Page

peter.cook

UK
356 Posts

Posted - 12/22/2003 :  12:16:07 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi CP,

create test1_aa -t npts doesn't plot to graph..as per help documentation.

So I might actually regard create -w options as hidden (not plotting)worksheets and create -t as (non plottin) (single) datasets?

Cheers,

Pete

Go to Top of Page

cpyang

USA
1407 Posts

Posted - 12/22/2003 :  12:38:26 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
sorry, you are right, create -t does not plot to current graph.

CP


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