title: Matlab: How to save plots of patches / fill() automatically in the code?
body: <p>quick question: I'm creating "random" polygons using either the patch() or the fill() function in Matlab. This works quite good and it is plotted correctly.</p>
  
  <p>However, I need to at least save a few hundres polygons as images to my hard drive for working with them later - so I'm looking for a way to directly save the image in my function rather than saving each polygon myself using the file-menu.</p>
  
  <p>Is there any way to do this?</p>
  
  <p>Thanks in advance!</p>