Subroutine skalieren always treated the y-range as if the data were xy-data. Added handling of nipl data.