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

Create a complex_plot3d function. #24335

Open
EmmanuelCharpentier mannequin opened this issue Dec 7, 2017 · 2 comments
Open

Create a complex_plot3d function. #24335

EmmanuelCharpentier mannequin opened this issue Dec 7, 2017 · 2 comments

Comments

@EmmanuelCharpentier
Copy link
Mannequin

EmmanuelCharpentier mannequin commented Dec 7, 2017

[ Inspired by this ask.sagemath question ]

The complex_plot function allows us to plot a complex function, using brightness (a. k. a. hue) to represent the modulus and color (a. k. a. value) to represent this argument. This is in fact an (over-) simplified version of domain coloring.

This representation is hard to use for functions with a large range of modules : zeroes (i. e. black spots) are quite hard to pinpoint in a dark background (happens when the function is continuous at its zeroes), poles (i. e. white spots) are usually indistinguishable from a bight and light environment. Furthermore, people with color vision impairment may have these problems worsened for them.

A popular representation of complex function is to use a 3D plot, using z to represent the modulus of f(x+I*y), using color to represent the argument ; this is, for example, the representation used by the Digital Library of Mathematica Functions, a. k. a. Abramowitz and Stegun on the Web, which also defines a specific mapping of argument to color aiming at easing the interpretation of the graphs.

Using some undocumented features of our 3D plotting infrastructure (see #24331), creating such a 3D-plot of a complex function is almost trivial (poles need special handling). The trick is to do if fast...

In order to avoid to loose these functions at the next upgrade of our 3D infrastructure, we depend on the documentation of these features.

Depends on #24331

Component: graphics

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

@EmmanuelCharpentier EmmanuelCharpentier mannequin added this to the sage-8.2 milestone Dec 7, 2017
@EmmanuelCharpentier

This comment has been minimized.

@EmmanuelCharpentier

This comment has been minimized.

@mkoeppe mkoeppe removed this from the sage-8.2 milestone Dec 29, 2022
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

1 participant