Search in sources :

Example 1 with LogarithmicMappingMethod

use of org.knime.base.util.coordinate.LogarithmicMappingMethod in project knime-core by knime.

the class BasicPlotter method isLogarithmic.

private boolean isLogarithmic(final Axis axis) {
    Coordinate coordinate = axis.getCoordinate();
    MappingMethod mapMethod = coordinate.getActiveMappingMethod();
    if (mapMethod != null && mapMethod instanceof LogarithmicMappingMethod) {
        return true;
    }
    return false;
}
Also used : LogarithmicMappingMethod(org.knime.base.util.coordinate.LogarithmicMappingMethod) Coordinate(org.knime.base.util.coordinate.Coordinate) LogarithmicMappingMethod(org.knime.base.util.coordinate.LogarithmicMappingMethod) MappingMethod(org.knime.base.util.coordinate.MappingMethod)

Aggregations

Coordinate (org.knime.base.util.coordinate.Coordinate)1 LogarithmicMappingMethod (org.knime.base.util.coordinate.LogarithmicMappingMethod)1 MappingMethod (org.knime.base.util.coordinate.MappingMethod)1