Project

General

Profile

Actions

Bug #7897

open

Log axis scale maps value 0 to minimum of axis

Added by Roel Standaert about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
12/07/2020
Due date:
% Done:

0%

Estimated time:

Description

log(0) is not a real number, so we can't actually plot it on the axis.

It's not as simple as removing this line in WAxis::mapToDevice, though:

u = std::max(s.renderMinimum, u);

This is because other functionality does not deal correctly with non-finite results of mapToDevice, and some functions explicitly call it with value 0.

No data to display

Actions

Also available in: Atom PDF