maxis

../../_images/MAXIS.png

This is the visual definition responsible for specifying how the axes in non-geographic views (e.g. cartesianview()), are displayed. Note that maxis() does not define the projection or the coordinate range - this is done in the view.

Note

This function performs the same task as the Axis Plotting icon in Metview’s user interface. It accepts its parameters as keyword arguments, described below.

maxis(**kwargs)

Specifies the axis properties for non-geographic views.

Parameters
  • axis_orientation ({"horizontal", "vertical"}, default: "horizontal") – Orientation of the axis.

  • axis_position ({"bottom", "top", "left", "right", "automatic"}, default: "automatic") – Position of the axis.

  • axis_type ({"regular", "position_list", "logarithmic", "date", "geoline"}, default: "regular") – Method to position ticks on the axis.

  • axis_line ({"on", "off"}, default: "on") – Plots the axis line.

  • axis_line_colour (str, default: "automatic") – Colour of the axis line.

  • axis_line_style ({"solid", "dash", "dot", "chain_dot", "chain_dash"}, default: "solid") – Line style of the axis line.

  • axis_line_thickness (number, default: 2) – Thickness of the axis line.

  • axis_grid ({"on", "off"}, default: "off") – Plots the axis grid lines.

  • axis_grid_colour (str, default: "black") – Colour of the grid lines.

  • axis_grid_line_style ({"solid", "dash", "dot", "chain_dot", "chain_dash"}, default: "solid") – Line style of the grid lines.

  • axis_grid_thickness (number, default: 1) – Thickness of the grid lines.

  • axis_grid_reference_level (number, default: 1.0e21) – Reference value for the grid.

  • axis_grid_reference_colour (str, default: "automatic") – Colour of the reference grid line.

  • axis_grid_reference_line_style ({"solid", "dash", "dot", "chain_dot", "chain_dash"}, default: "solid") – Line style of the reference grid line.

  • axis_grid_reference_thickness (number, default: 2) – Thickness of the reference grid line.

  • axis_title ({"on", "off"}, default: "on") – Plots the axis title.

  • axis_title_text (str) – The axis title text.

  • axis_title_orientation ({"horizontal", "vertical", "parallel"}, default: "parallel") – Orientation of the axis title.

  • axis_title_position (number, default: -1) – Controls the distance of the axis title from the axis.

  • axis_title_colour (str, default: "automatic") – Colour of the axis title.

  • axis_title_height (number, default: 0.4) – Height of the axis title.

  • axis_title_font ({"arial", "courier", "helvetica", "times", "serif", "sansserif", "symbol"}, default: "sansserif") – Font name of the axis title.

  • axis_title_font_style ({"normal", "bold", "italic", "bolditalic"}, default: "normal") – Font style of the axis title.

  • axis_tick ({"on", "off"}, default: "on") – Plots ticks.

  • axis_tick_interval (number, default: 1.0e21) – Interval between ticks in user units.

  • axis_tick_position_list (number or list[number]) – List specifying the positions of ticks (in user coordinates!).

  • axis_tick_position ({"out", "in"}, default: "out") – Tick position, if it is “in” the ticks will be positioned inside the frame.

  • axis_tick_colour (str, default: "automatic") – Colour of the ticks.

  • axis_tick_size (number, default: 0.175) – Size of the ticks.

  • axis_tick_thickness (number, default: 2) – Thickness of the ticks.

  • axis_tick_label ({"on", "off"}, default: "on") – Plots tick labels.

  • axis_tick_label_type ({"number", "label_list", "latitude", "longitude"}, default: "number") – Type of the tick labels required.

  • axis_tick_label_frequency (number, default: 1) – Tick label frequency.

  • axis_tick_label_first ({"on", "off"}, default: "on") – Turn on/off the first (left or bottom) tick label.

  • axis_tick_label_last ({"on", "off"}, default: "on") – Turn on/off the last (right or top) tick label.

  • axis_tick_label_position ({"on_tick", "inter_tick"}, default: "on_tick") – Positions labels on or between ticks.

  • axis_tick_label_orientation ({"horizontal", "vertical", "parallel"}, default: "horizontal") – Orientation of the tick labels.

  • axis_tick_label_font ({"arial", "courier", "helvetica", "times", "serif", "sansserif", "symbol"}, default: "sansserif") – Font name of the tick labels.

  • axis_tick_label_font_style ({"normal", "bold", "italic", "bolditalic"}, default: "normal") – Font style of the tick labels.

  • axis_tick_label_colour (str, default: "automatic") – Colour of the tick labels.

  • axis_tick_label_height (number, default: 0.3) – Height of the tick labels.

  • axis_tick_label_list (str or list[str]) – List of user defined tick labels.

  • axis_tick_label_format (str, default: "(automatic)") – Format of tick label values.

  • axis_minor_tick ({"on", "off"}, default: "off") – Plots minor ticks.

  • axis_minor_tick_count (number, default: 2) – Number of minor tick marks between two ticks.

  • axis_minor_tick_colour (str, default: "automatic") – Colour of the minor ticks.

  • axis_minor_tick_thickness (number, default: 1) – Thickness of the minor ticks.

  • axis_minor_grid ({"on", "off"}, default: "off") –

  • axis_minor_grid_colour (str, default: "black") – Colour of the minor grid lines.

  • axis_minor_grid_line_style ({"solid", "dash", "dot", "chain_dot", "chain_dash"}, default: "solid") – Line style of the minor grid lines.

  • axis_minor_grid_thickness (number, default: 1) – Thickness of the minor grid lines.

  • axis_tip_title ({"on", "off"}, default: "off") – Plots title at axis tip.

  • axis_tip_title_text (str) – Text to show in the axis tip title.

  • axis_tip_title_colour (str, default: "automatic") – Colour of the axis tip title.

  • axis_tip_title_height (number, default: 0.4) – Font size of the axis tip title.

  • axis_tip_title_quality ({"high", "medium", "low"}, default: "medium") – Quality of the font of the axis tip title.

  • axis_date_type ({"automatic", "years", "months", "days", "hours", "monthly", "climate"}, default: "days") – Select the type of date axis.

  • axis_years_label ({"on", "off"}, default: "on") – Plots year labels.

  • axis_years_label_colour (str, default: "automatic") – Colour of year labels.

  • axis_years_label_quality ({"high", "medium", "low"}, default: "medium") – Text quality of year labels.

  • axis_years_label_height (number, default: 0.2) – Height of year labels.

  • axis_months_label ({"on", "off"}, default: "on") – Plots month labels.

  • axis_months_label_composition ({"one", "two", "three"}, default: "three") – Number of characters per month to plot.

  • axis_months_label_colour (str, default: "automatic") – Colour of month labels.

  • axis_months_label_quality ({"high", "medium", "low"}, default: "medium") – Text quality of month labels.

  • axis_months_label_height (number, default: 0.2) – Height of month labels.

  • axis_days_label ({"day", "number", "both", "off"}, default: "both") – Controls the day label plotting.

  • axis_days_label_composition ({"one", "three", "full"}, default: "three") – Number of characters per days to plot.

  • axis_days_label_position (number, default: 12) – Used for short time series. If it is “12” the day labels will appear at 12h.

  • axis_days_label_colour (str, default: "black") – Colour of the day labels.

  • axis_days_sunday_label_colour (str, default: "red") – Colour of the day labels on Sundays.

  • axis_days_label_quality ({"high", "medium", "low"}, default: "medium") – Text quality of the day labels.

  • axis_days_label_height (number, default: 0.2) – Height of the day labels.

  • axis_hours_label ({"on", "off"}, default: "off") – Plots the hour labels.

  • axis_hours_label_colour (str, default: "black") – Colour of the hour labels.

  • axis_hours_label_quality ({"high", "medium", "low"}, default: "medium") – Text quality of the hour labels.

  • axis_hours_label_height (number, default: 0.2) – Height of the hour labels.

Return type

Request