X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03 Nov 2022 09:01 AM by  Ben Castellani
VECTOR function doesn't make plot on postscript device
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Xinghai Zhao



New Member


Posts:
New Member


--
27 Oct 2022 10:40 AM
    I am using VECTOR function to make vector plot. But the resulting plot is always showing up in separate 'x' window even if I set device as 'ps' as postscript. The postscript file generated has zero size. I use IDL 8.8.2 on M1 Mac with macOS 12.6. This seems the case on other systems too! Thanks a lot!

    Ben Castellani



    Basic Member


    Posts:130
    Basic Member


    --
    03 Nov 2022 09:01 AM
    You are confusing direct graphics setup (DEVICE procedure) with function graphics rendering (VECTOR function).

    This is the correct way to save a VECTOR function into a PostScript file:

    v = vector(/test)
    v.save,'test.ps'
    You are not authorized to post a reply.