I am trying to TeX the following on texmaker in linux, however I'm running into errors, mainly for the first line. However I have pictex already downloaded. I used the default Quick Build in texmaker. I included the errors I got below as well.
I just need help trying to make this work.
\input pictex\magnification=\magstep1\nopagenumbers
\centerline {
\beginpicture
\setcoordinatesystem units <0.45 truein, 1.5 truein>
\setplotarea x from -5 to 5, y from 0 to 1.0
\axis bottom
ticks numbered from -5 to 5 by 1
/
\plot "Normal.txt"
\plot -5.2 0 -5.1 0 -5.1 1 -5.2 1 /
\put {0} [cr] at -5.3 0
\put {$\frac{1}{\sqrt{2\pi}}$} [cr] at -5.3 1
\put {\sl Standard Normal Histogram} at 0 1.2
\sethistograms
\plot "HistogramData.txt"
\endpicture}\vfill\end

amstexstarts with a\documentstyleand requires a preloaded format.amsppt.styis the only one I'm familiar with, and I haven't used it for years. – barbara beeton Feb 08 '22 at 23:46HistogramData.txtfile, so I can't run a full try. Do you mind providing a sample? – jarnosc Feb 09 '22 at 18:58%&pdftexas the first line and it should run, provided you have your data in yourtxtfiles;\frac{}{}is a LaTeX, not a Plain construction; and AMSTeX has nothing to do with this problem, as egreg has pointed out. – jarnosc Feb 09 '22 at 22:39