{"id":3915,"date":"2019-12-10T07:00:02","date_gmt":"2019-12-10T12:00:02","guid":{"rendered":"https:\/\/blogs.mathworks.com\/steve\/?p=3915"},"modified":"2019-12-24T11:15:53","modified_gmt":"2019-12-24T16:15:53","slug":"how-to-go-a-little-crazy-with-graphics-titles","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/steve\/2019\/12\/10\/how-to-go-a-little-crazy-with-graphics-titles\/","title":{"rendered":"How to Go a Little Crazy with Graphics Titles"},"content":{"rendered":"<div class=\"content\"><!--introduction--><p>The <tt>title<\/tt> function is the <a href=\"https:\/\/blogs.mathworks.com\/steve\/2019\/11\/11\/guess-the-functions-and-get-a-t-shirt\/\">third most commonly-used function in my 13 years of writing this blog<\/a>, after <tt>imshow<\/tt> and <tt>imread<\/tt>. You have probably all used this function many times.<\/p><p>But I suspect that even the power users among you might not know half of what this function can do. So let me take you on a little tour.<\/p><!--\/introduction--><h3>Contents<\/h3><div><ul><li><a href=\"#74d030e3-c66c-4eea-81b4-643dfc50c0a7\">How to Title a Plot<\/a><\/li><li><a href=\"#04726cd8-b0de-40cf-b6c8-42a565ab5db4\">How to Make a Multiline Title<\/a><\/li><li><a href=\"#c64e1870-a3d3-4e0a-83b1-b2242fa83251\">How to Title a Legend<\/a><\/li><li><a href=\"#a92bef31-e860-4e5d-a335-07d5cb61ed56\">How to Title a Tiled Set of Graphics<\/a><\/li><li><a href=\"#d2f04cc5-31aa-4cfc-88fd-83d044f7ea8c\">How to Control the Title Font<\/a><\/li><li><a href=\"#fe3fe2c2-96ca-4645-bd79-9382106e6148\">How to Put Symbols in the Title<\/a><\/li><li><a href=\"#e0f7e75e-a5ae-493c-8fc1-a7d2c698685b\">How to Put Superscripts and Subscripts in the Title<\/a><\/li><li><a href=\"#945bc309-3496-495b-9daf-82caead8baf1\">How to Put Unicode Characters into the Title<\/a><\/li><li><a href=\"#ad7f59b0-2fbf-42df-8ad4-b22de38258fb\">How to Put Math in the Title<\/a><\/li><li><a href=\"#1d1625a9-d2d2-4dcf-a6ca-a2d07d06bceb\">How to Go a Little Crazy with Titles<\/a><\/li><\/ul><\/div><h4>How to Title a Plot<a name=\"74d030e3-c66c-4eea-81b4-643dfc50c0a7\"><\/a><\/h4><p>Here's the basic form everyone knows:<\/p><pre class=\"codeinput\">A = imzoneplate;\r\nw = A(255,:);\r\nplot(w)\r\nxlim([1 501])\r\ntitle(<span class=\"string\">\"Zone Plate Cross-Section\"<\/span>)\r\n<\/pre><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/steve\/files\/title_function_dead_01.png\" alt=\"\"> <h4>How to Make a Multiline Title<a name=\"04726cd8-b0de-40cf-b6c8-42a565ab5db4\"><\/a><\/h4><p>But you can make a multiline title, too, using a string array.<\/p><pre class=\"codeinput\">plot(w)\r\nxlim([1 501])\r\ntitle([<span class=\"string\">\"Zone Plate Cross-Section\"<\/span> ; <span class=\"string\">\"Row 255\"<\/span>])\r\n<\/pre><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/steve\/files\/title_function_dead_02.png\" alt=\"\"> <h4>How to Title a Legend<a name=\"c64e1870-a3d3-4e0a-83b1-b2242fa83251\"><\/a><\/h4><p>If you read the reference page for <tt>title<\/tt>, you'll see that it has this syntax:<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/steve\/files\/title-target-syntax.png\" alt=\"\"> <\/p><p>The first argument, <tt>target<\/tt>, is described this way:<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/steve\/files\/title-target-description.png\" alt=\"\"> <\/p><p>Hey, you can title a legend!<\/p><pre class=\"codeinput\">x = linspace(0,pi);\r\ny1 = cos(x);\r\nplot(x,y1)\r\n\r\nhold <span class=\"string\">on<\/span>\r\ny2 = cos(2*x);\r\nplot(x,y2)\r\nhold <span class=\"string\">off<\/span>\r\n\r\nlgd = legend(<span class=\"string\">\"cos(x)\"<\/span>,<span class=\"string\">\"cos(2x)\"<\/span>);\r\ntitle(lgd,<span class=\"string\">\"The Best Title\"<\/span>)\r\n<\/pre><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/steve\/files\/title_function_dead_03.png\" alt=\"\"> <h4>How to Title a Tiled Set of Graphics<a name=\"a92bef31-e860-4e5d-a335-07d5cb61ed56\"><\/a><\/h4><p>The <tt>target<\/tt> argument can also be a <tt>tiledlayout<\/tt> object, which is a flexible and easy-to-use way to organize a grid of related graphics. (<b>Note:<\/b> <tt>tiledlayout<\/tt> is new in R2019b.)<\/p><pre class=\"codeinput\">tl = tiledlayout(2,2);\r\n[X,Y,Z] = peaks(20);\r\n\r\n<span class=\"comment\">% Tile 1<\/span>\r\nnexttile\r\nsurf(X,Y,Z)\r\n\r\n<span class=\"comment\">% Tile 2<\/span>\r\nnexttile\r\ncontour(X,Y,Z)\r\n\r\n<span class=\"comment\">% Tile 3<\/span>\r\nnexttile\r\nimagesc(Z)\r\n\r\n<span class=\"comment\">% Tile 4<\/span>\r\nnexttile\r\nplot3(X,Y,Z)\r\n\r\ntitle(tl,<span class=\"string\">\"Four Ways to Look at Peaks\"<\/span>)\r\n<\/pre><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/steve\/files\/title_function_dead_04.png\" alt=\"\"> <h4>How to Control the Title Font<a name=\"d2f04cc5-31aa-4cfc-88fd-83d044f7ea8c\"><\/a><\/h4><p>Using Name-Value pairs, you can control the font, font size, font weight, and color.<\/p><pre class=\"codeinput\">clf\r\nx = @(t) sin(2*t);\r\ny = @(t) sin(3*t);\r\nfplot(x,y,<span class=\"string\">'LineWidth'<\/span>,2)\r\ntitle(<span class=\"string\">\"Parametric Plot\"<\/span>, <span class=\"keyword\">...<\/span>\r\n    <span class=\"string\">\"FontName\"<\/span>, <span class=\"string\">\"Chalkduster\"<\/span>, <span class=\"keyword\">...<\/span>\r\n    <span class=\"string\">\"FontSize\"<\/span>, 24, <span class=\"keyword\">...<\/span>\r\n    <span class=\"string\">\"FontWeight\"<\/span>, <span class=\"string\">\"bold\"<\/span>, <span class=\"keyword\">...<\/span>\r\n    <span class=\"string\">\"Color\"<\/span>, [0.850 0.325 0.098]);\r\n<\/pre><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/steve\/files\/title_function_dead_05.png\" alt=\"\"> <p>Alternatively, you can call <tt>title<\/tt> with an output argument to capture the text object and then set its properties directly, like this:<\/p><pre class=\"codeinput\">ezpolar(<span class=\"string\">'1+cos(t)*sin(t)^2'<\/span>)\r\nt = title(<span class=\"string\">\"Polar Plot\"<\/span>);\r\nt.FontName = <span class=\"string\">\"Marker Felt\"<\/span>;\r\nt.FontAngle = <span class=\"string\">\"italic\"<\/span>;\r\nt.FontSize = 36;\r\n<\/pre><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/steve\/files\/title_function_dead_06.png\" alt=\"\"> <h4>How to Put Symbols in the Title<a name=\"fe3fe2c2-96ca-4645-bd79-9382106e6148\"><\/a><\/h4><p>By default, MATLAB will recognize TeX symbol names in your title text. These include Greek letters (\\alpha, \\zeta, \\tau) and mathematical symbols (\\approx, \\leq, \\nabla).<\/p><pre class=\"codeinput\">plot(graph(bucky))\r\naxis <span class=\"string\">equal<\/span>\r\ntitle(<span class=\"string\">\"These symbols are here for no good reason: \\alpha, \\zeta, \\tau\"<\/span> + <span class=\"keyword\">...<\/span>\r\n    <span class=\"string\">\", \\approx, \\leq, \\nabla\"<\/span>)\r\n<\/pre><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/steve\/files\/title_function_dead_07.png\" alt=\"\"> <h4>How to Put Superscripts and Subscripts in the Title<a name=\"e0f7e75e-a5ae-493c-8fc1-a7d2c698685b\"><\/a><\/h4><p>Use the TeX notation for superscripts and subscripts.<\/p><pre class=\"codeinput\">plot([-40 -40])\r\ntitle(<span class=\"string\">\"-40^{\\circ} is a special temperature\"<\/span>)\r\n<\/pre><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/steve\/files\/title_function_dead_08.png\" alt=\"\"> <h4>How to Put Unicode Characters into the Title<a name=\"945bc309-3496-495b-9daf-82caead8baf1\"><\/a><\/h4><p>Some people don't like using a superscript \"circle\" symbol to show degrees and would prefer to use the Unicode degree character. You can get a Unicode character in MATLAB by calling <tt>char<\/tt> on the decimal code value. The decimal code value for the degree symbol is 176.<\/p><pre class=\"codeinput\">plot([-40 -40])\r\ntitle(<span class=\"string\">\"-40\"<\/span> + char(176) + <span class=\"string\">\" is a special temperature\"<\/span>)\r\n<\/pre><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/steve\/files\/title_function_dead_09.png\" alt=\"\"> <p>Yeah, that does look better, doesn't it?<\/p><h4>How to Put Math in the Title<a name=\"ad7f59b0-2fbf-42df-8ad4-b22de38258fb\"><\/a><\/h4><p>You can put a lot of simple mathematical expressions in the title using the symbols, subscripts, and superscripts of the TeX interpreter, but I think the LaTeX interpreter looks better for real math.<\/p><pre class=\"codeinput\">fsurf(@(u,v)sin(pi*u).*sin(pi*u).*cos(v), <span class=\"keyword\">...<\/span>\r\n    @(u,v)sin(pi*u).*sin(pi*u).*sin(v), <span class=\"keyword\">...<\/span>\r\n    @(u,v)u, [-1 1 0 2*pi])\r\ntitle([<span class=\"string\">\"$x = \\sin(\\pi u) \\sin(\\pi u) \\cos(v)$\"<\/span>, <span class=\"keyword\">...<\/span>\r\n    <span class=\"string\">\"$y = \\sin(\\pi u) \\sin(\\pi u) \\sin(v)$\"<\/span>, <span class=\"keyword\">...<\/span>\r\n    <span class=\"string\">\"$z = u$\"<\/span>], <span class=\"keyword\">...<\/span>\r\n    <span class=\"string\">\"Interpreter\"<\/span>,<span class=\"string\">\"latex\"<\/span>)\r\n<\/pre><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/steve\/files\/title_function_dead_10.png\" alt=\"\"> <p>Here's a display-math version of one of my favorite equations, paired with an unrelated graphic.<\/p><pre class=\"codeinput\">fplot(@(x) x.^3, [-2 2], <span class=\"string\">'r'<\/span>, <span class=\"string\">'LineWidth'<\/span>,2)\r\ntitle(<span class=\"string\">\"$$X(\\omega) = \\sum_{n=-\\infty}^{\\infty} x[n] e^{-j\\omega n}$$\"<\/span>,<span class=\"keyword\">...<\/span>\r\n    <span class=\"string\">\"Interpreter\"<\/span>,<span class=\"string\">\"latex\"<\/span>)\r\n<\/pre><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/steve\/files\/title_function_dead_11.png\" alt=\"\"> <h4>How to Go a Little Crazy with Titles<a name=\"1d1625a9-d2d2-4dcf-a6ca-a2d07d06bceb\"><\/a><\/h4><p>One of the things I like about the TeX interpreter option is that it lets you change your about about font, font size, font weight, and color. In the middle of the title. As many times as you like.<\/p><pre class=\"codeinput\">fplot(@(x) x.^3, [-2 2], <span class=\"string\">'r'<\/span>, <span class=\"string\">'LineWidth'<\/span>,2)\r\ntitle(<span class=\"string\">\"Where \\fontsize{24} Is \\fontsize{8} the \\fontsize{36} \"<\/span> + <span class=\"keyword\">...<\/span>\r\n    <span class=\"string\">\"\\color[rgb]{0,0.5,0.5} Inflection \\fontsize{18} \\it point\\color{red}???\"<\/span>)\r\n<\/pre><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/steve\/files\/title_function_dead_12.png\" alt=\"\"> <p>If only I were still in the business of writing journal papers. I would definitely try to sneak in something like that.<\/p><p>Finally, I should note that the <tt>title<\/tt> function can also be used to compute the singular value decomposition. But I will have to leave that story for later...<\/p><script language=\"JavaScript\"> <!-- \r\n    function grabCode_b520aadad9d74e298bbf556ace7eba3a() {\r\n        \/\/ Remember the title so we can use it in the new page\r\n        title = document.title;\r\n\r\n        \/\/ Break up these strings so that their presence\r\n        \/\/ in the Javascript doesn't mess up the search for\r\n        \/\/ the MATLAB code.\r\n        t1='b520aadad9d74e298bbf556ace7eba3a ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' b520aadad9d74e298bbf556ace7eba3a';\r\n    \r\n        b=document.getElementsByTagName('body')[0];\r\n        i1=b.innerHTML.indexOf(t1)+t1.length;\r\n        i2=b.innerHTML.indexOf(t2);\r\n \r\n        code_string = b.innerHTML.substring(i1, i2);\r\n        code_string = code_string.replace(\/REPLACE_WITH_DASH_DASH\/g,'--');\r\n\r\n        \/\/ Use \/x3C\/g instead of the less-than character to avoid errors \r\n        \/\/ in the XML parser.\r\n        \/\/ Use '\\x26#60;' instead of '<' so that the XML parser\r\n        \/\/ doesn't go ahead and substitute the less-than character. \r\n        code_string = code_string.replace(\/\\x3C\/g, '\\x26#60;');\r\n\r\n        copyright = 'Copyright 2019 The MathWorks, Inc.';\r\n\r\n        w = window.open();\r\n        d = w.document;\r\n        d.write('<pre>\\n');\r\n        d.write(code_string);\r\n\r\n        \/\/ Add copyright line at the bottom if specified.\r\n        if (copyright.length > 0) {\r\n            d.writeln('');\r\n            d.writeln('%%');\r\n            if (copyright.length > 0) {\r\n                d.writeln('% _' + copyright + '_');\r\n            }\r\n        }\r\n\r\n        d.write('<\/pre>\\n');\r\n\r\n        d.title = title + ' (MATLAB code)';\r\n        d.close();\r\n    }   \r\n     --> <\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_b520aadad9d74e298bbf556ace7eba3a()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n      the MATLAB code <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; R2019b<br><\/p><\/div><!--\r\nb520aadad9d74e298bbf556ace7eba3a ##### SOURCE BEGIN #####\r\n%% How to Go a Little Crazy with Graphics Titles\r\n% The |title| function is the <https:\/\/blogs.mathworks.com\/steve\/2019\/11\/11\/guess-the-functions-and-get-a-t-shirt\/\r\n% third most commonly-used function in my 13 years \r\n% of writing this blog>, after |imshow| and |imread|. You have probably all used \r\n% this function many times.\r\n% \r\n% But I suspect that even the power users among you might not know half of what \r\n% this function can do. So let me take you on a little tour.\r\n%% How to Title a Plot\r\n% Here's the basic form everyone knows:\r\n\r\nA = imzoneplate;\r\nw = A(255,:);\r\nplot(w)\r\nxlim([1 501])\r\ntitle(\"Zone Plate Cross-Section\")\r\n%% How to Make a Multiline Title\r\n% But you can make a multiline title, too, using a string array.\r\n\r\nplot(w)\r\nxlim([1 501])\r\ntitle([\"Zone Plate Cross-Section\" ; \"Row 255\"])\r\n%% How to Title a Legend\r\n% If you read the reference page for |title|, you'll see that it has this syntax:\r\n% \r\n% <<https:\/\/blogs.mathworks.com\/steve\/files\/title-target-syntax.png>>\r\n% \r\n% The first argument, |target|, is described this way:\r\n% \r\n% <<https:\/\/blogs.mathworks.com\/steve\/files\/title-target-description.png>>\r\n% \r\n% Hey, you can title a legend!\r\n\r\nx = linspace(0,pi);\r\ny1 = cos(x);\r\nplot(x,y1)\r\n\r\nhold on\r\ny2 = cos(2*x);\r\nplot(x,y2)\r\nhold off\r\n\r\nlgd = legend(\"cos(x)\",\"cos(2x)\");\r\ntitle(lgd,\"The Best Title\")\r\n%% How to Title a Tiled Set of Graphics\r\n% The |target| argument can also be a |tiledlayout| object, which is a flexible \r\n% and easy-to-use way to organize a grid of related graphics. (*Note:* |tiledlayout| \r\n% is new in R2019b.)\r\n\r\ntl = tiledlayout(2,2);\r\n[X,Y,Z] = peaks(20);\r\n\r\n% Tile 1\r\nnexttile\r\nsurf(X,Y,Z)\r\n\r\n% Tile 2\r\nnexttile\r\ncontour(X,Y,Z)\r\n\r\n% Tile 3\r\nnexttile\r\nimagesc(Z)\r\n\r\n% Tile 4\r\nnexttile\r\nplot3(X,Y,Z)\r\n\r\ntitle(tl,\"Four Ways to Look at Peaks\")\r\n%% How to Control the Title Font\r\n% Using Name-Value pairs, you can control the font, font size, font weight, \r\n% and color.\r\n\r\nclf\r\nx = @(t) sin(2*t);\r\ny = @(t) sin(3*t);\r\nfplot(x,y,'LineWidth',2)\r\ntitle(\"Parametric Plot\", ...\r\n    \"FontName\", \"Chalkduster\", ...\r\n    \"FontSize\", 24, ...\r\n    \"FontWeight\", \"bold\", ...\r\n    \"Color\", [0.850 0.325 0.098]);\r\n%% \r\n% Alternatively, you can call |title| with an output argument to capture the \r\n% text object and then set its properties directly, like this:\r\n\r\nezpolar('1+cos(t)*sin(t)^2')\r\nt = title(\"Polar Plot\");\r\nt.FontName = \"Marker Felt\";\r\nt.FontAngle = \"italic\";\r\nt.FontSize = 36;\r\n%% How to Put Symbols in the Title\r\n% By default, MATLAB will recognize TeX symbol names in your title text. These \r\n% include Greek letters (\\alpha, \\zeta, \\tau) and mathematical symbols (\\approx, \r\n% \\leq, \\nabla).\r\n\r\nplot(graph(bucky))\r\naxis equal\r\ntitle(\"These symbols are here for no good reason: \\alpha, \\zeta, \\tau\" + ...\r\n    \", \\approx, \\leq, \\nabla\")\r\n%% How to Put Superscripts and Subscripts in the Title\r\n% Use the TeX notation for superscripts and subscripts.\r\n\r\nplot([-40 -40])\r\ntitle(\"-40^{\\circ} is a special temperature\")\r\n%% How to Put Unicode Characters into the Title\r\n% Some people don't like using a superscript \"circle\" symbol to show degrees \r\n% and would prefer to use the Unicode degree character. You can get a Unicode \r\n% character in MATLAB by calling |char| on the decimal code value. The decimal \r\n% code value for the degree symbol is 176.\r\n\r\nplot([-40 -40])\r\ntitle(\"-40\" + char(176) + \" is a special temperature\")\r\n%% \r\n% Yeah, that does look better, doesn't it?\r\n%% How to Put Math in the Title\r\n% You can put a lot of simple mathematical expressions in the title using the \r\n% symbols, subscripts, and superscripts of the TeX interpreter, but I think the \r\n% LaTeX interpreter looks better for real math.\r\n\r\nfsurf(@(u,v)sin(pi*u).*sin(pi*u).*cos(v), ...\r\n    @(u,v)sin(pi*u).*sin(pi*u).*sin(v), ...\r\n    @(u,v)u, [-1 1 0 2*pi])\r\ntitle([\"$x = \\sin(\\pi u) \\sin(\\pi u) \\cos(v)$\", ...\r\n    \"$y = \\sin(\\pi u) \\sin(\\pi u) \\sin(v)$\", ...\r\n    \"$z = u$\"], ...\r\n    \"Interpreter\",\"latex\")\r\n%% \r\n% Here's a display-math version of one of my favorite equations, paired with \r\n% an unrelated graphic.\r\n\r\nfplot(@(x) x.^3, [-2 2], 'r', 'LineWidth',2) \r\ntitle(\"$$X(\\omega) = \\sum_{n=-\\infty}^{\\infty} x[n] e^{-j\\omega n}$$\",...\r\n    \"Interpreter\",\"latex\")\r\n%% How to Go a Little Crazy with Titles\r\n% One of the things I like about the TeX interpreter option is that it lets \r\n% you change your about about font, font size, font weight, and color. In the \r\n% middle of the title. As many times as you like. \r\n\r\nfplot(@(x) x.^3, [-2 2], 'r', 'LineWidth',2) \r\ntitle(\"Where \\fontsize{24} Is \\fontsize{8} the \\fontsize{36} \" + ...\r\n    \"\\color[rgb]{0,0.5,0.5} Inflection \\fontsize{18} \\it point\\color{red}???\")\r\n%% \r\n% If only I were still in the business of writing journal papers. I would definitely \r\n% try to sneak in something like that.\r\n% \r\n% Finally, I should note that the |title| function can also be used to compute \r\n% the singular value decomposition. But I will have to leave that story for later...\r\n##### SOURCE END ##### b520aadad9d74e298bbf556ace7eba3a\r\n-->","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img src=\"https:\/\/blogs.mathworks.com\/steve\/files\/title_function_dead_05.png\" class=\"img-responsive attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/><\/div><!--introduction--><p>The <tt>title<\/tt> function is the <a href=\"https:\/\/blogs.mathworks.com\/steve\/2019\/11\/11\/guess-the-functions-and-get-a-t-shirt\/\">third most commonly-used function in my 13 years of writing this blog<\/a>, after <tt>imshow<\/tt> and <tt>imread<\/tt>. You have probably all used this function many times.... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/steve\/2019\/12\/10\/how-to-go-a-little-crazy-with-graphics-titles\/\">read more >><\/a><\/p>","protected":false},"author":42,"featured_media":3931,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[50,1285,1279,74,1283,1179,1287,1125,90,60,92,32,1277,354,68,1281,34,398,1275,52,360],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts\/3915"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/comments?post=3915"}],"version-history":[{"count":2,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts\/3915\/revisions"}],"predecessor-version":[{"id":3943,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts\/3915\/revisions\/3943"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/media\/3931"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/media?parent=3915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/categories?post=3915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/tags?post=3915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}