{"title":"MATLAB\u306e\u56f3\u306e\u76ee\u76db\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba","author_url":"https://blog.hatena.ne.jp/imakov/","author_name":"imakov","image_url":null,"height":"190","published":"2021-10-10 16:26:40","provider_name":"Hatena Blog","blog_url":"https://imakov.hatenablog.com/","url":"https://imakov.hatenablog.com/entry/2021/10/10/162640","type":"rich","version":"1.0","categories":["MATLAB"],"blog_title":"imakov\u2019s blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fimakov.hatenablog.com%2Fentry%2F2021%2F10%2F10%2F162640\" title=\"MATLAB\u306e\u56f3\u306e\u76ee\u76db\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba - imakov\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","provider_url":"https://hatena.blog","description":"\u56f3\u306e\u76ee\u76db\u306e\u5024\u3092\u6587\u5b57\u5217\u306b\u3057\u305f\u3044\u3068\u304d \u4f8b\u3048\u3070\u3001\u6a2a\u8ef8\u3092A, B, C, D, E\u3068\u3057\u305f\u3044\u6642\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\u3002 x = 1:0.1:5; y = rand(size(x)); xtick = 1:5; xticklabel = {'A' 'B' 'C' 'D' 'E'}; plot(x, y, 'b') set(gca, 'XTick', xtick, 'XTickLabel', xticklabel) \u76ee\u76db\u306e\u7dda\u3092\u4f38\u3070\u3057\u305f\u3044\u3068\u304d \u4f8b\u3048\u3070\u3001\u76ee\u76db\u306e\u9577\u3055\u30922\u500d\u306b\u3057\u305f\u3044\u3068\u304d\u306f\u3001plot\u3057\u305f\u5f8c\u306b\u4ee5\u4e0b\u306e\u95a2\u6570\u3092\u5b9f\u884c\u3002 >> set(gca,'ticklength', 2 * get(gca,'ticklengt\u2026"}