title: How to plot using a text data column from an Excel file as x axis?
body: <p>I have imported in Matlab an Excel file that contains two columns, one with numeric values, and the other one with text values. The first 5 rows can be seen below:</p>
  
  <p>ABF-E &nbsp;&nbsp;&nbsp;&nbsp; 0.34</p>
  
  <p>HJK-D &nbsp;&nbsp;&nbsp;&nbsp; -0.54</p>
  
  <p>GHKL-I &nbsp;&nbsp;&nbsp;&nbsp; 1.34</p>
  
  <p>FPLO-5 &nbsp;&nbsp;&nbsp;&nbsp; 2.3</p>
  
  <p>KKJLL-T &nbsp;&nbsp;&nbsp; 0.98</p>
  
  <p>I need to plot the numeric column on the Y axis and the text column on the X axis. I can easily work with the numeric column using <code>xlsread</code> and <code>plot</code> , but I cannot manage plotting the text column. How could I do it?.</p>
  
  <p>I have written the following code, but I don't know what to do for the x Axis:</p>
  
  <pre><code>filename = 'MyData.xlsx';
  
  Sheet = 2
  
  xlRange = 'B1:B60';
  
  Yaxis = xlsread (filename,Sheet,xlRange);
  
  Xaxis = ????????;
  
  plot(xAxis,Yaxis)
  </code></pre>
  
  <p>I would be very grateful if somebody could help me.</p>