I've to plot different function in only one window, and this plots've to become starting with mouse click on the Plot2DPAnel.
The problem is that when I get Coord in method mouseClicked in PlotPanel,I receive absolute Coord,while
I need RelativeCoord relating to axes scale.
That is I need for each clicked point from users the relaive coords that appear when "swow Coord" is enabled!
Can anybody say to me ho I can scale point to current axesScale and obtain RelativeCoord relative to the plot?
P.S. Greetings to the author of this library!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've to plot different function in only one window, and this plots've to become starting with mouse click on the Plot2DPAnel.
The problem is that when I get Coord in method mouseClicked in PlotPanel,I receive absolute Coord,while
I need RelativeCoord relating to axes scale.
That is I need for each clicked point from users the relaive coords that appear when "swow Coord" is enabled!
Can anybody say to me ho I can scale point to current axesScale and obtain RelativeCoord relative to the plot?
P.S. Greetings to the author of this library!