TVImage and !P.Multi [message #67125] |
Tue, 07 July 2009 15:51 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Folks,
I am often displaying multiple images in a window
or on a PostScript page and I like to use !P.Multi
to set up the image position on the page. (I always
use TVImage to display my images.)
The problem is, I often want to leave a little
extra room for an image color bar or other image
annotation, and !P.Multi tends to put the image
positions too close together to allow this.
Essentially, what I would like to do is adjust the
image position a bit so I have enough room to
place my annotations.
To this end, I have added a MultiMargin keyword
to TVImage (and I guess to TVScale when I get
a couple of minutes) that allows me to make
exactly these adjustments to the image position
produced by !P.Multi.
I've written an article that explains how it
works, and I've shown you some code that I use
to produce color bars and other image annotation
on images positioned with !P.Multi. You can find
it here:
http://www.dfanning.com/code_tips/multimargins.html
Cheers,
David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|