[OS X TeX] [Sort-of Off]: Plotting Software

Claus Gerhardt gerhardt at math.uni-heidelberg.de
Tue Mar 7 21:20:35 EST 2006


For plotting in tex documents, including graphics only documents, I  
recommend metapost with my favourite frontend mfpic. Below is a  
simple code that will produce 2 graphics with the graphs of sinh,  
cosh, and tanh including the labels.

Claus

\begin{center}
%\includegraphics{a3pic15}\hfil\includegraphics{a3pic16}
\begin{mfpic}[20]{-2}{2.5}{-2.5}{3}
%\headshape{1}{1}{false}
\axes
\function{-1.5,1.5,0.05}{0.5*(exp(x)-exp(-x))}
\function{-1.5,1.5,0.05}{0.5*(exp(x)+exp(-x))}
\tlabel[tr](-1.5,1.5){\tup{\Small cosh}}
\tlabel[tr](-1.5,-1){\tup{\Small sinh}}
%\lines{(0.5,0),(1.5,2)}
%\point{(1,1)}
%\tcaption{\raggedright\tit{ Figure 2:}  Function Plot with Cartesian  
Axes.}
\end{mfpic}\hfil
\begin{mfpic}[20]{-2}{2.5}{-2.5}{3}
%\headshape{1}{1}{false}
\axes
%\ymarks{-1,1}
\function{-2,2,0.05}{(exp(x)-exp(-x))/(exp(x)+exp(-x))}
\tlabel[tr](1.5,1.8){\tup{\Small tanh}}
\tlabel[cr](-0.3,1.3){\tup{\Small 1}}
\tlabel[cl](0.3,-1.3){\tup{\Small -1}}
\dotted\lines{(-2,1),(2.5,1)}
\dotted\lines{(-2,-1),(2.5,-1)}
%\point{(1,1)}
%\tcaption{\raggedright\tit{ Figure 2:}  Function Plot with Cartesian  
Axes.}
\end{mfpic}%
\end{center}

On Mar 7, 2006, at 6:01, david craig wrote:

>
> What do folks recommend for plotting/fitting software?  I'm really  
> liking how "Plot" is shaping up, and I admit I'm weary of ports of  
> gnuplot and the like, and especially anything with no GUI.  I ask  
> both for myself, and to use with upper-level undergraduate courses.
>
> I'm willing to consider a license or two of something expensive [my  
> colleague Gordon would be butting in here with "Igor!  Igor!"], but  
> I am particularly interested in cheap/free/gpl-type software that  
> can be widely distributed in student labs and the like.
>
> I hate to add this, but I'm especially interested in what free/gpl/ 
> whatever type software might be a good choice for Windows, since  
> that's what's in a lot of the student labs here.  (Cross platform  
> file format would be keen, therefore, but not absolutely essential.)
>
> More generally, is there a good list for these kinds of Mac- 
> oriented [if not exclusively Mac] scientific-computing questions?
>
> Thanks,
> David Craig
>
>
> <http://www.panix.com/~dac/>
> ------------------------- Info --------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>          & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
>

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list