[R] angle phase mapping

David Winsemius dwinsemius at comcast.net
Thu Feb 25 15:27:02 CET 2010


On Feb 25, 2010, at 5:51 AM, Magali teurlai wrote:

> Hi all,
>
> sorry,
> here is the pdf and I re post my question :
>
> could anyone give me a clue for the name of a function that would
> allow me to create the same kind of plot as the attached image in R?
>
> I know how to create a map (shapefile polygons), I just want to add
> the phase information as triangles , pointing in the direction
> according to the phase, and the colors of the triangle describing as
> well the phase
> I will have a vector of phases : one scalr (the phase) per polygon
> plotted on the map

You have a plot with shapes indicating directions and magnitudes  
overlayed on latitude and longitude on a map. Look for vectorFields in  
package plotrix. There is also a dataset in ggplot that is described  
as being a vector field but I don't see a plotting method mentioned in  
that dataset page.



>
> Thanks very much for any help
>
> Magali
>
> 2010/2/25 Magali teurlai <teurlaimag.r at gmail.com>
>>
>> Hi all,
>>
>> could anyone give me a clue for the name of a function that would  
>> allow me create the same kind of plot as the attached image in R?
>>
>> I know how to create a map (shapfile polygons), I just want to add  
>> the phase information
>>
>> Thanks very much for any help
>>
>> Magali
> <phase angle map.pdf>______________________________________________
> R-help at 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.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT



More information about the R-help mailing list