Filter löschen
Filter löschen

Plotting Problems with values bigger than...?

6 Ansichten (letzte 30 Tage)
FishermanJack
FishermanJack am 4 Dez. 2017
Beantwortet: M am 4 Dez. 2017
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

Akzeptierte Antwort

M
M am 4 Dez. 2017
Try with
A(A>10)

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by