I would like to know how to draw the discontinuities of a piecewise function, but using the addplot3 (that is, surface). For instance, consider the example here, you can see that the discontinuities are drawn using filled/empty circles. However, in my case, I would like to make an "empty wall" in a 3d graph in order to show such discontinuity. How can I do this?

In the figure below is my plotting, where the wall (you can see the wall from the rectangle at the top to the pyramid starting at z = 0.5) is currently being drawing. enter image description here

  • Possible duplicate: "Plotting a 3d surface in tikz, with a limit to the infinity". The accepted answer includes such a solution. – DJP Oct 31 '17 at 14:38
  • 1
    Thank you for the suggestion @DJP. However, my question is different, since I would like to remove all the parts that compose my jump. In the case of my figure, it is all the x and y coordinates with z equal to 0.5 (which compose the "wall") – Anderson Carniel Nov 1 '17 at 17:55
  • 1
    What have you done so far? Could you add some code and data points or functions? – Bobyandbob Aug 8 '18 at 14:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.