JMSL Chart Programmer's Guide
|
XML >> Examples >> Heatmap |
XML Example: Heatmap
(Download Code)
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <!DOCTYPE Chart PUBLIC "-//Visual Numerics//DTD JMSL Chart//EN" "http://www.vni.com/products/jmsl/Chart.dtd"> <Chart> <Array id="data"> <Array><NumberList>23, 48, 16, 56</NumberList></Array> <Array><NumberList>89, 74, 54, 32</NumberList></Array> <Array><NumberList>12, 45, 18, 9</NumberList></Array> <Array><NumberList>72, 15, 42, 92</NumberList></Array> <Array><NumberList>63, 36, 78, 29</NumberList></Array> </Array> <ChartTitle> <Attribute name="Title">Sample Heatmap</Attribute> <Attribute name="FontSize" value="14"/> <Attribute name="FontStyle" value="3"/> </ChartTitle> <AxisXY> <Heatmap xmin="0.0" xmax="5.0" ymin="0.0" ymax="4.0" zmin="0.0" zmax="100.0" data="#data" colormap="BLUE_RED"> <HeatmapLegend> <Attribute name="Paint" value="true"/> </HeatmapLegend> </Heatmap> </AxisXY> </Chart>
© Visual Numerics, Inc. All rights reserved. |