title: matlab double title and xticks for xaxis label
body: <p>Am trying to plot a graph in Matlab, exactly like this image attached. </p>
  
  <p>Now the problem is in the x axis label, and in the title. I know how to plot the image, the colorbar, the title of the colorbar etc.. </p>
  
  <p>but I can't figure out a way to modify the xlabel plot to look like the xlabel and xticks in the image as well as a text to say this is the latitude and this is the longitude as in  the bottom right of this image. </p>
  
  <p>1-I have two arrays (each one of them is a 1D array (one is latitude and one is longitude)), so how can I force the XLABEL to plot the latitude values and the longitude values of these arrays in the xaxis of the image and add a text mentioning its latitude and longitude as I described above?</p>
  
  <p>2- in the title, I also need to add the time on the top of the image as xaxis too, and how to add a title on the left top and the right top of the image that are a bit higher than the title of the image ?</p>
  
  <p><a href="https://i.stack.imgur.com/Rtklz.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Rtklz.jpg" alt="enter image description here"></a></p>
  
  <pre><code>`figure
  imagesc (latitude, Altitude, myimage)
  shading interp
  axis xy
  set(gca, 'xticklabel', [])
  yTicks = get(gca,'ytick');
  xTicks = get(gca, 'xtick');
  minX = min(xTicks);
  VerticalOffset = 0.1;
  HorizontalOffset = 0.6;
  for yy = 1:length(yTicks)
  
  text(minX - HorizontalOffset, yTicks(yy) - VerticalOffset,     
  ['$$\begin{array}{c}', num2str( yTicks(yy)),'\\',num2str(         
   2*yTicks(yy)),'\end{array}$$'], 'Interpreter', 'latex')
  end
  minY = min(yTicks);
  VerticalOffset = 0.6;
  HorizontalOffset = 0.0;
   xxTicks=gps_lon;
  str=strcat(num2str(xTicks(end)),[],'Latitude',[], '(degree North)');
  str2=strcat(num2str(xxTicks(end)),'Longitude', '(degree East)');
  for xx = 1:length(xTicks)
     if xx==length(xTicks)
        text(xTicks(xx) - HorizontalOffset, minY - VerticalOffset,    
        ['$$\begin{array}{c}', str,'\\', str2,'\end{array}$$'],   
         'Interpreter', 'latex')
    else
        text(xTicks(xx) - HorizontalOffset, minY - VerticalOffset, 
        ['$$\begin{array}{c}', num2str( xTicks(xx)),'\\',num2str( 
        xxTicks(xx)),'\end{array}$$'], 'Interpreter', 'latex')
    end
  
  end
  
    ylabel('Altitude (km)', 'FontSize', 24);
    title('Time (UTC)', 'FontSize', 24);
    colormap('jet')
    mycolorbar=colorbar;
    LabelText='Title2 (unit)';
    ylabel(mycolorbar, LabelText)
    xtopTicks=time;
    axes
    set(gca,'xlim',[min(time) max(time)],'XAxisLocation','top')
    VerticalOffset = 0.0;
    HorizontalOffset = 0.0;
    for xx = 1:length(xTicks)
        text(xtopTicks(xx) - HorizontalOffset, minY - VerticalOffset, 
        ['$$\begin{array}{c}', num2str( xtopTicks(xx)),'\\','
         \end{array}$$'], 'Interpreter', 'latex')
    end`
  </code></pre>
  
  <p>Thanking you in advance for help</p>