GINPUTPLOT

バージョン 1.0.0.0 (853 Bytes) 作成者: Mukhtar Ullah
Finds points on the plot nearest to the mouse click.
ダウンロード: 2.7K
更新 2004/12/28

ライセンスがありません

GINPUTPLOT finds points on the 2-D plot nearest to the mouse click

[XI,YI] = GINPUTPLOT(N) gets N points from the current axes and
returns the nearest points on the plot of Y versus X, in length N
vectors XI and YI, where X and Y are respectively 'XData' and 'YData'
properties of all childern objects in the current axes.

[XI,YI] = GINPUTPLOT gathers an unlimited number of points until
the return key is pressed.

GINPUTPLOT(H,N) and GINPUTPLOT(H) does the same as GINPUTPLOT(N) and
GINPUTPLOT for objects with handles H.

Example:

[t,Y] = ode23(@lotka,[0 5],[20 20]');
plot(Y(:,1),Y(:,2))
[xi,yi] = ginputplot

If any suggestions/improvements/entensions, please let me know.

引用

Mukhtar Ullah (2024). GINPUTPLOT (https://www.mathworks.com/matlabcentral/fileexchange/6512-ginputplot), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R14
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersVisual Exploration についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

mistakenly another file was added last time. now it's correct.