How can one set the size of a \startMPpage..\stopMPpage generated picture. For example forcing its dimensions to 5X4cm. Or better still, derived from variables in the code. Hans van der Meer
On Mon, 19 Sep 2011, Meer, H. van der wrote:
How can one set the size of a \startMPpage..\stopMPpage generated picture. For example forcing its dimensions to 5X4cm. Or better still, derived from variables in the code.
Add something like setbounds currentpicture to (fullsquare xyscaled (5cm,4cm)) ; at the end of the MP code. Aditya
Thanks, This does the trick for me. Hans van der Meer On 19 sep. 2011, at 15:49, Aditya Mahajan wrote:
On Mon, 19 Sep 2011, Meer, H. van der wrote:
How can one set the size of a \startMPpage..\stopMPpage generated picture. For example forcing its dimensions to 5X4cm. Or better still, derived from variables in the code.
Add something like
setbounds currentpicture to (fullsquare xyscaled (5cm,4cm)) ;
at the end of the MP code.
Aditya ___________________________________________________________________________________
participants (2)
-
Aditya Mahajan
-
Meer, H. van der