<!--
(C) Copyright 1996-2016 ECMWF.
This software is licensed under the terms of the Apache Licence Version 2.0
which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
In applying this licence, ECMWF does not waive the privileges and immunities
granted to it by virtue of its status as an intergovernmental organisation nor
does it submit to any jurisdiction.
-->
<magics>
	<class inherits="NoIsoLabel"
		xmltag="label"
		name="IsoLabel"
		directory="visualisers"
		prefix="contour/contour/contour_label"
		action="pcont"
		doc_inherits="no">
		<documentation>
  The action routine PCONT will plot labels on contour lines either by default
  or as directed by the user.
  Contour labels may be plotted with different attributes from the contour line,
  e.g. colour and thickness.
  Contour labels are, by default, plotted on every 2nd contour line,
  but this may be changed by the user, if desired.
		</documentation>
		<parameter member="type"
			to="string"
			default="number"
			from="string"
			values = "text/number/both"
			name="contour_label_type">
			<documentation>Type of label (text/number/both</documentation>
		</parameter>
		<parameter member="text"
			to="string"
			default=""
			from="string"
			name="contour_label_text">
			<documentation>Text for labels</documentation>
		</parameter>
		<parameter xml="height"
			from="float"
			name="contour_label_height"
			default="0.3"
			member="height"
			to="float">
			<documentation>Height of contour labels</documentation>
		</parameter>
		<parameter xml="format"
			from="string"
			name="contour_label_format"
			default="(automatic)"
			member="format"
			to="string">
			<documentation>Format of contour labels (MAGICS Format/(AUTOMATIC))</documentation>
		</parameter>
		<parameter xml="blanking"
			from="string"
			name="contour_label_blanking"
			default="on"
			member="blanking"
			to="bool">
			<documentation>Label Blanking</documentation>
		</parameter>
		<parameter member="font"
			to="string"
			default="sansserif"
			from="string"
			name="contour_label_font">
			<documentation>Name of the font</documentation>
		</parameter>
		<parameter xml="font_style"
			from="string"
			name="contour_label_font_style"
			default="normal"
			values = "normal/bold/italic"
			member="style"
			to="string">
			<documentation>Style of the font normal/bold/italic</documentation>
		</parameter>
		<parameter default="contour_line_colour"
			from="string"
			name="contour_label_colour"
			metview_interface="ColourWithExtra"
			member="colour"
			to="string">
			<documentation>Colour of contour labels</documentation>
		</parameter>
		<parameter member="frequency"
			to="int"
			default="2"
			from="int"
			name="contour_label_frequency">
			<documentation>Every Nth contour line is labelled</documentation>
		</parameter>
	</class>
</magics>
