Plotting Problems with values bigger than...?

10 vues (au cours des 30 derniers jours)
FishermanJack
FishermanJack le 4 Déc 2017
Réponse apportée : M le 4 Déc 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

Réponse acceptée

M
M le 4 Déc 2017
Try with
A(A>10)

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by