gonum / plot

A repository for plotting and visualizing data
BSD 3-Clause "New" or "Revised" License
2.74k stars 203 forks source link

plot: fix locations of default ticks #403

Open kortschak opened 7 years ago

kortschak commented 7 years ago

This is a continuation of #393.

I'd like to look into this implementation, but in the mean time, change the location of the tick marks.

sbinet commented 7 years ago

adding the linked file here as well: I was only able to look at it / download it from my phone but it 404-ed from chromium on my desktop...

2010-TickLabels-InfoVis.pdf

kortschak commented 7 years ago

Here is a Go implementation (from the paper and the R code in the labelling package - MIT + file LICENSE | Unlimited according to the R documentation) with modifications to allow capturing the magnitude of the values and demonstrating how this is used.

Please have a play with values of dMin, dMax and m.

I think with this and a log-space equivalent we can resolve the tick labelling situation into a single type again.