When plotting a plane in Matplotlib, I do not get a solid color. I get the following with many shades of red:
I am using Matplotlib version 1.5.1 in Python 3.5.2. The code that I'm running is below:
import numpy as np from mpl_toolkits.mplot3d import axes3d import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(111, projection='3d') xaxis = np.linspace(-3, 3, 201) yaxis = np.linspace(-3, 3, 201) X, Y = np.meshgrid(xaxis, yaxis) Z = 8 - 3*X - 3*Y ax.plot_surface(X,Y,Z,color='r') plt.savefig('not_red.png')