Ticket #12532 (closed enhancement: fixed)
plot3d transformations should take symbolic vectors
| Reported by: | jason | Owned by: | mmarco |
|---|---|---|---|
| Priority: | minor | Milestone: | sage-5.10 |
| Component: | graphics | Keywords: | beginner |
| Cc: | kcrisman | Work issues: | |
| Report Upstream: | N/A | Reviewers: | Miguel Marco |
| Authors: | Veronica Suaste | Merged in: | sage-5.10.beta4 |
| Dependencies: | Stopgaps: |
Description
This works:
var('r,theta,z,rho,phi')
cylindrical=[r*cos(theta), r*sin(theta), z]
plot3d(3,(theta,0,pi/2),(z,0,pi/2),transformation=cylindrical)
but this doesn't (but should work)
cylindrical(r,theta,z)=[r*cos(theta), r*sin(theta), z] plot3d(3,(theta,0,pi/2),(z,0,pi/2),transformation=cylindrical)
The problem is we pay too much attention to the type passed into the transformation argument. We should also allow symbolic vectors, as well as lists and tuples.
Attachments
Change History
Changed 12 days ago by veronica
-
attachment
trac_12532_transformation_symbolic_vector.patch
added
Now the transformation also can be done with a symbolic vector
comment:2 Changed 12 days ago by mmarco
- Owner changed from jason, was to mmarco
- Reviewers set to mmarco
Looks good.
comment:5 Changed 11 days ago by kcrisman
- Reviewers changed from mmarco to Miguel Marco
- Authors set to Veronica Suaste
PS to mmarco - your web link on the main Trac page gives Página no encontrada.
Note: See
TracTickets for help on using
tickets.
