Re: Problem with Colours when plotting to screen [message #36565 is a reply to message #36473] |
Thu, 25 September 2003 08:39  |
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
|
|
|