JMSL Chart Programmer's Guide
|
XML >> Examples >> Contour Chart |
XML Example: Contour Chart
(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="x"><NumberList>5,3,1,2,4</NumberList></Array> <Array id="y"><NumberList>1,2,3,4,5</NumberList></Array> <Array id="z"><NumberList>26,28,27,29,25</NumberList></Array> <ChartTitle><Attribute name="Title" value="Scattered Data Contour Plot"/></ChartTitle> <AxisXY> <Contour xGrid="#x" yGrid="#y" zData="#z"> <ContourLegend> <Attribute name="Paint" value="true"/> </ContourLegend> <ContourLevel index="5"> <Attribute name="FillColor" value="green"/> </ContourLevel> </Contour> <Data x="#x" y="#y"> <Attribute name="DataType" value="DATA_TYPE_MARKER"/> <Attribute name="MarkerType" value="MARKER_TYPE_FILLED_CIRCLE"/> <Attribute name="MarkerColor" value="red"/> </Data> </AxisXY> </Chart>
© Visual Numerics, Inc. All rights reserved. |