Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

 

 

Section
Column
width60%
Panel

Image Added 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.

 

Info
titleNew in Magics++ : histogram mode

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

legend_display_type = histogram
Column
width30%
Panel
titleQuick links :


Gallery:

 

 

 

HTML
<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/975143/legend.json");
</script>