Skip to content

Radar Chart does not allow having different scales for each axis #5527

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

Closed
ankur-gupta opened this issue Nov 20, 2015 · 10 comments
Closed

Radar Chart does not allow having different scales for each axis #5527

ankur-gupta opened this issue Nov 20, 2015 · 10 comments

Comments

@ankur-gupta
Copy link

I have a use case in which each axis (eg: Sulfate, Nitrate in this example) has a different scale. I don't see an easy way to do this. It looks like RadarAxes is based on PolarAxes which fundamentally uses the same scale for x and y dimensions.

I am new to Python and to me it looks like a new RadarAxes projection can be written from scratch (i.e. not based on PolarAxes) which could allow this.

What do you think ?

@tacaswell tacaswell added this to the unassigned milestone Nov 20, 2015
@tacaswell
Copy link
Member

Sorting out a general way to do plotting in a figure between different axis objects is something we should probably do. This relates back to the 'spark line' (maybe have the name wrong) code that @phobson has, but rotated so that the axis spines are radial instead of lined up.

@mdboom
Copy link
Member

mdboom commented Nov 20, 2015

#4699 is adding a lot of improvements to polar plots. Perhaps that could be addressed there or @QuLogic has some ideas having been digging around there a lot lately.

@phobson
Copy link
Member

phobson commented Nov 20, 2015

@tacaswell
Copy link
Member

No it was something with many y axis with lines connecting them what was
used to show rough correlations between high dimensional data points.

On Fri, Nov 20, 2015, 13:53 Paul Hobson notifications@github.com wrote:

@tacaswell https://github.com/tacaswell are you referring to this:
http://stackoverflow.com/questions/15167928/implementing-horizon-charts-in-matplotlib
?


Reply to this email directly or view it on GitHub
#5527 (comment)
.

@phobson
Copy link
Member

phobson commented Nov 20, 2015

oh oh oh ... this: https://gist.github.com/phobson/9de120cabde660ec734c

By the way -- this turns into a dumpster fire if you try to use log scales.

@ankur-gupta
Copy link
Author

@phobson This plot is much better than a radar chart for my use. Thanks.

@mdboom
Copy link
Member

mdboom commented Nov 23, 2015

Great stuff all... I guess the question is whether we want to keep this open. The subject line of this issue is still true, however, multiple r scales on a polar plot is hard to display effectively...

@tacaswell
Copy link
Member

At a minimum @phobson 's demo code should end up in the examples.

@phobson
Copy link
Member

phobson commented Nov 23, 2015

I can take a stab at removing the seaborn and pandas dependencies of the example over the holiday.

@dstansby dstansby modified the milestones: 2.2 (next next feature release), unassigned Feb 5, 2017
@anntzer
Copy link
Contributor

anntzer commented Dec 29, 2022

I'll ambitiously close this as parallel coordinates plots (PCP) are present in pandas (https://pandas.pydata.org/pandas-docs/version/0.21.0/visualization.html#parallel-coordinates) and I think the original request (later noted as likely worse than a PCP) was to allow radar charts with different scales on each and every coordinates (not just switching r to log), which seems way more complex than #24825 and should probably first be made as a third party library, if anything.

@anntzer anntzer closed this as completed Dec 29, 2022
@QuLogic QuLogic removed this from the future releases milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants