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 Kommentare

Search FEX for draggable axis. It may return something useful
S H
S H am 12 Apr. 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 am 13 Apr. 2019
Thank you. You showed me very useful resources.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Data Exploration finden Sie in Hilfe-Center und File Exchange

Gefragt:

S H
am 12 Apr. 2019

Kommentiert:

S H
am 13 Apr. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by