{"id":1811,"date":"2015-03-15T16:58:24","date_gmt":"2015-03-15T15:58:24","guid":{"rendered":"http:\/\/denbeke.be\/blog\/?p=1811"},"modified":"2015-03-15T16:59:24","modified_gmt":"2015-03-15T15:59:24","slug":"latex-and-fuzzy-logics","status":"publish","type":"post","link":"https:\/\/denbeke.be\/blog\/software\/latex-and-fuzzy-logics\/","title":{"rendered":"LaTeX and Fuzzy Logics"},"content":{"rendered":"<p>Fuzzy logics (especially fuzzy numbers and fuzzy intervals) can be beautifully plotted on a graph, &#8230;. aaaand of course, you can also do this using LaTeX and pgfplots!<\/p>\n<pre><code>\\begin{tikzpicture}\r\n        \\begin{axis}[\r\n            height=3.5cm,\r\n            width=\\textwidth\/2,\r\n            ytick={0,1},\r\n            xtick={4,6},\r\n            area style,\r\n            xlabel={$$},\r\n            xmin=0,xmax=10,\r\n            axis x line=bottom,\r\n            axis y line=left,\r\n            %ylabel={$$},\r\n            enlarge x limits=false\r\n            ]\r\n\r\n            \\addplot[fill, red, opacity=0.2] coordinates\r\n                {(2.5,0)(4,1)(6,1)(7.5,0)}\r\n                \\closedcycle;\r\n                \\addplot [red, mark = none, nodes near coords=\\textbf{Fuzzy interval},every node near coord\/.style={anchor=90,rotate=0,anchor=south,align=center}] coordinates {( 5, 1.1)};\r\n\r\n        \\end{axis}\r\n\\end{tikzpicture}<\/code><\/pre>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_1812\" aria-describedby=\"caption-attachment-1812\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/denbeke.be\/blog\/software\/latex-and-fuzzy-logics\/attachment\/fuzzy-logics-latex-pgfplots\/\" rel=\"attachment wp-att-1812\"><img loading=\"lazy\" class=\"wp-image-1812 size-medium\" src=\"http:\/\/denbeke.be\/blog\/wp-content\/uploads\/2015\/03\/Fuzzy-Logics-LaTeX-pgfplots-300x173.png\" alt=\"Fuzzy interval\" width=\"300\" height=\"173\" srcset=\"https:\/\/denbeke.be\/blog\/wp-content\/uploads\/2015\/03\/Fuzzy-Logics-LaTeX-pgfplots-300x173.png 300w, https:\/\/denbeke.be\/blog\/wp-content\/uploads\/2015\/03\/Fuzzy-Logics-LaTeX-pgfplots.png 469w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-1812\" class=\"wp-caption-text\">Fuzzy interval plotted with pgfplots in LaTeX<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Fuzzy logics (especially fuzzy numbers and fuzzy intervals) can be beautifully plotted on a graph, &#8230;. aaaand of course, you can also do this using LaTeX and pgfplots! \\begin{tikzpicture} \\begin{axis}[ height=3.5cm, width=\\textwidth\/2, ytick={0,1}, xtick={4,6}, area style, xlabel={$$}, xmin=0,xmax=10, axis x line=bottom, axis y line=left, %ylabel={$$}, enlarge x limits=false ] \\addplot[fill, red, opacity=0.2] coordinates {(2.5,0)(4,1)(6,1)(7.5,0)} \\closedcycle; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[161],"tags":[254,233,229,234],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.6.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>LaTeX and Fuzzy Logics &ndash; DenBeke<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/denbeke.be\/blog\/software\/latex-and-fuzzy-logics\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"LaTeX and Fuzzy Logics &ndash; DenBeke\" \/>\n<meta property=\"og:description\" content=\"Fuzzy logics (especially fuzzy numbers and fuzzy intervals) can be beautifully plotted on a graph, &#8230;. aaaand of course, you can also do this using LaTeX and pgfplots! \\begin{tikzpicture} \\begin{axis}[ height=3.5cm, width=\\textwidth\/2, ytick={0,1}, xtick={4,6}, area style, xlabel={$$}, xmin=0,xmax=10, axis x line=bottom, axis y line=left, %ylabel={$$}, enlarge x limits=false ] \\addplot[fill, red, opacity=0.2] coordinates {(2.5,0)(4,1)(6,1)(7.5,0)} \\closedcycle; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/denbeke.be\/blog\/software\/latex-and-fuzzy-logics\/\" \/>\n<meta property=\"og:site_name\" content=\"DenBeke\" \/>\n<meta property=\"article:published_time\" content=\"2015-03-15T15:58:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-03-15T15:59:24+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/denbeke.be\/blog\/wp-content\/uploads\/2015\/03\/Fuzzy-Logics-LaTeX-pgfplots-300x173.png\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:creator\" content=\"@MthsBk\" \/>\n<meta name=\"twitter:site\" content=\"@MthsBk\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"1 minute\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/denbeke.be\/blog\/#website\",\"url\":\"https:\/\/denbeke.be\/blog\/\",\"name\":\"DenBeke\",\"description\":\"Mathias Beke\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/denbeke.be\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/denbeke.be\/blog\/software\/latex-and-fuzzy-logics\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/denbeke.be\/blog\/wp-content\/uploads\/2015\/03\/Fuzzy-Logics-LaTeX-pgfplots-300x173.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/denbeke.be\/blog\/software\/latex-and-fuzzy-logics\/#webpage\",\"url\":\"https:\/\/denbeke.be\/blog\/software\/latex-and-fuzzy-logics\/\",\"name\":\"LaTeX and Fuzzy Logics &ndash; DenBeke\",\"isPartOf\":{\"@id\":\"https:\/\/denbeke.be\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/denbeke.be\/blog\/software\/latex-and-fuzzy-logics\/#primaryimage\"},\"datePublished\":\"2015-03-15T15:58:24+00:00\",\"dateModified\":\"2015-03-15T15:59:24+00:00\",\"author\":{\"@id\":\"https:\/\/denbeke.be\/blog\/#\/schema\/person\/386878f712fe3fe22227216f087772dc\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/denbeke.be\/blog\/software\/latex-and-fuzzy-logics\/\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/denbeke.be\/blog\/#\/schema\/person\/386878f712fe3fe22227216f087772dc\",\"name\":\"Mathias Beke\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/denbeke.be\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/015ba35e6ce4f5859e3888ca99807575?s=96&d=mm&r=g\",\"caption\":\"Mathias Beke\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/posts\/1811"}],"collection":[{"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/comments?post=1811"}],"version-history":[{"count":4,"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/posts\/1811\/revisions"}],"predecessor-version":[{"id":1816,"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/posts\/1811\/revisions\/1816"}],"wp:attachment":[{"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/media?parent=1811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/categories?post=1811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/tags?post=1811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}