Help understanding pm3d

  • Nathan Hüsken

    Nathan Hüsken - 2007-03-24

    Hello dear community,

    I have a datafile with data depending on 2 variables. I want to plot it with a pm3d map, but I am unsuccesfull.
    I tried the following:

    set pm3d map
    splot "test.dat" with pm3d

    0 0 1
    0 1 2
    1 0 3
    1 1 4

    The image I get has the color-key on the right, but the whole plot is only white :(

    What am I doing wrong?
    I am using gnuplot Version 4.0 patchlevel 0.


    • Hans-Bernhard Broeker

      The problem is that you requested a map, but your data isn't a map --- it's a single curve through 3D space.  Read "help glossary" and "help splot datafile" for the details.


Log in to post a comment.