Author |
Topic  |
|
neophilus
Germany
4 Posts |
Posted - 08/15/2011 : 04:52:43 AM
|
Origin Ver. and Service Release (Select Help-->About Origin): 8G SR6 Operating System: WinXP Pro
Hi,
I'm trying to get a TriContour plot of XYZ data through LabTalk. No success so far. Best result was with:
plotxy iy:=3 plot:=226 ogl:=[<new template:=TriContour.otp>]; But then I have to manually add the dataset (z-values).
layer -i book23_b; doesn't work just gives me a black quarter circle into the existing plot.
worksheet -p 226; doesn't work either, just gives me the dialog.
Any suggestions? |
|
Penn
China
644 Posts |
Posted - 08/15/2011 : 06:06:54 AM
|
Hi,
Please try the following script:
worksheet -p 243 TriContour.otp;
Penn |
 |
|
neophilus
Germany
4 Posts |
Posted - 08/15/2011 : 10:55:06 AM
|
Thanks,
this is a good combination. But before I have to select the column. At the moment I do it this way:range rW=[%H]1!;
rW.colSel(3,1);
worksheet -p 243 TriContour.otp; Any better ideas?
Thanks a lot! |
 |
|
Hideo Fujii
USA
1582 Posts |
Posted - 08/15/2011 : 2:10:00 PM
|
Hi,
For the current worksheet, the following can shorten a line:
wks.colSel(3,1);
worksheet -p 243 TriContour.otp;
--Hideo Fujii OriginLab |
 |
|
neophilus
Germany
4 Posts |
Posted - 08/16/2011 : 04:12:38 AM
|
I tried that before, but it gives me an error:>>wks.colSel(3,1);
#Command Error!
>> ??? |
 |
|
Hideo Fujii
USA
1582 Posts |
Posted - 08/17/2011 : 3:37:52 PM
|
Hi,
I first suspected that since you're using German version of Origin, maybe "3,1" was interpreted as a number 3 1/10; However, as just have tested with Origin 8.5.1 German, it worked okay with no errors. Anyway, you can try to separate arguments by spaces like wks.colSel(3 , 1) ?? Otherwise I have no idea. Possibly by some reason, your part of Origin is broken? :{ Is everything else working okay?
--Hideo Fujii OriginLab |
 |
|
neophilus
Germany
4 Posts |
Posted - 08/18/2011 : 04:45:01 AM
|
Thanks Hideo,
I will test it with 8.5 on a colleagues computer. Right now everything works fine. I use a different statement now:range rW=!;
rW.colSel(3,1);
Kind Regards! |
 |
|
|
Topic  |
|