Message Boards Message Boards

0
|
3505 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Attach a label to a manipulatable point

POSTED BY: Jay Gourley
3 Replies
POSTED BY: Neil Singer
POSTED BY: Jay Gourley

It is disappointing that the new FunctionDiscontinuities does not seem to collaborate with the old Exclusions -> "Discontinuities":

myIndicatorFunc[a_, b_, var_] := 
 Piecewise[{{0, var < a}, {1/2, var == a}, {1, a < var < b}, {1/2, 
    var == b}, {0, b < var}}]
FunctionDiscontinuities[myIndicatorFunc[-2, 5, y], y]
Plot[myIndicatorFunc[-2, 5, x], {x, -10, 10}, 
 Exclusions -> "Discontinuities"]
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract