How to pick specific points and mark them on a plot?
Mostra commenti meno recenti
Hi, I currently have an array that is finding temperature differences between two sets of quality controlled data. I have no problem finding these temperature differences and plotting them, but I'd like to know if there is a way for me to mark where there is at least a one degree difference? so:
%temp is time series object with temperature differences
plot(temp)
for i=1:length(temp)
if temp(i)>1 temp(i)<-1
((mark this on the plot))
end
end
Thanks!
Risposte (1)
Vivek Selvam
il 15 Ott 2013
Hi Marian
Add this snippet:
hold on;
plot(i,temp(i),'*')
1 Commento
Marian
il 16 Ott 2013
Categorie
Scopri di più su Data Exploration in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!