# importing Magics module
from Magics.macro import *
from profile import profile
from timeserie import msl_timeserie
from timeserie import precip_timeserie
#Setting the output
output = output(output_name = 'layout',
output_formats = ["png"],
output_name_first_page_number = "off")
profile_left = page(
layout='positional',
page_frame='off',
page_x_length=15.,
page_id_line='off',
subpage_y_length=17.,
)
graph_bottom = page(
layout='positional',
page_frame='off',
page_x_length=15.,
page_y_length= 10.,
page_id_line='off',
page_x_position=15.,
page_y_position=0.5,
subpage_x_position=1.5,
subpage_y_position=0.5,
subpage_y_length=7.,
)
graph_top = page(
layout='positional',
page_frame='off',
page_x_length=15.,
page_y_length=10.,
page_id_line='off',
page_x_position=15.,
page_y_position=10.5,
subpage_x_position=1.5,
subpage_y_position=0.5,
subpage_y_length=7.,
)
plot(output,
profile_left, profile(title_size=0.6),
graph_bottom, msl_timeserie(title_size=0.6),
graph_top, precip_timeserie(title_size=0.6),
) |