Exemple du Code Java qui a produit le graphique.... cela n'a pas l'air trop
compliqué...
...
//Build the map (upper panel)
GPLGraph map = new GPLGraph();
map.setExpression("LONGITUDE*LATITUDE");
//The path of the army
Path path = new Path();
path.setSize("SURVIVED");
path.setColor("DIRECTION");
path.setSplitter("DIVISION");
map.addElement(path);
//Label the cities
Points points = new Points();
points.setPosition("LON_CITY*LAT_CITY");
points.setLabel("CITY");
map.addElement(points);
//Build the line graph (lower panel)
GPLGraph lineGraph = new GPLGraph();
lineGraph.setExpression("LONGITUDE*TEMPERATURE");
//The temperature line
Line line = new Line();
line.setPosition("LON_TEMP*TEMPERATURE");
lineGraph.addElement(line);
//Label the dates on the line
Points pointTemp =new Points();
pointTemp.setUseLabelAsPoint(true);
pointTemp.setPosition("LON_TEMP*TEMPERATURE");
pointTemp.setLabel("DATE");
lineGraph.addElement(pointTemp);