|
Re: How to plot the transparent shadow? [message #62925 is a reply to message #62598] |
Wed, 15 October 2008 14:44  |
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  |
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.")
|
|
|