Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Hello, I am having trouble with the TEXT function when I put multiple plots on the same figure (in a FOR loop). In the following example, the text is written in the same location on the first plot instead of each subsequent plot. Any advice would be greatly appreciated. Thank you, Kim 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,0.94,'N = '+STRING(N+1),/NORMAL,TARGET=P) ENDFOR