From: Spencer Graves (spencer.graves@pdf.com)
Date: Wed 07 May 2003 - 01:40:54 EST
Message-id: <3EB7D786.2080709@pdf.com>
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@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:11:45 EST