Skip to content

Adding coordinate transformations to plot3d #7872

@sagetrac-olazo

Description

@sagetrac-olazo

While developing a command called transform_plot3d, that generalized ploting in diferent coordinate systems, Jason Grout suggested to me that such a command would be better implemented within plot3d.

I agreed to that, so I propose an adition to plot3d's syntax: "plot3d(function,var1range,var2range,transformation=None,**kwds)" where transformation is a 4-tuple containing 3 functions of arity 3, and a variable which is to be interpreted as the function to be ploted. Like this (rcos(fi),rsin(fi),z,r), so the function will be ploted as r.

Examples can be found in http://www.sagenb.org/home/pub/1328/.

I've just added a patch.

CC: @sagetrac-wcauchois @jasongrout @sagetrac-mhampton @sagetrac-olazo @kcrisman

Component: graphics

Author: Bill Cauchois, Oscar Gerardo Lazo Arjona, Jason Grout

Reviewer: Karl-Dieter Crisman, Jason Grout

Merged: sage-4.3.4.alpha0

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions