How to press on specific point on curve

15 ビュー (過去 30 日間)
Kevin Tran
Kevin Tran 2020 年 5 月 24 日
コメント済み: Abu Bakar Afzal 2023 年 10 月 17 日
Hi guys,
I plotted a curve, now I want to read some specific coordinates but it won't let me.
For example I want to put the cursor when the amplitude is 0.9 and I want to read the x coordinate but I can't, it just let me press on like 0.9027 or 0.88.
So my question is how do I specifically put the cursor on the y or x coordinate I want to read?
This is my code if it helps in anyway. Thanks in advance
figure
data = ScopeData1.signals;
T =tout;
for i = 1 : 2
data1 = data(i).values;
plot(T, data1,'LineWidth', 1.5)
hold on
end
xlim([0 10])
ylim([0 2])
grid on

採用された回答

Sai Sri Pathuri
Sai Sri Pathuri 2020 年 5 月 27 日
This is due to the Selection Style property which is by default set to Snap to Nearest Data Vertex. You may change this setting as below:
  • Select a point on the curve using data cursor
  • Right click on the data and change the Selection Style to Mouse Position
  1 件のコメント
Abu Bakar Afzal
Abu Bakar Afzal 2023 年 10 月 17 日
thanku dude...soo much helpful...literrally spent almost 1.5 hr to find this and finally got it..

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by