Menu

#197 pm3d map 2D view seems to be from below, not above

closed
nobody
None
5
2024-09-26
2016-02-03
nophead
No

When I show a 3D view with set pm3d my X axis runs left to right and y axis bottom to top. When I switch to 2D with set pm3d map the X axis gets inverted as if the 2D view is from underneath instead of from above. I can't change it with set xrange, all I can do is make the colour key swap sides.

set view 0,0,1,1 on the other hand shows what I want but the Z axis key is all on top of itself.

Is this a bug or am I doing something wrong?

1 Attachments

Discussion

  • Ethan Merritt

    Ethan Merritt - 2016-02-04

    [shrug] set view map has always worked like that.
    You can reposition the color key using "set colorbox", and turn off the ztics using "unset ztics"

     
  • nophead

    nophead - 2016-02-04

    Thanks for the ztics tip, with that I can get what I need without using map.

    I don't understant why the set view map has always reversed the X axis and a Google image search of "gnuplot set view map" shows lots of images with the axes the right way round. Why would anybody want X to decrease left to right?

     
  • Ethan Merritt

    Ethan Merritt - 2024-09-26
    • Status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB