[R] Plot to a device and examine the plot?

Shu Fai Cheung @hu|@|@cheung @end|ng |rom gm@||@com
Sun Oct 15 17:04:00 CEST 2023


Hi All,

I want to inspect the content of a plot generated by another function.

For example:

plot.new()
polygon(c(.5, .5, .75, .8), c(.25, .3, .4, .5))

A polygon will be drawn. If I do not know what has been done to generate
the plot, is it possible to query the content in the active device?

Regards,
Shu Fai

	[[alternative HTML version deleted]]



More information about the R-help mailing list