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

Home » Public Forums » archive » How to plot the transparent shadow?
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
How to plot the transparent shadow? [message #62598] Fri, 19 September 2008 10:38 Go to next message
duxiyu@gmail.com is currently offline  duxiyu@gmail.com
Messages: 88
Registered: March 2007
Member
Dear all,

I want to add a transparent shadow for the plot like it shown in the
link below.
http://picasaweb.google.com/duxiyu/Sample#524778628654819200 2

I use the procedure POLUFILL, but I canot make the shadow transparent.
The filled color always covers the lines under it.

Best regards,
Du
Re: How to plot the transparent shadow? [message #62925 is a reply to message #62598] Wed, 15 October 2008 14:44 Go to previous message
duxiyu@gmail.com is currently offline  duxiyu@gmail.com
Messages: 88
Registered: March 2007
Member
On Oct 15, 5:38 pm, David Fanning <n...@dfanning.com> wrote:
> jdu writes:
>> By the way, it seems that the method in Coyote's website cannot be
>> used to create a PostScript file.
>> How do I create a transparent polygon on the PostScript device.
>
> Do the same thing, but don't draw the axes on your plot.
> And when you take a snapshot of the plot don't take the
> whole window, but only the portion inside the axes.
>
> Then, send the inside/transparent image to the PostScript
> file with TVIMAGE, so you can position it properly. Then
> draw the plot, with no data, in your PostScript file.
>
> Whala!
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

I do not know how to take a snapshot of the plot on PostScript device.
Could you give me a simple example like your website?

jdu
Re: How to plot the transparent shadow? [message #62928 is a reply to message #62598] Wed, 15 October 2008 08:38 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
jdu writes:

> By the way, it seems that the method in Coyote's website cannot be
> used to create a PostScript file.
> How do I create a transparent polygon on the PostScript device.

Do the same thing, but don't draw the axes on your plot.
And when you take a snapshot of the plot don't take the
whole window, but only the portion inside the axes.

Then, send the inside/transparent image to the PostScript
file with TVIMAGE, so you can position it properly. Then
draw the plot, with no data, in your PostScript file.

Whala!

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How to plot the transparent shadow?
Next Topic: SFTP with IDLnetURL?

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

Current Time: Wed Oct 08 19:50:43 PDT 2025

Total time taken to generate the page: 0.01184 seconds