Ticket #1515 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

[with patch] ParametricSurface bug

Reported by: robertwb Owned by: robertwb
Priority: major Milestone: sage-2.9
Component: graphics Keywords:
Cc: Work issues:
Report Upstream: Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

def f(x,y): return cos(x)*sin(y), sin(x)*sin(y), cos(y)+log(tan(y/2))+0.2*x
show(ParametricSurface(f, (srange(0,12.4,0.1), srange(0.1,2,0.1))))

doesn't render. Also

[08:48am] williamstein: This should work but doesn't:
[08:48am] williamstein: S = ParametricSurface(lambda (x,y):(cos(x),
sin(x), y), domain=(range(10),range(10)))

Attachments

parametric-surface.diff Download (2.0 KB) - added by robertwb 5 years ago.

Change History

Changed 5 years ago by robertwb

comment:1 Changed 5 years ago by robertwb

  • Owner changed from was to robertwb
  • Status changed from new to assigned
  • Summary changed from ParametricSurface bug to [with patch] ParametricSurface bug

Now the first example works. Also, the second example almost does

S = ParametricSurface(lambda x,y:(cos(x),sin(x), y), domain=(range(10),range(10)))

(Note the missing ()'s, it expects to arguments, not a tuple).

comment:2 Changed 5 years ago by mabshoff

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

Merged in 2.9.rc0.

Note: See TracTickets for help on using tickets.