Plotting Problems with values bigger than...?

6 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 2-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