xs_build_orog

xs_build_orog(xs_d, orog_fs, bottom_level, colour)

Convenience function to build an orography area to be plotted in a mxsectview() with the given colour.

Parameters
  • xs_d (mcross_sect()) – cross section data object

  • orog_fs (Fieldset) – the orography data

  • bottom_level (number) – the bottom level of the orography area in the same units as the vertical axis of the cross section

  • colour (str) – the colour of the orography area

Return type

list of input_visualiser() and mgraph()

The orography values are extracted from the first field in orog_fs and they must be in the same units as the vertical axis of the cross section. The cross section definition itself is taken from xs_d. xs_build_curve() returns a list containing an input_visualiser() and an mgraph(), which can be directly used in plot().