[R] Legend symbols

2012-12-21 Thread Diviya Smith
Hi there, I was wondering if there is any R package that one can use for plotting that has more legend symbols - the standard pch has 18 symbols but I need ~30 for my application- and just using different colors is not an option. Thank you in advance, Diviya [[alternative HTML version

Re: [R] Legend symbols

2012-12-21 Thread Greg Snow
Using pch you can use all the symbols in the current font, try: plot(0:15, 0:15, type='n') points( (0:255)%%16, (0:255)%/%16, pch=0:255 ) then do it again with points( (0:255)%%16, (0:255)%/%16, pch=0:255, font=5 ) (font 5 is usually a symbol font, fonts 2, 3, and 4 are bold and italic versions

Re: [R] Legend symbols (line, points) in one column.

2011-10-15 Thread Deepayan Sarkar
On Fri, Oct 14, 2011 at 10:02 AM, David Winsemius dwinsem...@comcast.net wrote: Legends are built in columns. You need to find a graphics symbol to put in the points column or you need to find something that the lines paramater will turn into a dot (and I'm not sure what that might be.) A

[R] Legend symbols (line, points) in one column.

2011-10-14 Thread Kenneth Roy Cabrera Torres
Hi David: Thank you for your answer. El vie, 14-10-2011 a las 00:32 -0400, David Winsemius escribió: Legends are built in columns. You need to find a graphics symbol to put in the points column or you need to find something that the lines paramater will turn into a dot (and I'm not sure

[R] Legend symbols (line, points) in one column.

2011-10-13 Thread Kenneth Roy Cabrera Torres
Dear R users: I want to have in the same column both symbols, line and points, one for a data, and the other for the model. How can I do that? Or is there other better form to show both data and model in the same graphic? I need to make the difference on time of the same subject (repeated

Re: [R] Legend symbols (line, points) in one column.

2011-10-13 Thread R. Michael Weylandt
Looking at your provided example (thank you!), I'm not entirely sure what you want to put in the same column. Could you perhaps clarify -- is it something about the plot itself or the legend? Michael On Thu, Oct 13, 2011 at 8:00 AM, Kenneth Roy Cabrera Torres krcab...@une.net.co wrote: Dear R

Re: [R] Legend symbols (line, points) in one column.

2011-10-13 Thread Kenneth Roy Cabrera Torres
It is about the legend. As you see in the example the line is not above the points symbol. I want the line in the symbol in the same column. Thank you for you interest in helping me. Have nice day! El jue, 13-10-2011 a las 22:40 -0400, R. Michael Weylandt escribió: Looking at your provided

Re: [R] Legend symbols (line, points) in one column.

2011-10-13 Thread David Winsemius
Legends are built in columns. You need to find a graphics symbol to put in the points column or you need to find something that the lines paramater will turn into a dot (and I'm not sure what that might be.) My suggestion would be to change the line type to dashed and use - - - for the

Re: [R] Legend symbols mixed char and integer

2010-11-28 Thread Mike Prager
On Sun, 28 Nov 2010 07:54:43 + (GMT), Prof Brian Ripley rip...@stats.ox.ac.uk wrote: On Sat, 27 Nov 2010, Mike Prager wrote: I need to generate a plot with both open and filled circles. It is simple enough, using pch=1 and pch=16. The R pdf graphics output is going into pdftex 1.40.10

[R] Legend symbols mixed char and integer

2010-11-27 Thread Mike Prager
Dear Gurus, R 2.11.1 on Windows XP. This is a problem in interaction between R and pdftex. I need to generate a plot with both open and filled circles. It is simple enough, using pch=1 and pch=16. The R pdf graphics output is going into pdftex 1.40.10 (MikTeX 2.8). The R pdf is correct when

Re: [R] Legend symbols mixed char and integer

2010-11-27 Thread Prof Brian Ripley
On Sat, 27 Nov 2010, Mike Prager wrote: Dear Gurus, R 2.11.1 on Windows XP. This is a problem in interaction between R and pdftex. I need to generate a plot with both open and filled circles. It is simple enough, using pch=1 and pch=16. The R pdf graphics output is going into pdftex 1.40.10