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
 function of 3 variable

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
reggepole Posted - 01/28/2004 : 9:00:27 PM
How to plot z=f(x,y)? Do I have to calculate matrix previously even I know the explicit form of the function?
1   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 02/09/2004 : 10:15:58 AM
You do need a matrix and you should setup the X and Y range you need and an appropriate number or rows and columns. You can plot this empty matrix with any 3D/Contour plot type, then make the matrix active and do the following:
Open the script window and enter a command like the following:
matrix -v -4*X^2+2*X*Y-6*Y^2<Enter>
You will need to rescale the graph to show the full plot.

Here is a script that lets you play will this (assumes matrix is Matrix1 and graph is Graph1):

// START SCRIPT
%B = "-4*X^2+2*X*Y-6*Y^2";
// SUBSEQUENTLY, REPEAT FROM HERE (since %B is remembered)
win -a Matrix1; // Change name if needed
getstring (Function Z(X,Y)) (%B) (Function Editor);
matrix -v %B;
win -a Graph1; // Change name if needed
layer -a;
// END SCRIPT



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