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