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 
Switch to threaded view of this topic Create a new topic Submit Reply
Problem with Colours when plotting to screen [message #36473] Wed, 24 September 2003 16:53 Go to next message
Tapuosi Lotoaniu is currently offline  Tapuosi Lotoaniu
Messages: 9
Registered: June 2003
Junior Member
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.
Re: Problem with Colours when plotting to screen [message #36519 is a reply to message #36473] Fri, 03 October 2003 17:30 Go to previous message
Tapuosi Lotoaniu is currently offline  Tapuosi Lotoaniu
Messages: 9
Registered: June 2003
Junior Member
I tried changing graphics bit size but it did not work. I didn't
think
it would work anyway because I access IDL, which runs on a SunOs,
remotely using RH Linux. Could it be a bug in the X software on RH 9.0? I
did not have this color problem with RH 7.2.

In regards to the Macs has anyone tried changing to an earlier X11
version to see if this fixes the color problem? We can't find the
earlier version. Well actually we didn't try too hard because we want to
know if others have tried first to see if its worth the hassle.

Thanks

Dr. Tapuosi Lotoaniu
Space Physics Group
University of California, Los Angeles
Box 951565
Rm 7115 Math Sciences Bldg.
Los Angeles, CA 90095-1565 USA

On Thu, 25 Sep 2003, Andy Loughe ( remove OMITs ) wrote:

> 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
>
>
>
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
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Wed Oct 08 16:00:41 PDT 2025

Total time taken to generate the page: 0.00685 seconds