Giter Club home page Giter Club logo

Comments (3)

marcharper avatar marcharper commented on July 17, 2024

Hi Martin,

There's actually more than one way to label the axes on a ternary plot and it can be confusing. In the readme there is a section "Axes Ticks and Orientations" that discusses this. An arbitrary choice has to be made and the library operates as follows by default.

The default is left to right on the x coordinate and then up-right on the up-right axis, with the value of the second coordinate given by the horizontal line that intersects the right axis.

If you would like the points plotted differently the best option is to simply permute the points as needed.

from python-ternary.

MartinHvidberg avatar MartinHvidberg commented on July 17, 2024

Hi Marc

Thanks for your fast and good reply.

I'm not sure my question was clear enough. My problem is not with the
axis nor the labels, but the grid lines colour.

I'm busy with other work, the next few days. But I'll try to look into
your answer, any may risk to write you again later.

Best regards
Martin

On 2016-06-07 08:21, Marc Harper wrote:

Hi Martin,

There's actually more than one way to label the axes on a ternary plot
and it can be confusing. In the readme there is a section "Axes Ticks
and Orientations" that discusses this. An arbitrary choice has to be
made and the library operates as follows by default.

The default is left to right on the x coordinate and then up-right on
the up-right axis, with the value of the second coordinate given by the
horizontal line that intersects the right axis.

If you would like the points plotted differently the best option is to
simply permute the points as needed.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#50 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AFpivebEe0zGkQIkxxM-YOCuYc2byz1Pks5qJQ30gaJpZM4IvRoi.

" ... But this required the analysis of a two-dimensional surface, and
he chose to leave it while he first considered in detail some rather
simpler cases"

  - about Alan Thuring (1950)

from python-ternary.

marcharper avatar marcharper commented on July 17, 2024

In this case your code is supplying the colors and you can easily change them by altering the col_axes dictionary. See the colors reference list. For example you can swap red and green using col_axis = {'b': 'r', 'l': 'g', 'r':'b'} instead of col_axis = {'b': 'g', 'l': 'r', 'r':'b'}.

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.