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
 plotting piecewise function
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

pawelb125

Poland
2 Posts

Posted - 08/21/2015 :  09:04:53 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic


Is is possible to define a piecewise function in the Add Function Graph command?

(Origin 9.0)

Hideo Fujii

USA
1582 Posts

Posted - 08/21/2015 :  10:12:48 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi pawelb125,

You can define a piecewise function using the conditional operator(?:).
For details of this operator, see this another post:
http://www.originlab.com/forum/topic.asp?TOPIC_ID=21649

This operator is nestable, for example, see the following sample has three domains:
x<0, 0<=x<10, and 10<=x.



Hope this is what you are looking for.

--Hideo Fujii
OriginLab
Go to Top of Page

pawelb125

Poland
2 Posts

Posted - 08/21/2015 :  2:21:45 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks! This is exactly what I need.

Pawel
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