Scale bar

Is there any script to show the results using gmt or GMTSAR or pythons or Matlab and add scale to it
For example vel.grd

Please I need help

Like this

Hi Alzidy1!! Welcome to the GTM Forum!!

Do you mean something like this?

Hi esteban thank you
Like this

Lots of such examples on the GMT site, eg.