Changeset 17 in Sophya


Ignore:
Timestamp:
Jun 3, 1996, 12:42:27 PM (29 years ago)
Author:
eros
Message:

Histo->IMax() par VMax() (Reza)

Location:
trunk/SophyaPI/PI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/Makefile

    r11 r17  
    4646else
    4747  FFLAGS   :=  -I${INC} -D${MACHEROSD} 
    48   CPPFLAGS :=  -I${INC} -D${MACHEROSD}
     48  CFLAGS       := -g -O -Wall -Wpointer-arith \
     49                -Wmissing-prototypes -Wsynth -I$(INC)
     50  CXXFLAGS     := $(CFLAGS) -I$(CXI)
    4951endif
    5052AR       := /usr/bin/ar
    5153ARFLAGS  := -rcs
     54
    5255
    5356ifeq ($(CC), gcc)
  • trunk/SophyaPI/PI/pihisto.cc

    r9 r17  
    2929  double xmax = (mHisto->XMax());
    3030
    31   double ymax = (*mHisto)(mHisto->IMax())*1.2;
    32   double ymin = 0;
     31  double ymax = mHisto->VMax()*1.2;
     32  double ymin = mHisto->VMin();
    3333 
    3434  mDrawWdg->SetLimits(xmin, xmax, ymin, ymax);
Note: See TracChangeset for help on using the changeset viewer.