1
$\begingroup$

How can I specify where and/or how many contours appear in ComplexPlot and ComplexPlot3D when using the "CyclicReImLogAbs" color function? I'm referring specifically to the black and white lines in such plots (see below).

A minimal example:

ComplexPlot3D[z^2, {z, -1 - I, 1 + I}, ColorFunction -> "CyclicReImLogAbs"]

enter image description here

$\endgroup$
4
  • $\begingroup$ The documentation seems to indicate that the dark and light highlighted lines that you refer to are characteristics of the function being plotted, ergo, to change the number and location of such lines, you should change the function itself. $\endgroup$ – CA Trevillian Jun 9 at 5:49
  • $\begingroup$ This doesn’t make sense to me. As far as I can tell, the black lines are contours of constant Re(f), Im(f), and the white lines are contours of constant Abs[Log[f]]. Certainly different functions will have different contour, yes... but I am asking how to specify which contours appear for a given function, eg as in ContourPlot. $\endgroup$ – sferics Jun 9 at 11:28
  • 1
    $\begingroup$ Unfortunately, the spacing of the contours is baked into the color function. You would need to use something like Simon's code here, if you need that level of customization. On the other hand, you could request this feature to Support. $\endgroup$ – J. M.'s torpor Jun 10 at 2:08
  • $\begingroup$ What is “Simon’s code”? $\endgroup$ – sferics Jun 10 at 22:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.