Custom Datatip Cursor Code that can display data from a workspace?
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have a script that generates a graph of points by looping a function, and I wish to use the Datatip Cursor to click on a point and have it tell me some values (inputs, outputs) that were used to calculate the X and Y of that point.
I have tried several different ways - at first I thought I could simply pass the datatip cursor function a vector or matrix of values that was already in the workspace, but that doesn't work, which makes sense. I've tried saving the workspace in the script that makes the graph, and loading it or otherwise attempting to refer to it later, but that doesn't seem to work either.
When I run the script to get the X and Y points that I subsequently plot, simultaneously I get "point label data" that I save, which is what I want to display when I click. I keep getting "error with custom datatip function" though.
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Axis Labels in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!