{"id":701,"date":"2020-10-13T02:20:24","date_gmt":"2020-10-12T17:20:24","guid":{"rendered":"https:\/\/www.thun-techblog.com\/?p=701"},"modified":"2020-10-13T13:10:17","modified_gmt":"2020-10-13T04:10:17","slug":"raspberry-pi-gnuplot-japanese","status":"publish","type":"post","link":"https:\/\/www.thun-techblog.com\/index.php\/blog\/raspberry-pi-gnuplot-japanese\/","title":{"rendered":"Raspberry Pi\u306eGnuplot\u3067\u65e5\u672c\u8a9e\u3092\u4f7f\u3046\u3002\u51e1\u4f8b\u306e\u65e5\u672c\u8a9e\u8868\u793a\u3068\u843d\u3068\u3057\u7a74"},"content":{"rendered":"\n<p>\u5927\u5b66\u306e\u8ab2\u984c\u3067\u4e00\u3064\u306ex\u8ef8\u306b\u5bfe\u3057\u3066\u30014\u672c\u307b\u3069y\u8ef8\u304c\u5fc5\u8981\u306a\u30b0\u30e9\u30d5\u3092\u66f8\u304f\u5fc5\u8981\u304c\u51fa\u3066\u304d\u307e\u3057\u305f\u3002\u4eca\u307e\u3067\u79c1\u306e\u5927\u5b66\u306f\u8ab2\u984c\u306f\u57fa\u672c\u7684\u306b\u624b\u66f8\u304d\u3067\u66f8\u304f\u5fc5\u8981\u304c\u3042\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u30b3\u30ed\u30ca\u6e26\u306e\u3053\u306e\u73fe\u72b6\u3067\u624b\u66f8\u304d\u30ec\u30dd\u30fc\u30c8\u306e\u53d7\u3051\u6e21\u3057\u306f\u5371\u967a\u304c\u3042\u308b\u3068\u306e\u3053\u3068\u3067\u3001\u3064\u3044\u306b\u30c7\u30fc\u30bf\u3067\u306e\u63d0\u51fa\u306e\u307f\u306b\u306a\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u305d\u306e\u4e0a\u3067\u6c17\u306b\u306a\u3063\u305f\u306e\u304c\u30b0\u30e9\u30d5\u306b\u3064\u3044\u3066\u3067\u3057\u305f\u3002\u624b\u66f8\u304d\u306e\u3082\u306e\u3092\u30b9\u30ad\u30e3\u30f3\u3057\u3066\u3082\u3044\u3044\u3068\u306e\u3053\u3068\u3067\u3059\u304c\u3001\u4eca\u5f8c\u7814\u7a76\u306a\u3069\u3092\u884c\u3046\u306b\u3042\u305f\u3063\u3066\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u4e0a\u3067\u30b0\u30e9\u30d5\u5316\u3059\u308b\u30b9\u30ad\u30eb\u306f\u5fc5\u9808\u3068\u306a\u308b\u306e\u306f\u76ee\u306b\u898b\u3048\u3066\u3044\u308b\u306e\u3067\u3001\u9811\u5f35\u3063\u3066\u30d1\u30bd\u30b3\u30f3\u3067\u4f5c\u6210\u3057\u3088\u3046\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>\u3061\u306a\u307f\u65e5\u672c\u8a9e\u3092\u7c21\u5358\u306b\u6271\u3048\u308b\u3068\u3044\u3046\u3053\u3068\u3092\u8003\u3048\u3066Excel\u3067\u884c\u3046\u3053\u3068\u3082\u8003\u3048\u305f\u306e\u3067\u3059\u304c\u3001\u3069\u3046\u3082\u7b2c2\u8ef8\u307e\u3067\u3057\u304b\u62e1\u5f35\u3067\u304d\u306a\u3044\u3088\u3046\u3067\u3001\u305d\u308c\u3088\u308a\u3082\u591a\u3044\u8907\u6570\u8ef8\u3092\u6301\u3064\u3082\u306e\u3092\u4f5c\u6210\u3059\u308b\u306e\u306f\u96e3\u3057\u3044\u3068\u306e\u3053\u3068\u3067\u8ae6\u3081\u307e\u3057\u305f\u3002\u8ef8\u304c\u7b2c2\u8ef8\u3060\u3051\u3067\u4e8b\u8db3\u308a\u308b\u306a\u3089Excel\u3067\u4f5c\u3063\u305f\u307b\u3046\u304c\u9593\u9055\u3044\u306a\u304f\u697d\u3067\u3059\u3002\u4eca\u56de\u306e\u79c1\u306e\u3088\u3046\u306b\u8907\u6570\u8ef8\u3042\u3063\u305f\u308a\u3059\u308b\u305f\u3081\u306b\u3069\u3046\u3057\u3066\u3082Gnuplot\u3092\u4f7f\u308f\u3056\u308b\u3092\u5f97\u306a\u3044\u30b1\u30fc\u30b9\u3060\u3063\u3066\u3042\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u3088\u3046\u306a\u7d4c\u7def\u3067\u30b0\u30e9\u30d5\u3092PC\u3092\u4f7f\u3063\u3066\u66f8\u304f\u3053\u3068\u306b\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u79c1\u304c\u771f\u3063\u5148\u306b\u601d\u3044\u6d6e\u304b\u3076\u306e\u304cGnuplot\u3002\u79c1\u306e\u81ea\u4f5c\u30c4\u30fc\u30eb\u3067\u3082\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u512a\u79c0\u306a\u7121\u511f\u3067\u4f7f\u3048\u308b\u30b0\u30e9\u30d5\u4f5c\u6210\u30c4\u30fc\u30eb\u3067\u3059\u3002\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u306e\u64cd\u4f5c\u3067\u30b0\u30e9\u30d5\u3092\u66f8\u304f\u306e\u3067\u3059\u304c\u305d\u308c\u3086\u3048\u6587\u5b57\u5316\u3051\u306e\u5f0a\u5bb3\u306a\u3069\u3082\u5b58\u5728\u3057\u307e\u3059\u3002\u3053\u306e\u6587\u5b57\u5316\u3051\u3092\u3057\u306a\u3044\u8a2d\u5b9a\u3068\u601d\u308f\u306c\u843d\u3068\u3057\u7a74\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n<p class=\"has-text-align-center\">\u76ee\u6b21<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#a\">\u74b0\u5883<\/a><\/li><li><a href=\"#b\">\u6587\u5b57\u5316\u3051\u306e\u75c7\u4f8b<\/a><\/li><li><a href=\"#c\">\u65e5\u672c\u8a9e\u8868\u793a\u3092\u3059\u308b\u305f\u3081\u306e\u89e3\u6c7a\u65b9\u6cd5<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"a\">\u74b0\u5883<\/h2>\n\n\n\n<p>\u79c1\u306e\u74b0\u5883\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Raspberry Pi4 B 4GB<\/li><li>Raspbian 32bit<\/li><\/ul>\n\n\n\n<p>Ubuntu\u3084\u666e\u901a\u306eDebian\u306a\u3069\u3068\u9055\u3063\u3066\u65e5\u672c\u8a9e\u5bfe\u5fdc\u304c\u7518\u3044\u306e\u3067\u306f\u306a\u3044\u304b\u306a\u3069\u3068\u8272\u3005\u8a66\u884c\u932f\u8aa4\u3057\u3066\u3044\u308b\u4e2d\u3067\u90aa\u63a8\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u4eca\u56de\u306f\u304a\u3082\u308f\u306c\u843d\u3068\u3057\u7a74\u306b\u306f\u307e\u3063\u3066\u3057\u307e\u3063\u305f\u3060\u3051\u3067\u308f\u304b\u3063\u3066\u3044\u308c\u3070\u3042\u3063\u3055\u308a\u65e5\u672c\u8a9e\u3067\u8868\u793a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3061\u306a\u307f\u306bGnuplot\u3067\u306fpng\u3067\u753b\u50cf\u3092\u51fa\u529b\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"b\">\u6587\u5b57\u5316\u3051\u306e\u75c7\u4f8b<\/h2>\n\n\n\n<p>\u307e\u305a\u79c1\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u7528\u610f\u3057\u307e\u3057\u305f\u3002\u5916\u90e8\u306eexperiment2.tsv\u3068\u3044\u3046tab\u6587\u5b57\u3067\u533a\u5207\u3089\u308c\u305f\u30c7\u30fc\u30bf\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u3080\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002\u305d\u306e\u305f\u3081\u533a\u5207\u308a\u6587\u5b57\u3092&#8221;\\t&#8221;\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u3057\u30663\u884c\u76ee\u3092\u8aad\u3093\u3067\u306e\u901a\u308apng\u51fa\u529b\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plane\" data-file=\"tese.txt\"><code>reset\nset datafile separator &quot;\\t&quot;\nset terminal png size 1280,720\nset output &#39;test.png&#39;\nset multiplot\nunset key\nset xrange [0:1300]\nset xlabel &quot;\u51fa\u529bP_o_u_t[W]&quot;\nset lmargin screen 0.15\nset yrange [0:10.0]\nset ytics 1\nset ylabel &quot;\u4e00\u6b21\u96fb\u6d41I_1[A]&quot; offset 2,0 textcolor rgb &#39;black&#39;\nplot &#39;experiment2.tsv&#39; using 7:1 with points lt rgb &#39;red&#39;\nset ytics 0.1\nset yrange [0:1.0]\nset ytics offset -5,0\nset ylabel &quot;\u52b9\u7387\u03b7 , \u529b\u7387cos\u03b8&quot; offset -3,0 textcolor rgb &quot;black&quot;\nplot &#39;experiment2.tsv&#39; using 7:9 with points lt rgb &#39;blue&#39;\nplot &#39;experiment2.tsv&#39; using 7:10 with points lt rgb &#39;green&#39;\nunset terminal\nunset multiplot\nexit<\/code><\/pre><\/div>\n\n\n\n<p>\u3055\u3066\u3053\u308c\u3092\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u5b9f\u884c\u3057\u7d50\u679c\u3092\u898b\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plane\"><code>$ gnuplot\ngnuplot&gt; load &#39;test.txt&#39;<\/code><\/pre><\/div>\n\n\n\n<p>\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2020\/10\/ep2_mojibake-1024x576.png\" alt=\"\" class=\"wp-image-742\" srcset=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2020\/10\/ep2_mojibake-1024x576.png 1024w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2020\/10\/ep2_mojibake-300x169.png 300w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2020\/10\/ep2_mojibake-768x432.png 768w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2020\/10\/ep2_mojibake-1200x675.png 1200w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2020\/10\/ep2_mojibake.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>\u6587\u5b57\u5316\u3051\u306e\u30d1\u30ec\u30fc\u30c9<\/figcaption><\/figure>\n\n\n\n<p>\u306a\u3093\u3068\u306a\u304f\u6587\u5b57\u5316\u3051\u3057\u305d\u3046\u3060\u306a\u3068\u306f\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u3084\u3063\u3071\u308a\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u691c\u7d22\u3057\u3066\u5bfe\u51e6\u6cd5\u3092\u898b\u3066\u307f\u308b\u3068\u3001UTF-8\u3067\u3042\u308b\u3053\u3068\u3092\u660e\u8a18\u3057\u3066\u30d5\u30a9\u30f3\u30c8\u3092\u8a2d\u5b9a\u3059\u308c\u3070\u3044\u3044\u3089\u3057\u3044\u3068\u306e\u3053\u3068\u3002\u5b9f\u969b\u306b\u3084\u3063\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u5148\u307b\u3069\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plane\"><code>reset\nset datafile separator &quot;\\t&quot;\nset font &quot;NotoSerifCJK-SemiBold.ttc,14&quot;\nset terminal png size 1280,720 font &quot;NotoSerifCJK-SemiBold.ttc,14&quot; enhanced\nset output &#39;test.png&#39;\nset multiplot\nunset key\nset xrange [0:1300]\nset xlabel &quot;\u51fa\u529bP_o_u_t[W]&quot;\nset lmargin screen 0.15\nset yrange [0:10.0]\nset ytics 1\nset ylabel &quot;\u4e00\u6b21\u96fb\u6d41I_1[A]&quot; offset 2,0 textcolor rgb &#39;black&#39;\nplot &#39;experiment2.tsv&#39; using 7:1 with points lt rgb &#39;red&#39;\nset ytics 0.1\nset yrange [0:1.0]\nset ytics offset -5,0\nset ylabel &quot;\u52b9\u7387\u03b7 , \u529b\u7387cos\u03b8&quot; offset -3,0 textcolor rgb &quot;black&quot;\nplot &#39;experiment2.tsv&#39; using 7:9 with points lt rgb &#39;blue&#39;\nplot &#39;experiment2.tsv&#39; using 7:10 with points lt rgb &#39;green&#39;\nunset terminal\nunset multiplot\nexit<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u3067\u30d5\u30a9\u30f3\u30c8\u3092\u6307\u5b9a\u3057\u305f\u3057\u5927\u4e08\u592b\u3060\u308d\u3046\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u5b9f\u884c\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u753b\u50cf\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2020\/10\/test-1024x576.png\" alt=\"\" class=\"wp-image-743\" srcset=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2020\/10\/test-1024x576.png 1024w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2020\/10\/test-300x169.png 300w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2020\/10\/test-768x432.png 768w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2020\/10\/test-1200x675.png 1200w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2020\/10\/test.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>\u9055\u3046\u305d\u3046\u3058\u3083\u306a\u3044\u2026<\/figcaption><\/figure>\n\n\n\n<p>\u306a\u3093\u3068\u65e5\u672c\u8a9e\u3060\u3051\u8868\u793a\u304c\u3067\u304d\u3066\u534a\u89d2\u306b\u8a72\u5f53\u3059\u308b\u6587\u5b57\u304c\u6587\u5b57\u5316\u3051\u3059\u308b\u3068\u3044\u3046\u672c\u672b\u8ee2\u5012\u306a\u72b6\u614b\u306b\u3002<\/p>\n\n\n\n<p>\u8272\u3005\u8abf\u3079\u3066\u3044\u308b\u3068\u3055\u3089\u3063\u3068\u8aad\u307f\u6d41\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3042\u308bterminal\u3067\u306f\u65e5\u672c\u8a9e\u304c\u6271\u3048\u306a\u3044\u3068\u304b\u304c\u3042\u308b\u305d\u3046\u306a\u3002png\u306f\u4e00\u3064\u3057\u304b\u306a\u3044\u3068\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u304c\u4f55\u304c\u3042\u308b\u306e\u304b\u6c17\u306b\u306a\u3063\u305f\u306e\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092gnuplot\u4e0a\u3067\u5165\u308c\u3066terminal\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u898b\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plane\"><code>gnuplot&gt; set terminal<\/code><\/pre><\/div>\n\n\n\n<p>\u3059\u308b\u3068\u3044\u304b\u306e\u3088\u3046\u306b\u305f\u304f\u3055\u3093\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plane\"><code>Available terminal types:\n       cairolatex  LaTeX picture environment using graphicx package and Cairo backend\n           canvas  HTML Canvas object\n              cgm  Computer Graphics Metafile\n          context  ConTeXt with MetaFun (for PDF documents)\n          domterm  DomTerm terminal emulator with embedded SVG\n             dumb  ascii art for anything that prints text\n              dxf  dxf-file for AutoCad (default size 120x80)\n            eepic  EEPIC -- extended LaTeX picture environment\n              emf  Enhanced Metafile format\n            emtex  LaTeX picture environment with emTeX specials\n         epscairo  eps terminal based on cairo\n         epslatex  LaTeX picture environment using graphicx package\n              fig  FIG graphics language for XFIG graphics editor\n              gif  GIF images using libgd and TrueType fonts\n             hpgl  HP7475 and relatives [number of pens] [eject]\n             jpeg  JPEG images using libgd and TrueType fonts\n            latex  LaTeX picture environment\n              lua  Lua generic terminal driver\n               mf  Metafont plotting standard\n               mp  MetaPost plotting standard\n             pcl5  HP Designjet 750C, HP Laserjet III\/IV, etc. (many options)\nPress return for more: \n         pdfcairo  pdf terminal based on cairo\n              png  PNG images using libgd and TrueType fonts\n         pngcairo  png terminal based on cairo\n       postscript  PostScript graphics, including EPSF embedded files (*.eps)\n          pslatex  LaTeX picture environment with PostScript \\specials\n            pstex  plain TeX with PostScript \\specials\n         pstricks  LaTeX picture environment with PSTricks macros\n              qms  QMS\/QUIC Laser printer (also Talaris 1200 and others)\n               qt  Qt cross-platform interactive terminal\n          sixelgd  sixel using libgd and TrueType fonts\n              svg  W3C Scalable Vector Graphics\n          tek40xx  Tektronix 4010 and others; most TEK emulators\n          tek410x  Tektronix 4106, 4107, 4109 and 420X terminals\n          texdraw  LaTeX texdraw environment\n             tgif  TGIF X11 [mode] [x,y] [dashed] [&quot;font&quot; [fontsize]]\n             tikz  TeX TikZ graphics macros via the lua script driver\n         tkcanvas  Tk canvas widget\n             tpic  TPIC -- LaTeX picture environment with tpic \\specials\n          unknown  Unknown terminal type - not a plotting device\n            vttek  VT-like tek40xx terminal emulator\n              wxt  wxWidgets cross-platform interactive terminal\n              x11  X11 Window System interactive terminal\nPress return for more: \n             xlib  X11 Window System (dump of gnuplot_x11 command stream)\n            xterm  Xterm Tektronix 4014 Mod<\/code><\/pre><\/div>\n\n\n\n<p>\u3088\u304f\u307f\u308b\u3068pngcairo\u306a\u308bterminal\u304c\u5b58\u5728\u3059\u308b\u3053\u3068\u304c\u5224\u660e\u3057\u307e\u3059\u3002\u3088\u304f\u3088\u304f\u8abf\u3079\u308b\u3068cairo\u7cfb\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u306a\u3089\u65e5\u672c\u8a9e\u3092\u6271\u3048\u308b\u3068\u306e\u3053\u3068\u3002\u300ccairo\u7cfb\u306e\u30bf\u30fc\u30df\u30ca\u30eb&#8221;\u306a\u3089&#8221;\u300d\u3068\u3044\u3046\u3053\u3068\u306fpng\u306eterminal\u3067\u306f\u305d\u3082\u305d\u3082\u65e5\u672c\u8a9e\u304c\u4f7f\u3048\u306a\u3044\u306e\u3067\u306f\uff1f\u3068\u601d\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n<h2 class=\"wp-block-heading\" id=\"c\">\u65e5\u672c\u8a9e\u8868\u793a\u3092\u3059\u308b\u305f\u3081\u306e\u89e3\u6c7a\u65b9\u6cd5<\/h2>\n\n\n\n<p>\u8272\u3005\u5909\u66f4\u3092\u52a0\u3048\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u6700\u521d\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306e3\u884c\u76ee\u3060\u3051\u3092\u5909\u66f4\u3057\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u306b\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plane\"><code>reset\nset datafile separator &quot;\\t&quot;\nset terminal pngcairo size 1280,720\nset output &#39;test.png&#39;\nset multiplot\nunset key\nset xrange [0:1300]\nset xlabel &quot;\u51fa\u529bP_o_u_t[W]&quot;\nset lmargin screen 0.15\nset yrange [0:10.0]\nset ytics 1\nset ylabel &quot;\u4e00\u6b21\u96fb\u6d41I_1[A]&quot; offset 2,0 textcolor rgb &#39;black&#39;\nplot &#39;experiment2.tsv&#39; using 7:1 with points lt rgb &#39;red&#39;\nset ytics 0.1\nset yrange [0:1.0]\nset ytics offset -5,0\nset ylabel &quot;\u52b9\u7387\u03b7 , \u529b\u7387cos\u03b8&quot; offset -3,0 textcolor rgb &quot;black&quot;\nplot &#39;experiment2.tsv&#39; using 7:9 with points lt rgb &#39;blue&#39;\nplot &#39;experiment2.tsv&#39; using 7:10 with points lt rgb &#39;green&#39;\nunset terminal\nunset multiplot\nexit<\/code><\/pre><\/div>\n\n\n\n<p>3\u884c\u76ee\u306epng\u3092pngcairo\u306b\u5909\u3048\u305f\u3060\u3051\u3067\u3059\u3002\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b0\u30e9\u30d5\u304c\u51fa\u529b\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2020\/10\/ep2_tt-1024x576.png\" alt=\"\" class=\"wp-image-744\" srcset=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2020\/10\/ep2_tt-1024x576.png 1024w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2020\/10\/ep2_tt-300x169.png 300w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2020\/10\/ep2_tt-768x432.png 768w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2020\/10\/ep2_tt-1200x675.png 1200w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2020\/10\/ep2_tt.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>\u304d\u308c\u3044\u306a\u65e5\u672c\u8a9e\u8868\u793a\uff01<\/figcaption><\/figure>\n\n\n\n<p>\u3053\u308c\u3067\u65e5\u672c\u8a9e\u8868\u793a\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002gnuplot\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u3084\u74b0\u5883\u306b\u3088\u3063\u3066\u52d5\u4f5c\u3084\u3001\u8a18\u8ff0\u306e\u65b9\u6cd5\u304c\u5c11\u3057\u9055\u3063\u3066\u3044\u308b\u305f\u3081Raspberry Pi\u306e\u3088\u3046\u306a\u65e5\u672c\u8a9e\u304c\u8ca7\u5f31\u306aOS\u3060\u304b\u3089\u3053\u305d\u304b\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u305f\u3063\u305f1\u884c\u3092\u5909\u3048\u308b\u3060\u3051\u3067\u826f\u304b\u3063\u305f\u3068\u3044\u3046\u30aa\u30c1\u3067\u3059\u3002\u3082\u3068\u3082\u3068pngcairo\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u308c\u3070\u4f55\u3082\u7279\u5225\u306a\u3053\u3068\u3092\u3057\u306a\u304f\u3066\u3082\u65e5\u672c\u8a9e\u3067\u8868\u793a\u3067\u304d\u305f\u306f\u305a\u3060\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u904b\u60aa\u304f\uff1f\u79c1\u306fpng\u3092\u9078\u629e\u3057\u3066\u3057\u307e\u3063\u305f\u305f\u3081\u306b\u3053\u3093\u306a\u6cbc\u306b\u306f\u307e\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u307e\u3068\u3081\u308b\u3068\u3053\u306e\u63b2\u8f09\u3057\u3066\u3044\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30ad\u30e2\u306f3\u884c\u76ee\u306e\u3001<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plane\"><code>set terminal pngcairo <\/code><\/pre><\/div>\n\n\n\n<p>\u3067\u3042\u308a\u3001pngcairo\u3068\u3057\u3066\u3044\u308c\u3070\u4f55\u306e\u4e0d\u81ea\u7531\u3082\u306a\u304f\u65e5\u672c\u8a9e\u3067\u975e\u8868\u793a\u304c\u53ef\u80fd\u3067\u3059\u3002Raspberry Pi\u306a\u3089\u3067\u306f\u306e\u5148\u5165\u89b3\u304c\u3082\u305f\u3089\u3057\u305f\u60b2\u5287\u3060\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u4ed6\u306e\u65b9\u3082\u89e3\u6c7a\u3067\u304d\u3066\u3044\u306a\u3044\u65b9\u3082\u3044\u3089\u3063\u3057\u3083\u3063\u305f\u306e\u3067\u3044\u3064\u304b\u3053\u306e\u8a18\u4e8b\u304c\u5f79\u306b\u7acb\u3064\u65e5\u304c\u304d\u305f\u3089\u3046\u308c\u3057\u3044\u3067\u3059\u306d\u3002<\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>","protected":false},"excerpt":{"rendered":"<p>\u5927\u5b66\u306e\u8ab2\u984c\u3067\u4e00\u3064\u306ex\u8ef8\u306b\u5bfe\u3057\u3066\u30014\u672c\u307b\u3069y\u8ef8\u304c\u5fc5\u8981\u306a\u30b0\u30e9\u30d5\u3092\u66f8\u304f\u5fc5\u8981\u304c\u51fa\u3066\u304d\u307e\u3057\u305f\u3002\u4eca\u307e\u3067\u79c1\u306e\u5927\u5b66\u306f\u8ab2\u984c\u306f\u57fa\u672c\u7684\u306b\u624b\u66f8\u304d\u3067\u66f8\u304f\u5fc5\u8981\u304c\u3042\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u30b3\u30ed\u30ca\u6e26\u306e\u3053\u306e\u73fe\u72b6\u3067\u624b\u66f8\u304d\u30ec\u30dd\u30fc\u30c8\u306e\u53d7\u3051\u6e21\u3057\u306f\u5371\u967a\u304c\u3042\u308b\u3068\u306e\u3053\u3068\u3067\u3001\u3064\u3044&hellip; <a class=\"more-link\" href=\"https:\/\/www.thun-techblog.com\/index.php\/blog\/raspberry-pi-gnuplot-japanese\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Raspberry Pi\u306eGnuplot\u3067\u65e5\u672c\u8a9e\u3092\u4f7f\u3046\u3002\u51e1\u4f8b\u306e\u65e5\u672c\u8a9e\u8868\u793a\u3068\u843d\u3068\u3057\u7a74<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-701","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi","entry"],"_links":{"self":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts\/701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=701"}],"version-history":[{"count":4,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts\/701\/revisions"}],"predecessor-version":[{"id":755,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts\/701\/revisions\/755"}],"wp:attachment":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}