-
Notifications
You must be signed in to change notification settings - Fork 622
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
Comments
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? |
@domoritz - thank. Yes, I'll file issue in the Vega repo. |
Closing this until we get support in D3 and Vega. |
@jheer once vega/vega#1544 appears in the next Vega release, will it be possible/simple to also add symlog support into vega-lite? |
Yes, we will add it to Vega-Lite 3. |
You're very welcome to send a PR to update Vega-Lite to the new scales as well. |
Thanks |
I'll take a look and see if it's reasonably obvious how to add it. I assume it would be along the lines of adding it as another continuous scale option in https://github.com/vega/vega-lite/blob/master/src/scale.ts?
…On Sat, 16 Feb 2019, 20:47 Dominik Moritz, ***@***.***> wrote:
You're very welcome to send a PR to update Vega-Lite to the new scales as
well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4127 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABWvJKZaR1FZXUDdvX03Mm-dRyyfgJdBks5vOG5lgaJpZM4V3zJI>
.
|
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. |
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.
The text was updated successfully, but these errors were encountered: