See ?matplot

On Tue, Nov 11, 2008 at 10:31 AM, mentor_ <mentor_@gmx.net> wrote:

>
> Hi,
>
> I would like to plot the rows of a matrix.
> Is there a better way as doing it in the following way?:
>
> plot(matrix[1,], type="l")
> for (i in 2:dim(matrix)[1]) {
>        lines(matrix[i,], type="l")
> }
>
> Cheers
> --
> View this message in context:
> http://www.nabble.com/Plot-matrix-tp20438584p20438584.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help@r-project.org 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.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

	[[alternative HTML version deleted]]

