SRGDisplayBase::FindLogLimits

void SRGDisplayBase::FindLogLimits(CScale* pScale, BOOL bFullDecade)

Calculates the limits for a logarithmic axis
If bFullDecade is TRUE, the limits are expanded to the nearest decade, unless the limits are in same decade and Max/Min is less than or equal 0.6.
If bFullDecade is FALSE, the limits are expanded to the nearest integer times a power of ten. Partial decades may be used.

Defined in: SRGDisplayBase.cpp

Return Value

void

Parameters

pScale

Pointer to a CScale object containing the limits to be changed

bFullDecade

TRUE to use full decades