Ticket #2236 (closed defect: fixed)

Opened 6 months ago

Last modified 6 months ago

[with patch, positive review] plot randomizes the endpoints of the interval and causes wiggling in the graph

Reported by: jason Assigned to: was
Priority: major Milestone: sage-2.10.2
Component: graphics Keywords:
Cc:

Description

p=plot(x, (x,-1,1)) p[0][0] == -1 p[0][-1] == 1

They will almost always return false before the patch. After the patch, the two statements should return True always.

Attachments

plot_fix_endpoints.patch (1.4 kB) - added by jason on 02/20/2008 02:51:08 PM.

Change History

02/20/2008 02:43:32 PM changed by was

I agree with the suggestion to *not* randomize the endpoints. That's bad.

02/20/2008 02:51:08 PM changed by jason

  • attachment plot_fix_endpoints.patch added.

02/20/2008 02:57:21 PM changed by jason

  • summary changed from plot randomizes the endpoints of the interval and causes wiggling in the graph to [with patch, needs review] plot randomizes the endpoints of the interval and causes wiggling in the graph.

02/20/2008 03:05:01 PM changed by mabshoff

  • status changed from new to closed.
  • resolution set to fixed.

Merged in Sage 2.10.2.alpha2

02/20/2008 03:05:58 PM changed by jason

For the record, on IRC:

[16:55] <wstein> #2236 -- positive review.

02/20/2008 03:06:06 PM changed by jason

  • summary changed from [with patch, needs review] plot randomizes the endpoints of the interval and causes wiggling in the graph to [with patch, positive review] plot randomizes the endpoints of the interval and causes wiggling in the graph.