Pointer on the graph.
古いコメントを表示
Hi everyone. There is 1x100 array. Is there any function that can show me (for example with pointer or another color) on the graph all points that higher 100?
1 件のコメント
Sumit Tandon
2012 年 7 月 25 日
One simple approach could be to use a combination of thresholding and logical indexing to identify these points and plot them. Example:
x = randi(150,[1,100]);
z = x;
z(x<100) = NaN;
hold on
plot(x)
plot(z,'*r')
hold off
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Graph and Network Algorithms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!