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

Home » Public Forums » archive » Using Postscript & Colours in IDL
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: Using Postscript & Colours in IDL [message #58417 is a reply to message #58335] Mon, 28 January 2008 07:52 Go to previous messageGo to previous message
chloesharrocks is currently offline  chloesharrocks
Messages: 16
Registered: January 2008
Junior Member
Hi

Have corrected filename so program now reads:

=====
PRO COLOR_PLOT

x=[0,1,2,3,4]
y=[0,2,4,6,8]

entry_device=!d.name
keywords = PSCONFIG(Cancel=cancelled)
IF cancelled THEN RETURN
set_plot, 'PS'
device, /color, filename='colorplot.ps'
plot, x, y, color=FSC_COLOR('indian red')

device, /close
set_plot, entry_device

END
=====

I'm trying to get it to run by saving the program, then using the
compile button followed by the run button within the IDL Development
Environment (basically the same as typing .compile...etc) but I still
get an error in the syntax on the line beginning "keyword" when I
compile it.

Thanks
ChloƩ
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: working dir in IDL 7
Next Topic: Re: Simple File I/O

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

Current Time: Sat Oct 11 08:07:38 PDT 2025

Total time taken to generate the page: 0.79818 seconds