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
S H
S H 2019년 4월 12일
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 2019년 4월 13일
Thank you. You showed me very useful resources.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

질문:

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