Secondary axis as a nonlinear function of the first axis

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Niloo
Posts: 1
Joined: Mon Jan 17, 2022 11:19 am
antibot: No, of course not.

Secondary axis as a nonlinear function of the first axis

Post by Niloo » Mon Jan 17, 2022 4:04 pm

Hi, I am trying to create a plot with two X axes. The secondary axis values are the inverse of the the first axis values, e.g. the first x axis varies from 0.0004 to 0.001, with tick unit 0.001, and the inversed one from 2500 to 1000. I can create an inverted secondary axis, but I wonder how I can adjust the tick mark units for the secondary axis which are varying. I would be very grateful if you could help me. Thank you very much in advance!

Locked