Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ParametricSurface bug #1515

Closed
robertwb opened this issue Dec 15, 2007 · 3 comments
Closed

ParametricSurface bug #1515

robertwb opened this issue Dec 15, 2007 · 3 comments

Comments

@robertwb
Copy link
Contributor

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)))

Component: graphics

Issue created by migration from https://trac.sagemath.org/ticket/1515

@robertwb
Copy link
Contributor Author

Attachment: parametric-surface.diff.gz

@robertwb
Copy link
Contributor Author

comment:1

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).

@robertwb robertwb assigned robertwb and unassigned williamstein Dec 15, 2007
@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Dec 15, 2007

comment:2

Merged in 2.9.rc0.

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Dec 15, 2007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants