[OS X TeX] parametricplot in pstricks

Michael Sharpe msharpe at ucsd.edu
Mon Sep 10 12:16:13 EDT 2018



> On Sep 10, 2018, at 8:27 AM, Nitecki, Zbigniew H. <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



More information about the MacOSX-TeX mailing list