from matplotlib.collections import LineCollection
from matplotlib.colors import ListedColormap,BoundaryNorm
cmap=ListedColormap(['r','b','m']) #设置不同颜色
norm=BoundaryNorm([0.1,1.1,2.1,2.9
from matplotlib.collections import LineCollection
from matplotlib.colors import ListedColormap,BoundaryNorm
cmap=ListedColormap(['r','b','m']) #设置不同颜色
norm=BoundaryNorm([0.1,1.1,2.1,2.9