X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 07 Feb 2017 08:19 AM by  anon
Patterns and EPS output
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
07 Feb 2017 08:19 AM
    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.

    Deleted User



    Basic Member


    Posts:143
    Basic Member


    --
    16 Feb 2017 05:56 PM
    I was able to reproduce the behavior you encountered with IDL 8.6 and I have filed a bug report about this issue (IDL-69737). One possible workaround might be save the EPS using the BITMAP keyword. -David Harris GS .

    Deleted User



    New Member


    Posts:
    New Member


    --
    21 Feb 2017 06:23 AM
    Noted, thank you for your answer.
    You are not authorized to post a reply.