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

Home » Public Forums » archive » A color question with PS
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
A color question with PS [message #42171] Mon, 10 January 2005 18:02
war is currently offline  war
Messages: 21
Registered: December 2003
Junior Member
Dear IDL user,

I have a PS color question I am trying to solve. Please give any answer
if you have some.

This is my simple plot program:

a= RANDOMU(n,11)
PLOT, a,/nodata
OPLOT, a, color= '0000ff'x, psym=2
END

If I send this to my X-windows (!d.name = X), I get some red asteriscs
(as expected). But now, I want to send the plot to a PS file. So I do:

SET_PLOT,'ps'
DEVICE, /color
PLOT, a,/nodata
OPLOT, a, color= '0000ff'x, psym=2
DEVICE,/close
SET_PLOT, 'x'

The file, I am getting, contains only the box but not the data.

I don't know if I am missing any command or the Hexadecimal color code
does not work with PS file.

Thanks for any help,

PS: I am using IDL 6.0 on a linux with 24 bits color depth.

Andry
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: polygonal to mathematical surfaces
Next Topic: Re: A color question with PS

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

Current Time: Sat Oct 11 03:57:07 PDT 2025

Total time taken to generate the page: 1.03960 seconds