out3Plot.outCom1DFA.addDem2Plot

addDem2Plot(ax, dem, what='slope', extent='', origHeader=False)[source]

Add dem to the background of a plot

Parameters
  • ax (matplotlib ax object)

  • dem (dict) – dem dictionary with normal information

  • what (str) – what information about the dem will be plotted? slope: use the dem slope (computed from the normals) to color the plot z : use the elevation to color the plot

  • origHeader (bool) – if True use originalHeader and not header