title: How can I increase the resolution of my plot in R?
body: <p>I am making simple plots in R and want the resulting images to be very high resolution. I tried just specifying large height and width parameters in the output image code, but this just makes a large image with fuzzy data points.</p>
  
  <p>My current code looks like this:</p>
  
  <pre><code>png(filename="simple_graphic.png", width=5600, height=1000)
  depth_plot &lt;- c(a large list of data)
  plot(depth_plot, type="o", col="blue", log="y",)
  dev.off()
  </code></pre>
  
  <p>Any help optimizing this code to make the resolution of each data point higher is much appreciated!</p>