|
From: | Alain Content |
Subject: | Re: plot & print |
Date: | Sat, 14 Nov 2009 19:44:54 +0100 |
On 14 nov. 2009, at 19:10, Ben Abbott wrote:
I use 3.2.3. Brilliant ! Two comments though : 1. Shouldn't the Manual say (p 249) position A vector specifying the position of the plot, **including** titles, axes and legend. (note that I am neither a native English speaker nor a native computer speaker ;) 2. I believe there is a 1 pixel bug. Here is what I did axis( [-1 1 -1 1]) hold on set (gca, "position", [0 0 1 1]) plot ([-1/2,-1/2,1/2,1/2,-1/2], [-1/2,1/2,1/2,-1/2,-1/2]) # a square print("-S1000,1000", "e1.png") # the square should be 500 x 500 print("-S20,20", "e1.png") # width/height difference mademore visible Not crucial, obviously. And thanks for the help, Alain |
[Prev in Thread] | Current Thread | [Next in Thread] |