Hi Khyde,
This is because you are using normalized coordinates in the TEXT() function, instead of using DATA coordinates. Try the following:
T = TEXT(0.18,1.1,'N = '+STRING(N+1),TARGET=P, /DATA)
In other words, the following should work better:
W = WINDOW(DIMENSIONS=[1024,1024])
FOR N=0,3 DO BEGIN
Y = SIN((N+1)*FINDGEN(201)*!PI/25.0)
P = PLOT(Y,/CURRENT,LAYOUT=[1,4,N+1])
T = TEXT(0.18,1.1,'N = '+STRING(N+1),TARGET=P, /DATA)
ENDFOR
Cheers,
Fernando
|