Add text in plot R

Viewed 98

I want to add information data in my plot, but it doesn't display the text.

I tried:

warna <- brewer.pal(n = 11, name = "RdYlGn")
warna <- rev(warna)
plot(pm10_mean, col=palette(warna), main="Rata Rata PM10")
plot(shp, xlim=xlim, ylim=ylim, add=TRUE)
text(x,y,"sulawesi")

it just display like this without text "sulawesi"

enter image description here

The plot that i want to save:

enter image description here

Any suggestion to get plot like that?

0 Answers
Related