HP Forums
Statistics 2Var cursor - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Statistics 2Var cursor (/thread-20879.html)



Statistics 2Var cursor - ftneek - 11-22-2023 05:48 PM

I'm working on a project that I'm almost ready to share, here is a snippet I have a question about.

Code:
EXPORT viewPlot()
BEGIN
STARTAPP("Statistics 2Var");
STARTVIEW(1);
END;

Assuming there is already a scatter plot set up, I would like to start the statistics 2var plot view with the cursor on a specific point, but I haven't figured out how to accomplish that yet. I have tried GOTO(xval) and GOTO(x_index) but neither seemed to work, the cursor seems to always start at the first point in the series. I would appreciate any pointers.