PainterQubits / UnitfulPlots.jl

Plots with unit labels, automatically
Other
9 stars 4 forks source link

Axis' do not truncate #5

Open ChrisRackauckas opened 8 years ago

ChrisRackauckas commented 8 years ago

Couldn't explain it well in words. The picture is better:

newplot 4

The big decimals in the tick labels.

@tbreloff, just to check: this isn't a more general tick issue and is only found here?

tbreloff commented 8 years ago

This is specific to the formatter passed in here.

ajkeller34 commented 8 years ago

Haven't had a chance to work on this in a while, but I'll update the formatter to something more sensible when I have a moment. Or PRs are welcome.

Another user of Unitful tried this package out but didn't care for the repetition of the unit on each tick value. Indeed, usually in scientific figures the convention is to append the unit to the axis label instead (e.g. "Time (s)"). Perhaps there is a way to do this with a recipe?

ChrisRackauckas commented 8 years ago

I think putting the units in the label would be much better and much more standard. If you see seconds, Time (s) , if you see Newtons, Force (N), etc. would be good defaults. On the tick labels is indeed peculiar.

tbreloff commented 8 years ago

It would require additions to Plots to automatically add guides.

On Tuesday, October 18, 2016, Christopher Rackauckas < notifications@github.com> wrote:

I think putting the units in the label would be much better and much more standard. If you see seconds, Time (s) , if you see Newtons, Force (N), etc. would be good defaults. On the tick labels is indeed peculiar.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ajkeller34/UnitfulPlots.jl/issues/5#issuecomment-254667115, or mute the thread https://github.com/notifications/unsubscribe-auth/AA492hqZJF5S5uI4mypwFQqHGLZhmAwXks5q1VQGgaJpZM4KZwy4 .