Re: plotting with commensurate aspect ratio?

From: Mike Miller (mmiller3@iupui.edu)
Date: Fri Jan 14 2000 - 23:15:18 MET


>>>>> "Rene" == Rene Brun <Rene.Brun@cern.ch> writes:

    > Hi Mike, Could you clarify what you want ?  In TH1 and
    > derived classes, you can specify an array of bin positions
    > if you like (default being equidistant bins).

    > Mike Miller wrote:
    >>  Is there an option that can be set so that 2d histograms
    >> are drawn with commensurate axes?

This is not a question of defining the histogram, but of how it
is displayed on a canvas.  I'd like to automate things so that
h.Draw() gives me a plot on a canvas such that the horizontal and
vertical scales are commensurate.  For example, if my histogram
is defined like as TH2F("hist","",10,0,10,20,0.0,20.0) when it is
plotted on the canvas, the horizontal size will be half that of
the vertical size.  So I guess my question is really about how to
specify the size of a histogram when it is drawn on a canvas?

Mike



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