map('state', col=terrain.colors(50), fill=T)

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

On 23/08/07, Smith, Phil (CDC/CCID/NCIRD) <pzs6@cdc.gov> wrote:
>
> Hi R-Help:
>
> I want to produce a map of the US with different colors for selected
> states.
>
> I installed the map package, and then used:
> library(maps)
>
> I can see that by using
> map( 'state' )
> you get the state boundaries, also.
>
> How do I fill in different colors for the different states? I see there
> is a col parameter for map, but can't see how to get it to work!
>
> Please reply directly to: pzs6@cdc.gov
>
> Many Thanks!
> Phil Smith
> Centers for Disease Control and Prevention
> Atlanta
>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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.
>

	[[alternative HTML version deleted]]

