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

Home » Public Forums » archive » Re: fsc_color and z-buffer problem with remote non X-session
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
Re: fsc_color and z-buffer problem with remote non X-session [message #45640] Fri, 16 September 2005 16:34
richardgmcmahon is currently offline  richardgmcmahon
Messages: 3
Registered: September 2005
Junior Member
That fixed it thanks.
Re: fsc_color and z-buffer problem with remote non X-session [message #45641 is a reply to message #45640] Fri, 16 September 2005 16:10 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
richardgmcmahon writes:

> I am running IDL on a Unix machine remotely with no X-session
> active. i.e using putty as my terminal.
>
> To make my plots in IDL I am writing to the z-buffer and then
> creating a png that I can then view in a browser. However,
> my session in IDL is crashing when I use fsc_color from
> Dave Fanning's library. See the simple example below.
>
> IDL> set_plot,'z'
> IDL> a=fsc_color('black')
> % Compiled module: FSC_COLOR.
> X connection to cass00:10.0 broken (explicit kill or server shutdown).
>
> Is this me, or a feature of fsc_color.

A feature, I think. We don't want anyone doing anything "irregular". :-)

Since I've never run into this, I'm going to guess that it comes
about by creating a unrealized base widget in order to add the
system colors to the list of colors the program knows about. Maybe
X windows doesn't allow you to do that. I'd comment out that big
IF statement, starting on line 1087, and see if that doesn't fix
the problem.

Let me know. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: fsc_color and z-buffer problem with remote non X-session
Next Topic: IDL memory limitation? (continuted)

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

Current Time: Sun Oct 12 04:23:13 PDT 2025

Total time taken to generate the page: 0.64533 seconds