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
 Plot in 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
gstiago Posted - 01/29/2016 : 2:31:20 PM
OriginLab: 8.5 PRO
Operating System:win 7 64 bits

Hello everyone,
I have one worksheet with one x column and 15 y columns, How can I plot all Y columns in one different graphic like:
(x,y1) one graphic
(X,y2) other graphic..etc. and take the linear fit using labtalk? I tray :

>>for(ii=3; ii<=55; ii++){range ss = [book9]sheet1!col(2);range dd = [book9]sheet1!col($(ii));plotxy (ss,dd) plot:= 202;}

But this dont work ...( iy varname error)...

Can someone help me.

My best Regards

T. G. Santos
3   L A T E S T    R E P L I E S    (Newest First)
gstiago Posted - 02/01/2016 : 08:28:40 AM
Hello All,

I just make a loops for manipulate data like I want and I Used the multi-data fit by graphic acess..in my case I have a little of worksheets, and made this manually was more easy. But If someone knows how to made the same( fit linear in a data like xyyyyyy for all curves ) please share with us..

My Best Regards..

T. G. Santos
gstiago Posted - 01/29/2016 : 6:48:17 PM
Hello lkb0221,
I use this code, but this just return all plots in the same graphic, in differents layers...
Someone know why this happnd?

Best Regards

T. G. Santos
lkb0221 Posted - 01/29/2016 : 2:38:01 PM
If ss is always the X column associated with all Y columns, just use

loop (ii, 3, 55) {
range dd = [book9]sheet1!$(ii);
plotxy iy:=dd plot:=202;
}

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