how to change labels on jpg image?

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일

0 개 추천

Same as what? What is the pim variable? How are you displaying the image(s), if at all?

카테고리

도움말 센터File Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

질문:

2014년 7월 7일

답변:

2014년 7월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by