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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 more than a graphic!!!??

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
pcvolkmar Posted - 08/01/2005 : 07:21:35 AM
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
1   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 08/01/2005 : 10:02:33 AM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000