Welcome, Guest
Please Login or Register.    Lost Password?

Colour palette problem
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Colour palette problem
#539
Colour palette problem 12 Years, 12 Months ago Karma: 0
Having got GG installed OK now, I am trying some graphics tests with the statistics and graphing program R (www.r-project.org).

It is a Linux server and Windows client.

The demo("persp") starts to produce it's perspective plots but after a few images pop up on my Win98 desktop, I get an error in the Xterm:

> persp(x, y, z, theta = 30, phi = 30, expand = 0.5,
col = "lightblue", ltheta = 120, shade = 0.75, ticktype = "detailed",
xlab = "X", ylab = "Y", zlab = "Z")
Hit <Return> to see next plot:
Error in persp.default(x, y, z, theta = 30, phi = 30, expand = 0.5, col = "lightblue", :
Error: X11 cannot allocate additional graphics colors.
Consider using X11 with colortype="pseudo.cube" or "gray".


Can someone advise how to get round this? Apart from changing the coding as suggested - it works fine in ordinary X even if a little slower. It also works with a GoGlobal Linux client (although see keyboard mapping issue next query).

Do I need to install more colours or fonts on the server or client (in conventional terms not X)?

TIA
Loggy
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#548
Re: Colour palette problem 12 Years, 11 Months ago Karma: 2
This sounds like your application may think it's running on an 8-bit display and therefore can't allocate the colors that it wants. It might be a good idea for you to send us the session log from this session, from that we can confirm what the depth settings for the session were.

You can also investigate the "Multiple Root Depth" and "8-bit default visual" settings in GO-Configure. These settings can often be used to work around problems in X applications that have problems with the number of colors.

If your Windows display is set to 256 colors, it might also help to increase the number of colors supported by Windows.

Troy
troy
Administrator
Posts: 231
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Birthday: 01/14
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: troy, Andyl