Plot to PDF

Ben Abbott bpabbott at mac.com
Fri Jul 10 03:12:54 CDT 2009


On Jul 10, 2009, at 2:31 AM, Francesco Potorti` wrote:

>> Both pdf an postscript output respect the papersize and paperposition
>> properties.
>>
>> The default are
>>
>> papersize = [8.5, 11];
>> paperposition = [0.25, 2.5, 8.0, 6.0];
>
> Is this for compatibility with Matlab?  If not, it would be nice to  
> have
> cm and A4 as the defaults.

I'm no fan of inches either.

However, Matlab's default units for figure's paper properties are  
"inches", for the position property are "pixels" for fonts are  
"points" for the axes are "normalized" ... etc. For compatibility,  
Octave's defaults units are the same.

When the property listeners for units conversion are in place the  
defaults can be set to anything the user desires. Until then if the  
units for these properties are changed, I resulting behavior will not  
be was is expected.

Ben


More information about the Help-octave mailing list