You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

User defined level and colour list for shading

Note that these examples are only skeletons to illustrate the functionality of Magics.


You can download this Jupyter notebook and temperature data from ECMWF github space.








More about projections in projection examples.



More about coastline plotting in coastline examples.




Metview can help you choose colours for gradients method. Here you can read how Metview contouring icon can be used for finding the most suitable colours.







More about legend plotting in legends plotting examples.








More about text plotting in text plotting examples notebook.


Plotting in directly in Jupyter notebooks doesn't need output to be specified. Most of the time you will want an output.

To run this outside of Jupyter notebooks add this piece of code:
png = output(
    output_formats = ['png'],
    output_name_first_page_number = "off",
    output_name = "level_and_colour_list")
magics.plot(png, projection, temperature, contour, coast, legend, title)
  • No labels