%* ------------------------------------------- %* mathsPIC 2.1 %* Copyright (c) RWD Nickalls 1999-2000 %* Email: dicknickalls@compuserve.com %* Date (m/d/y) : 11-05-2000 20:53:48 %* Command Line: /b/s MPICM02B.M %* Input Filename: MPICM02B.M %* Output Filename: MPICM02B.MT %* ------------------------------------------- %% mPICm02b.m (figure 2b) %% mathsPIC axes %%------------- %\documentclass[a4paper]{article} %\usepackage{pictexwd} %\begin{document} %%--------------- \beginpicture %% setup the plot area %% paper{units(cm),xrange(-2,3),yrange(-2,3),axes(XY),ticks(1,1)} \setcoordinatesystem units < 1cm, 1cm> \setplotarea x from -2 to 3, y from -2 to 3 \axis left shiftedto x=0 ticks numbered from -2 to -1 by 1 from 1 to 3 by 1 / \axis bottom shiftedto y=0 ticks numbered from -2 to -1 by 1 from 1 to 3 by 1 / \endpicture %%------------------- %\end{document}