Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
contourlines in time format
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
how can I format my contour lines with clabel in time format like hh:mm?
0 Kommentare
Antworten (2)
Grzegorz Knor
am 23 Apr. 2012
It may be helpful to Analyze this code:
Z = 5+abs(peaks)/10;
[C,h] = contour(interp2(Z,4));
th = clabel(C,h);
set(th,'BackgroundColor',[1 1 .6],...
'Edgecolor',[.7 .7 .7])
for k=1:length(th)
tmp = get(th(k),'String');
tmp = strrep(tmp,'.',':');
set(th(k),'String',tmp)
end
0 Kommentare
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!