[tlocoh-info] display tif in background of animation

Anna Schweiger anna.schweiger at nationalpark.ch
Mon Aug 4 20:17:29 CEST 2014


Hi T-LoCoH list, 

 

I'm currently trying to create some animations using lxy.exp.mov. 

Appendix VI in the tutorial gives very detailed instruction and everything
works fine, EXCEPT:  I just can't figure out how to display raster data (in
.tif format) in the background. Unfortunately, Appendix IV (Displaying
Spatial Data in the Background) could not help me .. 

 

The first step of creating the animation is: 

> lxy.exp.mov (all_gams.lxy, id=611, screen.test=TRUE, max.frames=1)

 

For simple plausibility checks during data analysis the following worked
fine: 

> N2010 <- raster ("./N_2010.tif")   ### this is the environmental data I
want to display in the background of the animation

> plot(all_gams.lxy, id=611)

> plot(N2010, add=T) 

 

Does anybody have an idea? I'm stuck ..

Thank you very much for your help! 

 

Best whishes, Anna

P Please consider the environment before printing this email.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/tlocoh-info/attachments/20140804/3b03e7bd/attachment.html>


More information about the Tlocoh-info mailing list