[OS X TeX] parametricplot in pstricks

Nitecki, Zbigniew H. Zbigniew.Nitecki at tufts.edu
Mon Sep 10 20:10:06 CEST 2018


Yes, but that is not the problem here.  I guess I did mix up cos and COS, but either way I should get a curve, not a line.


Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155

telephones:
my office     (617) 627-3843
dept. off.    (617) 627-3234
dept. fax    (617) 627-3966

http://sites.tufts.edu/znitecki/

On Sep 10, 2018, at 12:16 PM, Michael Sharpe <msharpe at ucsd.edu<mailto:msharpe at ucsd.edu>> wrote:



On Sep 10, 2018, at 8:27 AM, Nitecki, Zbigniew H. <Zbigniew.Nitecki at tufts.edu<mailto:Zbigniew.Nitecki at tufts.edu>> wrote:

What is wrong here?  using pstricks, pst-plot and \pst-math, the following command
\parametricplot[plotstyle=curve, plotpoints=50]{-1.8}{1.8}{0.25 t Pi mul mul cos t}
which should create a curve opening left, creates a vertical line.

Minimal example:



Remember that cos in Postscript expects its argument in degrees, so you may wish to use instead

\parametricplot[plotstyle=curve, plotpoints=50]{-1.8}{1.8}{0.25 t 180 mul mul cos t}

Michael

----------- 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
               https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20180910/d260e409/attachment.html>
-------------- 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
                https://email.esm.psu.edu/pipermail/macosx-tex/
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