Opened 13 years ago

Closed 13 years ago

#2409 closed defect (fixed)

plotting constant functions throws an error

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

Status badges

Description

The command

sage: plot(x+1,(x,1,4))

produces a very nice line with slope 1 (and I love the syntax which I think is a moderately recent improvement!).

By analogy,

sage: plot(1,(x,1,4))

should produce a horizontal line.

Change History (7)

comment:1 Changed 13 years ago by mabshoff

  • Milestone set to sage-2.10.3

comment:2 Changed 13 years ago by mabshoff

  • Summary changed from plot'ting constants to plotting constant functions throws an error

comment:3 Changed 13 years ago by mhansen

These will be fixed by #3952

comment:4 Changed 13 years ago by mhansen

Note that this depends on #2410 and #3853.

comment:5 Changed 13 years ago by mhansen

  • Summary changed from plotting constant functions throws an error to [with patch, needs review] plotting constant functions throws an error

comment:6 Changed 13 years ago by mhansen

  • Summary changed from [with patch, needs review] plotting constant functions throws an error to plotting constant functions throws an error

comment:7 Changed 13 years ago by mabshoff

  • Resolution set to fixed
  • Status changed from new to closed

Since #3952 was merged this is fixed.

Cheers,

Michael

Note: See TracTickets for help on using tickets.