I have a list of points, like:
{{0,2.17},{1,1.07},{2,0.53},{3,0.25},{4,0.11},{5,0.03},{6,0.002},{7,-0.015},{8,-0.0227},{9,-0.0250}, {10,-0.024675}, {part tends to zero}}
Ok, I would like to plot this data and, as it is easy to notice, without some manipulations with scale this picture will be not informative. I tried to combine ListLogPlot and take Abs from negative values of my data, but, unfortunately, the attempts failed. How can I do Log scale on the positive part of Y-axis and usual(without scale transformations) scale on the negative part of Y-axis?
Thanks in advance
{#[[1]], Sign@#[[2]] Abs@Log10@Abs@#[[2]]} & /@ data // ListPlot
? You can doIf[#[[2]] > 0, {#[[1]], Log10@#[[2]]}, #] & /@ data // ListPlot
, but I like the first version more. $\endgroup$