I just did a quick test to see what the event returns. As I click closer to 0, it results in a number sifted more and more to the right. I am only showing the x coordinate since the y have exactly the same results. Also, the resulting values are approximate since I did not zoom in close enough...
The code is in Java. We are using a library called JFreeChart to create the chart. Here is the click event where everything happens:
public void mouseClicked (MouseEvent e)
{
if (SwingUtilities.isRightMouseButton (e))
return;
if(pointerAdded)
return...
I am working on a homework for a programming class. We have to create a Logarithmic plot and add to it a marker when the program is running on the click of the mouse. That is NOT the problem :) , in fact, that's very simple!
My problem, however, is with the scale. When my plot is in linear...