comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL 8.0.1 pdf
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL 8.0.1 pdf [message #73506 is a reply to message #73412] Tue, 09 November 2010 10:08 Go to previous messageGo to previous message
Gray is currently offline  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!
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: IDL 8.0.1 pdf
Next Topic: Re: IDL_IDLBridge limited to 4?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 14:52:10 PDT 2025

Total time taken to generate the page: 1.52065 seconds