<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>Re: [adegenet-forum] question colorplot</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Michael C Fontaine wrote:<BR>
> Dear Thibaut,<BR>
><BR>
> I would like to use the function colorplot, but I would like to know exactly what the colorscale represent (how can I display the scale on the plot?).<BR>
><BR>
> Thanks in advance,<BR>
> Michaël<BR>
> --<BR>
> Michael C. Fontaine <BR>
><BR>
> PostDoc<BR>
> UMR CNRS/Universite Paris Sud/AgroParisTech 8079<BR>
> Universite Paris-Sud, Batiment 360<BR>
> F-91405 Orsay cedex<BR>
> FRANCE<BR>
> Phone +33169155662<BR>
> Fax +33169154697<BR>
> E-Mail: michael.fontaine@u-psud.fr<BR>
> Personal webpage: <A HREF="http://users.skynet.be/fb683753/michaelcfontaine/Home.html">http://users.skynet.be/fb683753/michaelcfontaine/Home.html</A><BR>
<BR>
Dear Michael,<BR>
<BR>
Basically, you can't since there is not one scale, but three (this is a RBG scale) which are combined to obtain colors: one for red, blue and green. So unless you are just using one of the three channels (in which case the colorplot is no longer required), you cannot have a colorscale associated to your graphic. What you can say from your colorplot is that observation having closer values for the chosen variables would have closer colors.<BR>
<BR>
Best,<BR>
<BR>
Thibaut.<BR>
<BR>
--<BR>
######################################<BR>
Dr Thibaut JOMBART<BR>
MRC Centre for Outbreak Analysis and Modelling<BR>
Department of Infectious Disease Epidemiology<BR>
Imperial College - Faculty of Medicine<BR>
St Mary’s Campus<BR>
Norfolk Place<BR>
London W2 1PG<BR>
United Kingdom<BR>
Tel. : 0044 (0)20 7594 3658<BR>
jombart@biomserv.univ-lyon1.fr<BR>
<A HREF="http://biomserv.univ-lyon1.fr/%7Ejombart/">http://biomserv.univ-lyon1.fr/%7Ejombart/</A><BR>
<A HREF="http://adegenet.r-forge.r-project.org/">http://adegenet.r-forge.r-project.org/</A><BR>
</FONT>
</P>
</BODY>
</HTML>