Ticket #3315 (new enhancement)

Opened 2 years ago

Last modified 4 months ago

parametric plot should accept a function that returns a tuple

Reported by: mhampton Owned by: was
Priority: minor Milestone: sage-feature
Component: graphics Keywords: parametric_plot
Cc: Author(s):
Report Upstream: N/A Reviewer(s):
Merged in: Work issues:

Description

Subject says it all. I (Marshall Hampton) will work on this if I have time; should be pretty easy. Currently parametric_plot wants a tuple of functions; I think it should do that OR accept a function that returns a tuple.

Change History

follow-up: ↓ 3   Changed 18 months ago by jason

See also #3313 for another input format parametric_plot should take: vectors.

  Changed 18 months ago by jason

Really, parametric_plot should take functions returning any of the allowed types (tuple, list, or with #3313, vectors).

in reply to: ↑ 1   Changed 4 months ago by jason

  • upstream set to N/A

Replying to jason:

See also #3313 for another input format parametric_plot should take: vectors.

#3313 has nothing to do with vectors. And now, parametric_plot takes vectors anyway:

sage: r(t)=[t,t+1]
sage: parametric_plot(r, (t,0,1))

sage: parametric_plot(r(t), (t,0,1))

Note: See TracTickets for help on using tickets.