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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Functions with asymptotes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

testetroni

2 Posts

Posted - 04/13/2017 :  3:41:13 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello, all.
I'm trying to do an easy task: plot the function f(x)=(10x^2)/(9-x^2). The problem is that origin plots the asymptotes in x=3 and x=-3. How can I exclude these especific points from being plot? Or, how can I make it don't plot this asymptote.

Hideo Fujii

USA
1582 Posts

Posted - 04/13/2017 :  5:42:37 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi testetroni,

You can assign the missing value to make the plot discontinuous by assigning the missing value (=0/0)
to the neighbor of the limit. You can utilize the conditional operator:
http://www.originlab.com/doc/LabTalk/guide/Operators#Conditional_Operator_.28.3F:.29
to construct the function. In your case, as there are two asymptotes, I used this function in a nested way.
Please see the sample below. (Probably you want to give a large number of points (in this sample 1000)
in the curve to have enough precision to present the curve well.)


Hope this helps.

--Hideo Fujii
OriginLab
Go to Top of Page

testetroni

2 Posts

Posted - 04/14/2017 :  9:43:30 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello, my friend.
This worked! It was exactly what I was looking for. Many thanks, buddy.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000