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 个评论

Search FEX for draggable axis. It may return something useful
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.
Thank you. You showed me very useful resources.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Data Exploration 的更多信息

提问:

S H
2019-4-12

评论:

S H
2019-4-13

Community Treasure Hunt

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

Start Hunting!

Translated by