Hi, I create a plot using sunflowerplot, I need to highlight one point to show its importance. What suggestion you have to accomplish this? Thanks, Aden [[alternative HTML version deleted]]
> On Jul 16, 2017, at 6:36 AM, Nada Gh <snada.g14 at gmail.com> wrote: > > Hi, > > I create a plot using sunflowerplot, I need to highlight one point to show > its importance. What suggestion you have to accomplish this? > > Thanks, > Aden > > [[alternative HTML version deleted]]Please read the Posting Guide. You are expected to provide example data and code. Also, Rhelp is a plain text mailing list and you are sending HTML-formatted messages.> > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.David Winsemius Alameda, CA, USA
On 7/16/2017 9:36 AM, Nada Gh wrote:> Hi, > > I create a plot using sunflowerplot, I need to highlight one point to show > its importance. What suggestion you have to accomplish this? > > Thanks,In general, the way to answer such a question for yourself is to read the documentation for arguments related to observation plot attributes, then, if necessary, read the source code. The col= argument of sunflowerplot is passed to points(), and seg.col= is passed to segments, so you could try creating a vector of these, with a different value for the point you want to highlight. -Michael
Thank you all! On Mon, Jul 17, 2017 at 4:46 PM, Michael Friendly <friendly at yorku.ca> wrote:> On 7/16/2017 9:36 AM, Nada Gh wrote: >> >> Hi, >> >> I create a plot using sunflowerplot, I need to highlight one point to show >> its importance. What suggestion you have to accomplish this? >> >> Thanks, > > > In general, the way to answer such a question for yourself is to read the > documentation for arguments related to observation plot attributes, > then, if necessary, read the source code. > > The col= argument of sunflowerplot is passed to points(), and seg.col= is > passed to segments, so you could try creating a vector of these, with a > different value for the point you want to highlight. > > -Michael > >