from Magics.macro import *
#setting the output
output = output(
output_formats = ['png'],
output_name = "xsect_step1",
output_name_first_page_number = "off"
)
# Setting the cartesian view
projection = mmap(
subpage_map_projection='cartesian',
subpage_x_axis_type='geoline',
subpage_y_axis_type='logarithmic',
subpage_x_min_latitude=50.,
subpage_x_max_latitude=30.,
subpage_x_min_longitude=-90.,
subpage_x_max_longitude=-60.,
subpage_y_min=1020.,
subpage_y_max=200.,
)
# Vertical axis
vertical = maxis(
axis_orientation='vertical',
)
# Horizontal axis
horizontal = maxis(
axis_orientation='horizontal',
)
plot(output, projection, horizontal, vertical) |