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

Home » Public Forums » archive » How to create a transparent shadow on the PostScript device?
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: How to create a transparent shadow on the PostScript device? [message #67709 is a reply to message #67575] Tue, 11 August 2009 05:52 Go to previous messageGo to previous message
philipelson is currently offline  philipelson
Messages: 9
Registered: March 2009
Junior Member
David's page is quite clear that this is designed to work with a plot
that has already been created: "I cannot draw the polygon first and
then redraw the plot using OPlot because I do have have access to the
IDL source code".

If you have access to the data then why not simply put a polyfill
behind the plot?

set_plot, 'x'
device, decomposed=0
loadct, 3
plot, indgen(10), /nodata, color=0, background=255
polyfill, [0,10,10,0], [4,4,6,6], /data, COLOR=125
plot, indgen(10), /noerase, color=0, background=255


OR the similarly in the PS device

set_plot, 'ps'
device, file="test.ps"
plot, indgen(10), /nodata
polyfill, [0,10,10,0], [4,4,6,6], /data, color=125
plot, indgen(10), /noerase
device, /close
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to create a evf?
Next Topic: values changed after using print

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

Current Time: Mon Dec 01 17:18:41 PST 2025

Total time taken to generate the page: 2.40422 seconds