comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » TEXT Function
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
TEXT Function [message #76608] Thu, 09 June 2011 09:41
Kim is currently offline  Kim
Messages: 19
Registered: January 2009
Junior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: openr or openw with COMPRESS flag broken for large data files
Next Topic: Widget Question

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 06:45:32 PDT 2025

Total time taken to generate the page: 0.88373 seconds