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
 Working with Script Window

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
shafei Posted - 11/03/2011 : 1:46:52 PM
Origin Ver: 8.01
Operating System: 7

I am trying to learn how to work with script window. I have f(A,B,C,D), and would like to plot f vs. A and B while C and D are constants. My adviser has provided me with this commands:

matrix -ps X 0 1;
matrix -ps Y 1 5;
matrix -v f(y,x,1, 2);

or in another case,

matrix -ps X 0 1;
matrix -ps Y 1.17 1.22;
matrix -v f(y,x,1,.6);

Can you please tell me how they work? How exactly X and Y are related to x and y? Where can I find a link to learn more about this kind of programming. Apparently it is very useful and saves time!
3   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii Posted - 11/04/2011 : 3:02:16 PM
Hi,

In this command with -ps option, "X" and "Y" are not variables to store the values, but a mere indication for the mapping target to the coordinate. The mapping is equivalent to the settings in Matrix Dimension and Labels dialog (XY Mapping tab) - "Matrix: Set Dimension/Labels" menu. Try to press F1 on this dialog.)

--Hideo Fujii
OriginLab
shafei Posted - 11/04/2011 : 02:02:56 AM
I read the document but still have some questions. I understand that
matrix -ps X 0 1;
matrix -ps Y 0 1;
means that X and Y are the variables and their values are in the range of 0 and 1. But what are x and y values or i and j values. Apparently, as document says, are "the row and column number value for any particular cell", but it is very confusing! What is the value in i and j cell and how is it determined? How X and Y are related to x and y or i and j. Can you please clarify?
Hideo Fujii Posted - 11/03/2011 : 2:53:23 PM
Hi shafei,

These are "matrix" LabTalk command, and can be found in the LabTalk help in Origin; Or, you can find the same information in the following LabTalk Wiki documents:

http://wiki.originlab.com/~originla/ltwiki/index.php?title=LabTalk:Matrix_%28command%29

--Hideo Fujii
OriginLab

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