{"id":22188,"date":"2013-02-15T22:40:58","date_gmt":"2013-02-16T02:40:58","guid":{"rendered":"http:\/\/mathgradblog.williams.edu\/?p=22179"},"modified":"2014-07-23T13:55:09","modified_gmt":"2014-07-23T18:55:09","slug":"geogebra-tikz","status":"publish","type":"post","link":"https:\/\/blogs.ams.org\/mathgradblog\/2013\/02\/15\/geogebra-tikz\/","title":{"rendered":"Geogebra and TikZ"},"content":{"rendered":"<p><a href=\"http:\/\/blogs.ams.org\/mathgradblog\/files\/2013\/02\/sintikz.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-22732\" src=\"http:\/\/blogs.ams.org\/mathgradblog\/files\/2013\/02\/sintikz-300x246.png\" alt=\"sintikz\" width=\"300\" height=\"246\" srcset=\"https:\/\/blogs.ams.org\/mathgradblog\/files\/2013\/02\/sintikz-300x246.png 300w, https:\/\/blogs.ams.org\/mathgradblog\/files\/2013\/02\/sintikz.png 632w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>I have been working on Geogebra files for the classes for which I TA (precalculus and trig). During this time, I discovered that Geogebra has an option to export to Tikz code. If you aren&#8217;t familiar with it, <a href=\"http:\/\/www.texample.net\/tikz\/\" target=\"_blank\">Tikz<\/a> is a TeX package for creating graphics. For instance, I can open Geogebra, type sin(x) in the input line and hit enter. It graphs a sin function as expected. Then pressing File &gt;&gt; Export &gt;&gt; Graphics View as PGF\/TikZ, I get the code as below. This is a pretty neat way to easily generate TikZ code. Have you used this feature? Are there other softwares you like to use to generate TikZ code? documentclass[10pt]{article} usepackage{pgf,tikz} usetikzlibrary{arrows} pagestyle{empty} begin{document} definecolor{ffqqqq}{rgb}{1,0,0} begin{tikzpicture}[line cap=round,line join=round,&gt;=triangle 45,x=1.0cm,y=1.0cm] draw[-&gt;,color=black] (-4.3,0) &#8212; (7.3,0); foreach x in {-4,-3,-2,-1,1,2,3,4,5,6,7} draw[shift={(x,0)},color=black] (0pt,2pt) &#8212; (0pt,-2pt) node[below] {footnotesize $x$}; draw[-&gt;,color=black] (0,-3.12) &#8212; (0,6.3); foreach y in {-3,-2,-1,1,2,3,4,5,6} draw[shift={(0,y)},color=black] (2pt,0pt) &#8212; (-2pt,0pt) node[left] {footnotesize $y$}; draw[color=black] (0pt,-10pt) node[right] {footnotesize $0$}; clip(-4.3,-3.12) rectangle (7.3,6.3); draw[color=ffqqqq, smooth,samples=100,domain=-4.3:7.3] plot(x,{sin(((x))*180\/pi)}); end{tikzpicture} end{document}<\/p>\n<div style=\"margin-top: 0px; margin-bottom: 0px;\" class=\"sharethis-inline-share-buttons\" ><\/div>","protected":false},"excerpt":{"rendered":"<p>I have been working on Geogebra files for the classes for which I TA (precalculus and trig). During this time, I discovered that Geogebra has an option to export to Tikz code. If you aren&#8217;t familiar with it, Tikz is &hellip; <a href=\"https:\/\/blogs.ams.org\/mathgradblog\/2013\/02\/15\/geogebra-tikz\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n<div style=\"margin-top: 0px; margin-bottom: 0px;\" class=\"sharethis-inline-share-buttons\" data-url=https:\/\/blogs.ams.org\/mathgradblog\/2013\/02\/15\/geogebra-tikz\/><\/div>\n","protected":false},"author":22,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-22188","post","type-post","status-publish","format-standard","hentry","category-technology-math"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3gbww-5LS","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blogs.ams.org\/mathgradblog\/wp-json\/wp\/v2\/posts\/22188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ams.org\/mathgradblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ams.org\/mathgradblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ams.org\/mathgradblog\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ams.org\/mathgradblog\/wp-json\/wp\/v2\/comments?post=22188"}],"version-history":[{"count":3,"href":"https:\/\/blogs.ams.org\/mathgradblog\/wp-json\/wp\/v2\/posts\/22188\/revisions"}],"predecessor-version":[{"id":25023,"href":"https:\/\/blogs.ams.org\/mathgradblog\/wp-json\/wp\/v2\/posts\/22188\/revisions\/25023"}],"wp:attachment":[{"href":"https:\/\/blogs.ams.org\/mathgradblog\/wp-json\/wp\/v2\/media?parent=22188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ams.org\/mathgradblog\/wp-json\/wp\/v2\/categories?post=22188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ams.org\/mathgradblog\/wp-json\/wp\/v2\/tags?post=22188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}