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

Home » Public Forums » archive » Line fill in function graphics
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Line fill in function graphics [message #89287] Thu, 14 August 2014 06:28 Go to previous message
andeh is currently offline  andeh
Messages: 23
Registered: April 2011
Junior Member
Hello everybody,

In the old graphics system, one could create line fills using the POLYFILL command. e.g.
IDL> PLOT, [0,3], [0,3], /NODATA
IDL> POLYFILL, [1,2,2,1,1], [1,1,2,2,1], /LINE_FILL, ORIENTATION=45


I can't find a way to replicate this in function graphics. I'd imagine I've missed something obvious? The closest I can come is the POLYGON command, but this distorts colours underneath. e.g.
IDL> p0 = PLOT( [0,3], [0,3], /NODATA )
IDL> p1 = POLYGON( [1,2,2,1,1], [1,1,2,2,1], /DATA, /CURRENT,/FILL_BACKGROUND, FILL_COLOR='Blue', TRANSPARENCY=90)


Can anyone suggest an alternative other than drawing an enormous number of lines manually?!


Thanks,

Andy
[Message index]
 
Read Message
Read Message
Previous Topic: west longitudes on orthographic projection
Next Topic: superresolution

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

Current Time: Wed Oct 08 15:11:59 PDT 2025

Total time taken to generate the page: 0.00466 seconds