Index: trunk/MagicSoft/Mars/datacenter/macros/plotdb.C
===================================================================
--- trunk/MagicSoft/Mars/datacenter/macros/plotdb.C	(revision 8960)
+++ trunk/MagicSoft/Mars/datacenter/macros/plotdb.C	(revision 8961)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: plotdb.C,v 1.43 2008-06-14 18:38:19 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: plotdb.C,v 1.44 2008-06-15 19:09:19 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -229,14 +229,19 @@
         gROOT->SetSelectedPad(0);
 
+        TString cname  = fNameTab.IsNull() ? name(name.First('.')+2, name.Length()) : fNameTab;
+        TString ctitle = fDescription.IsNull() ? name.Data() : fDescription.Data();
+        if (ctitle.First(';')>0)
+            ctitle.Remove(ctitle.First(';'), ctitle.Length());
+
         // Create a TCanvas or open a new tab
-        TString title = fNameTab.IsNull() ? name(name.First('.')+2, name.Length()) : fNameTab;
-        TCanvas &c = fDisplay ? fDisplay->AddTab(title) : *new TCanvas;
+        TCanvas &c = fDisplay ? fDisplay->AddTab(cname, ctitle) : *new TCanvas(cname, ctitle);
         // Set fillcolor, remove border and divide pad
         c.SetFillColor(kWhite);
+        c.SetFrameBorderMode(0);
         c.SetBorderMode(0);
         c.Divide(1,2);
 
         // Output mean and rms to console
-        cerr << setprecision(4) << setw(10) << title << ":   ";
+        cerr << setprecision(4) << setw(10) << cname << ":   ";
         if (gt.GetN()==0)
         {
