Menu

#2793 Example in "Complex values" section doesn't work as presented in text

open
nobody
None
2025-05-01
2025-05-01
Anonymous
No

Page http://gnuplot.info/docs_6.0/loc1215.html contains following code example

     set palette model HSV start 0.3 defined (0 0 1 1, 1 1 1 1)
     set cbrange [-pi:pi]
     set cbtics ("-π" -pi, "π" pi)
     set pm3d corners2color c1
     E0(z) = exp(-z)/z
     I = {0,1}
     splot '++' using 1:2:(abs(E0(x+I*y))):(arg(E0(x+I*y))) with pm3d

that must result in that graph, but with default labels
Intended figure, however actual graph looks way different (see attachment)

Version: 6.0 patchlevel 0
OS: Ubuntu 24.04
Terminal type: qt

Thank you,

1 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.