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
 Before Formula Script in 2D function plot

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
Jaycher Posted - 02/18/2019 : 11:02:12 PM
Hi! Would I get some help here?
I'm an undergraduate student in physics.
I want to plot some function but didn't well because there were problems to understand "Before Formula Script".



This is a function and variables that I want to plot.
However, 'y' is in "Before formula script" and variables,
function plot didn't work well...

Would I get some help?
2   L A T E S T    R E P L I E S    (Newest First)
JacquelineHe Posted - 02/19/2019 : 02:51:34 AM
Hi,

When you use 2D function plot to create a graph, you can use "Before Formula Script" to defind some variables and execute scripts before the expression in the formula.
But in the "Before Formula Script", the variable "Y" in is not defined, Origin can not identify what is "Y" and can not know its value.

Or this 2D function is implicit funtion?


Thanks
Jacqueline
OriginLab
Castiel Posted - 02/19/2019 : 02:50:38 AM
quote:
Originally posted by Jaycher

Hi! Would I get some help here?
I'm an undergraduate student in physics.
I want to plot some function but didn't well because there were problems to understand "Before Formula Script".



This is a function and variables that I want to plot.
However, 'y' is in "Before formula script" and variables,
function plot didn't work well...

Would I get some help?




That's an implicit function cannot be used to created graphs by "Function Plot". "Before Formula Script" is not to blame.

To created (smooth) 2D implicit function plot, you should apply the contour routine. However, according to your description, the function cannot be plotted correctly. Just tried the fimplicit in MATLAB.


                                          &&&&&&&&&
                                        &&&
                                       &&
                                      &  _____ ___________
                                     II__|[] | |   I I   |
                                    |        |_|_  I I  _|
                                   < OO----OOO   OO---OO
**********************************************************

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