|
How to get the (x,y) position of a data point in a dataset? |
Posted by Patrick on Jan-13-2015 11:28 |
|
Is there anyway to get the (x,y) position of where a data point from a DataSet was plotted
in the plot area? I want to draw a circle around certain data points to draw attention to
them. Like the attached picture.
|
Re: How to get the (x,y) position of a data point in a dataset? |
Posted by Patrick on Jan-13-2015 12:10 |
|
Nevermind. I found the layer.getXCoor(j) and layer.getYCoor(data3(j)) functions. They
work wonderfully. See attached.
|
Re: How to get the (x,y) position of a data point in a dataset? |
Posted by Peter Kwan on Jan-13-2015 23:19 |
|
Hi Patrick,
The method I usually use is to add symbols to the special points using a scatter layer. The
symbol can be a circle with transparent fill color and a red border color.
Regards
Peter Kwan |
|