Appending a plot and moving it with the mouse cursor

A script lets a few plots to be chosen and to be dropped in the figure one-by-one using ginput. From the time each plot is chosen until before the mouse is clicked, the new selected plot is not shown on the figure. This makes it very difficult to place many plots correctly in the figure.
Is it possible to append each plot one-by-one to the mouse cursor and show it moving with the mouse cursor until mouse botton is clicked and plot is permanently placed in the figure?

4 commentaires

Search FEX for draggable axis. It may return something useful
S H
S H le 12 Avr 2019
I found many cool examples. Thank you for suggesting it. But none of the examples in FEX stick the plot to the mouse pointer and hover it wihtout pushing the mouse botton.
Maybe again, see JGraph in Matlab figures and search UndocumentedMatlab.
S H
S H le 13 Avr 2019
Thank you. You showed me very useful resources.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Data Exploration dans Centre d'aide et File Exchange

Question posée :

S H
le 12 Avr 2019

Commenté :

S H
le 13 Avr 2019

Community Treasure Hunt

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

Start Hunting!

Translated by