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

Home » Public Forums » archive » Problem with Colours when plotting to screen
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: Problem with Colours when plotting to screen [message #36565 is a reply to message #36473] Thu, 25 September 2003 08:39 Go to previous message
Andy Loughe ( remove [1] is currently offline  Andy Loughe ( remove [1]
Messages: 1
Registered: September 2003
Junior Member
This may be a problem with handling 24-bit graphics.

This is what my startup.pro looks like on a RH Linux box:


; Let's deal with the 24-bit display issues.
if (!version.os_family eq 'unix') then device, true_color=24
window, /free, /pixmap, colors=-10
wdelete, !d.window
device, decomposed=0, retain=2, set_character_size=[8,10]
device, get_visual_depth=depth


; Print helpful information at login.
print, ' '
print, 'Display depth: ' + strtrim( depth, 2 )
print, 'Color table size: ' + strtrim( !d.table_size, 2 )
print, ' '
$pwd
$hostname
print, ' '


Try running with that, and see if it helps.



Tapuosi Lotoaniu wrote:
> Hi All,
>
> We are having problems with image colours when running IDL5.4 through
> xterms on Macs. I read an earlier reply that said that it could be due to
> bugs in version 0.3 of X11 on Macs.
>
> However, I am having the same problem with my Linux RH9.0 at home. I run
> IDL through xterm on Linux and the colour plots to screen are always black
> and white. When I print to file (e.g. postscript) the images are colour. I
> had RH7.0 last year and this problem did not occur.
>
> Any help would be grateful.
>
> Thanks
> Paul.
>


--
Andrew Loughe =====================================================
NOAA/OAR/FSL/AD R/FS5 | email: Andrew.Loughe@noaa.gov
325 Broadway | wwweb: www-ad.fsl.noaa.gov/users/loughe
Boulder, CO 80305-3328 | phone: 303-497-6211 fax: 303-497-6301
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: how to do *b++=100 as in C
Next Topic: Re: spatial interpolation

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

Current Time: Fri Oct 10 20:12:28 PDT 2025

Total time taken to generate the page: 0.55841 seconds