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

Home » Public Forums » archive » Re: Problem in creating Postscript of "Transparent Histograms"
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: Problem in creating Postscript of "Transparent Histograms" [message #76774 is a reply to message #76534] Sat, 02 July 2011 13:50 Go to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
I ran into this problem a couple months back. I couldn't figure out how to use BlendImage with EPS files, as they're not *really* images in the sense that TVImage would handle (well). When I generated images first (say in the buffer), blended them, and stuck that into the EPS file, I lost the "nice-ness" that EPS gives you.

I got around this by using Histoplot (naturally) twice for my EPS file; one call used solid bars for the histogram using the fill keyword, while the second used "transparent" bars by utilizing the line_fill keyword. Something like:

HISTOPLOT, data, AXISCOLORNAME='black', YTITLE='Number of Sources', MAX_VAL=max_cumul_histo, POLYCOLOR='blue', /FILL, DATACOLORNAME='blue'

HISTOPLOT, data2, /OPLOT, POLYCOLOR='red', /LINE_FILL, ORIENTATION=[-45, 45], SPACING=.1, THICK=3, DATACOLORNAME='red'

I stuck this between the very handy PS_Start and PS_End, and it worked just fine, both on screen and in the EPS file.

I should note I have not gone back and tried this with Coyote Graphics (yet), as I was in the middle of generating plots for my dissertation. I should also note I'm fairly certain that I would never had been to complete said dissertation without the help of Coyote. :-)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: MORPH_HITORMISS "Don't care" pixels?
Next Topic: Faster image median filtering

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

Current Time: Thu Oct 09 09:41:13 PDT 2025

Total time taken to generate the page: 1.83830 seconds