Plotting Problems with values bigger than...?

3 ビュー (過去 30 日間)
FishermanJack
FishermanJack 2017 年 12 月 4 日
回答済み: M 2017 年 12 月 4 日
Hi, i want to plot the Values of A that are bigger than 10 in the same figure with Red stars. The Problem is that, for the values for A greater than 10 i get 1 and i want the actual Value of A.
if true
figure;
plot(date,A,date,A1)
datetick('x','mmm-dd','keepticks');
xlabel('Datum','FontSize',14)
hold on;
plot(date,(A > 10),'r*', 'LineWidth',2,'MarkerSize',13);
end

採用された回答

M
M 2017 年 12 月 4 日
Try with
A(A>10)

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by