title: scatter plot with multiple X features and single Y in Python
body: <p>Data in form:</p>
  
  <pre><code>       x1     x2
  data= 2104,    3
        1600,    3
        2400,    3
        1416,    2
        3000,    4
        1985,    4
  
  y= 399900
     329900
     369000
     232000
     539900
     299900
  </code></pre>
  
  <p>I want to plot scatter plot which have got 2 X feature {x1 and x2} and single Y,
  but when I try</p>
  
  <pre><code>y=data.loc[:'y']
  px=data.loc[:,['x1','x2']]
  plt.scatter(px,y)
  </code></pre>
  
  <p>I get:</p>
  
  <blockquote>
    <p>'ValueError: x and y must be the same size'.</p>
  </blockquote>
  
  <p>So I tried this:</p>
  
  <pre><code>data=pd.read_csv('ex1data2.txt',names=['x1','x2','y'])
  px=data.loc[:,['x1','x2']]
  x1=px['x1']
  x2=px['x2']
  y=data.loc[:'y']
  plt.scatter(x1,x2,y)
  </code></pre>
  
  <p>This time I got blank graph with full blue color painted inside.
  I will be great full if i get some guide</p>