
On Oct 27, 2010, at 11:54 AM, Marcelo Lima wrote:

> Hi,
>
> Alright, here is the example.

Not in the usual meaning for "example" in rhelp. If you are unclear  
about what constitutes a "reproducible example" then re-read the  
Posting Guide.

>
> I created a covariance matrix

How? Show some code and/or the output of dput on the objects

> and plotted it as a contour plot,

With what functions? Show some more code. There are three distinct  
paradigms for plotting in R.

> since the diagonal of a covariance matrix represents the variance in  
> my data set I would like to add a line throughout the diagonal of my  
> plot. is there a quicker way than using abline function?

The answer depends on the responses to the questions above. I could  
guess at which functions you have chosen, but I am often wrong, so I  
now try to avoid guessing.

-- 
David

>
> On Wed, Oct 27, 2010 at 1:33 PM, David Winsemius <dwinsemius@comcast.net 
> > wrote:
>
> On Oct 27, 2010, at 11:23 AM, Marcelo Lima wrote:
>
> Hi,
>
> Sorry,
>
> I plotted as a contour plot.
>
> This will move along faster if I stop asking questions and you just  
> just a reproducible example.
>
> -- 
> David.
>
>
> thanks
>
> On Wed, Oct 27, 2010 at 1:21 PM, David Winsemius <dwinsemius@comcast.net 
> > wrote:
>
> On Oct 27, 2010, at 11:17 AM, Marcelo Lima wrote:
>
> Hi,
>
> I would like to add a line on the diagonal of a covariance matrix,  
> is there
> a quick way to do it besides abline?
>
> It's somewhat unclear what you are doing. How are you "plotting"  
> this covariance matrix?
>
> Perhaps:
> ?segments
>
> -- 
>
>
> David Winsemius, MD
> West Hartford, CT
>
>
>
>
> -- 
> Marcelo Andrade de Lima
> UNIFESP - Universidade Federal de São Paulo
> Departamento de Bioquímica
> Disciplina de Biologia Molecular
> Rua Três de Maio 100, 4 andar - Vila Clementino, 04044-020
> Lab +55 11 55764438 R.1188
> Cell +55 11 92725274
> mlima@unifesp.br

David Winsemius, MD
West Hartford, CT


	[[alternative HTML version deleted]]

