[texhax] Problem about make a figure masked

Steve Schwartz s.schwartz at imperial.ac.uk
Thu Feb 24 23:59:01 CET 2011


On Thu, 2011-02-24 at 22:44 +0000, Paulga wrote:
> The mask I want to place on the stress contour plot has an irregular
> shape as a sin curve. I need to generate such a masking figure in
> photoshop first then place it over the contour plot. so that the areas
> out of the two walls are white. It is difficult to make this clear
> without actual pictures: The two walls are sin curve instead of a
> line.

This still works with overpic:

\begin{overpic}[grid]{<image-file>}
  \put(20,10){\includegrahpics[]{<photoshop-mask-image>}
\end{overpic}

On the other hand, if you are going to mess about with photoshop or
whatever, why not create a new image-file that masks out what you want?

Steve
-- 
+-------------------------------------------------------------------+
Professor Steven J Schwartz        Phone: +44-(0)20-7594-7660
Head, Space & Atmospheric Physics  Fax:   +44-(0)20-7594-7772
The Blackett Laboratory            E-mail: s.schwartz at imperial.ac.uk
Imperial College London            Office: Huxley 6M67A 
London SW7 2AZ, U.K.               Web: www.sp.ph.ic.ac.uk/~sjs
+-------------------------------------------------------------------+



More information about the texhax mailing list