Message-ID: <CAPVJd2WBzkOZoN7gwFnX3K8g5oVV4VhyRcXXhG5Uve3ODu_qww@mail.gmail.com>
Date: 2023-10-15T15:04:00Z
From: Shu Fai Cheung
Subject: Plot to a device and examine the plot?
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]]