yuzie007 / mpltern

Ternary plots as projections of Matplotlib
https://yuzie007.github.io/mpltern
MIT License
37 stars 2 forks source link

Feature: axis invert or flip #8

Open farmlab opened 1 year ago

farmlab commented 1 year ago

Hi yuzie007, Thank you very much for your work, my question concerns the axis management. Is it possible to invert axe? I would like to achieve the same result as the function ax.invert_yaxis() in matplolib or the parameter clockwise in the ax.ticks(...) function for the python-ternary package. I need this feature to produce soil texture plot that are normalized in my field, i.e. agricultural scientific computing. May be I miss some points in the documentation or some parameter in the code. Thank in advance.

soil-texture-triangle2

yuzie007 commented 1 year ago

Sorry @farmlab for my late response. First of all, do you mean the "python-ternary" package (https://github.com/marcharper/python-ternary)? If so, I am not the developer of that package, and I would suggest you asking in their repository. If you really meant my "mpltern" package, could the option opposite_ticks in https://mpltern.readthedocs.io/en/latest/gallery/axis_and_tick/tick_position.html help?