Saving the data from a scatter 3D plot

10 visualizzazioni (ultimi 30 giorni)
Feri
Feri il 29 Feb 2020
Commentato: Feri il 3 Mar 2020
I have a set of 3D points plotted in a scattered mode, is there anyway to interactively select a subset of this point cloud and save it to the workspace? (without using brush; because I can't get it to work).
The goal is to to ask the user to select a subset of the scatter plot and save the x, y, z values of the selection.
Any help is much appreciated.
  6 Commenti
dpb
dpb il 1 Mar 2020
Brush does the job, except ... requires assigning a name to the saved the data, and [that] makes it way difficult to use the saved data in a loop with random names)."
I've never used brush so am totally unfamiliar with its syntax/requirements, sorry.
Could you present the user with a selection tool that gives a choice of a variable name and then use it? That should let you handle the problem if so.
As said, I don't do GUIs to any extent as was fortunate to able to hand that task off to folks who really knew how to do so...hence, I'm just guessing here, sorry.
Hopefully somebody else who does know something about it will come along, too...
Feri
Feri il 1 Mar 2020
Thank you so much, I am new to GUI and it has been a nightmare so far...

Accedi per commentare.

Risposta accettata

Maadhav Akula
Maadhav Akula il 3 Mar 2020

Più risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by