Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Commit

Permalink
Updated TikZ example.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Diaz committed May 14, 2014
1 parent c2c76f1 commit f06c91a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/tikz.hs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ theBody = do
center $ tikzpicture $
draw (Start (pointAtXY 0 1) ->- pointAtXY 0 (-1))
->> draw (Start (pointAtXY (-0.2) 0) ->- pointAtXY (3*pi) 0 )
->> scope [TColor Blue, TWidth (Pt 1)] (draw $ bpath (pointAtXY 0 0) $
->> scope [TColor $ BasicColor Blue, TWidth (Pt 1)] (draw $ bpath (pointAtXY 0 0) $
mapM_ line [ pointAtXY x (sin x) | x <- [0,0.05 .. 3*pi] ]
)

0 comments on commit f06c91a

Please sign in to comment.