display data as 1px dots in scatterplot ?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

display data as 1px dots in scatterplot ?

josh2
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: display data as 1px dots in scatterplot ?

David Winsemius

On Nov 21, 2010, at 7:46 AM, madr wrote:

>
> By default scatter-plot

There is no R function by that name.

> presents data by using circles, is there a way to
> make it 1px dots ?

It may depend on the actual plotting function, which you have not  
mentioned, but as a starter read up on the cex parameter in ?par.

>

--

David Winsemius, MD
West Hartford, CT

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: display data as 1px dots in scatterplot ?

William Revelle
In reply to this post by josh2
At 4:46 AM -0800 11/21/10, madr wrote:
>By default scatter-plot presents data by using circles, is there a way to
>make it 1px dots ?
>--
>View this message in context:
>http://r.789695.n4.nabble.com/display-data-as-1px-dots-in-scatterplot-tp3052343p3052343.html
>Sent from the R help mailing list archive at Nabble.com.



pch = "."
e.g.,

x <- rnorm(100)
plot(x,pch=".")


Bill


>______________________________________________
>[hidden email] 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.

______________________________________________
[hidden email] 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.