out3Plot.outCom1DFA.addResult2Plot

addResult2Plot(ax, header, rasterData, resType, colorbar=True, contour=False)[source]

Add raster data to a plot

Parameters
  • ax (matplotlib ax object)

  • header (dict) – raster header dictionary

  • rasterData (2D numpy array) – data to plot

  • resType (str) – what kinf of result is it? ppr, pft…

  • colorbar (bool) – If true add the colorbar