Switched logScale to logical.