.. raw:: html Top_PLLagrantoTraj ------------------ .. image:: ../plots/Top_PLLagrantoTraj-200.0hPait2012_10_17_12_00_00vt2012_10_18_00_00_00.png **How to use this plot** Make sure you have the required datafields (`number_of_wcb_trajectories`, `number_of_insitu_trajectories`, `number_of_mix_trajectories`) You can use it as is by appending this code into your `mswms_settings.py`: .. code-block:: python from mslib.mswms.mpl_hsec_styles import HS_LagrantoTrajStyle_PL_01 register_horizontal_layers = [] if not register_horizontal_layers else register_horizontal_layers register_horizontal_layers.append((HS_LagrantoTrajStyle_PL_01, [next(iter(data))])) **If you want to modify the plot** 1. Download this :download:`file ` 2. Put this file into your mswms_settings.py directory, e.g. `~/mss` 3. Append this code into your `mswms_settings.py`: .. code-block:: python from Top_PLLagrantoTraj import HS_LagrantoTrajStyle_PL_01 register_horizontal_layers = [] if not register_horizontal_layers else register_horizontal_layers register_horizontal_layers.append((HS_LagrantoTrajStyle_PL_01, [next(iter(data))])) .. raw:: html
Plot Code .. literalinclude:: downloads/Top_PLLagrantoTraj.py .. raw:: html