Asymptote in mid-function Position

Beta releases, announcements and anything else that doesn't fit below. Please read the <B>Welcome</B> topic.

Moderator: DPlotAdmin

Post Reply
mjzoccoli
Posts: 8
Joined: Wed Sep 06, 2006 3:14 pm

Asymptote in mid-function Position

Post by mjzoccoli »

Question: consider a simple function that has the above condition:

y = 1/(x-2)

If I plot this from (say) x=0 to x=3, and then edit out the y value at x=2, the program still connects the last point on the left branch, with the first point on the right branch. How do I eliminate that erroneous connection?

Notes:
1. Could eliminate the line completely, but then the curves just contain points
2. Could plot just the left branch, then overly just the right branch as a second curve
3. Could use EXCEL XYXY with the left & right branches as an ADD-IN.

But the simplest solution is the one I don't know how to get to - ie drop out the connecting line from the left branch to the right. It's certainly doable in EXCEL....help!

Regards Mike Z
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

There's no need to throw out any points. See Options>Amplitude Limits. Check "Enable". Enter the lower and upper limits you want, say +/- 100. Points outside those limits will be ignored, and more importantly in this case there won't be any line segments drawn to or from those points.
Visualize Your Data
support@dplot.com
mjzoccoli
Posts: 8
Joined: Wed Sep 06, 2006 3:14 pm

Asymptote Question

Post by mjzoccoli »

Thank you David - excellent solution!

Mike Z
Post Reply