title: Plotting a polynomial in Python
body: <p>I am new to Python plotting apart from some basic knowledge of <code>matplotlib.pyplot</code>. My question is how to plot some higher degree polynomials? One method I saw was expressing y in terms of x and then plotting the values. But I have 2 difficulties:</p>
  
  <ol>
  <li>y and x cannot be separated.</li>
  <li>I am expecting a closed curve(actually a complicated curve)</li>
  </ol>
  
  <p>The polynomial I am trying to plot is:</p>
  
  <pre><code>c0 + c1*x + c2*y +c3*x*x + c4*x*y + c5*y*y + c6*x**3 + c7*x**2*y + ..... c26*x*y**5 + c27*y**6
  </code></pre>
  
  <p>All coefficients <code>c0</code> to <code>c27</code> are known.
  How do I plot this curve?</p>
  
  <p>Also could you please suggest me resources from where I can learn plotting and visualization in Python?</p>
  
  <p><strong>Clarification:</strong>
  Sorry everyone for not making it clear enough. It is not an equation of a surface (which involves 3 variables: x, y and z). I should have put a zero at the end: c0 + c1*x + c2*y +c3*x*x + c4*x*y + c5*y*y + c6*x**3 + c7*x**2*y + ..... c26*x*y**5 + c27*y**6 =0</p>