[OS X TeX] Creating and plotting data in pstricks

Nitecki, Zbigniew H. Zbigniew.Nitecki at tufts.edu
Sat Nov 7 18:31:45 CET 2020

I’m trying to create a picture (to illustrate least squares approximation) in a tex document, using pstricks.
I am unclear from pp 325-328 of the LaTeX Graphics Companion how and where the data file should be saved.
(My data is simply a set of points).
I tried to mimic the example in http://texdoc.net/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf
which seemed to indicate that it could be saved withing the tex document, but I get an error message I don’t understand (indicating that something is inaccessible).
Can anyone help me make this work without undue pain?  My minimal example is appended below.

Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155

Office    (617)627-3843
Dept.    (617)627-3234
Dept. fax    (617)627-3966

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20201107/f4bf1685/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DataPlotTest.tex
Type: application/octet-stream
Size: 1383 bytes
Desc: DataPlotTest.tex
URL: <https://tug.org/pipermail/macostex-archives/attachments/20201107/f4bf1685/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DataPlotTest.log
Type: application/octet-stream
Size: 73583 bytes
Desc: DataPlotTest.log
URL: <https://tug.org/pipermail/macostex-archives/attachments/20201107/f4bf1685/attachment-0003.obj>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

More information about the macostex-archives mailing list.