Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Geographical area we want to work with today is defined by its lower-left corner [20oN, 110oE] and its upper-right corner [70oN, 30oE]. The Documentation can be found here.Have a look at the  subpage documentation to learn how to setup a projection .

Section
Column
width50%
Info
titleParameters to check

subpage_lower_left_longitude

subpage_lower_left_latitude
subpage_upper_right_longitude
subpage_upper_right_latitude
Code Block
themeConfluence
languagepython
titlePython - Setting a projection
collapsetrue
from Magics.macro import *

#settings of the png output 
output = output(
			output_formats = ['png'],
  			output_name = "coast",
    		output_name_first_page_number = "off"
    )
##settings of the coastlines attributes 
coast = mcoast(
  map_coastline_land_shade = "on",
  map_coastline_land_shade_colour = "cream",
  map_grid_line_style = "dash",
  map_grid_colour = "brown",
  map_label_colour = "brown",
  map_coastline_colour = "brown"
)

#The plot command will now use the coast object
plot(output, coast)
Column
width200px

 

Image Added

 

 

 

 

Section

 

 

Column
width200px

 

Image Removed 

 


Setting the output

The object outputallows the definition of the output format, and the settings of the output file name .

...