contour on surface

Help
2012-08-07
2013-02-10
  • I am using 4.6. when I plot a surface from a data file with pm3d and contours on surface the contours seem to be drawn after the surface so the part of the contour that is supposed to be hidden by the surface is visible. any way to avoid that?

     
  • Ethan Merritt
    Ethan Merritt
    2012-08-09

    Have you tried "set hidden"?

    This works for me:

      set hidden
      set contour surface
      plot foo with pm3d, foo with lines nosurface
    
     
  • it works thanks