[ Back to the main page on labels and TEX
| Back to the page on embedding EPS files]
Manipulating the embedded file
Here are some samples of what you can do in
the place where normally you just
effect a number of translations.
Just the necessary translations
To give you an idea of the correct sequence.
The numbers llx0, llx etc. are part of the
bounding box coordinates of the figure file and
the label file concerned..
llx0 lly0 translate
-llx -lly translate
Changing scale
llx0 lly0 translate
2 2 scale
-llx -lly translate
... and rotating
llx0 lly0 translate
20 rotate
1 1 scale
-llx -lly translate
Blanking out the figure's background
llx0 lly0 translate
-llx -lly translate
gsave
newpath
llx lly moveto
llx ury lineto
urx ury lineto
urx lly lineto
closepath
1 1 1 setrgbcolor
fill
grestore
Outlining it
llx0 lly0 translate
-llx -lly translate
gsave
newpath
llx lly moveto
llx ury lineto
urx ury lineto
urx lly lineto
closepath
stroke
grestore