title: placing legend below a raster plot and getting rid of the rectangle surrounding raster plot
body: <p>I am plotting a raster image from the data stored in a file by using the three lines of code given below. However, I wish to generate a legend (or color-chart) below the image. The default legend is generated on the right hand side. Any idea how I may get legend at desired location.
  Secondly, I am getting a rectangle around the image which I don't require in the final plot. Please help me with these issues. </p>
  
  <pre><code>            temp_var&lt;-raster(input)
      par(mar=c(0,0,0,0))
      plot(temp_var,legend=F,axes=FALSE)
  </code></pre>
  
  <p>Thanks...            </p>