Clear Filters
Clear Filters

Plotting Problems with values bigger than...?

6 views (last 30 days)
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

Accepted Answer

M
M on 4 Dec 2017
Try with
A(A>10)

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!