A contour_line_colour_rainbow parameter has been introduced, allowing the user to specify a different colour for each isoline.There are 2 ways to specify the list of colours to use, the setting being very similar of the colour settings for shading:define the list, or let Magics computes the list given a max and min colour. ![contour7.png](/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
| Code Block |
---|
language | python |
---|
title | contour_line_colour_rainbow |
---|
| mcont(contour_level_selection_type = "interval",
contour_line_colour_rainbow_max_level_colour = "red",
contour_line_colour_rainbow = "on",
contour_highlight = "off",
contour_line_colour_rainbow_direction = "clockwise",
contour_line_colour_rainbow_min_level_colour = "blue",
contour_line_colour_rainbow_method = "calculate",
contour_interval = 1.00)
|
|
---|
A contour_automatic_setting parameter has also been introduced, if set to ecchart, Magics will try to match the parameter with one of the predefined ecChart style. In one is found all the other contour parameters setiings will be ignored. ![contour8.png](/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
| Code Block |
---|
title | contour_automatic_setting |
---|
| mcont(contour_automatic_setting = "ecchart") |
|
---|
|