If negative values make sense, just transform otherwise your data. For example you can use y = arsinh(x) = ln(x+sqrt(x^2+1)), which preserves the sign of x and passes from linear scale at small absolute values to logarithmic scale at large values.

   Daniel

Jamesina J. Simpson wrote:

I am trying to graph my data using a log scale, but my data has zeros and negative values. Is there a way for me to deal with the wide dynamic range of my data when there are zeros and positive/negative values?

If I didn't have the zeros/negative values I would have tried to use 'compute' to take the log of my data and then used 'colormap' and 'color' and 'image' to view it.

Any help is greatly appreciated!!
Jamesina

Reply via email to