I have an example table that looks like this:
| dataset | x | y | cx | cy | cRad |
| 1 | 0.1739 | 0.8721 | 0.4985 | 0.5027 | 0.4918 |
| 1 | 0.4959 | 0.0109 | 0.4985 | 0.5027 | 0.4918 |
| 1 | 0.3498 | 0.2249 | 0.4985 | 0.5027 | 0.4918 |
| 1 | 0.4005 | 0.3135 | 0.4985 | 0.5027 | 0.4918 |
| 1 | 0.6558 | 0.2398 | 0.4985 | 0.5027 | 0.4918 |
| 1 | 0.5159 | 0.6867 | 0.4985 | 0.5027 | 0.4918 |
| 1 | 0.7165 | 0.236 | 0.4985 | 0.5027 | 0.4918 |
| 1 | 0.7467 | 0.146 | 0.4985 | 0.5027 | 0.4918 |
| 1 | 0.6812 | 0.1684 | 0.4985 | 0.5027 | 0.4918 |
| 1 | 0.902 | 0.7458 | 0.4985 | 0.5027 | 0.4918 |
| 1 | 0.4638 | 0.7862 | 0.4985 | 0.5027 | 0.4918 |
| 1 | 0.5823 | 0.6482 | 0.4985 | 0.5027 | 0.4918 |
| 1 | 0.9902 | 0.4948 | 0.4985 | 0.5027 | 0.4918 |
| 4 | 0.1275 | 0.8169 | 0.4962 | 0.4958 | 0.489 |
| 4 | 0.9176 | 0.2477 | 0.4962 | 0.4958 | 0.489 |
| 4 | 0.8493 | 0.1575 | 0.4962 | 0.4958 | 0.489 |
| 5 | 0.2 | 0.8 | 0.5 | 0.5 | 0.4243 |
| 5 | 0.2 | 0.2 | 0.5 | 0.5 | 0.4243 |
| 5 | 0.8 | 0.8 | 0.5 | 0.5 | 0.4243 |
| 5 | 0.8 | 0.2 | 0.5 | 0.5 | 0.4243 |
In Graph Builder, I drag x to X, y to Y, and make a local filter for dataset.
I'd like to draw a circle (oval?) centered at cx, cy, with radius cRad. I right-clicked the plot, "Customize", and added this script:
circle({:cx[1],:cy[1]},:cRad[1]);
It works with the subscripts ("[1]") in there, but doesn't update when I change the local filter. If I take out the subscripts it stops working altogether. Is there a way to make this work?