string getTitle(string graphType, string subTitle)
{
//subtitle can be XY correlation or can come from graphdata (see rjPotencyBosco)
string sub = subTitle;
if(sub == "")
sub="sub='" + CurrentGraphData.GraphSubTitle + "'";
return "title(main='" + CurrentGraphData.GraphTitle + " (" + graphType +")', " +
sub + ", cex.sub=0.75, font.sub=3, col.sub='grey30')\n";
}