title: How do I plot certain columns using xmgrace in the terminal?
body: <p>I want to write a bash script to automate the plotting of data, using a plotting tool called xmgrace, but I want to be able to select which columns are plotted. </p>
  
  <p>Say in my data file I have 3 columns, with the x and y data in the 1st and 3rd columns. How do I plot x against y when the data is formatted this way?</p>
  
  <p>I tried <code>xmgrace -bxy [1:3] data</code> but that didn't work, it said <code>No block data read</code> and treated the second column as the y values.</p>