Info
この質問は閉じられています。 編集または回答するには再度開いてください。
contourlines in time format
2 ビュー (過去 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!