Calculates whether the mouse is in the plot-area
The x-coordinate of the mouse's position
The y-coordinate of the mouse's position
The plot margins
The the overall dimensions (plot dimensions plus margin)
true if the mouse is in the plot area; false if the mouse is not in the plot area
true
false
Calculates whether the mouse is in the plot-area