Draw("colz")

From: Nicolas Produit (Nicolas.Produit@obs.unige.ch)
Date: Fri Feb 25 2000 - 14:44:22 MET


Cosmetic remark:

Dont you think that by default the numbers on the color scale get
displayed to close to the right border (they more than touch it) of the
canvas when you do a Draw("colz") on a 2 d histo?
When we see such an histo the user in usure if perhaps the least
significant numbers on the scale are lost because they overflow
the canvas (it is not the case in fact). 
See example here:

isdcpc3:~/ibis_image 176> root
  *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   2.23/12  21 February 2000   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************

FreeType Engine v1.1 used to render TrueType fonts.

CINT/ROOT C/C++ Interpreter version 5.14.25, Nov 25 1999
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] a=new TH2F("bla","bla",100,0,100,100,0,100)
(class TH2F*)0x860e900
root [1] a->Fill(10,10,10000000)
(Int_t)1133
root [2] a.Draw("colz")
<TCanvas::MakeDefCanvas>: created default TCanvas with name c1
root [3] .q



-- 
Nicolas Produit                 
INTEGRAL Science Data Centre    Phone:  +41 22 950 91 40
16, Chemin d'Ecogia             Fax:    +41 22 950 91 33
CH-1290 Versoix                 www:    http://isdc.unige.ch/



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:20 MET