When plotting contours (defined by an x-y point list) in Matlab
proper, rotation is easy, since the rotate function receives an object
handle as its input. However, when using Psychtoolbox's SCREEN
function to display the same figures, a coordinate list seems to be
the only data input that 'FillPoly' accepts, and I can't seem to find
a Matlab function that will both rotate a coordinate list AND return
the transformed list.
If anyone has any insight into this issue (i.e. knows something about
Matlab/Psychtoolbox that I've overlooked, has designed their own code
to deal with this, or has suggestions for code that I might write),
that would be greatly appreciated.
B. Schnitzer
Coadjutant/Research Assistant
Rutgers University Center for Cognitive Science
proper, rotation is easy, since the rotate function receives an object
handle as its input. However, when using Psychtoolbox's SCREEN
function to display the same figures, a coordinate list seems to be
the only data input that 'FillPoly' accepts, and I can't seem to find
a Matlab function that will both rotate a coordinate list AND return
the transformed list.
If anyone has any insight into this issue (i.e. knows something about
Matlab/Psychtoolbox that I've overlooked, has designed their own code
to deal with this, or has suggestions for code that I might write),
that would be greatly appreciated.
B. Schnitzer
Coadjutant/Research Assistant
Rutgers University Center for Cognitive Science