title: Creating a 3D Surface Plot from a matrix in R
body: <p>I have been searching for this quite a while, but cannot find an answer to my problem or a minimum example. I would like to make a 3D-plot of a matrix.</p>
  
  <p>An extract of my data looks like this. There are the years, which I would like to use as X-Axis. There is Y, which I would like to use as Y and I would like to plot z.</p>
  
  <pre>
  Year       y     z
  2000       1     467
  2000       2   10678
  2000       2      25
  ...
  </pre>
  
  <p>How can I make this a surface plot?</p>
  
  <p>Best</p>