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

Add symlog scale #4127

Closed
mattpitkin opened this issue Aug 10, 2018 · 9 comments
Closed

Add symlog scale #4127

mattpitkin opened this issue Aug 10, 2018 · 9 comments

Comments

@mattpitkin
Copy link

Sometimes you have data that spans a many orders of magnitude across both positive and negative values. It is often useful to be able to plot both the positive and negative ranges on a logarithmic scale, with a linear range spanning between them. This is done in, e.g., Matplotlib, using the symlog scaling.

Would adding something like this be possible in Vega-Lite?

Refs vega/altair#1077.

@domoritz
Copy link
Member

Thanks for the issue. Before we can add this to Vega-Lite, we need support for this in Vega. Can you file an issue there and link to this one?

@mattpitkin
Copy link
Author

@domoritz - thank. Yes, I'll file issue in the Vega repo.

@domoritz
Copy link
Member

Closing this until we get support in D3 and Vega.

@mattpitkin
Copy link
Author

@jheer once vega/vega#1544 appears in the next Vega release, will it be possible/simple to also add symlog support into vega-lite?

@domoritz
Copy link
Member

Yes, we will add it to Vega-Lite 3.

@domoritz
Copy link
Member

You're very welcome to send a PR to update Vega-Lite to the new scales as well.

@mattpitkin
Copy link
Author

Thanks

@mattpitkin
Copy link
Author

mattpitkin commented Feb 16, 2019 via email

@domoritz
Copy link
Member

It might be a bit more involved since Vega's scales are different now. It's not just about adding a new scale type but updating the existing onces as well.

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

2 participants