Inserting Maxima plots (from wxmaxima? )



On Thu, 5 Jul 2007, Richard Fateman wrote:

>
>
>> -----Original Message-----
>> From: maxima-bounces at math.utexas.edu
>> [mailto:maxima-bounces at math.utexas.edu] On Behalf Of sen1 at math.msu.edu
>>>
>> However, I find openmath easier, and in most cases, adequate.
>>
>> (%i1) plot2d(sin(x), [x,0,6], [plot_format, openmath]);
>>
>
> Yes, this works for me and is easier.  I would like to set up TeX so that it
> doesn't take a new page for the figure, but I assume that is a TeX problem.
> Thanks.
> RJF

I get around this problem in one of the following ways.

I use pdflatex with the

\usepackage{color,graphicx,hyperref}

option.

This does not allow the use of postscript files, but it does allow png
and pdf files.  They can easily be resized using the figure environment.

To convert formats, say from eps or ps to png or pdf I use

ImageMagick.  This is free and available for Windows, Unix (and
probably Mac).

To see how some maxima plots can be included in e.g. latex slides,
check out the following link

All of the pictures on slides 42-55 were made from maxima plots.

http://janus.math.msu.edu/sen/WWW/Maryland_talk

For instance, the slide on page 42 consists (using some additions to the Beamer macros)
of the page

\begin{frame} 
Geometric Verification of the \RED{return matrix $A$}

\begin{figure}
\subfigure{\includegraphics[width=2.0in,height=2.0in]{14_matrix_2.png}}
\hspace{0.2in}
\subfigure{\includegraphics[width=2.0in,height=2.0in]{R1a_im.png}}
\caption{2nd image of rectangle R1,\ \ \
          \BLUE{$1 \rightarrow 1,2,3,4,5,6,11,12$}}
\end{figure}

\end{frame}

This has two 'png' files which were produced from maxima and ImageMagick

In case anyone is interested in more of this kind of thing, just send
me some email off the maxima list.

-sen
-- 
  ---------------------------------------------------------------------------
  | Sheldon E. Newhouse            |    e-mail: sen1 at math.msu.edu           |
  | Mathematics Department         |       				   |
  | Michigan State University      | telephone: 517-355-9684                |
  | E. Lansing, MI 48824-1027 USA  |       FAX: 517-432-1562                |
  ---------------------------------------------------------------------------