Assume someone has several Matlab plots saved as .eps graphics and realizes in some of them the legend for the curves is missing.
Is there a way to add these legends afterwards, or to overlay another .eps graphic that contains just the legend box? The .eps graphics are included like


A solution using as little 'non-standard' libraries as possible would be favored.


With PSTricks.

enter image description here




\begin{pspicture}[showgrid=top](\column,\row)% set showgrid=false for the final


  1. Compile it with either latex-dvips-ps2pdf sequence (much faster) or xelatex (much slower).
  2. Toggle the showgrid with true, false, top, or bottom. true is identical to bottom. The grid is useful to find the coordinate.
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for?Browse other questions tagged or ask your own question.