X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 08 May 2016 07:49 PM by  anon
PDF save bug.
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
08 May 2016 07:49 PM
    Hi Here is a example code IDL> data = findgen(500, 500) IDL> data[100:200, 100:200] = !values.f_nan IDL> i = image(data, rgb_table=33) and save the image as .pdf format using toolbar. The result strange. IDL 8.5.1 on windows 8.1 - Thanks

    Deleted User



    Basic Member


    Posts:143
    Basic Member


    --
    20 May 2016 12:21 PM
    There is a bug report about this issue in our (IDL-69556). Hopefully, it will be fixed in a future version of IDL. A possible workaround is to use the COPYWINDOW method, display the image in a new window and then save the contents of the new window as a PDF. dat2 = findgen(500,500) dat2[100:200,100:200] = !values.F_NAN w = window(dimensions=[500,500]) i2 = image(data, RGB_TABLE=33, MARGIN=0, /CURRENT) new_image = i2.CopyWindow(HEIGHT=500,WIDTH=500) i3 = image(new_image) i3.save, "test.pdf"
    You are not authorized to post a reply.