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

Home » Public Forums » archive » Re: Two Images in One Window - Like oplot or /NOERASE
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Two Images in One Window - Like oplot or /NOERASE [message #27750] Thu, 01 November 2001 07:09 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Emmler, Oliver (oemmler@ix.urz.uni-heidelberg.de) writes:

> I produce two images in IDL
>
> a) Reference
> b) ROI of Reference
>
> Now i want to draw first the reference image an then plot the roi with
> another colortable like it is possible for plots with oplot or the keyword
> /noerase. Is there any possibility to do so ?

Commands that display images (e.g. TV) never
erase the display, so put as many images on the
display at once as you like. You can even overlap
them, etc.

If you are on a 24-bit display, just load a new
colortable before you display the second image.
If you are on an 8-bit display you will have to
divide your color table and scale your images
appropriately. Here is an article that describes
how:

http://www.dfanning.com/color_tips/twocolortables.html

Is it just me, or does the whole notion of
8-bit displays sort of date you. It's kind of
like mentioning the Mamas and the Papas, it
seems to me. :-(

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: getting hostname, sharename
Next Topic: Erosion and dilation

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

Current Time: Thu Oct 09 20:53:00 PDT 2025

Total time taken to generate the page: 1.12236 seconds