Re: IDL 8.0.1 pdf [message #73506 is a reply to message #73412] |
Tue, 09 November 2010 10:08   |
Gray
Messages: 253 Registered: February 2010
|
Senior Member |
|
|
On Nov 9, 12:59 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Nov 9, 2:34 pm, Gray <grayliketheco...@gmail.com> wrote:
>
>> Hi all,
>
>> I'm saving a number of NG plots into a multi-page pdf. I have six
>> plots of lightcurves per landscape page, using the layout=[2,3,...]
>> and /current keywords, but no matter how much I play with the height,
>> width, page_size, and dimensions keywords, I can't get the plots to
>> take up the whole page. They are small and centered with a huge (like
>> 3 inch) margin on each side. If I set xmargin and ymargin, the
>> graphic is moved to a different part of the page but is just as small.
>
>> Can anyone tell me how to make a pdf take up more of the page in IDL
>> 8.0.1?
>
> I think that you need to set the margins on one corner with xmargin
> and ymargin, and on the other side from the plot aspect ratio, the
> page size and width or height. This gives me a pdf with no borders:
>
> IDL> p=plot(/test,dimensions=[1100,850],position=[0.,0.,1.,1.])
> IDL> p.save,'test.pdf',width=11.,xmargin=0.,ymargin=0.,/landscape
Excellent, Paulo, that worked perfectly. Thank you!
|
|
|