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

Home » Public Forums » archive » Re: Green PostScript Background
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: Green PostScript Background [message #77272] Fri, 19 August 2011 11:48
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jeremy Bailin writes:

> Maybe there's an interfering routine in his path? Do any of the utility
> routines have generic enough names that there could plausibly be other
> programs with the same name?

This is looking more and more like an IDL 6.3 PostScript
problem. It seems that when I restore a previous color
table that all previous colors are converted to the
colors in the restored color table. (Older users may
remember 8-bit graphics displays and how this kind of
behavior was considered a Good Thing in those ancient
days.)

Anyway, IDL 6.3 falls into that range of releases where
everything we knew about color changed with each new
point release of IDL. Who knows (or remembers!) how
it worked in those days!?

In any case, it looks to me like my code is working
correctly, but that version of the PostScript device
doesn't quite know what to do with it.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Green PostScript Background [message #77276 is a reply to message #77272] Fri, 19 August 2011 11:20 Go to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
On 8/19/11 9:57 AM, David Fanning wrote:
> Folks,
>
> I'm in e-mail contact with someone who every time he
> makes a PostScript file using my Coyote Graphics
> commands ends up with a green background color.
> I run his programs and they work perfectly for me,
> reproducing *exactly* what we see on the display.
>
> He assures me (I can never tell if this is true or
> not) that he has downloaded and is using the latest
> Coyote Library, and he is using a Windows machine,
> as I am. Everything I can check about his set-up
> appears to be the same as mine. It doesn't appear
> to be a PostScript viewer problem, because when
> he sends me the actual PostScript file he creates,
> I see the green background, too.
>
> Has anyone ever seen this kind of thing before?
>
> He is in a different part of the world and English
> is not his native language, so I am not sure that
> our communication is always as accurate as I would
> like it to be.
>
> I'm really at a loss for ideas. Any help gratefully
> accepted!
>
> Cheers,
>
> David
>
>

Maybe there's an interfering routine in his path? Do any of the utility
routines have generic enough names that there could plausibly be other
programs with the same name?

-Jeremy.
Re: Green PostScript Background [message #77280 is a reply to message #77276] Fri, 19 August 2011 07:30 Go to previous message
ben.bighair is currently offline  ben.bighair
Messages: 221
Registered: April 2007
Senior Member
On 8/19/11 9:57 AM, David Fanning wrote:
> Folks,
>
> I'm in e-mail contact with someone who every time he
> makes a PostScript file using my Coyote Graphics
> commands ends up with a green background color.
> I run his programs and they work perfectly for me,
> reproducing *exactly* what we see on the display.
>
> He assures me (I can never tell if this is true or
> not) that he has downloaded and is using the latest
> Coyote Library, and he is using a Windows machine,
> as I am. Everything I can check about his set-up
> appears to be the same as mine. It doesn't appear
> to be a PostScript viewer problem, because when
> he sends me the actual PostScript file he creates,
> I see the green background, too.
>
> Has anyone ever seen this kind of thing before?
>
> He is in a different part of the world and English
> is not his native language, so I am not sure that
> our communication is always as accurate as I would
> like it to be.
>

Hi,

This works as expected (white backgound) with a fresh install of the
coyote library from http://tinyurl.com/3hoo3f7

Minke:~ ben$ idl
IDL Version 7.1, Mac OS X (darwin x86_64 m64). (c) 2009, ITT Visual
IDL> cgplot, [0],/window

I manually saved the output using your menus. I can view the PS file
using Mac's 'Preview' software.

Looks OK to me.

Cheers,
Ben
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Postscript settings
Next Topic: Re: Postscript settings

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

Current Time: Wed Oct 08 17:40:13 PDT 2025

Total time taken to generate the page: 0.00783 seconds