Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Help understanding pm3d

Help
2007-03-24
2013-02-10
  • 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

    test.dat:
    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.

    Thanks!
    Nathan

     
    • 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.