public class LogColorMapper extends ContinuousColorMapperTransform
mapper
Constructor and Description |
---|
LogColorMapper(ContinuousColorMapper logspaceMapper)
Creates a new LogColorMapper with base 10.
|
LogColorMapper(ContinuousColorMapper logspaceMapper,
int base)
If logspaceMapper maps values x1 to x2, this creates a
mapper for values base^x1 to base^x2
|
Modifier and Type | Method and Description |
---|---|
double |
transform(double value)
Apply log transform.
|
getColor
public LogColorMapper(ContinuousColorMapper logspaceMapper)
logspaceMapper
- public LogColorMapper(ContinuousColorMapper logspaceMapper, int base)
logspaceMapper
- logspace mapperbase
- The base of the logorithmpublic double transform(double value)
transform
in class ContinuousColorMapperTransform
value
- ContinuousColorMapperTransform.transform(double)
Copyright © 2000–2016 BioJava. All rights reserved.