I was wondering if it is possible to plot data that isn't linear. What I mean is that I want the x axis tick marks to go like so. can you do this with maybe a secondary axis??? I am trying to plot HP/Torque x RPM and as time goes the RPM goes up then down, ect...
1000
2000
3000
2000
3000
4000
5000
Cory
Nonlinear Data
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
I don't fully understand - do you have a sample chart (from another source) I could look at?
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


-
- Posts: 13
- Joined: Sat Nov 29, 2003 5:38 am
David -
How would I go about labeling the y axis as follows:
I'm ploting cum-prob data. The x and y data are graphed linearly. However, I need the y-axis labels to be non-linear. The computed y-axis data ranges between +-3, but the associated percentage labels occur at non-linear locations. For example:
y value, percentage
2.326342, 99
1.281551, 90
0.524401, 70
0, 50
-0.5244, 30
-1.28155, 10
-2.32634, 1
On the y-axis at the value 2.32 I need label to be 99% to be displayed.
How can I create and display a y-axis with labels at 99%, 90%, 70%, etc displayed at values (y positions) 2.32, 1.28, 0.52, etc respectively?
Gary
How would I go about labeling the y axis as follows:
I'm ploting cum-prob data. The x and y data are graphed linearly. However, I need the y-axis labels to be non-linear. The computed y-axis data ranges between +-3, but the associated percentage labels occur at non-linear locations. For example:
y value, percentage
2.326342, 99
1.281551, 90
0.524401, 70
0, 50
-0.5244, 30
-1.28155, 10
-2.32634, 1
On the y-axis at the value 2.32 I need label to be 99% to be displayed.
How can I create and display a y-axis with labels at 99%, 90%, 70%, etc displayed at values (y positions) 2.32, 1.28, 0.52, etc respectively?
Gary