Section | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
HTML |
---|
<div id="magics"> </div> <script src="/wiki/download/attachments/13207038/magdoc_ajs.js"></script> <link rel="stylesheet" type="text/css" href="/wiki/download/attachments/13207038/magics.css" /> <link rel="stylesheet" type="text/css" href="/wiki/download/attachments/13207038/jquery.miniColors.css" /> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <script src="/wiki/download/attachments/13207038/jquery.miniColors.js"></script> <script> load("/wiki/download/attachments/14158128/cont.json"); </script> |
Panel | |||||||
---|---|---|---|---|---|---|---|
| |||||||
This version comes with a more complete implementation of the gradients colour setting. This method can be used to create a list of colours giving a smooth transition between 2 colours. The main control parameters of this new technique are shown in this small example. contour_level_list = [-15,-0.5, 0.5,15] contour_shade_colour_method = "gradients", contour_gradients_colour_list = ['blue','white', 'red'], contour_gradients_step_list = [50, 1, 50] This setting will create the following list of colours : 50 colours between -15 and -0.5, 1 between -0.5 and 05 and 50 between 0.5 and 50.
|
Info | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
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, ie: define the list, or let Magics computes the list given a max and min colour.
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.
|