r studio show plot title in raster layer

467 Views Asked by At

I would like to plot a raster layer, however the title does not appear.

plot(ndwi_18, main= "Calculated NDWI of Landsat 2018 Image")

The raster layer is an excerpt of a Landsat 8 image. The result looks like this:

plot

Any ideas?

0

There are 0 best solutions below