Introduction

The PostScript programming language is designed to describe the layout of graphics and text on the printed page. This website provides online utilities that show examples in actual practice.

2.05.2010

Polar Plotting :: Folium

postscript postscript_math-polar-folium

Example : Polar Plotting - Folium

math-polar-folium

    %!
    newpath
    250 600 translate 
    0 0 moveto
    
    /span 1 def
    /t 0 def
    /r { t 5 mul sin} def
    /x { t cos r mul 180 mul} def
    /y { t sin r mul 180 mul} def
    360 {/t t span add def
    x y lineto } repeat
    stroke
    
    showpage
    

postscript postscript_math-polar-folium