how to change labels on jpg image?

2 ビュー (過去 30 日間)
Milenko
Milenko 2014 年 7 月 7 日
回答済み: Image Analyst 2014 年 7 月 7 日
My idea was:
load('vel1.jpg')
pim=vel1.jpg
xlabel('distance(km)')
ylabel('depth(km)')
C = colorbar('location','EastOutside');
set(get(C,'XLabel'),'String','velocity(m/s)')
Does not work, so I want the same image just with new xlabel and ylabel.

回答 (1 件)

Image Analyst
Image Analyst 2014 年 7 月 7 日
Same as what? What is the pim variable? How are you displaying the image(s), if at all?

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by