Dear all, I have a question is there a possibility to plot points with different symbols like stars, crosses? I looked at different types for plot command and didn't find anything like that. Thanks a lot. [[alternative HTML version deleted]]
See pch argument: plot(1:10, pch = 1:10) On Thu, Jan 14, 2010 at 11:22 AM, Trafim Vanishek <rdapamoga at gmail.com> wrote:> Dear all, > > I have a question is there a possibility to plot points with different > symbols like stars, crosses? > I looked at different types for plot command and didn't find anything like > that. > > Thanks a lot. > > ? ? ? ?[[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > 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. >-- Henrique Dallazuanna Curitiba-Paran?-Brasil 25? 25' 40" S 49? 16' 22" O
Trafim Use the pch= argument within plot(). Try ?points to get details. Trafim wrote:> > Dear all, > > I have a question is there a possibility to plot points with different > symbols like stars, crosses? > I looked at different types for plot command and didn't find anything like > that. > > Thanks a lot. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > 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. > >-- View this message in context: http://n4.nabble.com/plot-type-any-symbols-tp1013838p1013849.html Sent from the R help mailing list archive at Nabble.com.
Also look at the my.symbols function in the TeachingDemos package for more options. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Trafim Vanishek > Sent: Thursday, January 14, 2010 6:23 AM > To: r-help at r-project.org > Subject: [R] plot type any symbols? > > Dear all, > > I have a question is there a possibility to plot points with different > symbols like stars, crosses? > I looked at different types for plot command and didn't find anything > like > that. > > Thanks a lot. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > 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.