title: How to have an image in background of plot in matlab
body: <p>I have a plot from a network of lines in 3D space and I have one image from the object as well. Now I want to put the image file in the background of my plot as a fixed background and then the network should be plotted on that background. By the way, since the Network is in 3D space I can rotate it easily and it is important for me rotate the network on the my combined plot as well.</p>
  
  <p>this is my code that I have written but it shows my plot separately! if I put imshow inside the figure then image will be ploted on the top of my network and I can see only one point of my network. Here is the link of <a href="http://s000.tinyupload.com/?file_id=60812900386881588685" rel="nofollow">Network</a> and the background image from <a href="http://s000.tinyupload.com/?file_id=20856568002520937768" rel="nofollow">background</a>
  Here is my code: the first line plot the image and the rest of the code plot my network of lines:</p>
  
  <pre><code>Img1 = imshow('STP1.png');
  figure('name','Distance');
  hold on;
  labels = cellstr( num2str([1:SIFT_Length]') );  
  text(SIFT_3D(:,1), SIFT_3D(:,2),SIFT_3D(:,3),labels,'FontWeight','bold','FontSize', 12,...
   'VerticalAlignment','bottom','HorizontalAlignment','right')
  title('Distances Network with colorized lines based on Uncertainty','FontWeight','bold');
  hold on
  for k = 1:Num_Line_SIFTS
         plot3([SIFT_3D(Line_among_2_Sifts(k,1),1),SIFT_3D(Line_among_2_Sifts(k,2),1)],...
         [SIFT_3D(Line_among_2_Sifts(k,1),2),SIFT_3D(Line_among_2_Sifts(k,2),2)],...
         [SIFT_3D(Line_among_2_Sifts(k,1),3),SIFT_3D(Line_among_2_Sifts(k,2),3)],...
         'o-','Color',[RGB_0_1(k,1) RGB_0_1(k,2) RGB_0_1(k,3)],'MarkerFaceColor',[RGB_0_1(k,1) RGB_0_1(k,2) RGB_0_1(k,3)],'MarkerEdgeColor',...
         'k', 'LineWidth',2)
   end
  hold off;
  </code></pre>
  
  <p>Please help me how can I solve this issue.</p>