Hello everyone,
I can't get IDL (8.5.1) to output any figure containing patterns correctly.
To illustrate my problem, we can use the code from the polygon manual page :
IDL Polygon
data = RANDOMU(s,51)*15-5
upper = data + RANDOMU(s,51)*2 + 6
bottom = data - RANDOMU(s,51)*3 - 7
year = INDGEN(51) + 1950
p = PLOT(year, data, XRANGE=[1950,2000], YRANGE=[-15,20], $
YTITLE='Soil Heat Accumulation [MJ m$^{-2}$]', THICK=2)
poly = POLYGON([year,reverse(year)], [upper,reverse(bottom)], $
[REPLICATE(-0.01,102)], /DATA, /FILL_BACKGROUND, $
FILL_COLOR="light steel blue", PATTERN_ORIENTATION=45, $
PATTERN_SPACING=4)
Then save the plot as EPS :
p.save, 'test.eps'
The pattern appears solid.
I'm looking for a workaround that doesn't involve bitmap encapsulation, any ideas ?
Thanks in advance.
|