Advertisement
DD3AH

Einheitskreis erweitert

Dec 11th, 2016
782
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. set size square 1,1
  2.  
  3. set multiplot
  4. set size 1,1
  5. set origin 0,0
  6.  
  7. set xrange [ -3.10000 : 3.10000 ]
  8. set yrange [ -3.10000 : 3.10000 ]
  9.  
  10. set parametric
  11. set trange [0:2*pi]
  12. plot sin(t), cos(t) notitle
  13.  
  14. set trange [-4:4]
  15. plot 0,t notitle
  16. plot t,0 notitle
  17.  
  18. b=1.0
  19. plot b,t notitle
  20. plot -b,t notitle
  21. plot t,b notitle
  22. plot t,-b notitle
  23.  
  24. c=sqrt(3.0)
  25. d=3.0
  26.  
  27. set trange [-d:d]
  28. plot c,t notitle
  29. plot -c,t notitle
  30. plot t,c notitle
  31. plot t,-c notitle
  32.  
  33. set trange [-c:c]
  34. plot d,t notitle
  35. plot -d,t notitle
  36. plot t,d notitle
  37. plot t,-d notitle
  38.  
  39.  
  40. c=.5
  41. d=sqrt(3.0/4.0)
  42.  
  43. set trange [-d:d]
  44. plot c,t notitle
  45. plot -c,t notitle
  46. plot t,c notitle
  47. plot t,-c notitle
  48.  
  49. set trange [-c:c]
  50. plot d,t notitle
  51. plot -d,t notitle
  52. plot t,d notitle
  53. plot t,-d notitle
  54.  
  55. unset parametric
  56. a = tan( pi/6.0)
  57. plot x*a notitle
  58. plot x/a notitle
  59. plot -x*a notitle
  60. plot -x/a notitle
  61.  
  62. unset multiplot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement