Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Axis' do not truncate #5

Open
ChrisRackauckas opened this issue Oct 18, 2016 · 4 comments
Open

Axis' do not truncate #5

ChrisRackauckas opened this issue Oct 18, 2016 · 4 comments

Comments

@ChrisRackauckas
Copy link

ChrisRackauckas commented Oct 18, 2016

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
Copy link

This is specific to the formatter passed in here.

@ajkeller34
Copy link
Collaborator

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
Copy link
Author

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
Copy link

It would require additions to Plots to automatically add guides.

On Tuesday, October 18, 2016, Christopher Rackauckas <
[email protected]> 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
#5 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA492hqZJF5S5uI4mypwFQqHGLZhmAwXks5q1VQGgaJpZM4KZwy4
.

tmijail added a commit to tmijail/UnitfulPlots.jl that referenced this issue Oct 15, 2017
Falls back to previous behaviour (units on the axis ticks) when no label
is specified.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants