Another color scheme for 3D visualizations of complex functions












2












$begingroup$


I am looking for visualizations of complex functions $f(z) = r(z)e^{ivarphi(z)}$ which plot the magnitude $r(z)$ as height and display the argument $varphi(z)$ on this graph.



On the cover of Abramowitz and Stegun's Handbook of Mathematical Functions



enter image description here



the argument is displayed as labelled lines perpendicular to the lines of equal height ("iso-phase lines").



Displaying the phase by color wouldn't be a big deal, especially by this HSL color function:



$H(varphi)$ $= begin{cases} 0 &text{ if } 0 leq varphi < pi text{(red)}\
2pi/3 &text{ if } pi leq varphi < 2pi text{(green)} end{cases}$



$L(varphi)$ $= |varphi - pi|/pi$



$S(varphi)$ $= 1$



These colors would indicate how far the phase is away from $0$ (white for $varphi = 0$, black for $varphi = pi$ and if it is less or greater than $pi$ (shades of red for $varphi < pi$, shades of green for $varphi > pi$):



enter image description here



Full red means $varphi = pi/2$, full green means $varphi = 3pi/2$.



But you may also plot the magnitude as height and display the phase by simply



$H(varphi) = varphi$



$L(varphi) = 1$



$S(varphi) = 1$



which seems to be some kind of standard, right?



To emphasize the difference between these two coloring schemes consider the function $f(z) = z^3 + z^2 + z$ and the images of the circle with radius $r = 1.3$:



enter image description here![enter image description here



It's probably not only a matter of taste which of these two colorings one prefers.



My questions are:





  • Is this color mapping already established? Does it have a name (to search for)?


  • Can you give me links to specific examples of visualized complex functions plotting magnitude as height and making use of this color mapping?





Ideally, you would be able (as unfortunately I am not) to produce such plots - e.g. with Mathematica - and upload them in an answer. (If so: please without any contur lines, if possible.)










share|cite|improve this question











$endgroup$












  • $begingroup$
    Are you asking about the general idea of mapping magnitude to height and argument to colour, or specifically your particular choice of colour map? If the former, see e.g. functions.wolfram.com/ElementaryFunctions/Csc/visualizations/5 (scroll down to "Absolute value part over the complex plane").
    $endgroup$
    – Rahul
    Jan 15 at 12:42










  • $begingroup$
    @Rahul: I am asking specifically about my particular choice of color map (which makes use of only two base colors, which may be interpreted somehow intuitively). In the examples on the Wolfram page we always see many colors which a) looks somehow psychedelic and (to me) unpleasant, and b) is confusing and the colors are much harder to interpret. But that's - admittedly - opinion-based, so I didn't mention it in my question.
    $endgroup$
    – Hans Stricker
    Jan 15 at 12:50










  • $begingroup$
    @Rahul: The standard approach seems to be $H(varphi) = varphi$ - just like in the case of domain-coloring - and $L(varphi) = 1$. Should I mention this in my question?
    $endgroup$
    – Hans Stricker
    Jan 15 at 12:51












  • $begingroup$
    @Rahul: Would you mind having a look at my edited question?
    $endgroup$
    – Hans Stricker
    Jan 15 at 14:03










  • $begingroup$
    I don't know specifically about visualizing complex functions. But colour map choices have received a fair amount of attention in the scientific visualization community, although they usually work with colour maps on an interval rather than on a circle. In that context, they call colour maps similar to the one you've devised diverging colour maps. See Moreland, "Diverging Color Maps for Scientific Visualization" (2009) for a detailed discussion.
    $endgroup$
    – Rahul
    Jan 15 at 16:32


















2












$begingroup$


I am looking for visualizations of complex functions $f(z) = r(z)e^{ivarphi(z)}$ which plot the magnitude $r(z)$ as height and display the argument $varphi(z)$ on this graph.



On the cover of Abramowitz and Stegun's Handbook of Mathematical Functions



enter image description here



the argument is displayed as labelled lines perpendicular to the lines of equal height ("iso-phase lines").



Displaying the phase by color wouldn't be a big deal, especially by this HSL color function:



$H(varphi)$ $= begin{cases} 0 &text{ if } 0 leq varphi < pi text{(red)}\
2pi/3 &text{ if } pi leq varphi < 2pi text{(green)} end{cases}$



$L(varphi)$ $= |varphi - pi|/pi$



$S(varphi)$ $= 1$



These colors would indicate how far the phase is away from $0$ (white for $varphi = 0$, black for $varphi = pi$ and if it is less or greater than $pi$ (shades of red for $varphi < pi$, shades of green for $varphi > pi$):



enter image description here



Full red means $varphi = pi/2$, full green means $varphi = 3pi/2$.



But you may also plot the magnitude as height and display the phase by simply



$H(varphi) = varphi$



$L(varphi) = 1$



$S(varphi) = 1$



which seems to be some kind of standard, right?



To emphasize the difference between these two coloring schemes consider the function $f(z) = z^3 + z^2 + z$ and the images of the circle with radius $r = 1.3$:



enter image description here![enter image description here



It's probably not only a matter of taste which of these two colorings one prefers.



My questions are:





  • Is this color mapping already established? Does it have a name (to search for)?


  • Can you give me links to specific examples of visualized complex functions plotting magnitude as height and making use of this color mapping?





Ideally, you would be able (as unfortunately I am not) to produce such plots - e.g. with Mathematica - and upload them in an answer. (If so: please without any contur lines, if possible.)










share|cite|improve this question











$endgroup$












  • $begingroup$
    Are you asking about the general idea of mapping magnitude to height and argument to colour, or specifically your particular choice of colour map? If the former, see e.g. functions.wolfram.com/ElementaryFunctions/Csc/visualizations/5 (scroll down to "Absolute value part over the complex plane").
    $endgroup$
    – Rahul
    Jan 15 at 12:42










  • $begingroup$
    @Rahul: I am asking specifically about my particular choice of color map (which makes use of only two base colors, which may be interpreted somehow intuitively). In the examples on the Wolfram page we always see many colors which a) looks somehow psychedelic and (to me) unpleasant, and b) is confusing and the colors are much harder to interpret. But that's - admittedly - opinion-based, so I didn't mention it in my question.
    $endgroup$
    – Hans Stricker
    Jan 15 at 12:50










  • $begingroup$
    @Rahul: The standard approach seems to be $H(varphi) = varphi$ - just like in the case of domain-coloring - and $L(varphi) = 1$. Should I mention this in my question?
    $endgroup$
    – Hans Stricker
    Jan 15 at 12:51












  • $begingroup$
    @Rahul: Would you mind having a look at my edited question?
    $endgroup$
    – Hans Stricker
    Jan 15 at 14:03










  • $begingroup$
    I don't know specifically about visualizing complex functions. But colour map choices have received a fair amount of attention in the scientific visualization community, although they usually work with colour maps on an interval rather than on a circle. In that context, they call colour maps similar to the one you've devised diverging colour maps. See Moreland, "Diverging Color Maps for Scientific Visualization" (2009) for a detailed discussion.
    $endgroup$
    – Rahul
    Jan 15 at 16:32
















2












2








2


1



$begingroup$


I am looking for visualizations of complex functions $f(z) = r(z)e^{ivarphi(z)}$ which plot the magnitude $r(z)$ as height and display the argument $varphi(z)$ on this graph.



On the cover of Abramowitz and Stegun's Handbook of Mathematical Functions



enter image description here



the argument is displayed as labelled lines perpendicular to the lines of equal height ("iso-phase lines").



Displaying the phase by color wouldn't be a big deal, especially by this HSL color function:



$H(varphi)$ $= begin{cases} 0 &text{ if } 0 leq varphi < pi text{(red)}\
2pi/3 &text{ if } pi leq varphi < 2pi text{(green)} end{cases}$



$L(varphi)$ $= |varphi - pi|/pi$



$S(varphi)$ $= 1$



These colors would indicate how far the phase is away from $0$ (white for $varphi = 0$, black for $varphi = pi$ and if it is less or greater than $pi$ (shades of red for $varphi < pi$, shades of green for $varphi > pi$):



enter image description here



Full red means $varphi = pi/2$, full green means $varphi = 3pi/2$.



But you may also plot the magnitude as height and display the phase by simply



$H(varphi) = varphi$



$L(varphi) = 1$



$S(varphi) = 1$



which seems to be some kind of standard, right?



To emphasize the difference between these two coloring schemes consider the function $f(z) = z^3 + z^2 + z$ and the images of the circle with radius $r = 1.3$:



enter image description here![enter image description here



It's probably not only a matter of taste which of these two colorings one prefers.



My questions are:





  • Is this color mapping already established? Does it have a name (to search for)?


  • Can you give me links to specific examples of visualized complex functions plotting magnitude as height and making use of this color mapping?





Ideally, you would be able (as unfortunately I am not) to produce such plots - e.g. with Mathematica - and upload them in an answer. (If so: please without any contur lines, if possible.)










share|cite|improve this question











$endgroup$




I am looking for visualizations of complex functions $f(z) = r(z)e^{ivarphi(z)}$ which plot the magnitude $r(z)$ as height and display the argument $varphi(z)$ on this graph.



On the cover of Abramowitz and Stegun's Handbook of Mathematical Functions



enter image description here



the argument is displayed as labelled lines perpendicular to the lines of equal height ("iso-phase lines").



Displaying the phase by color wouldn't be a big deal, especially by this HSL color function:



$H(varphi)$ $= begin{cases} 0 &text{ if } 0 leq varphi < pi text{(red)}\
2pi/3 &text{ if } pi leq varphi < 2pi text{(green)} end{cases}$



$L(varphi)$ $= |varphi - pi|/pi$



$S(varphi)$ $= 1$



These colors would indicate how far the phase is away from $0$ (white for $varphi = 0$, black for $varphi = pi$ and if it is less or greater than $pi$ (shades of red for $varphi < pi$, shades of green for $varphi > pi$):



enter image description here



Full red means $varphi = pi/2$, full green means $varphi = 3pi/2$.



But you may also plot the magnitude as height and display the phase by simply



$H(varphi) = varphi$



$L(varphi) = 1$



$S(varphi) = 1$



which seems to be some kind of standard, right?



To emphasize the difference between these two coloring schemes consider the function $f(z) = z^3 + z^2 + z$ and the images of the circle with radius $r = 1.3$:



enter image description here![enter image description here



It's probably not only a matter of taste which of these two colorings one prefers.



My questions are:





  • Is this color mapping already established? Does it have a name (to search for)?


  • Can you give me links to specific examples of visualized complex functions plotting magnitude as height and making use of this color mapping?





Ideally, you would be able (as unfortunately I am not) to produce such plots - e.g. with Mathematica - and upload them in an answer. (If so: please without any contur lines, if possible.)







complex-analysis visualization






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 15 at 14:56







Hans Stricker

















asked Jan 15 at 12:11









Hans StrickerHans Stricker

6,29243989




6,29243989












  • $begingroup$
    Are you asking about the general idea of mapping magnitude to height and argument to colour, or specifically your particular choice of colour map? If the former, see e.g. functions.wolfram.com/ElementaryFunctions/Csc/visualizations/5 (scroll down to "Absolute value part over the complex plane").
    $endgroup$
    – Rahul
    Jan 15 at 12:42










  • $begingroup$
    @Rahul: I am asking specifically about my particular choice of color map (which makes use of only two base colors, which may be interpreted somehow intuitively). In the examples on the Wolfram page we always see many colors which a) looks somehow psychedelic and (to me) unpleasant, and b) is confusing and the colors are much harder to interpret. But that's - admittedly - opinion-based, so I didn't mention it in my question.
    $endgroup$
    – Hans Stricker
    Jan 15 at 12:50










  • $begingroup$
    @Rahul: The standard approach seems to be $H(varphi) = varphi$ - just like in the case of domain-coloring - and $L(varphi) = 1$. Should I mention this in my question?
    $endgroup$
    – Hans Stricker
    Jan 15 at 12:51












  • $begingroup$
    @Rahul: Would you mind having a look at my edited question?
    $endgroup$
    – Hans Stricker
    Jan 15 at 14:03










  • $begingroup$
    I don't know specifically about visualizing complex functions. But colour map choices have received a fair amount of attention in the scientific visualization community, although they usually work with colour maps on an interval rather than on a circle. In that context, they call colour maps similar to the one you've devised diverging colour maps. See Moreland, "Diverging Color Maps for Scientific Visualization" (2009) for a detailed discussion.
    $endgroup$
    – Rahul
    Jan 15 at 16:32




















  • $begingroup$
    Are you asking about the general idea of mapping magnitude to height and argument to colour, or specifically your particular choice of colour map? If the former, see e.g. functions.wolfram.com/ElementaryFunctions/Csc/visualizations/5 (scroll down to "Absolute value part over the complex plane").
    $endgroup$
    – Rahul
    Jan 15 at 12:42










  • $begingroup$
    @Rahul: I am asking specifically about my particular choice of color map (which makes use of only two base colors, which may be interpreted somehow intuitively). In the examples on the Wolfram page we always see many colors which a) looks somehow psychedelic and (to me) unpleasant, and b) is confusing and the colors are much harder to interpret. But that's - admittedly - opinion-based, so I didn't mention it in my question.
    $endgroup$
    – Hans Stricker
    Jan 15 at 12:50










  • $begingroup$
    @Rahul: The standard approach seems to be $H(varphi) = varphi$ - just like in the case of domain-coloring - and $L(varphi) = 1$. Should I mention this in my question?
    $endgroup$
    – Hans Stricker
    Jan 15 at 12:51












  • $begingroup$
    @Rahul: Would you mind having a look at my edited question?
    $endgroup$
    – Hans Stricker
    Jan 15 at 14:03










  • $begingroup$
    I don't know specifically about visualizing complex functions. But colour map choices have received a fair amount of attention in the scientific visualization community, although they usually work with colour maps on an interval rather than on a circle. In that context, they call colour maps similar to the one you've devised diverging colour maps. See Moreland, "Diverging Color Maps for Scientific Visualization" (2009) for a detailed discussion.
    $endgroup$
    – Rahul
    Jan 15 at 16:32


















$begingroup$
Are you asking about the general idea of mapping magnitude to height and argument to colour, or specifically your particular choice of colour map? If the former, see e.g. functions.wolfram.com/ElementaryFunctions/Csc/visualizations/5 (scroll down to "Absolute value part over the complex plane").
$endgroup$
– Rahul
Jan 15 at 12:42




$begingroup$
Are you asking about the general idea of mapping magnitude to height and argument to colour, or specifically your particular choice of colour map? If the former, see e.g. functions.wolfram.com/ElementaryFunctions/Csc/visualizations/5 (scroll down to "Absolute value part over the complex plane").
$endgroup$
– Rahul
Jan 15 at 12:42












$begingroup$
@Rahul: I am asking specifically about my particular choice of color map (which makes use of only two base colors, which may be interpreted somehow intuitively). In the examples on the Wolfram page we always see many colors which a) looks somehow psychedelic and (to me) unpleasant, and b) is confusing and the colors are much harder to interpret. But that's - admittedly - opinion-based, so I didn't mention it in my question.
$endgroup$
– Hans Stricker
Jan 15 at 12:50




$begingroup$
@Rahul: I am asking specifically about my particular choice of color map (which makes use of only two base colors, which may be interpreted somehow intuitively). In the examples on the Wolfram page we always see many colors which a) looks somehow psychedelic and (to me) unpleasant, and b) is confusing and the colors are much harder to interpret. But that's - admittedly - opinion-based, so I didn't mention it in my question.
$endgroup$
– Hans Stricker
Jan 15 at 12:50












$begingroup$
@Rahul: The standard approach seems to be $H(varphi) = varphi$ - just like in the case of domain-coloring - and $L(varphi) = 1$. Should I mention this in my question?
$endgroup$
– Hans Stricker
Jan 15 at 12:51






$begingroup$
@Rahul: The standard approach seems to be $H(varphi) = varphi$ - just like in the case of domain-coloring - and $L(varphi) = 1$. Should I mention this in my question?
$endgroup$
– Hans Stricker
Jan 15 at 12:51














$begingroup$
@Rahul: Would you mind having a look at my edited question?
$endgroup$
– Hans Stricker
Jan 15 at 14:03




$begingroup$
@Rahul: Would you mind having a look at my edited question?
$endgroup$
– Hans Stricker
Jan 15 at 14:03












$begingroup$
I don't know specifically about visualizing complex functions. But colour map choices have received a fair amount of attention in the scientific visualization community, although they usually work with colour maps on an interval rather than on a circle. In that context, they call colour maps similar to the one you've devised diverging colour maps. See Moreland, "Diverging Color Maps for Scientific Visualization" (2009) for a detailed discussion.
$endgroup$
– Rahul
Jan 15 at 16:32






$begingroup$
I don't know specifically about visualizing complex functions. But colour map choices have received a fair amount of attention in the scientific visualization community, although they usually work with colour maps on an interval rather than on a circle. In that context, they call colour maps similar to the one you've devised diverging colour maps. See Moreland, "Diverging Color Maps for Scientific Visualization" (2009) for a detailed discussion.
$endgroup$
– Rahul
Jan 15 at 16:32












0






active

oldest

votes











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3074360%2fanother-color-scheme-for-3d-visualizations-of-complex-functions%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3074360%2fanother-color-scheme-for-3d-visualizations-of-complex-functions%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

Npm cannot find a required file even through it is in the searched directory

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith