code: func (w *Waveform) setScale(x uint, y uint) error {
  	// X scale cannot be zero
  	if x == 0 {
  		return errScaleXZero
  	}
  
  	// Y scale cannot be zero
  	if y == 0 {
  		return errScaleYZero
  
  	}
  
  	w.scaleX = x
  	w.scaleY = y
  
  	return nil
  }
docs: // setScale directly sets the scaleX and scaleY members of the receiving Waveform
  // struct.