<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I realize that this might not be the forum to which
I should submit this problem, but it arises from my attempts to use
psgraph.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am trying to provide a set of "alpha" labels to
the x-axis produced by psgraph. There are a few examples on the PSTRICKS
website, which I have tried to manipulate to meet my needs. I actually was
successful (see the following code, but with the \array environment code
commented out). This code produced what I was looking for.
Unfortunately, when I then put the simple code into a larger document that
contained several equation and array environments I get an error. If
I set through the error, the arrays that are printed are pretty mangled. I
have searched the web (mostly ctan and pstricks) but cannot find anything
useful. If I was to guess, I would have to say that there is an
incompatibility between the arrayjob pack and the basic array environment, but I
really don't know.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Alternately, can someone suggest how to produce the
"alpha" labels that I am seeking, apart from the obvious method of explicitly
defining each label with its own \rput or \uput statement (13 in total in this
case).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Basically the following code does not compile and
produces the error</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>! Missing \endcsname inserted.<BR><to be read
again><BR>
\protect<BR>l.29 \end<BR>
{equation}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have modified the code a bit to use a much
smaller data file for e-mail purposes</FONT></DIV>
<DIV><FONT face=Arial
size=2>================================================================</FONT></DIV>
<DIV><FONT face=Arial size=2>\documentclass{article}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>\listfiles</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>\usepackage{filecontents}<BR>\begin{filecontents*}{datafile1.dat}<BR>0.00000000,54.188<BR>1.00000000,54.164<BR>2.00000000,54.136<BR>3.00000000,54.105<BR>4.00000000,54.071<BR>5.00000000,54.033<BR>6.00000000,53.992<BR>7.00000000,53.947<BR>8.00000000,53.899<BR>9.00000000,53.847<BR>10.00000000,53.792<BR>\end{filecontents*}</FONT></DIV>
<DIV> </DIV><FONT face=Arial size=2>
<DIV><BR>%\usepackage{pst-pdf}%<BR>\usepackage{multido}<BR>\usepackage{pstricks-add}%<BR>%\usepackage{arrayjob}%</DIV>
<DIV> </DIV>
<DIV>\begin{document}<BR>This is a test file.</DIV>
<DIV> </DIV>
<DIV>\begin{equation}<BR>
\hat{P}=\left(%<BR>
\begin{array}{c}%<BR>
1 <A
href="file://\\%">\\%</A><BR>
0 <A
href="file://\\%">\\%</A><BR>
0 <A
href="file://\\%">\\%</A><BR>
\end{array}%<BR> \right)
\quad \mbox{and} \quad
\hat{Q}=%<BR>
\left(%<BR>
\begin{array}{c}%<BR>
0 <A
href="file://\\%">\\%</A><BR>
1 <A
href="file://\\%">\\%</A><BR>
0 <A
href="file://\\%">\\%</A><BR>
\end{array}%<BR>
\right)%<BR>\end{equation}</DIV>
<DIV> </DIV>
<DIV>%\newarray{\Months}<BR>%\readarray{Months}{ Jan & Feb & Mar &
Apr & May & Jun & Jul & Aug & Sep & Oct & Nov &
Dec & Jan}</DIV>
<DIV> </DIV>
<DIV>%\begin{postscript}%<BR> \psset{yAxisLabel=Beta Angle
(degrees),xAxisLabel={Time (months)},%<BR>
xAxisLabelPos={5cm,5.5cm},yAxisLabelPos={-1.cm,9cm},llx=-2cm,lly=-2cm,urx=0.5cm,ury=0.5cm}%<BR>
\begin{psgraph}[axesstyle=frame,{xticksize=0 30},{yticksize=0
366},Dx=30,Dy=10,Oy=40,xAxis=false](0,40)(366,70){10cm}{5cm}%<BR>
\readdata{\datafile}{./datafile1.dat}%<BR>
\listplot[linecolor=red]{\datafile}%<BR>%
\multido{\nt=0+30,\i=1+1}{13}{\rput[90](\nt,37){\makebox(0,0)[t]{\Months(\i)}}}%<BR>
\end{psgraph}%<BR>%\end{postscript}</DIV>
<DIV> </DIV>
<DIV>\end{document}</DIV>
<DIV> </DIV>
<DIV>Thanks for any assistance</DIV>
<DIV> </DIV>
<DIV>Bruce Burlton</DIV>
<DIV>Carleton University<BR></DIV></FONT></BODY></HTML>