mlegend ( macro/python )

 


 

Legends are an important part of any scientific plot. If enabled, Magics tries to build a legend automatically from the data provided.

Each action routine can enable/disable the legend.

 

An histogram mode has been added, allowing the user to display histogram information in the legend.

legend_display_type = histogram



Gallery:

 

 

 

<div id="magics">	
</div>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<script src="http://software.ecmwf.int/wiki/download/attachments/13207038/magdoc.js"></script>
<link rel="stylesheet" type="text/css" href="http://software.ecmwf.int/wiki/download/attachments/13207038/magics.css" />
<link rel="stylesheet" type="text/css" href="http://software.ecmwf.int/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="http://software.ecmwf.int/wiki/download/attachments/13207038/jquery.miniColors.js"></script>

 <script>
	load("http://software.ecmwf.int/wiki/download/attachments/14975143/legend.json");
</script>


 

 

legend_text_colour, legend_title, legend_title_text, legend_title_text, legend_title_orientation, legend_title_orientation, legend_user_minimum, legend_user_minimum_text, legend_user_minimum_text, legend_user_maximum, legend_user_maximum_text, legend_user_maximum_text, legend_display_type, legend_label_frequency, legend_label_frequency, legend_histogram_border, legend_histogram_border_colour, legend_histogram_mean_value, legend_histogram_mean_value_marker, legend_histogram_mean_value_marker_colour, legend_histogram_mean_value_marker_size, legend_histogram_max_value, legend_histogram_grid_colour, legend_histogram_grid_line_style, legend_histogram_grid_thickness, legend_text_format, legend_box_mode, legend_box_x_position, legend_box_x_position, legend_box_x_length, legend_box_x_length, legend_box_y_position, legend_box_y_position, legend_box_y_length, legend_box_y_length, legend_text_font, legend_text_font_style, legend_text_font_size, legend_text_orientation, legend_user_lines, legend_column_count, legend_entry_plot_direction, legend_entry_plot_orientation, legend_text_composition, legend_box_blanking, legend_border, legend_border_colour, legend_border_colour, legend_border_line_style, legend_border_line_style, legend_border_thickness, legend_border_thickness, legend_entry_text_width, legend_entry_border, legend_entry_border_colour