Opened 12 years ago

Last modified 6 years ago

#11225 new defect

improve piecewise plotting — at Version 1

Reported by: Karl-Dieter Crisman Owned by: jason, was
Priority: major Milestone: sage-7.3
Component: graphics Keywords: piecewise
Cc: David Joyner, Jason Grout, Robert Pollak, Karl-Dieter Crisman, Volker Braun, Samuel Lelièvre, Matthias Köppe, Eviatar Bach, Ralf Stephan Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by Karl-Dieter Crisman)

Until we actually totally rewrite piecewise functions, we should improve some things.

For concreteness, here is one thing that should work but doesn't. I'm sure there are more - add to this list, and then whatever isn't fixed in this ticket can be moved to another ticket. I just want to make sure they're listed in one place, not ten tickets.

List:

  • plotting more than one
    sage: f = Piecewise([[(0,1),x^3], [(1,2),x^2]], x)
    sage: plot([f,x^3],(x,0,2))
    
  • Maybe unify with plot_step_function, which currently is sort of its own thing?

Change History (1)

comment:1 Changed 12 years ago by Karl-Dieter Crisman

Description: modified (diff)
Note: See TracTickets for help on using tickets.