I want to build two planes and find their intersection line, but I get this result when it is impossible to determine where they intersect, because one plane overlaps the other.
The 3D projection should hide the invisible part of the plane, how can I achieve this result using matplotlib ?

You can clearly see that they must intersect on the plains.

Here is the code I used to get this result
import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D values = range(-10, 11) def plotPlane(plot, normal, d, values, colorName):
source share