----- Forwarded message from Fabio Machado
<macfa...@gmail.com> -----
Date: Fri, 19 Apr 2013 08:26:08
-0400
From: Fabio Machado <macfa...@gmail.com>
Reply-To:
Fabio Machado <macfa...@gmail.com>
Subject: Re: problem with
fixed.angle?
To: morphmet@morphometrics.org
I'm having an additional issue with fixed.angle after the
previous correction: the configuration keeps rotating if I use the function
another time. I'm not sure if the correction itself is doing this. If I use the
function with the plethspecies data set, the modified function seems to work
fine.
Any help is appreciated.
On
18/04/2013, at 21:52, Fabio Machado <macfa...@gmail.com> wrote:
Dear List,I was trying to use the fixed.angle function in geomorph, and there seams to be a problem. The function deforms the resulting shape, even in the example given in the package. The problem seams to be in the centering on the rotation landmark, as you can check with the following code:data(plethspecies)plot(plethspecies$land[,,1],asp=1, xlim=c(-1,1))points(plethspecies$land[,,1]-plethspecies$land[1,,1],asp=1, col="red")points(fixed[,,1],asp=1, col="blue", pch=4)Apparently, the subtraction of the articulation point follows "downwards" through the column and recycle through the entire configuration. I've altered the code of the function as followingtoAnd this seams to solve the issue, but I'm not sure if I'm altering anything essential for the function or even if the problem I'm having is not due to anything else.Any input is appreciated.Best,-----------------------------------------------------
Fabio Andrade Machado
Laboratório de Evolução de Mamíferos
Departamento de Genética e Biologia Evolutiva
Universidade de São Paulo
Rua do Matão, trav.14, nº277,Edificio Minas Gerais+55 11 3091-8758+55 11 982-631-029skype: fabio_a_machadoGoogle Scholar: http://scholar.google.com/citations?hl=en&user=2l6-VrQAAAAJ
----- End forwarded message
-----