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
 Origin Forum
 Y-script form

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
jazgara@un1 Posted - 08/27/2002 : 06:30:12 AM
I have got a big problem with an Y-script funcion form. I'm trying to use it to specify offset (y0) (in a Lorentz fitting funcion) as a line.
Can I write:
"y0=a*x+b;
y=y0+(2*A/PI)*(w/(4*(x-xc)^2+w^2));"
and Y0 set as a dependent variable, or y0 should stay parameter?
1   L A T E S T    R E P L I E S    (Newest First)
easwar Posted - 08/29/2002 : 10:38:47 AM
Hello,

Your script is fine. The way you have defined y0, it is just a temporary variable, and so should not be declared either as a dependent variable or as a parameter. You should declare a and b as parameters, along with A, xc, and w.

Easwar
OriginLab.

Edited by - easwar on 08/29/2002 10:39:56 AM

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