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
 XYZ contour plot with LabTalk

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
neophilus 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?
6   L A T E S T    R E P L I E S    (Newest First)
neophilus 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!
Hideo Fujii 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 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 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 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!
Penn Posted - 08/15/2011 : 06:06:54 AM
Hi,

Please try the following script:

worksheet -p 243 TriContour.otp;


Penn

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