Determing coordinates of point on XY curve

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
ziad_maiden
Posts: 1
Joined: Tue Mar 02, 2010 10:17 pm
antibot: No, of course not.

Determing coordinates of point on XY curve

Post by ziad_maiden » Tue Mar 02, 2010 10:24 pm

Hello all,

Is there any way to determine both coordinates of a point on an XY-curve knowing only one (x or y)?
Please note that the point belongs to the line but is not part of the underlying dataset.

Per example, if I have an XYDataSet containing the following points: (0,0), (1,1), (2,3)

Once the corresponding curve is created, is it possible to determine y when x = 0.25 per example.

Thanks a lot.

Locked