Opened 12 years ago

Closed 12 years ago

#6035 closed enhancement (fixed)

[with patch, positive review] Don't draw vertical asympotes

Reported by: whuss Owned by: whuss
Priority: major Milestone: sage-4.0
Component: graphics Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

The attached patch adds an option "detect_poles" to the plot command, which if True detects vertical asymptotes of the plotted function.

sage: plot(gamma(x), (x, -3, 4), detect_poles = True).show(ymin = -5, ymax = 5)

Attachments (1)

detect_poles.patch (3.2 KB) - added by whuss 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by whuss

comment:1 Changed 12 years ago by mhampton

  • Summary changed from [with patch, needs review] Don't draw vertical asympotes to [with patch, positive review] Don't draw vertical asympotes

This seems to work pretty well, and since its an optional argument I don't see it interfering with any existing code. The added documentation looks good.

comment:2 Changed 12 years ago by mabshoff

  • Milestone changed from sage-4.0.1 to sage-4.0
  • Resolution set to fixed
  • Status changed from new to closed

Merged in Sage 4.0.rc0.

Cheers,

Michael

Note: See TracTickets for help on using tickets.