Giter Club home page Giter Club logo

Comments (7)

marcharper avatar marcharper commented on August 16, 2024 1

@fairliereese Sure, happy to take a look.

from python-ternary.

marcharper avatar marcharper commented on August 16, 2024

I'm not sure I understand -- the averaging in the triangular method should tend to reduce the extreme values in the plotted set, and it should only affect the neighboring triangles. If you want the exact values plotted then it's better to use the hexagonal layout or a larger scale for more resolution. Is there a use case not covered otherwise?

from python-ternary.

svrnwnsch avatar svrnwnsch commented on August 16, 2024

See the following picture: rps
The maximum data value is around 0,14 while the surrounding values reduce that to a plotted value 0,06.
This makes the picture necessary dark as it would be fine to set the maximum value of the colorbar to 0.06.

from python-ternary.

marcharper avatar marcharper commented on August 16, 2024

Did you try a hexagonal or dual triangular plot?

from python-ternary.

marcharper avatar marcharper commented on August 16, 2024

If you want the colors to be less extreme you could also take the log before plotting.

from python-ternary.

fairliereese avatar fairliereese commented on August 16, 2024

Just wanted to throw in my two cents saying that I think what OP suggested should be the default behavior. Even logging the underlying values does not necessarily make the colorbar make sense.

from python-ternary.

fairliereese avatar fairliereese commented on August 16, 2024

I forked the repo and added a few lines of code to support this: https://github.com/fairliereese/python-ternary. If you want me to submit a PR I will.

from python-ternary.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.