[R] "Dumb" plots?

Spencer Graves spencer.graves at pdf.com
Tue May 6 17:40:54 CEST 2003


How about:

Dat <- array(1:10, dim=c(10,2))
dimnames(Dat) <- list(NULL, c("x", "y"))
Crt <- array(" ", dim=c(10,10))
Crt[Dat] <- "*"
for(i in 1:10)
	cat(Crt[,11-i], "\n")

This worked in both R 1.6.2 and S-Plus 6.1 under Windows 2000.
hth.  spencer graves

Robert Lundqvist wrote:
> Is there any neat way of producing character-based "dumb" plots in R
> rather than the ordinary very good-looking graphics? It would at times be
> both easy and sufficient to include such crude graphs in HTML pages rather
> or similar.
> 
> --robert
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list