I found this solution in a old Hans post (
http://ntg-context.ntg.narkive.com/g0lT1D2A/scaling-mpgraphics)
2016-05-25 18:30 GMT+01:00 Wolfgang Schuster
DesdeChaves
25. Mai 2016 um 19:09 For educational purposes I try to simulate a ammeter for reading practice. I would like create six or more ammeter with different readings, but i'm not able to do that because metapost create the same random number every time I call the buffer that defines my ammeter. How can I fix that?
Is there a reason why you use \externalfigure because the width can be set with \scale, e.g.
\scale[width=8cm]{\getbuffer[ammeter]}
Wolfgang
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
-- Atentamente DesdeChaves