help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pdf page layout


From: Ben Abbott
Subject: Re: pdf page layout
Date: Mon, 04 Mar 2013 08:34:26 -0500

On Mar 4, 2013, at 7:33 AM, marciobarbalho wrote:

> bpabbott wrote
>> (1) To adjust the figure properties ...
>> 
>>      close all
>>      figure (1)
>>      set (gcf, "papersize", [
> *
>> 6, 4
> *
>> ], "paperposition", [0 0 6 4])
>>      plot (rand (3))
>>      print test1.pdf
> 
> Dear Ben,
> 
> just to clarify, are those values above (in bold) in inches?
> 
> very much appreciated
> 

Yes.  You can change the units by modifying the "paperunits" property.  For 
example, to use centimeters ...

        set (gcf (), "paperunits", "centimeters")

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]