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
 more than a graphic!!!??
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

pcvolkmar

Germany
Posts

Posted - 08/01/2005 :  07:21:35 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin):
Operating System:winxp

Hello,
now i can do one graphic, but when I want to do more than one , I can see only one graphic and the program say: worksheet no aviable.

I have done this:

worksheet -s col(J) 0 col(U) 0;
worksheet -p 201 Scatter;

worksheet -s col(J) 0 col(L) 0;
worksheet -p 201 Scatter;

worksheet -s col(I) 0 col(L) 0;
worksheet -p 201 Scatter;

worksheet -s col(L) 0 col(nphot) 0;
worksheet -p 201 Scatter;

worksheet -s col(L) 0 col(nlum) 0;
worksheet -p 201 Scatter;

if somebody can give an advice me, I thank for it.
Paula

Mike Buess

USA
3037 Posts

Posted - 08/01/2005 :  10:02:33 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Paula,

I see at least two problems with your script...

1. A worksheet must be active when you issue the 'worksheet' command. Each pair of commands will create and activate a graph window. Therefore you need to activate the next worksheet before you plot it.

2. 'worksheet -s' takes column and row numbers for arguments.

Assuming your plotting Data1, Data2, Data3, Data4, Data5 this should work...

win -a Data1; // activate first wks
i1=colnum(J); // get # of col J
i2=colnum(U); // get # of col U
worksheet -s i1 0 i2 0; // select entire columns
worksheet -p 201 Scatter; // plot

win -a Data2; // activate next wks
i1=colnum(J);
i2=colnum(L);
worksheet -s i1 0 i2 0;
worksheet -p 201 Scatter;

// and so on


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