contour on surface

  • 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

    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