Manish Manish - 2 months ago 13
R Question

How to add an arrow (pointer image) to box plot in R?

I'm working on box plot using R. I have already plotted one boxplot and now i need to put a pointer somewhere on box plot?


How to import or design an arrow image at position 1.5 on boxplot?

Answer Source

To place a single image on a graph look at the rasterImage function. If you want to put multiple images on the graph (possibly using them as plotting points) then the my.symbols and ms.image functions in the TeachingDemos package may be helpful.