help-octave
[Top][All Lists]
Advanced

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

Re: printing to png at different size than default?


From: Ben Abbott
Subject: Re: printing to png at different size than default?
Date: Tue, 11 Mar 2014 20:24:28 -0400

On Mar 11, 2014, at 11:07 AM, hydrodog <address@hidden> wrote:

> If a figure is opened at a specified screen size, then when it is printed
> only the rectangle the size of the default window is properly printed:
> 
> figure("Position", [100, 0, 1400, 800]);
> # plot goes here
> print -dpng test.png
> 
> I can specify the size of the png, but this only makes the bitmap bigger. 
> The frame is not drawn the correct size:
> 
> print "-S2100,1400" -dpng test.png
> 
> How do I specify that the graph should be a certain size?

The "position" property specifies the size on the screen.  To change the size 
printed, modify the "paperposition" property.

Ben



reply via email to

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