Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. documentclass[tikz]{standalone}
  2. usepackage{tikz}
  3. providecommand{myts}{biolinumscshape{Mhspace{-.061em}raisebox{-.26351ex}{Y}hspace{-.0961em}Thspace{-.05161em}raisebox{.2451ex}{S}}}
  4. usepackage{libertineotf}
  5. definecolor{darkcerulean}{rgb}{0.03, 0.27, 0.49}
  6. usepackage{lucimatx}%remove this if the font is not available.
  7. definecolor{bleudefrance}{rgb}{0.19, 0.55, 0.91}
  8. begin{document}
  9. foreach angle in {0,10,...,360}
  10. {
  11. begin{tikzpicture}
  12. % fill circle and plot
  13. fill[yellow!50] (-1,0) arc (0:angle:1) -- (-2,0) -- cycle;
  14. fill[yellow!50] plot[smooth,domain=0:angle] (pi/180*x,{cos(x)}) |- (0,0);
  15. % draw connection
  16. draw (-2,0) +(angle:1) circle (1.2pt) -- (pi/180*angle,{cos(angle)}) circle (1.2pt);
  17. % draw axes an ticks
  18. draw (-3.5,0) -- (7,0);
  19. foreach deg in {90, 180, 270, 360}
  20. draw (pi/180*deg,2pt) -- (pi/180*deg,-2pt) node[below] {$deg^circ$};
  21. draw (0,-1.2) -- (0,1.2);
  22. foreach y in {-1,-0.5,0.5,1}
  23. draw (2pt,y) -- (-2pt,y) node[left] {$y$};
  24. % draw plot and circle outline
  25. draw plot[smooth,domain=0:360] (pi/180*x,{cos(x)});
  26. draw (-2,0) circle (1);
  27. draw[color=bleudefrance] (3.05,.905) node {bfscalebox{1.17596}{myts}};
  28. draw[color=darkcerulean] (3.0425921085,.67295) node {itscalebox{.2196875}{Mathematical Young Talent Search}};
  29. end{tikzpicture}
  30. }
  31. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement