<?php
header ("Content-type: image/jpeg");
include "BubbleChart.php";
/* Create MATRIX 1 */
$BM=new BubbleChart;
$ima=$BM->DrawMatrix("DESIGN", "COMFORT");
$BM->AddBubble("alfa", 1,1,10,1);
$BM->AddBubble("beta", 3,2,30,2);
$BM->AddBubble("gamma", 3,4,20,3);
$BM->AddBubble("delta", 2,4,10,4);
$BM->AddBubble("eta", 1,2,5,5);
$BM->AddBubble("omega", 3,5,5,6);
$BM->AddBubble("zeta", 5,5,5,7);
$BM->AddBubble("iota", 4,5,15,8);
$graf1="grafici/Graph1.jpeg";
$BM->MakeBubble($graf1);
/* Create MATRIX 2 */
$BM=new BubbleChart;
$ima=$BM->DrawMatrix("DESIGN", "SAFETY");
$BM->AddBubble("alfa", 1,3,10,1);
$BM->AddBubble("beta", 3,2,30,2);
$BM->AddBubble("gamma", 3,3,20,3);
$BM->AddBubble("delta", 2,5,10,4);
$BM->AddBubble("eta", 1,2,4,5);
$BM->AddBubble("omega", 3,4,5,6);
$BM->AddBubble("zeta", 5,3,5,7);
$BM->AddBubble("iota", 4,2,15,8);
$graf2="grafici/Graph2.jpeg";
$BM->MakeBubble($graf2);
/* Create MATRIX 3 */
$BM=new BubbleChart;
$ima=$BM->DrawMatrix("COMFORT", "SAFETY");
$BM->AddBubble("alfa", 1,3,10,1);
$BM->AddBubble("beta", 2,2,30,2);
$BM->AddBubble("gamma", 4,3,20,3);
$BM->AddBubble("delta", 4,5,10,4);
$BM->AddBubble("eta", 5,2,4,5);
$BM->AddBubble("omega", 5,4,5,6);
$BM->AddBubble("zeta", 5,3,5,7);
$BM->AddBubble("iota", 5,2,15,8);
$graf3="grafici/Graph3.jpeg";
$BM->MakeBubble($graf3);
?>
<img src='<? echo $graf1 ?>' width="600" HEIGHT="600"></IMG> </BR>
<img src='<? echo $graf2 ?>' width="600" HEIGHT="600"></IMG> </BR>
<img src='<? echo $graf3 ?>' width="600" HEIGHT="600"></IMG> </BR>
|