Hi,
FWIW, here's a quick example of something you could try:
w = window(dimensions=[400,800])
; Dummy data for blank image elements
; to hold text.
dim = 512 ; pixel dimension of blank image data
blank = replicate(200b, dim, dim) ; light gray
; Lay out image elements in a grid...
; Blank mage regions to hold text
i1 = image(blank, layout=[2,4,1], current=w)
i3 = image(blank, layout=[2,4,3], current=w)
i5 = image(blank, layout=[2,4,5], current=w)
i7 = image(blank, layout=[2,4,7], current=w)
; Images
i2 = image(/test, layout=[2,4,2], current=w)
i4 = image(/test, layout=[2,4,4], current=w)
i6 = image(/test, layout=[2,4,6], current=w)
i8 = image(/test, layout=[2,4,8], current=w)
; Target text to display in each of the gray image regions
t1 = text(.1*dim, .8*dim, [systime(),'dog','cat'], target=i1, /data, $
VERTICAL_ALIGNMENT=1.0, FONT_SIZE=9, FONT_NAME='Helvetica')
t2 = text(.1*dim, .8*dim, systime(), target=i3, /data, $
FONT_SIZE=9, FONT_NAME='Helvetica')
t3 = text(.1*dim, .8*dim, systime(), target=i5, /data, $
FONT_SIZE=9, FONT_NAME='Helvetica')
t4 = text(.1*dim, .8*dim, systime(), target=i7, /data, $
FONT_SIZE=9, FONT_NAME='Helvetica')
Regards,
|