Page 1 of 1

LogAbs scale type

Posted: Wed May 27, 2015 2:22 pm
by jrvdboom
The only available scale types for X/Y axes are Linear and Logarithmic. When using Logarithmic scale type, values below the LogZeroClamp are clipped. What I would like to have is a LogAbs scale type, where negative values are drawn positive. I could of course create my series with absolute values, but then switching between Linear and LogAbs scale type will not work, because the Linear scale type will also draw absolute values.

Any ideas how to solve this?

Thanks,
Joost

Re: LogAbs scale type

Posted: Thu May 28, 2015 9:36 am
by ArctionJari
Unfortunately there's no built-in logic for this. If you don't have a lot of data you could use two series; one for logarithmic and one for linear. Or maybe add some sort of indexing array that tells at which data array index a value should be converted to absolute or back when you switch the scale type.