{"id":1581,"date":"2026-10-14T18:00:41","date_gmt":"2026-10-14T18:00:41","guid":{"rendered":"http:\/\/french.arabpsychology.com\/statistics\/comment-modifier-taille-legende-ggplot2-exemples\/"},"modified":"2026-10-14T18:00:41","modified_gmt":"2026-10-14T18:00:41","slug":"comment-modifier-taille-legende-ggplot2-exemples","status":"publish","type":"psych_stat","link":"https:\/\/french.arabpsychology.com\/?psych_stat=comment-modifier-taille-legende-ggplot2-exemples","title":{"rendered":"Comment modifier la taille de la l\u00e9gende dans ggplot2 (avec exemples)"},"content":{"rendered":"<p>{r}<\/code><br \/>\n<code>#| label: fig-memoire-chunk<\/code><br \/>\n<code>#| fig.width: 7<\/code><br \/>\n<code>#| fig.height: 4.5<\/code><br \/>\n<code>#| out.width: \"100%\"<\/code><br \/>\n<code>#| dpi: 300<\/code><br \/>\n<code>print(fig_memoire)<\/code><br \/>\n<code><\/p>\n<figure class=\"wpt-preserved-image\"><img fetchpriority=\"high\" decoding=\"async\" src=\"http:\/\/french.arabpsychology.com\/wp-content\/uploads\/2026\/09\/legendR1.png\" alt=\"\" \/><\/figure>\n<figure class=\"wpt-preserved-image\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/french.arabpsychology.com\/wp-content\/uploads\/2026\/09\/legendR2.png\" alt=\"Change legend size in ggplot2\" \/><\/figure>\n<figure class=\"wpt-preserved-image\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/french.arabpsychology.com\/wp-content\/uploads\/2026\/09\/legendR3.png\" alt=\"Change legend key size in ggplot2\" \/><\/figure>\n<figure class=\"wpt-preserved-image\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/french.arabpsychology.com\/wp-content\/uploads\/2026\/09\/legendR4.png\" alt=\"Change ggplot2 legend title font size\" \/><\/figure>\n<figure class=\"wpt-preserved-image\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/french.arabpsychology.com\/wp-content\/uploads\/2026\/09\/legendR5.png\" alt=\"Change legend text size in ggplot2\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Guide acad\u00e9mique complet pour ajuster la taille des \u00e9l\u00e9ments de l\u00e9gende dans ggplot2 : symboles, titres, textes et barres de couleur avec code R reproductible.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","categories":[2193,2687],"tags":[2688,3358,3357,2658,2041],"class_list":["post-1581","psych_stat","type-psych_stat","status-publish","hentry","category-programmation-r","category-visualisation-de-donnees","tag-ggplot2","tag-graphiques-scientifiques","tag-legende-ggplot2","tag-r","tag-visualisation-de-donnees"],"_links":{"self":[{"href":"https:\/\/french.arabpsychology.com\/index.php?rest_route=\/wp\/v2\/psych_stat\/1581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/french.arabpsychology.com\/index.php?rest_route=\/wp\/v2\/psych_stat"}],"about":[{"href":"https:\/\/french.arabpsychology.com\/index.php?rest_route=\/wp\/v2\/types\/psych_stat"}],"author":[{"embeddable":true,"href":"https:\/\/french.arabpsychology.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/french.arabpsychology.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1581"}],"version-history":[{"count":1,"href":"https:\/\/french.arabpsychology.com\/index.php?rest_route=\/wp\/v2\/psych_stat\/1581\/revisions"}],"predecessor-version":[{"id":16254,"href":"https:\/\/french.arabpsychology.com\/index.php?rest_route=\/wp\/v2\/psych_stat\/1581\/revisions\/16254"}],"wp:attachment":[{"href":"https:\/\/french.arabpsychology.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/french.arabpsychology.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/french.arabpsychology.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}