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

Home » Public Forums » archive » Re: IDL Unix Color Problem
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: IDL Unix Color Problem [message #47872] Wed, 08 March 2006 07:15 Go to previous message
liamgumley is currently offline  liamgumley
Messages: 74
Registered: June 2005
Member
Any program which displays graphics in an X window should work just
fine under Xvfb. In fact, there is no need to use the Z-buffer if you
can use Xvfb.

However, if you are maintaining code which is already hardwired to use
the Z buffer, you need to explicitly set the number of colors and the
font size in the Z buffer for consistent results across platforms. For
example:

set_plot, 'Z'
device, z_buffering=0, set_resolution=[800, 600], $
set_colors=256, set_character_size=[10, 12]

will set the Z buffer to 800 x 600 pixels with 256 colors.

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: create string of fixed length
Next Topic: socket telnet issues

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

Current Time: Thu Oct 09 20:55:29 PDT 2025

Total time taken to generate the page: 0.32242 seconds