<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass[12pt]{article}

\usepackage{fullpage,pictexwd}
\usepackage{epsf}

\newcommand{\pic}[1]{\hspace*{\fill}\epsfbox{#1}\hspace*{\fill}}
\newcommand{\be}{\begin{enumerate}}
\newcommand{\ee}{\end{enumerate}}
\newcommand{\ul}[1]{{\underline{#1}}}


\begin{document}
\begin{center}
{\large Wingeom and Winplot} \\
Using Peanut Software to Create Pictures for \LaTeX Documents
\end{center}
Peanut software has several useful programs which you can use to include
pictures in your \LaTeX documents.   These programs are free.  Moreover,
the programs do not need to be installed on your computer (that is to say,
you will not need to get help from a Math Sciences administrator to put these
programs on your computer.) 

To get copies of Wingeom and Winplot
\be
\item Make a directory for Peanut Software.  My directory is named
named {\em peanut}. (Clever, huh?)
\item Go to {\tt http://math.exeter.edu/rparris/default.html}.  
\item Click on \ul{Wingeom} (\ul{Winplot}).
\item Click on \ul{Wingeom} (\ul{Winplot}) on the next page.
\item Save the file in the {\em peanut} directory.  
\item Click on the icon for the file you just saved.  (wg32z.exe or
wg32z.exe).  This will create a new Wingeom (Winplot) icon.  You can click
on this new icon to run Wingeom (Winplot).
\ee

Wingeom is handy because it can draw all kinds of geometric figures:
lines, circles, regular polygons, etc.  You can also specify the measures
of angels and line segments.  It even has some 3-D and animation
capabilities and has built-in diagrams of certain common tilings.  (I
haven't done anything with the animation, but I have seen some examples.)
You can use Wingeom to draw almost any picture involving points, lines,
circles, and polygons.  

Winplot is about the {\bf easiest} way to include a graph in a \LaTeX document
that I have found.  In 2-D, you can enter an equation in explicit,
parametric, implicit, or polar form.  You can also draw points, line
segments, vector fields, 3-D graphs, and likely some other things that I haven't
discovered yet. 

There are a lot of similarities between Wingeom and Winplot.  
I am going to describe Winplot in a little more detail than Wingeom,
because it is likely you will need to draw more graphs than geometric
diagrams for the Algebra and Calculus classes many of you teach.  I will,
however, tell you about a few specific things I have found to be helpful
when working with Wingeom. 

\noindent
{\bf Winplot}

I think the best way to learn Winplot is to work through a simple example.
\be
\item Click on the Winplot Icon.
\item Select {\em 2-dim} from the {\bf Window} menu.
\item Select {\em Parametric...} from the {\bf Equa} menu.
\item There is already a sample equation given, but let's change the
equation.  Set $f(t)= \sin{t}$ and $g(t)=-\cos{t}$.  Right now, we are
ready to graph $x=\sin{t}$, $y=-\cos{t}$ for $0 \leq t \leq 2\pi$, but
let's change things a bit more.  Check the box beside {\em polar}.  Now we
are going to graph $r=\sin{t}$, $\theta=-\cos{t}$ for $0 \leq t \leq 2\pi$.
That is, we have parametric equations in polar coordinates.  Click {\em ok}.
You should now see the following picture.
\begin{center}
\mbox{\input{example1}}
\end{center}
\item Now let's modify this picture a bit.  First let's change the viewing
window.  To do this, choose {\em View...} from the {\bf View} menu. Let's
set the viewing window to $-3 \leq x \leq 3$, $-2 \leq y \leq 2$.  In the
view box, change {\em left} to $-3$, {\em right} to $3$, {\em down} to
$-2$, and {\em up} to $2$.  Click on the button beside {\em set corners}.
Click {\em apply}.  Now your picture should look like this.
\begin{center}
\mbox{\input{example2}}
\end{center}
\item Now let's add some text to this picture.  Let's place a 
$1$ at the first marker on the
$y$-axis.  To add text to a diagram, select {\em Text} from the {\bf Btns}
menu.  Now you can right click to add text to the graph.  Right click on
the graph.  Type a $1$, and click on {\em ok}.  Now left click on the one
to move it to the desired position.  Follow this procedure to place a $2$
at the second marker on the $x$-axis.  Your picture should now look like
this. 
\begin{center}
\mbox{\input{example3}}
\end{center}
\item Now let's save the file.  First we will want to save it as a Winplot
file ({\em .wp2}) so that we can modify it later if necessary.  To do this 
select
{\em Save as...} from the {\em File} menu.  For now, let's name this file
{\em samplepic}; the program will automatically add the extension {\em .wp2}.  
Now we need to save it in a form that can be included in a \LaTeX document.
To do this, select {\em PicTeX file...} from the {\bf Misc} menu.  For
consistency, let's name this file {\em samplepic} as well; the program will
automatically append the extension {\em .tex}.  Click {\em Save}.  This
will bring up a {\em PiCTeX setup} box.  Choose {\em TeX insertable} and
click {\em ok}.  You now have a picture file that can be included in a
\LaTeX document.  
\item To include TeX insertable pictures from Wingeom or Winplot, 
you will need to add the line
\begin{verbatim}
\usepackage{pictexwd}
\end{verbatim}
in the preamble.  You can then include {\em samplepic} by typing
\begin{verbatim}
\begin{center}
\mbox{\input{samplepic}}
\end{center}
\end{verbatim}
\ee

\noindent
{\bf Wingeom}

These are just a few of the things I ran into when working with Wingeom.

\be
\item Go to a 2-dim window.  The {\bf Btns} menu changes the function of
the mouse.  You can see a description of the different functions by
selecting {\em Help} from the {\bf Btns} menu.  Incidentally, every menu
has a {\em Help} option which is very handy. 

\item Wingeom automatically labels the points you use to specify figures.
Moreover, the points show up in the PiCTeX diagram as little circles, as
shown in the diagram below.  
\begin{center}
\mbox{\input{gexample1}}
\end{center}
To hide the labels and the circles, select {\em Labels} from the {\bf Edit} 
menu and choose {\em Individual...}.  List the vertices that you want to
hide, select {\em no mark} and uncheck the box beside {\em show label.}
This produces the following picture.  
\begin{center}
\mbox{\input{gexample2}}
\end{center}
\ee

Those where the two big problems I had when I got started with Wingeom.  If
you have any other questions, let me know and I will see what I can do to
help.
\end{document}
</pre></body></html>