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

Home » Public Forums » archive » POLYFILL
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: POLYFILL [message #2586 is a reply to message #2468] Mon, 18 July 1994 10:56 Go to previous messageGo to previous message
rmm is currently offline  rmm
Messages: 4
Registered: June 1994
Junior Member
In article <300iu9$2id@hermod.uio.no>, ajaunsen@leda.uio.no (Andreas Ortmann Jaunsen) writes:
|>
|>
|>
|> I have made a histogram plotting routine, which fills the histogram with
|> slashed lines using the PATTERN option in POLYFILL (instead of /LINE_FILL).
|> This was done in the same manner as described in the IDL manual.
|>
|> >pro BOX
|> >ww=bytarr(10,10)
|> >for i=0,9 do ww(i,i)=255
|> >polyfill,[x0,x0,x1,x1],[y0,y1,y1,y0],pattern=ww
|> >end
|>
|> The problem arrived, when I wanted the histogram out on a PS file...
|> ..the area where the lines where are in the postscript file turned into
|> completly dark areas.
|>
|> DOES ANYONE HAVE A SOLUTION ?
|>
|> Andreas O. Jaunsen


The Postscript device has a much higher resolution than, say, the X graphics
device. I suspect that your problem is that the ww array is just not big enough
for Postscript output, resulting in the lines being so close together at the
higher resolution that it looks like its filled. Try making ww=bytarr(100,100)
and see what happens. You can adjust it as suits you.


Robert M. Moss, Ph.D.
Texaco Inc.
rmmoss@texaco.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Super Resolution image IDL
Next Topic: Re: changing the pixel values in raster

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

Current Time: Wed Dec 03 00:43:31 PST 2025

Total time taken to generate the page: 0.16384 seconds