how to create a plot with customized points in R?

Posted by kloop on Stack Overflow See other posts from Stack Overflow or by kloop
Published on 2012-03-31T17:20:01Z Indexed on 2012/04/01 5:29 UTC
Read the original article Hit count: 130

Filed under:
|
|

I know I can create a plot with line and dots using the type = "o" argument in the plot command. I would like some more control over this -- I want to be able to draw the "o" as full dots, with black border and fill-in color of my choice, of customized size and of a different color than the line. Same for the line, I want to make it thicker, and of my choice of color. How would I go on about doing that?

What I found until now is just a plain

 plot(y, type= "o")

which is too poor for my needs.

I am not interested in using ggplot, but instead use the internal plot library of R. Any help appreciated.

© Stack Overflow or respective owner

Related posts about r

    Related posts about graphics