Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
contourlines in time format
조회 수: 1 (최근 30일)
이전 댓글 표시
how can I format my contour lines with clabel in time format like hh:mm?
댓글 수: 0
답변 (2개)
Grzegorz Knor
2012년 4월 23일
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
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!