gnuplot 4.6




An Interactive Plotting Program




Thomas Williams & Colin Kelley




Version 4.6 organized by: Hans-Bernhard Bröker, Ethan A Merritt, and others




Major contributors (alphabetic order):

Hans-Bernhard Bröker, John Campbell,
Robert Cunningham, David Denholm,
Gershon Elber, Roger Fearick,
Carsten Grammes, Lucas Hart,
Lars Hecking, Péter Juhász,
Thomas Koenig, David Kotz,
Ed Kubaitis, Russell Lang,
Timothée Lecomte, Alexander Lehmann,
Alexander Mai, Bastian Märkisch,
Ethan A Merritt, Petr Mikulík,
Carsten Steger, Shigeharu Takeno,
Tom Tkacik, Jos Van der Woude,
James R. Van Zandt, Alex Woo, Johannes Zellner
Copyright © 1986 - 1993, 1998, 2004 Thomas Williams, Colin Kelley
Copyright © 2004 - 2014 various authors




Mailing list for comments: gnuplot-info@lists.sourceforge.net
Mailing list for bug reports: gnuplot-bugs@lists.sourceforge.net
Web access (preferred): http://sourceforge.net/projects/gnuplot

This manual was originally prepared by Dick Crawford.




2014 Version 4.6.6


Ìܼ¡


1 Gnuplot

1 Ãøºî¸¢ (Copyright)


   Copyright (C) 1986 - 1993, 1998, 2004, 2007  Thomas Williams, Colin Kelley

Permission to use, copy, and distribute this software and its documentation for any purpose with or without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation.

Permission to modify the software is granted, but not the right to distribute the complete modified source code. Modifications are to be distributed as patches to the released version. Permission to distribute binaries produced by compiling modified sources is granted, provided you

 1. distribute the corresponding source modifications from the
  released version in the form of a patch file along with the binaries,
 2. add special version identification to distinguish your version
  in addition to the base release version number,
 3. provide your name and address as the primary contact for the
  support of your modified version, and
 4. retain our contact information in regard to use of the base
  software.

Permission to distribute the released version of the source code along with corresponding source modifications in the form of a patch file is granted with same provisions 2 through 4 for binary distributions.

This software is provided "as is" without express or implied warranty to the extent permitted by applicable law.


     AUTHORS


     Original Software:
        Thomas Williams,  Colin Kelley.


     Gnuplot 2.0 additions:
        Russell Lang, Dave Kotz, John Campbell.


     Gnuplot 3.0 additions:
        Gershon Elber and many others.


     Gnuplot 4.0 additions:
        See list of contributors at head of this document.

(°Ê²¼¤ª¤ª¤Þ¤«¤ÊÌõ; Ìõ¤ÏÀµ¤·¤¯¤Ê¤¤¤«¤âÃΤì¤Þ¤»¤ó¤Î¤Ç¾Ü¤·¤¯¤Ï¾åµ­¤Î¸¶Ê¸¤òÅö¤¿¤Ã¤Æ¤¯¤À¤µ¤¤¡£Ìõ¼Ô¤ÏÀÕǤ¤ò»ý¤Á¤Þ¤»¤ó¡£)


   Copyright (C) 1986 - 1993, 1998, 2004, 2007  Thomas Williams, Colin Kelley

¤³¤Î¥½¥Õ¥È¥¦¥§¥¢¤È¤½¤ÎÉÕ°ʸ½ñ¤Î»ÈÍÑ¡¢Ê£À½¡¢ÇÛÉۤεö²Ä¤Ï¡¢¾åµ­¤ÎÃøºî¸¢(copyright) ɽ¼¨¤¬¡¢Á´¤Æ¤ÎÊ£À½Êª¤Ë½ñ¤«¤ì¤Æ¤¤¤ë¤³¤È¡¢¤ª¤è¤ÓÃøºî¸¢É½¼¨¤È ¤³¤ÎµöÂúʸ¤ÎξÊý¤¬¤½¤Î»Ù±çʸ½ñ¤Ë½ñ¤«¤ì¤Æ¤¤¤ë¤³¤È¤ò¾ò·ï¤È¤·¤¿¾å¤Ç¡¢¤³¤Î ʸ½ñ¤Ë¤è¤êÊݾڤµ¤ì¤Þ¤¹¡£

¤³¤Î¥½¥Õ¥È¥¦¥§¥¢¤Î½¤Àµ¤âǧ¤á¤é¤ì¤Æ¤¤¤Þ¤¹¡£¤·¤«¤·¡¢½¤Àµ¤ò´Þ¤àÁ´¥½¡¼¥¹¥³ ¡¼¥É¤ÎÇÛÉۤθ¢Íø¤Ïǧ¤á¤é¤ì¤Þ¤»¤ó¡£½¤Àµ¤Ï¥ê¥ê¡¼¥¹ÈǤËÂФ¹¤ë¥Ñ¥Ã¥Á¤Î·Á¤Ç ÇÛÉÛ¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£½¤Àµ¤µ¤ì¤¿¥½¡¼¥¹¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤Æºî¤é¤ì¤¿¥Ð¥¤ ¥Ê¥ê¤ÎÇÛÉۤϡ¢°Ê²¼¤Î¾ò·ï¤Î¸µ¤Çǧ¤á¤é¤ì¤Þ¤¹:

 1. ¥ê¥ê¡¼¥¹ÈǤ«¤é¤Î¥½¡¼¥¹¤Î½¤ÀµÉôʬ¤ò¡¢¥Ñ¥Ã¥Á¤Î·Á¤Ç¥Ð¥¤¥Ê¥ê¤È¶¦¤ËÇÛ
    ÉÛ¤¹¤ë¤³¤È
 2. ¥Ù¡¼¥¹¤È¤Ê¤ë¥ê¥ê¡¼¥¹ÈǤȶèÊ̤¹¤ë¤¿¤á¤Ë¡¢¤½¤Î¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤ËÆÃÊÌ
    ¤Ê¥Ð¡¼¥¸¥ç¥ó»ØÄê»Ò¤òÉղ乤뤳¤È
 3. ¤½¤Î½¤ÀµÈǤΥµ¥Ý¡¼¥ÈÍѤˡ¢¤¢¤Ê¤¿¤Î̾Á°¤È¥¢¥¯¥»¥¹²Äǽ¤Ê¥¢¥É¥ì¥¹¤È
    ¤òÄ󶡤¹¤ë¤³¤È
 4. ¥Ù¡¼¥¹¤È¤Ê¤ë¥½¥Õ¥È¥¦¥§¥¢¤Î»ÈÍѤ˴ؤ·¤Æ¤Ï¡¢²æ¡¹¤ÎÏ¢Íí¾ðÊó¤òÊÝ»ý¤·
    ³¤±¤ë¤³¤È

¥ê¥ê¡¼¥¹ÈǤΥ½¡¼¥¹¥³¡¼¥É¤ò¡¢¥Ñ¥Ã¥Á¤Î·Á¤Ç¤Î¥½¡¼¥¹¤Î½¤Àµ¤È°ì½ï¤ËÇÛÉÛ¤¹¤ë ¤³¤È¤Ï¡¢¥Ð¥¤¥Ê¥êÇÛÉۤ˴ؤ¹¤ë¾ò¹à 2 ¤«¤é 4 ¤Þ¤Ç¤Î¾ò·ï¤Î¸µ¤Çµö¤µ¤ì¤Þ¤¹¡£

¤³¤Î¥½¥Õ¥È¥¦¥§¥¢¤Ï "¤¢¤ë¤¬¤Þ¤Þ" Ä󶡤µ¤ì¡¢Å¬ÍѲÄǽ¤ÊˡΧ¤Çµö¤á¤é¤ì¤ëÈÏ °Ï¤ÎÊݾڤòɽÌÀ¤¢¤ë¤¤¤Ï°Å¼¨¤·¤Æ¤¤¤Ï¤¤¤Þ¤»¤ó¡£


     Ãø¼Ô


     ¥ª¥ê¥¸¥Ê¥ë¥½¥Õ¥È¥¦¥§¥¢:
        Thomas Williams,  Colin Kelley.


     Gnuplot 2.0 ÄɲÃ:
        Russell Lang, Dave Kotz, John Campbell.


     Gnuplot 3.0 ÄɲÃ:
        Gershon Elber ¤È¤½¤Î¾¤Î¿Í¡¹¡£


     Gnuplot 4.0 ÄɲÃ:
        ¤³¤Îʸ½ñ¤ÎºÇ½é¤Ë¤¢¤ë´óÍ¿¼Ô (contributors) ¤Î¥ê¥¹¥È»²¾È¡£

2 ¤Ï¤¸¤á¤Ë (Introduction)

gnuplot ¤Ï¡¢¥Ý¡¼¥¿¥Ö¥ë¤Ê¥³¥Þ¥ó¥ÉÆþÎÏÊý¼°¤Î¥°¥é¥Õ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ç¡¢ Linux, OS/2, MS Windows, OSX, VMS, ¤½¤Î¾¿¤¯¤Î¥×¥é¥Ã¥È¥Û¡¼¥à¾å¤ÇÆ°ºî ¤·¤Þ¤¹¡£¥½¡¼¥¹¥³¡¼¥É¤Ë¤ÏÃøºî¸¢¤¬¤¢¤ê¤Þ¤¹¤¬¡¢ÌµÎÁ¤ÇÇÛÉÛ¤µ¤ì¤Æ¤¤¤Þ¤¹ (¤¹ ¤Ê¤ï¤Á¡¢¤½¤ì¤ËÂвÁ¤ò»Ùʧ¤¦É¬ÍפϤ¢¤ê¤Þ¤»¤ó)¡£¸µ¤Ï¡¢²Ê³Ø¼Ô¤ä³ØÀ¸¤¬¿ô³Ø ´Ø¿ô¤ä¥Ç¡¼¥¿¤Ê¤É¤òÂÐÏÃŪ¤Ëɽ¼¨¤Ç¤­¤ë¤è¤¦ºî¤é¤ì¤¿¤Î¤Ç¤¹¤¬¡¢¸½ºß¤Þ¤Ç¤Ë¡¢ Î㤨¤Ð Web ¥¹¥¯¥ê¥×¥È¤Ê¤É¡¢Â¿¤¯¤ÎÈóÂÐÏ÷¿¤ÎÍøÍѤ⥵¥Ý¡¼¥È¤¹¤ë¤è¤¦¤ËÀ® Ť·¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ï¡¢Î㤨¤Ð Octave ¤Î¤è¤¦¤Ë¥µ¡¼¥É¥Ñ¡¼¥Æ¥£¤Î¥¢¥×¥ê¥±¡¼ ¥·¥ç¥ó¤ÎÉÁ²è¥¨¥ó¥¸¥ó¤È¤·¤Æ¤â»È¤ï¤ì¤Æ¤¤¤Þ¤¹¡£gnuplot ¤Ï¡¢1986 ¤è¤ê¥µ¥Ý ¡¼¥È¤È³èȯ¤Ê³«È¯¤¬¹Ô¤ï¤ì¤Æ¤¤¤Þ¤¹¡£

gnuplot ¤Ï¡¢2 ¼¡¸µ¡¢¤Þ¤¿¤Ï 3 ¼¡¸µ¤Î¡¢Â¿¤¯¤Î¼ïÎà¤Î¥°¥é¥Õ¤ò¥µ¥Ý¡¼¥È¤·¤Æ ¤¤¤Þ¤¹: ÀÞÀþ¥°¥é¥Õ¡¢ÅÀ¥°¥é¥Õ¡¢ËÀ¥°¥é¥Õ¡¢Åù¹âÀþ¡¢¥Ù¥¯¥È¥ë¾ìÉÁ²è¡¢¶ÊÌÌ¡¢ ¤½¤·¤Æ¤½¤ì¤é¤Ë´ØÏ¢¤¹¤ë¤µ¤Þ¤¶¤Þ¤Êʸ»úÎóÅù¡£¤½¤·¤Æ¤µ¤é¤Ë¤¤¤¯¤Ä¤«¤ÎÆÃÊÌ¤Ê ÉÁ²è·¿¤â¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£

gnuplot ¤Ï¿¤¯¤Î°Û¤Ê¤ë½ÐÎϤò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹: ÂÐÏ÷¿¥¹¥¯¥ê¡¼¥ó½ÐÎÏ·Á ¼° (¥Þ¥¦¥¹¤ä¥Û¥Ã¥È¥­¡¼ÆþÎϤâ²Äǽ)¡¢¥Ú¥ó¥×¥í¥Ã¥¿¤ä¸½ºß¤Î¥×¥ê¥ó¥¿¤Ø¤Îľ ÀܽÐÎÏ¡¢¤Þ¤¿¤Ï¿¤¯¤Î¥Õ¥¡¥¤¥ë·Á¼°¤Ø¤Î½ÐÎÏ (eps, emf, fig, jpeg, LaTeX, pdf, png, postscript, ...)¡£gnuplot ¤Ï¡¢Íưפ˿·¤·¤¤½ÐÎÏ·Á¼°¤òÄɲä¹¤ë ¤è¤¦³ÈÄ¥¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ºÇ¶áÄɲ䵤줿ÂÐÏ÷¿½ÐÎÏ·Á¼°¤Ë¤Ï¡¢ wxWidgets (Ê£¿ô¤Î¥×¥é¥Ã¥È¥Û¡¼¥à¤ÇÍøÍѲÄǽ), Qt ¤ò¸µ¤Ë¤·¤¿¤â¤Î¤¬¤¢¤ê¤Þ ¤¹¡£svg ¤ä HTML5 canvas ½ÐÎÏ·Á¼°¤òÍøÍѤ¹¤ì¤Ð¡¢¥°¥é¥Õ¤ò Web ¥Ú¡¼¥¸Æâ¤Ë ¥Þ¥¦¥¹ÍøÍѲÄǽ¤Ê·Á¤ÇËä¤á¹þ¤ó¤À½ÐÎϤòÀ¸À®¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

gnuplot ¤Î¥³¥Þ¥ó¥É¸À¸ì¤ÏÂçʸ»ú¾®Ê¸»ú¤ò¶èÊ̤·¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢¾®Ê¸»ú¤Ç ½ñ¤«¤ì¤¿¥³¥Þ¥ó¥É¤ä´Ø¿ô̾¤Ï¡¢¤½¤ì¤é¤òÂçʸ»ú¤Ç½ñ¤¤¤¿¤â¤Î¤È¤ÏƱ¤¸¤Ç¤Ï¤¢¤ê ¤Þ¤»¤ó¡£¤¤¤º¤ì¤Î¥³¥Þ¥ó¥É¤â¡¢¤¢¤¤¤Þ¤¤¤µ¤Î̵¤¤¸Â¤ê¤Ë¤ª¤¤¤Æ¾Êά¤¹¤ë¤³¤È¤¬ ¤Ç¤­¤Þ¤¹¡£1 ¹ÔÃæ¤Ë¤Ï¥»¥ß¥³¥í¥ó (;) ¤Ç¶èÀڤäÆÊ£¿ô¤Î¥³¥Þ¥ó¥É¤ò½ñ¤¯¤³¤È ¤¬¤Ç¤­¤Þ¤¹¡£Ê¸»úÎó¤Ïñ°ì°úÍÑÉä¡¢¤¢¤ë¤¤¤ÏÆó½Å°úÍÑÉä¤Î¤É¤Á¤é¤«¤Ç½ñ¤­»Ï¤á ¤Þ¤¹¤¬¡¢Î¾¼Ô¤Ë¤ÏÈù̯¤Ê°ã¤¤¤¬¤¢¤ê¤Þ¤¹ (¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: syntax (24))¡£Îã:


     load "filename"
     cd 'dir'

¥³¥Þ¥ó¥É¤Ï¡¢Ê£¿ô¹Ô¤Ë¤Þ¤¿¤¬¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤½¤Î¾ì¹ç¤Ï¡¢ºÇ½ª¹Ô°Ê³°¤ÎÁ´¤Æ¤Î¹Ô¤Î¹ÔËö¤Ë¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å ( \ ) ¤ò½ñ¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£¥Ð¥Ã¥¯¥¹¥é ¥Ã¥·¥å¤Ïɬ¤º³Æ¹Ô *ºÇ¸å* ¤Îʸ»ú¤Ç¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£¤½¤Î·ë²Ì¤È¤·¤Æ¥Ð¥Ã ¥¯¥¹¥é¥Ã¥·¥å¤È¡¢¤½¤ì¤Ë³¤¯²þ¹Ôʸ»ú¤¬Â¸ºß¤·¤Ê¤«¤Ã¤¿¤«¤Î¤è¤¦¤Ë°·¤ï¤ì¤Þ¤¹¡£ ¤Ä¤Þ¤ê¡¢²þ¹Ôʸ»ú¤¬¥¹¥Ú¡¼¥¹¤ÎÌò¤ò¤¹¤ë¤³¤È¤â¤¢¤ê¤Þ¤»¤ó¤·¡¢²þ¹Ô¤Ë¤è¤Ã¤Æ¥³ ¥á¥ó¥È¤¬½ªÎ»¤¹¤ë¤³¤È¤â¤¢¤ê¤Þ¤»¤ó¡£¤Ç¤¹¤«¤éÊ£¿ô¹Ô¤Ë¤Þ¤¿¤¬¤ë¹Ô¤ÎÀèƬ¤ò¥³ ¥á¥ó¥È¥¢¥¦¥È¤¹¤ë¤È¡¢¤½¤Î¥³¥Þ¥ó¥ÉÁ´ÂΤ¬¥³¥á¥ó¥È¥¢¥¦¥È¤µ¤ì¤ë¤³¤È¤Ë¤Ê¤ê¤Þ ¤¹ (°Ê²¼»²¾È: comments (9))¡£¤Ê¤ªÃí°Õ¤·¤Þ¤¹¤¬¡¢¤â¤·¡¢Ê£¿ô¹Ô¤Î¥³¥Þ¥ó¥É¤Î ¤É¤³¤«¤Ç¥¨¥é¡¼¤¬µ¯¤­¤¿¤È¤­¡¢¥Ñ¡¼¥µ¤Ï¤½¤Î¾ì½ê¤òÀµ³Î¤Ë¤Ï»Ø¼¨¤¹¤ë¤³¤È¤¬¤Ç ¤­¤Þ¤»¤ó¤·¡¢¤Þ¤¿¡¢Àµ¤·¤¤¹Ô¤Ë»Ø¼¨¤¹¤ëɬÍפâ¤Ê¤¤¤Ç¤·¤ç¤¦¡£

¤³¤Î¥É¥­¥å¥á¥ó¥È¤Ë¤ª¤¤¤Æ¡¢Ãæ³ç¸Ì ({}) ¤Ï¾Êά²Äǽ¤Ê°ú¿ô¤òɽ¤¹¤â¤Î¤È¤·¡¢ ½ÄËÀ (| ) ¤Ï¡¢¸ß¤¤¤ËÇÓ¾Ū¤Ê°ú¿ô¤ò¶èÀÚ¤ë¤â¤Î¤È¤·¤Þ¤¹¡£gnuplot ¤Î¥­¡¼ ¥ï¡¼¥É¤ä help ¤Ë¤ª¤±¤ë¹àÌÜ̾¤Ï¡¢¥Ð¥Ã¥¯¥¯¥ª¡¼¥È (¡®) ¤Þ¤¿¤Ï²Äǽ¤Ê¾ì¹ç ¤Ë¤Ï boldface (ÂÀ»ú) ¤Çɽ¤·¤Þ¤¹¡£³Ñ³ç¸Ì (< > ) ¤Ï¡¢¤½¤ì¤ËÂбþ¤¹¤ë¤â¤Î ¤ËÃÖ¤­´¹¤¨¤é¤ì¤ë¤Ù¤­¤â¤Î¤òɽ¤·¤Þ¤¹¡£Â¿¤¯¤Î¾ì¹ç¡¢¥ª¥×¥·¥ç¥ó¤Î°ú¿ô¤Ë¤Ï¡¢ ¤½¤ì¤¬¾Êά¤µ¤ì¤ë¤È¥Ç¥Õ¥©¥ë¥È¤ÎÃͤ¬»ÈÍѤµ¤ì¤Þ¤¹¡£¤·¤«¤·¡¢¤³¤ì¤é¤Î¾ì¹ç¡¢ ɬ¤º¤·¤â³Ñ³ç¸Ì¤¬Ãæ³ç¸Ì¤Ç°Ï¤Þ¤ì¤Æ½ñ¤«¤ì¤Æ¤¤¤ë¤ï¤±¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£

¤¢¤ë¹àÌܤˤĤ¤¤Æ¤Î¥Ø¥ë¥×¤¬É¬ÍפʤȤ­¤Ë¤Ï¡¢help ¤Ë³¤±¤Æ¤½¤Î¹àÌÜ̾¤ò ÆþÎϤ·¤Æ²¼¤µ¤¤¡£¤Þ¤¿¤Ïñ¤Ë help ? ¤Ç¤â¥Ø¥ë¥×¤Î¹àÌܤΥá¥Ë¥å¡¼¤¬¸½¤ï¤ì ¤Þ¤¹¡£

½é¤á¤Æ gnuplot ¤ò»È¤¦Êý¤Ï¡¢plotting ¤Ë´Ø¤¹¤ëÀâÌÀ¤«¤éÆɤߤϤ¸¤á¤ë¤È Îɤ¤¤Ç¤·¤ç¤¦ (ÂÐÏ÷¿¤Ç»ÈÍÑÃæ¤Ê¤é¤Ð help plotting ¤ÈÆþÎϤ·¤Æ²¼¤µ¤¤)¡£

simple.dem ¥Ç¥â¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¤¢¤ë¤¤¤Ï°Ê²¼¤Î Web ¥Ú¡¼¥¸¤Ë¤â¾¤Î¥Ç¥â¤È°ì½ï¤Ë¤¢¤ê¤Þ¤¹¡£

http://www.gnuplot.info/demo/

gnuplot ¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤é¡¢¤¢¤ë¤¤¤Ï¥Ç¥¹¥¯¥È¥Ã¥×´Ä¶­¤Î¥¢¥¤¥³¥ó¤«¤é µ¯Æ°¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤éµ¯Æ°¤¹¤ë¤È¤­¤Ï¡¢°Ê²¼¤Î½ñ¼°¤¬»È¤¨¤Þ¤¹¡£

     gnuplot {OPTIONS} file1 file2 ...

¤³¤³¤Ç file1, file2 Åù¤Ï¡¢local ¥³¥Þ¥ó¥É¤Ç¼è¤ê¹þ¤à¤Î¤ÈƱÅù¤ÎÆþÎÏ¥Õ¥¡ ¥¤¥ë (¥¹¥¯¥ê¥×¥È¥Õ¥¡¥¤¥ë) ¤Ç¤¹¡£ X11 ¥Ù¡¼¥¹¤Î¥·¥¹¥Æ¥à¤Ç¤Ï¡¢°Ê²¼¤Î½ñ¼°¤¬»È¤¨¤Þ¤¹¡£
     gnuplot {X11OPTIONS} {OPTIONS} file1 file2 ...

¾ÜºÙ¤Ï¡¢X11 ¤Î¥É¥­¥å¥á¥ó¥È¡¢¤ª¤è¤Ó°Ê²¼»²¾È: x11 (92.72)¡£

gnuplot ¤ËÍ¿¤¨¤ë¥ª¥×¥·¥ç¥ó¤Ï¡¢¥³¥Þ¥ó¥É¹Ô¤Î¤É¤³¤ËÃÖ¤¤¤Æ¤â¹½¤¤¤Þ¤»¤ó¡£¥Õ ¥¡¥¤¥ë¤Ï»ØÄꤷ¤¿½ç¤Ë¼Â¹Ô¤µ¤ì¡¢Æ±ÍÍ¤Ë -e ¥ª¥×¥·¥ç¥ó¤ÇǤ°Õ¤Î¥³¥Þ¥ó¥É¤òÍ¿ ¤¨¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£Îã:

     gnuplot   file1.in   -e "reset"   file2.in

ÆÃÊ̤ʥե¡¥¤¥ë̾ "-" ¤Ï¡¢É¸½àÆþÎϤ«¤éÆɤޤ»¤ë¤Î¤Ë»È¤¤¤Þ¤¹¡£gnuplot ¤ÏºÇ¸å¤Î¥Õ¥¡¥¤¥ë¤ò½èÍý¤·½ª¤ï¤ë¤È½ªÎ»¤·¤Þ¤¹¡£Æɤ߹þ¤Þ¤»¤ë¥Õ¥¡¥¤¥ë¤ò°ì¤Ä ¤â»ØÄꤷ¤Ê¤¤¾ì¹ç¤Ï¡¢gnuplot ¤Ïɸ½àÆþÎϤ«¤é¤ÎÂÐÏÃÆþÎϤò¼è¤ê¤Þ¤¹¡£¾ÜºÙ ¤Ï¡¢°Ê²¼»²¾È: batch/interactive (6)¡£gnuplot ÍѤΥª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤Æ¤Ï¡¢ °Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ°ìÍ÷¤ò¸«¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹:

     gnuplot --help

¾ÜºÙ¤Ï°Ê²¼»²¾È: command line options (6)¡£

ÂÐÏ÷¿ÉÁ²è¥¦¥£¥ó¥É¥¦¤Ç¤Îºî¶ÈÃæ¤Ï¡¢'h' ¤òÂǤĤȥۥåȥ­¡¼ (hotkeys) ¤È¥Þ¥¦¥¹µ¡Ç½ (mousing) ¤Ë´Ø¤¹¤ë¥Ø¥ë¥×¤ò¸«¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ seeking-assistance ¤Î¥»¥¯¥·¥ç¥ó¤Ï¡¢¤µ¤é¤Ê¤ë¾ðÊó¤ä¥Ø¥ë¥×¡¢FAQ ¤òõ¤¹ ¼ê³Ý¤ê¤òÍ¿¤¨¤Æ¤¯¤ì¤ë¤Ç¤·¤ç¤¦¡£

3 õ¤·½Ð¤¹¼ê½õ¤± (Seeking-assistance)

¸ø¼°¤Î gnuplot Web ¥Ú¡¼¥¸¤Ï°Ê²¼¤Ë¤¢¤ê¤Þ¤¹¡£

http://www.gnuplot.info

½õ¤±¤òµá¤á¤ëÁ°¤Ë¡¢¥Õ¥¡¥¤¥ë FAQ.pdf ¤«¡¢¤Þ¤¿¤Ï¾å¤Î Web ¥µ¥¤¥È¤Î

FAQ (ÅÙ¡¹Ê¹¤«¤ì¤ë¼ÁÌä; Frequently Asked Questions) ¤Î°ìÍ÷

¤ò¥Á¥§¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£

gnuplot ¥æ¡¼¥¶¤È¤·¤Æ¤Î¼ê½õ¤±¤¬É¬Íפʤ顢°Ê²¼¤Î¥Ë¥å¡¼¥¹¥°¥ë¡¼¥×¤òÍøÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

         comp.graphics.apps.gnuplot

»äã¤Ï¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Ë»²²Ã¤¹¤ë¤è¤ê¡¢¤à¤·¤í¥Ë¥å¡¼¥¹¥°¥ë¡¼¥×¤Î¥á¥Ã¥»¡¼ ¥¸¤òÆɤळ¤È¤ò´«¤á¤Þ¤¹¡£¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤âÍ­¸ú¤Ç¡¢Æ±¤¸¥á¥Ã¥»¡¼¥¸Îó¤òÇÛ Á÷¤·¤Æ¤¤¤Þ¤¹¡£¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Ë»²²Ã¤¹¤ëÊýË¡¤Ë´Ø¤·¤Æ¤Ï¡¢SouceForge ¤Ë ¤¢¤ë gnuplot ¤Î³«È¯ Web ¥µ¥¤¥È

http://sourceforge.net/projects/gnuplot

¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¥á¥ó¥Ð¡¼¤Ø¤Î¥á¡¼¥ë¥¢¥É¥ì¥¹:

         gnuplot-info@lists.sourceforge.net

¥Ð¥°¥ê¥Ý¡¼¥È¡¢¥½¡¼¥¹¤Î²þÎÉÅù¤Ï°Ê²¼¤Î trackers ¤Ë upload ¤·¤Æ¤¯¤À¤µ¤¤:

         http://sourceforge.net/projects/gnuplot/support

¤¿¤À¤·¡¢¥ê¥Ý¡¼¥È¤òÁ÷¤ëÁ°¤Ë¡¢¤¢¤Ê¤¿¤¬¥ê¥Ý¡¼¥È¤·¤è¤¦¤È¤·¤Æ¤¤¤ë¥Ð¥°¤¬¡¢¤è ¤ê¿·¤·¤¤ gnuplot ¤Ç´û¤Ë½¤Àµ¤µ¤ì¤Æ¤¤¤Ê¤¤¤«¥Á¥§¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£

³«È¯ÈǤ˴ؤ¹¤ë¥á¡¼¥ê¥ó¥°¥ê¥¹¥È:

         gnuplot-beta@lists.sourceforge.net

²¿¤«¼ÁÌä¤òÅê¹Æ¤¹¤ë¤È¤­¤Ï¡¢¤¢¤Ê¤¿¤¬»ÈÍѤ·¤Æ¤¤¤ë gnuplot ¤Î¥Ð¡¼¥¸¥ç¥ó¡¢ ½ÐÎÏ·Á¼°¡¢¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¡¢¤È¤¤¤Ã¤¿Á´¤Æ¤Î¾ðÊó¤ò´Þ¤à¤è¤¦¤Ë¤·¤Æ ¤¯¤À¤µ¤¤¡£¤½¤ÎÌäÂê¤ò°ú¤­µ¯¤³¤¹¡Ö¾®¤µ¤¤¡×¥¹¥¯¥ê¥×¥È¤¬¤¢¤ì¤Ð¤Ê¤ªÎɤ¤¤Ç¤¹¡£ ¤½¤Î¾ì¹ç¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î¥×¥í¥Ã¥È¤è¤ê¤â´Ø¿ô¤Î¥×¥í¥Ã¥È¤ÎÊý¤¬¤è¤êÎɤ¤¤Ç ¤¹¡£

4 ¿·¤·¤¤µ¡Ç½ (New features)

¤³¤ÎÀá¤Ç¤Ï¡¢¥Ð¡¼¥¸¥ç¥ó 4.4 °Ê¹ß¤ËÄɲ䵤줿¼ç¤Ê¤â¤Î¤ò¾Ò²ð¤·¤Þ¤¹¡£¤è¤ê ÌÖÍåŪ¤Ê°ìÍ÷¤Ï¡¢¥Õ¥¡¥¤¥ë NEWS ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

4.1 ¿·¤·¤¤¹½Ê¸ (New syntax)

Image figure_newsyntax
¤³¤ÎÈǤΠgnuplot ¤Ë¤Ï¡¢·«¤êÊÖ¤· (iteration) ¥³¥Þ¥ó¥É¤ä¥Ö¥í¥Ã¥¯¹½Â¤¤ò°· ¤¨¤ë if/else/while/do ¤¬Æ³Æþ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£°Ê²¼»²¾È: if (67), while (91),do (61)¡£Ã±½ã¤Ê·«¤êÊÖ¤·¤Ï¡¢¥³¥Þ¥ó¥É plot, set ¤ÇÍøÍѤǤ­¤Þ¤¹¡£°Ê²¼»²¾È: iteration (68)¡£Ê£¿ô¤Î¥³¥Þ¥ó¥É¤òÊñ´Þ¤¹¤ë°ìÈÌŪ¤Ê·«¤êÊÖ¤·¤Ï¡¢°Ê²¼¤Ç¾Ò²ð¤¹¤ë¥Ö¥í¥Ã¥¯¹½Â¤¤òÍøÍѤ¹¤ë¤³¤È¤Ç¹Ô¤¨¤Þ¤¹¡£¿·¤·¤¤µ¡Ç½¤Ë´ØÏ¢¤·¤Æ¡¢¿ô¼° ·¿¤Î°Ê²¼¤â»²¾È: summation (14.3)¡£°Ê²¼¤Ï¡¢¤³¤ì¤é¤Î¿·¤·¤¤¹½Ê¸µ¡Ç½¤ò¤¤¤¯¤Ä¤«ÍøÍѤ·¤¿Îã¤Ç¤¹:
     set multiplot layout 2,2
     fourier(k, x) = sin(3./2*k)/k * 2./3*cos(k*x)
     do for [power = 0:3] {
         TERMS = 10**power
         set title sprintf("%g term Fourier series",TERMS)
         plot 0.5 + sum [k=1:TERMS] fourier(k,x) notitle
     }
     unset multiplot

¸½ºß¤Ï¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤«¤é¤Î¥Ç¡¼¥¿Îó¤ò¡¢¥Õ¥¡¥¤¥ë¤Î 1 ¹ÔÌܤ˽ñ¤«¤ì¤¿¥é ¥Ù¥ë̾¤ÇÁªÂò¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£°Ê²¼»²¾È: columnhead (14.1)¡£Îã:

     plot for [crop in "Oats Peas Beans"] 'data' using "Year":crop

4.2 Àþ¼ï¤Î¥«¥¹¥¿¥Þ¥¤¥º (Local customization of linetypes)

¸½ºß¤Ç¤Ï¡¢¥æ¡¼¥¶¤¬ÉÁ²è¤Ë»ÈÍѤµ¤ì¤ëÀþ¼ï¤Î°À­ (¿§¡¢ÀþÉý¡¢ÅÀ¤Î¼ïÎà) ¤Î¥Ç ¥Õ¥©¥ë¥È¤ÎʤӤò¥«¥¹¥¿¥Þ¥¤¥º¤Ç¤­¤Þ¤¹¡£°Ê²¼»²¾È: set linetype (82.32)¡£¤³¤ì¤Ï Ä̾¥·¥¹¥Æ¥àÍѤνé´ü²½¥Õ¥¡¥¤¥ë gnuplotrc ¤«¸Ä¿ÍŪ¤Ê½é´ü²½¥Õ¥¡¥¤¥ë ~ /.gnuplot ¤Î¤¤¤º¤ì¤«¤Ç¹Ô¤¤¤Þ¤¹¡£°Ê²¼»²¾È: initialization (21)¡£

¸½ºß¤Ï¿¤¯¤Î½ÐÎÏ·Á¼°¤Ç¥°¥é¥Õ¤ÎÇØ·Ê¿§¤òÌÀ¼¨Åª¤ËÀßÄê¤Ç¤­¤Þ¤¹¡£¤½¤Î¿§¤ÇÉÁ ²è¤¹¤ë¤Î¤Ë¡¢ÆÃÊ̤ÊÀþ¼ï (linetype) bgnd ¤¬ÍøÍѤǤ­¤Þ¤¹¡£°Ê²¼»²¾È:bgnd (17.1.1)¡£

4.3 ¿·¤·¤¤ÉÁ²è¥¹¥¿¥¤¥ë (New plot styles)

ÉÁ²è¥¹¥¿¥¤¥ë¤ÎÀá¤Î°Ê²¼»²¾È: boxplot (28), circles (31), ellipses (32),fillsteps (37)¡£

4.4 ¶ËºÂɸ¼´¤Î²þÎÉ (Revised polar axes)

¶ËºÂɸÉÁ²è¥â¡¼¥É¤Ï¡¢¤è¤ê¿¤¯¤ÎÉÁ²è¥¹¥¿¥¤¥ë¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤è¤¦¤Ë²þÎɤµ¤ì ¤Þ¤·¤¿¡£¶ËºÂɸ¼´¤Ï¡¢º£¤Ç¤Ï x, y ¼´¤È¤ÏÆÈΩ¤ËÉÁ²è¡¢¥é¥Ù¥ëÉÕ¤±¤Ç¤­¤Þ¤¹¡£ °Ê²¼»²¾È: set polar (82.57), set rrange (82.62)¡£

4.5 ¿·¤·¤¤Ê¿³ê²½¥¢¥ë¥´¥ê¥º¥à

2 ¼¡¸µ¡¢3 ¼¡¸µÉÁ²è¤ÎξÊý¤Ë¡¢¿·¤·¤¤Ê¿³ê²½¥¢¥ë¥´¥ê¥º¥à¤¬Äɲ䵤ì¤Æ¤¤¤Æ¡¢ ³ê¤é¤«¤Ê¥Ò¥¹¥È¥°¥é¥à¤äÎßÀÑʬÉÛ´Ø¿ô¤Î plot ¤Ë¤è¤ëÉÁ²è¤Ë¡¢¤½¤ì¤¾¤ì smooth kdensity ¤ä smooth cumulative ¤¬»È¤¨¤Þ¤¹¡£dgrid3d ¤Ë¤Ï¡¢ splot ÍѤ˿·¤·¤¤Ê¿³ê²½½Å¤ßÉÕ¤±´Ø¿ô (kernel) ¤¬¤¤¤¯¤Ä¤«Äɲ䵤ì¤Æ¤¤¤Þ ¤¹¡£°Ê²¼»²¾È: smooth (72.3.5), dgrid3d (82.18)¡£

4.6 ¿·¤·¤¤Æü»þ (time/date) ¤Î¼è°·¤¤

¸½ºß¤Î gnuplot ¤Ï¡¢»þ¹ï¤ò¥ß¥êÉÃÀºÅÙ¤ÇÄÉÀפ·¡¢»þ¹ï¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤â¤½¤ì ¤Ëȼ¤Ã¤ÆÊѹ¹¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¿·¤·¤¤ÁȤ߹þ¤ß´Ø¿ô time() ¤Ï¡¢¥·¥¹¥Æ¥à»þ·×¤Ë ½¾¤Ã¤¿»þ¹ï¤òÊÖ¤·¤Þ¤¹¡£ Îã: ¸½ºß¤Î»þ¹ï¤ò¥ß¥êÉÃÀºÅÙ¤Çɽ¼¨
    print strftime("%H:%M:%.3S %d-%b-%Y",time(0.0))
    18:15:04.253 16-Apr-2011

4.7 ¥Ç¡¼¥¿¤Î´Êñ¤ÊÅý·×¾ðÊó

¿·¤·¤¤¥³¥Þ¥ó¥É stats ¤Ï¡¢plot ¤ä splot ¤ÈƱ¤¸½ñ¼°¤Ç¥Õ¥¡¥¤¥ë¤«¤é ¥Ç¡¼¥¿¤òÆɤ߹þ¤ß¤Þ¤¹¤¬¡¢¥°¥é¥Õ¤òÉÁ²è¤¹¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢¤³¤ì¤Ï¡¢column ¤Ç »ØÄꤵ¤ì¤¿¥Ç¡¼¥¿Îó¤Î´Êñ¤ÊÅý·×¾ðÊó¤ò½ÐÎϤ·¤Þ¤¹¡£½ÐÎϤ¹¤ë¤Î¤Ï¡¢ºÇ¾®ÃÍ (min)¡¢ºÇÂçÃÍ (max)¡¢É¸½àÊк¹ (standard deviation)¡¢Áê´Ø (correlation) Åù¤Ç¡¢¤½¤·¤Æ¤½¤ì¤é¤ÎÃͤò¤½¤ì°Ê¹ß¤ÎÉÁ²è¥³¥Þ¥ó¥É¤Î¹½À®¡¢½¤Àµ¤ËÍøÍѤǤ­¤ë¤è¤¦¤Ë̾Á°¤Î¤Ä¤¤¤¿ÊÑ¿ô¤ËÊݸ¤·¤Þ¤¹¡£°Ê²¼»²¾È: stats (85)¡£

4.8 ¿·¤·¤¤/½¤Àµ¤µ¤ì¤¿½ÐÎÏ·Á¼°

¥É¥é¥¤¥Ð qt ¤Ï¡¢Qt ¥°¥é¥Õ¥£¥Ã¥¯³¬ÁؤκǾå°Ì¤Ë°ÌÃÖ¤¹¤ëÂÐÏ÷¿½ÐÎÏ·Á¼° ¤Î¼ÂÁõ¤Ç¤¹¡£¤½¤ì¤Ï¡¢¥Õ¥ëÁõÈ÷¤Î¥Ç¥¹¥¯¥È¥Ã¥×´Ä¶­Æâ¤Î°ì¤Ä¤Î¥¦¥£¥ó¥É¥¦¤È¤· ¤Æ¡¢¤¢¤ë¤¤¤Ï Qt ¥Ù¡¼¥¹¤ÎËä¤á¹þ¤ß¥Ç¥Ð¥¤¥¹¾å¤Î¥Õ¥ë¥¹¥¯¥ê¡¼¥ó¥¢¥×¥ê¥±¡¼¥· ¥ç¥ó¤È¤·¤Æµ¡Ç½¤·¤Þ¤¹¡£qt ½ÐÎÏ·Á¼°¤Ï¿·¤·¤¯¡¢¤Þ¤À¤¢¤ë¼ï¤ÎÁƤµ¤¬¤¢¤ê¤Þ ¤¹¡£

Web ¥Ù¡¼¥¹¤ÎÂÐÏ÷¿É½¼¨¤ò¥µ¥Ý¡¼¥È¤¹¤ë½ÐÎÏ·Á¼°¤¬ 2 ¤Ä¤¢¤ê¤Þ¤¹¡£HTML5 ¤Î canvas ½ÐÎÏ·Á¼°¤Ï version 4.4 ¤ÇƳÆþ¤µ¤ì¤Þ¤·¤¿¡£svg ½ÐÎÏ·Á¼°¤Ï¡¢¥Þ ¥¦¥¹Áàºî¤Ë´Ø¤·¤Æ¡¢¤ª¤è¤Ó gnuplot ¤«¤é¤Î svg ½ÐÎϤò¤è¤êÂ礭¤Ê svg/xml ʸ½ñ¤Ë¤è¤ê¤è¤¯Ëä¤á¹þ¤á¤ë¤è¤¦¤Ë¡¢Â礭¤¯²þÎɤµ¤ì¤Æ¤¤¤Þ¤¹¡£

½ÐÎϥɥ饤¥Ð canvas ¤Ï¡¢¥¦¥§¥Ö¥Ú¡¼¥¸¤Î canvas Í×ÁÇ HTML Ãæ¤ËÉÁ²è¤¹¤ë javascript ½ÐÎϤòÀ¸À®¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢°ì¤Ä¤ÎÉÁ²è¤À¤±¤ò´Þ¤à´°Á´¤Ê¥¦¥§¥Ö ¥Ú¡¼¥¸¡¢¤¢¤ë¤¤¤Ï³°Éô¤ËÀ¸À®¤µ¤ì¤¿ HTML ¥É¥­¥å¥á¥ó¥È¤Î°ìÉô (Ê£¿ô¤ÎÉÁ²è¤ò Æþ¤ì¤ë¤³¤È¤¬¤Ç¤­¤ë) ¤È¤·¤ÆËä¤á¹þ¤á¤ë¥¹¥¯¥ê¥×¥È¡¢¤Î¤¤¤º¤ì¤«¤òºîÀ®¤Ç¤­¤Þ ¤¹¡£Ëä¤á¹þ¤Þ¤»¤ëÉÁ²è¤Ï¡¢³ÈÂç/½Ì¾®¤Ê¤É¤Î¡¢¥Ö¥é¥¦¥¶Â¦¤Î¥Þ¥¦¥¹Æ°ºî¤ò¥µ¥Ý ¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£

½ÐÎϥɥ饤¥Ð lua ¤Ï¡¢lua ¥×¥í¥°¥é¥ß¥ó¥°¸À¸ì¤Î¥¹¥¯¥ê¥×¥È¤Ë¤è¤Ã¤Æ¤µ¤é ¤Ê¤ë½èÍý¤¬²Äǽ¤Ê¥Ç¡¼¥¿¤òÀ¸À®¤·¤Þ¤¹¡£¸½»þÅÀ¤Ç¤Ï¡¢¤½¤Î¤è¤¦¤Ê¥¹¥¯¥ê¥×¥È¤È ¤·¤Æ¤Ï gnuplot-tikz.lua ¤Î¤ß¤¬ÍÑ°Õ¤µ¤ì¤Æ¤¤¤Æ¡¢¤³¤ì¤Ï¡¢latex TikZ ¥Ñ¥Ã ¥±¡¼¥¸ÍѤνÐÎϤòºîÀ®¤·¤Þ¤¹¡£¤â¤Á¤í¤ó¡¢Â¾¤Î TeX ¥Ñ¥Ã¥±¡¼¥¸ÍÑ¡¢¤¢¤ë¤¤¤Ï TeX °Ê³°¤Î¥Ä¡¼¥ëÍѤΠgnuplot ½ÐÎϤòÀ¸À®¤¹¤ë lua ¥¹¥¯¥ê¥×¥È¤Ê¤É¤òºîÀ®¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤·¤ç¤¦¡£

set term tikz ¤Ï¡¢set term lua tikz ¤Î¾Êά·Á¤Ç¤¹¡£¾å¤Ë½ñ¤¤¤¿¤è¤¦¤Ë ¤³¤ì¤Ï lua ½ÐÎÏ·Á¼°¤È³°Éô¤Î lua ¥¹¥¯¥ê¥×¥È¤ò»ÈÍѤ·¤Æ latex ʸ½ñ¤òÀ¸À® ¤·¤Þ¤¹¡£

½ÐÎϥɥ饤¥Ð context ¤Ï¡¢ConTeXt TeX ¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤Ç¤µ¤é¤Ë½èÍý¤µ ¤ì¤ë½ÐÎϤòÀ¸À®¤·¤Þ¤¹¡£¤½¤Î½ÐÎϤνèÍý¤Ë¤Ï¡¢°Ê²¼¤Î ConTeXt ÍѤΠgnuplot¥â¥¸¥å¡¼¥ë¤¬É¬ÍפǤ¹:

http://ctan.org/pkg/context-gnuplot

½ÐÎÏ·Á¼° epscairo ¤Ï¡¢cairo ¤È pango ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤Æ EPS ½ÐÎÏ (Encapsulated PostScript) ¤òÀ¸À®¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢½ÐÎϥɥ饤¥Ð postscript ¤È¤ÏÊ̤ΠEPS ½ÐÎÏÊýË¡¤È¤Ê¤ê¤Þ¤¹¤¬¡¢Î㤨¤Ð½ÐÎÏ·Á¼° wxt ¤Î²èÌ̽ÐÎϤÈƱ¤¸¸«¤¿ÌܤΠEPS ¥Õ¥¡¥¤¥ë¤¬Íߤ·¤¤¤È¤¤¤¦¿Í¸þ¤­¤Ç¤¹¡£

½ÐÎÏ·Á¼° cairolatex ¤Ï¡¢½ÐÎÏ·Á¼° pdfcairo ¤ä epscairo ¤Î cairo ¤Ë¤è¤ë¸å½èÍý¤ò»ÈÍѤ·¤Æ LaTeX ʸ½ñ¤Ë¼è¤ê¹þ¤à¤¿¤á¤Î¥°¥é¥Õ¤òÀ¸À®¤·¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢PDF ¤« EPS ¥°¥é¥Õ¤òÀ¸À®¤·¤Þ¤¹¤¬¡¢¥Æ¥­¥¹¥Èʸ»úÎó¤Ï¡¢½ÐÎÏ·Á¼° epslatex ¤ÈƱ¤¸ÊýË¡¤Ç LaTeX ¤ËžÁ÷¤·¤Þ¤¹¡£

½ÐÎϥɥ饤¥Ð windows ¤Ï¡¢Æ©ÌÀ²½¡¢¥¢¥ó¥Á¥¨¥¤¥ê¥¢¥¹¡¢¥Ð¥Ã¥Õ¥¡¥ê¥ó¥°½Ð ÎÏ¡¢Ê£¿ô¤Î¥°¥é¥Õ¥¦¥£¥ó¥É¥¦¡¢¥°¥é¥Õ¤Î¥¯¥ê¥Ã¥×¥Ü¡¼¥É¤Ø¤Î¥³¥Ô¡¼¤ä¥°¥é¥Õ¤Î EMF ¥Õ¥¡¥¤¥ë¤Ø¤ÎÊݸ¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤è¤¦²þÎɤµ¤ì¤Æ¤¤¤Þ¤¹¡£¿·¤·¤¤¥ª¥×¥·¥ç ¥ó¤â¤¿¤¯¤µ¤ó¤¢¤ê¡¢¥æ¡¼¥¶¡¼¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤â²þÎɤµ¤ì¤Æ¤¤¤Þ¤¹¡£¤µ¤é¤Ë¡¢ Ť¤¹Ô¤ÎÀޤꤿ¤¿¤ß¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤è¤¦¤Ë¥Æ¥­¥¹¥È¥³¥ó¥½¡¼¥ë¤Î¥×¥í¥°¥é¥à¤â ÂçÉý¤Ë½ñ¤­´¹¤¨¤é¤ì¤Æ¤¤¤Þ¤¹¡£¥Ø¥ë¥×¤Ï¡¢¸½ºß¤Ï HTML ·Á¼°¤Î¤â¤Î¤òÍÑ°Õ¤·¤Æ ¤¤¤Þ¤¹¡£

5 ¸åÊý¸ß´¹À­ (Backwards compatibility)

°ÊÁ°¤ÎÈǤǻȤï¤ì¤Æ¤¤¤¿¤¤¤¯¤Ä¤«¤Î½ñ¼°¤Ï gnuplot 4.0 ¤ÇÈó¿ä¾©¤È¤Ê¤ê¤Þ¤·¤¿¤¬¡¢¤½¤ì¤Ïº£¤Ç¤âǧ¼±¤Ï¤µ¤ì³¤±¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ï¸½ºß¥³¥ó¥Ñ¥¤¥ë»þ¤ËÀ©¸æ ¤µ¤ì¡¢°Ê²¼¤Î¤è¤¦¤Ë¤·¤ÆÍ­¸ú¤Ë¤Ç¤­¤Þ¤¹:


     ./configure --enable-backwards-compatibility

Ãí°Õ: Èó¿ä¾©¤Î½ñ¼°¤Ï¡¢Ì¤Íè¤Î gnuplot ¤Î¤¢¤ëÈǤǡ¢´°Á´¤Ëºï½ü¤µ¤ì¤Æ¤·¤Þ ¤¦¤«¤â¤·¤ì¤Þ¤»¤ó¡£

°ì¤Ä¤Î¼ç¤Ê°ã¤¤¤Ï¡¢Ê£»¨¤Ê¥³¥Þ¥ó¥É (ÆäËʸ»úÎóÊÑ¿ô¤ò´Þ¤à¥³¥Þ¥ó¥É) ¤Î¤¢¤¤ ¤Þ¤¤¤µ¤òÈò¤±¤ë¤è¤¦¤Ê¥­¡¼¥ï¡¼¥É¤ÎƳÆþ¤Ç¤¹¡£ÆäËÃí°Õ¤¹¤Ù¤­ÅÀ¤Ï¡¢¥ª¥Õ¥»¥Ã ¥È¡¢Àþ¼ï¡¢ÅÀ¼ï¤ËÂФ¹¤ëÀ¸¤Î¿ô¤Î»ÈÍѤǤ·¤¿¡£ ¶ñÂÎÎã:

Èó¿ä¾©:

     set title "Old" 0,-1
     set data linespoints
     plot 1 2 4               # horizontal line at y=1

¿·:
     TITLE = "New"
     set title TITLE offset char 0, char -1
     set style data linespoints
     plot 1 linetype 2 pointtype 4

6 ¥Ð¥Ã¥Á/ÂÐÏ÷¿Áàºî (Batch/Interactive)

gnuplot ¤Ï¿¤¯¤Î¥·¥¹¥Æ¥à¾å¤Ç¡¢¥Ð¥Ã¥Á½èÍý·Á¼°¡¢¤¢¤ë¤¤¤ÏÂÐÏ÷¿¤Î¤É¤Á¤é ¤Î·Á¼°¤Ç¤â¼Â¹Ô¤Ç¤­¡¢¤½¤ì¤é¤òÁȤ߹ç¤ï¤»¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£

¥³¥Þ¥ó¥É¥é¥¤¥ó°ú¿ô¤Ï¡¢¥×¥í¥°¥é¥à¤Ø¤Î¥ª¥×¥·¥ç¥ó (ʸ»ú - ¤Ç»Ï¤Þ¤ë) ¤«¡¢ gnuplot ¥³¥Þ¥ó¥É¤ò´Þ¤à¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ç¤¢¤ë¤È²ò¼á¤µ¤ì¤Þ¤¹¡£ -e "command" ¤Î·Á¼°¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢gnuplot ¥³¥Þ¥ó¥É¤ò¶¯À©Åª¤Ë¼Â¹Ô¤µ¤»¡¢ ³Æ¥Õ¥¡¥¤¥ë¤È¤³¤Î¥³¥Þ¥ó¥Éʸ»úÎó¤Ï¡¢»ØÄꤵ¤ì¤¿½ç¤Ë¼Â¹Ô¤µ¤ì¤Þ¤¹¡£ÆÃÊÌ¤Ê¥Õ ¥¡¥¤¥ë̾ "-" ¤Ï¡¢¥³¥Þ¥ó¥É¤òɸ½àÆþÎϤ«¤éÆɤ߹þ¤à¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£ºÇ¸å ¤Î¥Õ¥¡¥¤¥ë¤ò¼Â¹Ô¤·¤¿¸å¤Ë gnuplot ¤Ï½ªÎ»¤·¤Þ¤¹¡£Æɤ߹þ¤Þ¤»¤ë¥Õ¥¡¥¤¥ë¡¢ ¤ª¤è¤Ó¥³¥Þ¥ó¥Éʸ»úÎó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢gnuplot ¤Ïɸ½àÆþÎϤ«¤é¤Î ÂÐÏ÷¿¤ÎÆþÎϤò¼õ¤±ÉÕ¤±¤Þ¤¹¡£

exit ¤È quit ¤Ï¤É¤Á¤é¤â¸½ºß¤Î¥³¥Þ¥ó¥É¥Õ¥¡¥¤¥ë¤ò½ªÎ»¤·¡¢¤Þ¤ÀÁ´¤Æ¤Î ¥Õ¥¡¥¤¥ë¤¬½ª¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢¼¡¤Î¥Õ¥¡¥¤¥ë¤ò load ¤¹¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£

Îã:

ÂÐÏäò³«»Ï¤¹¤ë:

     gnuplot

2 ¤Ä¤Î¥³¥Þ¥ó¥É¥Õ¥¡¥¤¥ë "input1", "input2" ¤ò»È¤Ã¤Æ¥Ð¥Ã¥Á½èÍý¤ò¹Ô¤Ê¤¦:

     gnuplot input1 input2

½é´ü²½¥Õ¥¡¥¤¥ë "header" ¤Î¸å¡¢ÂÐÏ÷¿¥â¡¼¥É¤òµ¯Æ°¤·¡¢¤½¤Î¸åÊ̤Υ³¥Þ¥ó¥É ¥Õ¥¡¥¤¥ë "tailer" ¤ò¼Â¹Ô¤¹¤ë:

     gnuplot header - trailer

¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤é gnuplot ¥³¥Þ¥ó¥É¤òľÀÜÍ¿¤¨¡¢½ªÎ»¸å¤Ë¥¹¥¯¥ê¡¼¥ó¾å ¤Ë¥°¥é¥Õ¤¬»Ä¤ë¤è¤¦¤Ë¥ª¥×¥·¥ç¥ó "-persist" ¤ò»È¤¦:

      gnuplot -persist -e "set title 'Sine curve'; plot sin(x)"

¥Õ¥¡¥¤¥ë¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ëÁ°¤Ë¡¢¥æ¡¼¥¶ÄêµÁÊÑ¿ô a ¤È s ¤ò¥»¥Ã¥È¤¹¤ë:

     gnuplot -e "a=2; s='file.png'" input.gpl

7 ¥­¥ã¥ó¥Ð¥¹¥µ¥¤¥º (Canvas size)

gnuplot ¤Î°ÊÁ°¤ÎÈǤǤϡ¢set size ¤ÎÃͤò¡¢½ÐÎϤ¹¤ëÉÁ²èÎΰè (¥­¥ã¥ó¥Ð¥¹) ¤Î¥µ¥¤¥º¤òÀ©¸æ¤¹¤ë¤Î¤Ë¤â»È¤Ã¤Æ¤¤¤¿½ÐÎÏ·Á¼°¤â¤¢¤ê¤Þ¤·¤¿¤¬¡¢¤¹¤Ù¤Æ¤Î ½ÐÎÏ·Á¼°¤¬¤½¤¦¤À¤Ã¤¿¤ï¤±¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£¤³¤ÎÌÜŪ¤Î¤¿¤á¤Ë set size ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï version 4.2 ¤ÇÈó¿ä¾©¤È¤Ê¤ê¡¢version 4.4 °Ê¹ß¤Ï¡¢¤Û¤È¤ó¤É¤Î½ÐÎÏ·Á¼°¤¬°Ê²¼¤Î¥ë¡¼¥ë¤Ë½¾¤¦¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿:

set term < terminal_type> size < XX> , < YY> ¤Ï¡¢½ÐÎÏ¥Õ¥¡¥¤¥ë¤Î¥µ¥¤¥º¡¢ ¤Þ¤¿¤Ï "¥­¥ã¥ó¥Ð¥¹" ¤Î¥µ¥¤¥º¤òÀ©¸æ¤·¤Þ¤¹¡£¥µ¥¤¥º¥Ñ¥é¥á¡¼¥¿¤ÎÍ­¸ú¤ÊÃÍ¤Ë ¤Ä¤¤¤Æ¤Ï¡¢¸Ä¡¹¤Î½ÐÎÏ·Á¼°¤Î¥Ø¥ë¥×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¥° ¥é¥Õ¤Ï¤½¤Î¥­¥ã¥ó¥Ð¥¹Á´ÂΤËÉÁ²è¤µ¤ì¤Þ¤¹¡£

set size < XX> , < YY> ¤Ï¡¢ÉÁ²è¼«ÂΤò¥­¥ã¥ó¥Ð¥¹¤Î¥µ¥¤¥º¤ËÂФ·¤ÆÁêÂÐŪ¤Ë ¿­½Ì¤µ¤»¤Þ¤¹¡£1 ¤è¤ê¾®¤µ¤¤¿­½ÌÃͤò»ØÄꤹ¤ë¤È¡¢¥°¥é¥Õ¤Ï¥­¥ã¥ó¥Ð¥¹Á´ÂΤò Ëä¤á¤º¡¢1 ¤è¤êÂ礭¤¤¿­½ÌÃͤò»ØÄꤹ¤ë¤È¡¢¥°¥é¥Õ¤Î°ìÉôʬ¤Î¤ß¤¬¥­¥ã¥ó¥Ð¥¹ Á´ÂΤ˹礦¤è¤¦¤ËÉÁ²è¤µ¤ì¤Þ¤¹¡£1 ¤è¤êÂ礭¤¤¿­½ÌÃͤò»ØÄꤹ¤ë¤È¡¢¤¢¤ë½ÐÎÏ ·Á¼°¤Ç¤ÏÌäÂ꤬µ¯¤³¤ë¤«¤â¤·¤ì¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

¤³¤Î¥ë¡¼¥ë¤Ë±è¤ï¤Ê¤¤¼ç¤ÊÎã³°¤Ï PostScript ¥É¥é¥¤¥Ð¤Ç¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï°ÊÁ°¤ÎÈǤΤÈƱ¤¸¿¶Éñ¤¤¤ò¤·¤Þ¤¹¡£gnuplot ¤Î¼¡¤ÎÈǤǤϡ¢PostScript ¥É¥é¥¤ ¥Ð¤âƱÍͤ˥ǥե©¥ë¥È¤Î¿¶Éñ¤¤¤òÊѹ¹¤¹¤ë¤³¤È¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£

Îã:


     set size 0.5, 0.5
     set term png size 600, 400
     set output "figure.png"
     plot "data" with lines

¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢Éý 600 ¥Ô¥¯¥»¥ë¡¢¹â¤µ 400 ¥Ô¥¯¥»¥ë¤Î½ÐÎÏ¥Õ¥¡¥¤¥ë "figure.png" ¤òÀ¸À®¤·¤Þ¤¹¡£¥°¥é¥Õ¤Ï¥­¥ã¥ó¥Ð¥¹¤ÎÃæ¤Îº¸²¼¤ËÃÖ¤«¤ì¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢multiplot ¥â¡¼¥É¤¬¾ï¤Ë¹Ô¤Ã¤Æ¤­¤¿ÊýË¡¤ÈÌ·½â¤·¤Þ¤»¤ó¡£

8 ¥³¥Þ¥ó¥É¥é¥¤¥óÊÔ½¸ (Command-line-editing)

¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤ÎÊÔ½¸µ¡Ç½¤È¥³¥Þ¥ó¥É¥Ò¥¹¥È¥ê¤Îµ¡Ç½¤Ï¡¢³°Éô¤Î GNU readline ¥é¥¤¥Ö¥é¥ê¤«³°Éô¤Î BSD libedit ¥é¥¤¥Ö¥é¥ê¡¢¤Þ¤¿¤ÏÁȤ߹þ¤Þ¤ì¤Æ ¤¤¤ëƱÅù¤Î¤â¤Î¤Î¤¤¤º¤ì¤«¤ò»È¤Ã¤Æ¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£¤³¤ÎÁªÂò¤Ï¡¢ gnuplot ¤Î¥³¥ó¥Ñ¥¤¥ë»þ¤Î configure ¤Î¥ª¥×¥·¥ç¥ó¤Ç¹Ô¤¤¤Þ¤¹¡£

ÁȤ߹þ¤ß¤Î readline ÈǤξì¹ç¤ÎÊÔ½¸¥³¥Þ¥ó¥É¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¤¬¡¢DEL ¥­¡¼¤Ë´Ø¤¹¤ëÆ°ºî¤Ï¥·¥¹¥Æ¥à¤Ë°Í¸¤¹¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£GNU readline ¥é¥¤¥Ö¥é¥ê¤È BSD libedit ¥é¥¤¥Ö¥é¥ê¤Ë´Ø¤·¤Æ¤Ï¡¢¤½¤ì¼«¿È¤Î¥É¥­¥å¥á¥ó¥È ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

¥³¥Þ¥ó¥É¹ÔÊÔ½¸¥³¥Þ¥ó¥É
ʸ»ú µ¡Ç½
  ¹ÔÊÔ½¸
^B 1 ʸ»úÁ°¤ØÌ᤹
^F 1 ʸ»úÀè¤Ø¿Ê¤á¤ë
^A ¹Ô¤ÎÀèƬ¤Ø°ÜÆ°
^E ¹Ô¤ÎºÇ¸å¤Ø°ÜÆ°
^H ľÁ°¤Îʸ»ú¤òºï½ü
DEL ¸½ºß¤Îʸ»ú¤òºï½ü
^D ¸½ºß°ÌÃÖ¤Îʸ»ú¤òºï½ü¡¢¶õ¹Ô¤Ê¤é EOF
^K ¸½ºß°ÌÃÖ¤«¤é¹ÔËö¤Þ¤Çºï½ü
^L, ^R ²õ¤ì¤¿É½¼¨¤Î¹Ô¤òºÆɽ¼¨
^U ¹ÔÁ´ÂΤκï½ü
^W ľÁ°¤Îñ¸ì¤òºï½ü
  ÍúÎò
^P Á°¤ÎÍúÎò¤Ø°ÜÆ°
^N ¼¡¤ÎÍúÎò¤Ø°ÜÆ°

9 ¥³¥á¥ó¥È (Comments)

¥³¥á¥ó¥È¤Ï¼¡¤Î¤è¤¦¤Ë¼ÂÁõ¤µ¤ì¤Æ¤¤¤Þ¤¹: ʸ»ú '#' ¤Ï¡¢¹ÔÃæ¤Î¤¿¤¤¤Æ¤¤¤Î¾ì ½ê¤Ë½ñ¤¯¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤Î¤È¤­ gnuplot ¤Ï¤½¤Î¹Ô¤Î»Ä¤ê¤ÎÉôʬ¤ò̵»ë ¤·¤Þ¤¹¡£¤¿¤À¤·¡¢°úÍÑÉä¤ÎÃæ¡¢¿ô (Ê£ÁÇ¿ô¤ò´Þ¤à) ¤ÎÃæ¡¢¥³¥Þ¥ó¥ÉÃÖ´¹ (command substitution) ¤ÎÃæ¤Ê¤É¤Ç¤Ï¤³¤Î¸ú²Ì¤¬¤¢¤ê¤Þ¤»¤ó¡£´Êñ¤Ë¸À¤¦¤È °ÕÌ£¤Î¤¢¤ë¤è¤¦¤Ê»È¤¤Êý¤ò¤·¤µ¤¨¤¹¤ì¤Ð¡¢Àµ¤·¤¯Æ°ºî¤¹¤ë¤È¸À¤¦¤³¤È¤Ç¤¹¡£

¥Ç¡¼¥¿¥Õ¥¡¥¤¥ëÃæ¤Î¥³¥á¥ó¥Èʸ»ú¤Î»ØÄê¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È:set datafile commentschars (82.16.5)¡£¥³¥á¥ó¥È¹Ô¤¬ ' \ ' ¤Ç½ª¤ï¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢¼¡ ¤Î¹Ô¤â¥³¥á¥ó¥È¤È¤·¤Æ°·¤ï¤ì¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

10 ºÂɸ·Ï (Coordinates)

¥³¥Þ¥ó¥É set arrow, set key, set label, set object ¤Ï¥°¥é¥Õ¾å ¤ÎǤ°Õ¤Î°ÌÃÖ¤¬»ØÄê¤Ç¤­¤Þ¤¹¡£¤½¤Î°ÌÃ֤ϰʲ¼¤Î½ñ¼°¤Ç»ØÄꤷ¤Þ¤¹:


     {<system>} <x>, {<system>} <y> {,{<system>} <z>}

³ÆºÂɸ·Ï»ØÄê < system> ¤Ë¤Ï¡¢first, second, graph, screen, character ¤Î¤¤¤º¤ì¤«¤¬Æþ¤ê¤Þ¤¹¡£

first ¤Ïº¸¤È²¼¤Î¼´¤ÇÄêµÁ¤µ¤ì¤ë x,y (3D ¤Î¾ì¹ç¤Ï z ¤â) ¤ÎºÂɸ·Ï¤ò»ÈÍÑ ¤·¤Þ¤¹¡£second ¤ÏÂè 2 ¼´ (¾å¤È±¦¤Î¼´) ¤ò»ÈÍѤ·¤Þ¤¹¡£graph ¤Ï¥°¥é¥Õ ÉÁ²èÎΰèÆâ¤ÎÁêÂÐŪ°ÌÃÖ¤ò»ØÄꤷ¡¢º¸²¼¤¬ 0,0 ¤Ç ±¦¾å¤¬ 1,1 (splot ¤Î¾ì¹ç ¤Ï¥°¥é¥ÕÉÁ²èÎΰèÆâ¤Îº¸²¼¤¬ 0,0,0 ¤Ç¡¢ÅÚÂæ¤Î°ÌÃÖ¤ÏÉé¤Î z ¤ÎÃͤò»ÈÍѤ·¤Þ ¤¹¡£°Ê²¼»²¾È: set xyplane (82.97)) ¤È¤Ê¤ê¤Þ¤¹¡£screen ¤Ïɽ¼¨ÈÏ°ÏÆâ (ÈÏ°ÏÁ´ ÂΤǤ¢¤ê¡¢set size ¤ÇÁªÂò¤µ¤ì¤ë°ìÉôʬ¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó) ¤ò»ØÄꤷ¡¢º¸²¼ ¤¬ 0,0 ¤Ç ±¦¾å¤¬ 1,1 ¤È¤Ê¤ê¤Þ¤¹¡£character ¤Ï¡¢²èÌÌÎΰè¤Îº¸²¼ (screen 0,0) ¤«¤é¤Î¡¢Ê¸»ú¤ÎÉý¡¢Ê¸»ú¤Î¹â¤µ¤Ç¤Î°ÌÃÖ¤òÍ¿¤¨¤Þ¤¹¡£¤è¤Ã¤Æ¡¢ character ºÂɸ¤Ï¡¢ÁªÂò¤µ¤ì¤¿¥Õ¥©¥ó¥È¤Î¥µ¥¤¥º¤Ë°Í¸¤·¤Þ¤¹¡£

x ¤ÎºÂɸ·Ï¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï first ¤¬»È¤ï¤ì¤Þ¤¹¡£y ¤ÎºÂɸ·Ï¤¬ »ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï x ¤ËÂФ¹¤ëºÂɸ·Ï¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£

Í¿¤¨¤ëºÂɸ¤¬ÀäÂÐŪ¤Ê°ÌÃ֤ǤϤʤ¯¤ÆÁêÂÐŪ¤ÊÃͤǤ¢¤ë¾ì¹ç¤â¤¢¤ê¤Þ¤¹ (Î㤨 ¤Ð set arrow ... rto ¤Î 2 ÈÖÌܤοôÃÍ)¡£¤½¤Î¤Û¤È¤ó¤É¤¬¡¢Í¿¤¨¤é¤ì¤¿ ¿ôÃͤòºÇ½é¤Î°ÌÃÖ¤ËÂФ¹¤ëº¹¤È¤·¤Æ»È¤¤¤Þ¤¹¡£Í¿¤¨¤é¤ì¤¿ºÂɸ¤¬Âпô¼´Æâ¤Ë¤¢ ¤ë¾ì¹ç¤Ï¡¢¤½¤ÎÁêÂÐŪ¤ÊÃͤÏÇÜΨ¤È¤·¤Æ²ò¼á¤µ¤ì¤Þ¤¹¡£Î㤨¤Ð


     set logscale x
     set arrow 100,5 rto 10,2

¤Ï¡¢x ¼´¤¬Âпô¼´¤Ç y ¼´¤¬Àþ·Á¤Î¼´¤Ê¤Î¤Ç¡¢100,5 ¤Î°ÌÃÖ¤«¤é 1000,7 ¤Î°Ì Ã֤ؤÎÌð°õ¤ò½ñ¤¯¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

°ì¤Ä (¤¢¤ë¤¤¤Ï¤½¤ì°Ê¾å) ¤Î¼´¤¬»þ´Ö¼´¤Ç¤¢¤ë¾ì¹ç¡¢timefmt ¤Î½ñ¼°Ê¸»úÎó¤Ë½¾¤Ã¤Æ¡¢°úÍÑÉä¤Ç°Ï¤Þ¤ì¤¿»þ´Öʸ»úÎó¤ÇŬÀڤʺÂɸ¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£°Ê²¼»²¾È: set xdata (82.91), set timefmt (82.75)¡£¤Þ¤¿¡¢gnuplot ¤ÏÀ°¿ôɽµ­¤â ǧ¤á¤Æ¤¤¤Æ¡¢¤½¤Î¾ì¹ç¤½¤ÎÀ°¿ô¤Ï 2000 ǯ 1 ·î 1 Æü¤«¤é¤ÎÉÿô¤È²ò¼á¤µ¤ì¤Þ ¤¹¡£

11 ʸ»úÎó¥Ç¡¼¥¿ (Datastrings)

¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥Û¥ï¥¤¥È¥¹¥Ú¡¼¥¹ (¶õÇò¤ä¥¿¥Ö) ¤ò´Þ¤Þ¤Ê¤¤Ç¤°Õ¤Î°õ»ú ²Äǽ¤Êʸ»úÎ󡢤¢¤ë¤¤¤Ï 2 ½Å°úÍÑÉä¤Ç°Ï¤Þ¤ì¤¿Ç¤°Õ¤Îʸ»úÎó (¥Û¥ï¥¤¥È¥¹¥Ú ¡¼¥¹¤¬´Þ¤Þ¤ì¤Æ¤âÎɤ¤)¡¢¤Î¤¤¤º¤ì¤«¤Î·Á¤«¤é¤Ê¤ëʸ»úÎó¥Ç¡¼¥¿¤ò»ý¤¿¤»¤ë¤³ ¤È¤â²Äǽ¤Ç¤¹¡£¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Ë¼¡¤ÎÎã¤Î¤è¤¦¤Ê¹Ô¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤ì ¤Ï 4 ¤Ä¤ÎÎó¤ò´Þ¤ß¡¢3 ÎóÌܤ¬¥Æ¥­¥¹¥ÈÉôʬ¤Ç¤¢¤ë¤È¸«¤Ê¤µ¤ì¤Þ¤¹:


 1.000 2.000 "Third column is all of this text" 4.00

¥Æ¥­¥¹¥ÈÉôʬ¤Ï 2 ¼¡¸µ¤ä 3 ¼¡¸µÉÁ²èÆâ¤ÇÎ㤨¤Ð°Ê²¼¤Î¤è¤¦¤Ë»ÈÍѤµ¤ì¤Þ¤¹:


 plot 'datafile' using 1:2:4 with labels
 splot 'datafile' using 1:2:3:4 with labels

¥Æ¥­¥¹¥ÈÉôʬ¤ÎÎó¥Ç¡¼¥¿¤Ï 1 ¤Ä¡¢¤Þ¤¿¤ÏÊ£¿ô¤ÎÉÁ²è¼´¤ÎÌÜÀ¹¤ê¤Î¥é¥Ù¥ë¤È¤· ¤Æ»ÈÍѤǤ­¤Þ¤¹¡£¼¡¤ÎÎã¤Ï¡¢ÆþÎϥǡ¼¥¿¤Î 3 ÎóÌÜ¤È 4 ÎóÌܤò (X,Y) ºÂɸ¤È ¤·¤Æ¼è¤ê½Ð¤·¡¢¤½¤ì¤é¤ÎÅÀ¤ÎÎó¤ò·ë¤ÖÀþʬ¤òÉÁ²è¤·¤Þ¤¹¡£¤·¤«¤·¤³¤Î¾ì¹ç gnuplot ¤Ï¡¢x ¼´¤Ë±è¤Ã¤Æɸ½àŪ¤Ë´Ö¤Î¶õ¤¤¤¿¿ô»ú¥é¥Ù¥ë¤Î¤Ä¤¤¤¿ÌÜÀ¹¤ê¹ï¤ß ¤ò¤Ä¤±¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢ÆþÎϥǡ¼¥¿¥Õ¥¡¥¤¥ë¤Î 1 ¹ÔÌܤΠX ºÂɸ¤Î°ÌÃ֤ˡ¢ÌÜÀ¹ ¤ê¹ï¤ß¤Èʸ»úÎó¤ò x ¼´¤Ë±è¤Ã¤Æ¤Ä¤±¤Æ¹Ô¤­¤Þ¤¹¡£


 set xtics
 plot 'datafile' using 3:4:xticlabels(1) with linespoints

ÆþÎϥǡ¼¥¿¤ÎÎó¤ÎºÇ½é¤Î¥¨¥ó¥È¥ê (¤¹¤Ê¤ï¤ÁÎó¤Î¸«½Ð¤·) ¤ò¥Æ¥­¥¹¥ÈÉôʬ¤È²ò ¼á¤¹¤ë¤â¤¦°ì¤Ä¤Î¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¡¢¤½¤ì¤Ï¥Æ¥­¥¹¥ÈÉôʬ¤ò¡¢¤½¤ÎÉÁ²è¤·¤¿Îó ¤Î¥Ç¡¼¥¿¤ÎÀâÌÀ (key) ¤Î¥¿¥¤¥È¥ëÉôʬ¤È¤·¤Æ»ÈÍѤ·¤Þ¤¹¡£¼¡¤ÎÎã¤Ï¡¢ÀèƬ¤Î ¹Ô¤Î 2 ÎóÌܤÎÉôʬ¤òÀâÌÀ¥Ü¥Ã¥¯¥¹Æâ¤Î¥¿¥¤¥È¥ë¤òÀ¸À®¤¹¤ë¤Î¤Ë»ÈÍѤ·¡¢¤½¤Î ¸å¤ÎÎó¤Î 2,4 ÎóÌܤÏÍ׵ᤵ¤ì¤¿¶ÊÀþ¤òÉÁ²è¤¹¤ë¤Î¤Ë½èÍý¤µ¤ì¤Þ¤¹:


 plot 'datafile' using 1:(f($2)/$4) with lines title columnhead(2)

Ê̤ÎÎã:


 plot for [i=2:6] 'datafile' using i title "Results for ".columnhead(i)

°Ê²¼»²¾È: set style labels (42), using xticlabels (72.3.8.3), plot title (72.10),using (72.3.8)¡£

12 ³Èĥʸ»úÎó½èÍý¥â¡¼¥É (Enhanced text mode)

¿¤¯¤Î½ÐÎÏ·Á¼°¤¬¡¢³Èĥʸ»úÎó½èÍý¥â¡¼¥É (enhanced text mode) ¤ò¥µ¥Ý¡¼¥È ¤·¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ï¡¢Ê¸»úÎó¤ËÄɲäνñ¼°¾ðÊó¤òËä¤á¤³¤ß¤Þ¤¹¡£Î㤨¤Ð "x^2" ¤Ï x ¤Î¼«¾è¤ò¡¢Ä̾ï²æ¡¹¤¬¸«¤ë¾åÉÕ¤­¤Î 2 ¤¬¤Ä¤¤¤¿·Á¤Ç½ñ¤­½Ð¤·¤Þ¤¹¡£¤³¤Î ¥â¡¼¥É¤Ï¡¢Î㤨¤Ð¡¢"set term png enhanced" ¤Î¤è¤¦¤ËÉáÄ̤ϽÐÎÏ·Á¼°¤òÀßÄê ¤¹¤ë¤È¤­¤ËÁªÂò¤·¤Þ¤¹¤¬¡¢¸å¤Ç "set termoption enhanced" ¤ò»È¤Ã¤Æ¤½¤Îµ¡ ǽ¤òÍ­¸ú/̵¸ú¤Ë¤â¤Ç¤­¤Þ¤¹¤·¡¢"set label 'x_2' noenhanced" ¤Î¤è¤¦¤Ë¸Ä¡¹ ¤Îʸ»úÎó¤ËŬÍѤ¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

³Èĥʸ»úÎóÀ©¸æµ­¹æ
À©¸æµ­¹æ Îã ·ë²Ì ÀâÌÀ
^ a^x ax ¾åÉÕ¤­Ê¸»ú
_ a_x ax ²¼ÉÕ¤­Ê¸»ú
@ a@^b_{cd} abcd ¶õ¥Ü¥Ã¥¯¥¹ (Éý¤¬¤Ê¤¤)
& d&{space}b d b »ØÄꤷ¤¿Ä¹¤µ¤Î¥¹¥Ú¡¼¥¹¤òÁÞÆþ
~ ~a{.8-} $ \tilde{{a}}$ 'a' ¤Î¾å¤Ë '-' ¤ò¡¢¸½ºß¤Î¥Õ¥©¥ó¥È¥µ
   ¥¤¥º¤Î .8 ÇÜ»ý¤Á¾å¤²¤¿°ÌÃ֤˽Ťͽñ¤­

Ã楫¥Ã¥³¤Ï°ìʸ»ú¤¬´üÂÔ¤µ¤ì¤ë²Õ½ê¤ËÊ£¿ô¤Îʸ»ú¤ò½ñ¤¯¾ì¹ç¤Ë»È¤ï¤ì¤Þ¤¹ (Îã ¤¨¤Ð 2^{10})¡£¥Õ¥©¥ó¥È¡¢¤ª¤è¤Ó¤½¤Î¥µ¥¤¥º¤òÊѹ¹¤¹¤ë¤Ë¤Ï¡¢°Ê²¼¤Î·Á¼°¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤: {/[fontname][=fontsize | *fontscale] text} ¤è¤Ã¤Æ¡¢Î㤨¤Ð {/Symbol=20 G} ¤Ï 20 ¥Ý¥¤¥ó¥È¤Î¦£ (¥¬¥ó¥Þ)¤Ë¡¢{/*0.75 K} ¤Ï¸½ºß¤ÎÍ­ ¸ú¤Ê¥Õ¥©¥ó¥È¥µ¥¤¥º¤Î 3/4 ¤ÎÂ礭¤µ¤Î K ¤Ë¤Ê¤ê¤Þ¤¹ (ʸ»ú '/' ¤Ï¡¢'{' ¤Î ľ¸å¤Îʸ»ú¤Ç¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó)¡£

¶õ¥Ü¥Ã¥¯¥¹ (phantom box) ¤Ï a@^b_c ¤Î¾åÉÕ¤­Ê¸»ú¤È²¼ÉÕ¤­Ê¸»ú¤ò·¤¨¤ë¤È ¤­¤ËÍ­ÍѤǤ¹¤¬¡¢Ê¸»ú¤Ë¥¢¥¯¥»¥ó¥Èµ­¹æ¤ò½Å¤Í¤ë¾ì¹ç¤Ë¤Ï¤¦¤Þ¤¯Æ¯¤­¤Þ¤»¤ó¡£ ¸å¼Ô¤ÎÌÜŪ¤Î¤¿¤á¤Ë¤Ï¡¢¿§¡¹¤Ê¥¢¥¯¥»¥ó¥È¤ä¤½¤Î¾¤Î¥À¥¤¥¢¥¯¥ê¥Æ¥£¥«¥ë¥Þ ¡¼¥¯¤Î¤¢¤ë¿¤¯¤Îʸ»ú¤ò»ý¤Ä¥¨¥ó¥³¡¼¥É (Î㤨¤Ð iso_8859_1 ¤ä utf8) ¤ò»È ÍѤ¹¤ëÊý¤¬¤¤¤¤¤Ç¤·¤ç¤¦¡£°Ê²¼»²¾È: set encoding (82.20)¡£¤½¤Î¥Ü¥Ã¥¯¥¹¤Ï¥¹¥Ú¡¼ ¥·¥ó¥°¤¬¹Ô¤Ê¤ï¤ì¤Ê¤¤¤Î¤Ç¡¢¥Ü¥Ã¥¯¥¹Æâ (¤Ä¤Þ¤ê @ ¤Î¸å¤í) ¤Î¾åÉÕ¤­Ê¸»ú¤ä ²¼ÉÕ¤­Ê¸»ú¤òû¤¯½ÐÎϤ¹¤ë¤Î¤ËŬ¤·¤Æ¤¤¤Þ¤¹¡£

¤¢¤ëʸ»úÎó¤ÈƱ¤¸Ä¹¤µ¤Î¥¹¥Ú¡¼¥¹¤òʸ»ú '&' ¤ò»È¤¦¤³¤È¤ÇÆþ¤ì¤ë¤³¤È¤¬¤Ç¤­ ¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢

       'abc&{def}ghi'

¤Ï°Ê²¼¤òÀ¸À®¤·¤Þ¤¹ (abc ¤È ghi ¤Î´Ö¤Ï 3 ʸ»úʬ¤Î¶õÇò):
       'abc   ghi'

ʸ»ú '~ ' ¤Ï¡¢¼¡¤Îʸ»ú¡¢¤Þ¤¿¤Ï¥«¥Ã¥³¤Ç°Ï¤Þ¤ì¤¿Ê¸»úÎó¤Ë¡¢¤½¤ì¤Ë³¤¯Ê¸»ú ¤Þ¤¿¤Ï¥«¥Ã¥³¤Ç°Ï¤Þ¤ì¤¿Ê¸»úÎó¤ò½Å¤Í½ñ¤­¤·¤Þ¤¹¡£2 ÈÖÌܤÎʸ»ú¤ÏºÇ½é¤Îʸ»ú ¤Ë¤¢¤ï¤»¤Æ¿åÊ¿Êý¸þ¤Ë¥»¥ó¥¿¥ê¥ó¥°¤µ¤ì¤Þ¤¹¡£¤è¤Ã¤Æ '~ a/' ¤Ï 'a' ¤ò´Ó¤¯¤è ¤¦¤Ê¥¹¥é¥Ã¥·¥å¤¬ÆÀ¤é¤ì¤Þ¤¹¡£2 ÈÖÌܤÎʸ»ú¤Ï¡¢¤½¤ÎÁ°¤Ë¿ô»ú¤òÃÖ¤¯¤³¤È¤Ç¿â ľÊý¸þ¤Ë°ÜÆ°¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤½¤Î¿ô»ú¤Ï¸½ºß¤Î¥Õ¥©¥ó¥È¥µ¥¤¥º¤ËÂФ¹ ¤ë³ä¹ç¤ò°ÕÌ£¤·¡¢¤½¤ì¤Ë½¾¤Ã¤Æʸ»ú¤¬¾å¤¬¤Ã¤¿¤ê²¼¤¬¤Ã¤¿¤ê¤·¤Þ¤¹¡£¤³¤Î¾ì¹ç ¿ô»ú¤Èʸ»úÎó¤Ï 1 ʸ»ú¤è¤êŤ¯¤Ê¤ë¤Î¤Ç¥«¥Ã¥³¤Ç°Ï¤àɬÍפ¬¤¢¤ê¤Þ¤¹¡£½Å¤Í ½ñ¤­¤µ¤ì¤ëʸ»úÎ󤬿ô»ú¤«¤é»Ï¤Þ¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¿âľ¤Ë¤º¤é¤¹ÃͤÈʸ»úÎó¤È ¤Î´Ö¤Ë¥¹¥Ú¡¼¥¹¤òÆþ¤ì¤Æ¤¯¤À¤µ¤¤ ('~ {abc}{.5 000}')¡£¤½¤ì°Ê³°¤Ï¥¹¥Ú¡¼¥¹¤ÏÉÔÍפǤ¹ ('~ {abc}{.5 -- }')¡£°ìÊý¡¢¤¢¤ë¤¤¤ÏξÊý¤Î¥Õ¥©¥ó¥È¤òÊѹ¹¤¹¤ë¤³ ¤È¤â¤Ç¤­¤Þ¤¹ ('~ a{.5 /*.2 o}'; 'a' ¤½¤Î 1/5 ¤ÎÂ礭¤µ¤Î 'o'¡¢¤³¤Î¾ì¹ç¿ô »ú¤È¥¹¥é¥Ã¥·¥å¤Î´Ö¤Î¥¹¥Ú¡¼¥¹¤ÏɬÍפǤ¹) ¤¬¡¢¤½¤Îʸ»úÎ󤬻Ϥޤ俸å¤ÇÊÑ ¹¹¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£¤½¤ì¤¾¤ì¤Îʸ»úÎóÆâ¤Ç¡¢Â¾¤ÎÆüì¤Ê½ñ¼°¤ò»È¤¦¤³¤È ¤â¤Ç¤­¤Þ¤»¤ó¡£¤â¤Á¤í¤ó¡¢'~ a{ \ ^}' ¤Î¤è¤¦¤ËÆüì¤Êʸ»ú¤ò¥¨¥¹¥±¡¼¥×¤¹¤ë¤³ ¤È (²¼µ­»²¾È) ¤Ï²Äǽ¤Ç¤¹¡£

\ ʸ»ú¥³¡¼¥É (8 ¿Ê¿ô) ¤ò»ØÄꤹ¤ë¤³¤È¤ÇÆüì¤Êµ­¹æ¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤Þ ¤¹¡£Î㤨¤Ð¡¢{/Symbol \ 245} ¤Ï̵¸ÂÂç¤Îµ­¹æ¤Ë¤Ê¤ê¤Þ¤¹¡£¤·¤«¤·¡¢¤³¤ì¤Ï¡¢ UTF-8 ¤Î¤è¤¦¤Ê¥Þ¥ë¥Á¥Ð¥¤¥È¥¨¥ó¥³¡¼¥É¤Î¾ì¹ç¤Ë¤Ï¤¦¤Þ¤¯¤¤¤­¤Þ¤»¤ó¡£UTF-8 ´Ä¶­¤Ç¤Ï¡¢¥¿¥¤¥×ÆþÎϤ¹¤ë¤«¤Þ¤¿¤ÏÊ̤Τä¤êÊý¤Ç¤¢¤Ê¤¿¤¬Ë¾¤àʸ»ú¤òÁªÂò¤¹¤ë ¤³¤È¤Ç¥Þ¥ë¥Á¥Ð¥¤¥ÈÎó¤òÆþÎϤǤ­¤ë¤è¤¦¤Ë¤¹¤Ù¤­¤Ç¤¹¡£

À©¸æʸ»ú¤Ï¡¢ \ \ ¤ä \ { ¤Ê¤É¤Î¤è¤¦¤Ë \ ¤ò»È¤Ã¤Æ¥¨¥¹¥±¡¼¥×¤Ç¤­¤Þ¤¹¡£

¤·¤«¤·¡¢Æó½Å°úÍÑÉäÆâ¤Îʸ»úÎó¤Ïñ°ì°úÍÑÉäÆâ¤Îʸ»úÎó¤È¤Ï°Û¤Ê¤Ã¤Æ²ò¼á¤µ¤ì ¤ë¤³¤È¤òÃΤäƤª¤¤¤Æ¤¯¤À¤µ¤¤¡£¼ç¤Ê°ã¤¤¤Ï¡¢Æó½Å°úÍÑÉäÆâ¤Îʸ»úÎó¤Ç¤Ï¥Ð¥Ã ¥¯¥¹¥é¥Ã¥·¥å¤Ï 2 ¤Ä½Å¤Í¤ëɬÍפ¬¤¢¤ë¤³¤È¤Ç¤¹¡£

Îã (¤³¤ì¤é¤Ï¸ÀÍÕ¤ÇÀâÌÀ¤¹¤ë¤Î¤ÏÆñ¤·¤¤¤Î¤Ç¤È¤ê¤¢¤¨¤º¤ä¤Ã¤Æ¤ß¤Æ¤¯¤À¤µ¤¤):

     set xlabel 'Time (10^6 {/Symbol m}s)'
     set title '{/Symbol=18 \\362@_{/=9.6 0}^{/=12 x}} \\
                {/Helvetica e^{-{/Symbol m}^2/2} d}{/Symbol m}'

gnuplot ¥½¡¼¥¹ÇÛÉÛʪÆâ¤Î /docs/psdoc ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë¥Õ¥¡¥¤¥ë "ps_guide.ps" ¤Ë¡¢³ÈÄ¥¤µ¤ì¤¿½ñ¼°¤Ë´Ø¤¹¤ëÎ㤬¹¹¤ËºÜ¤Ã¤Æ¤¤¤Þ¤¹¡£

13 ´Ä¶­ÊÑ¿ô (Environment)

gnuplot ¤Ï¿¤¯¤Î¥·¥§¥ë´Ä¶­ÊÑ¿ô¤òǧ¼±¤·¤Þ¤¹¡£É¬¿Ü¤Î¤â¤Î¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢ »È¤¨¤ÐÊØÍø¤Ë¤Ê¤ë¤«¤âÃΤì¤Þ¤»¤ó¡£

GNUTERM ¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤ì¤Ï»ÈÍѤµ¤ì¤ë½ÐÎÏ·Á¼° (terminal) ¤Î̾ Á°¤È¤·¤Æ»È¤ï¤ì¤Þ¤¹¡£¤³¤ì¤Ï gnuplot ¤¬µ¯Æ°»þ¤Ë¸«¤Ä¤±¤¿½ÐÎÏ·Á¼°¤ËÍ¥Àè ¤·¤Æ»ÈÍѤµ¤ì¤Þ¤¹¤¬¡¢.gnuplot (¤Þ¤¿¤Ï¤½¤ì¤ËÁêÅö¤¹¤ë) ¥¹¥¿¡¼¥È¥¢¥Ã¥×¥Õ¥¡ ¥¤¥ë (°Ê²¼»²¾È: startup (21)) ¤Ë¤è¤ë»ØÄê¤ä¡¢Åö¤êÁ°¤Î¤³¤È¤Ç¤¹¤¬¡¢¤½¤Î¸å¤Ë ÌÀ¼¨Åª¤Ë»ØÄꤷ¤¿Êª¤ÎÊý¤¬Í¥À褵¤ì¤Þ¤¹¡£

GNUHELP ¤Ë¥Ø¥ë¥×¥Õ¥¡¥¤¥ë (gnuplot.gih) ¤Î¥Ñ¥¹Ì¾¤òÄêµÁ¤·¤Æ¤ª¤¯¤³¤È¤¬¤Ç ¤­¤Þ¤¹¡£

VMS ¤Ç¤Ï¡¢ÏÀÍý̾ GNUPLOT$HELP ¤ò gnuplot ¤Î¥Ø¥ë¥×¥é¥¤¥Ö¥é¥ê¤Î̾Á°¤È ¤·¤ÆÄêµÁ¤·¤Þ¤¹¡£gnuplot ¤Î¥Ø¥ë¥×¤ÏǤ°Õ¤Î¥·¥¹¥Æ¥à¤Î¥Ø¥ë¥×¥é¥¤¥Ö¥é¥ê¤Ë Æþ¤ì¤ë¤³¤È¤¬¤Ç¤­¡¢gnuplot ¤ÎÆâÉô¤«¤é¤Ç¤â³°Éô¤«¤é¤Ç¤â»²¾È¤·¤Æ¹½¤¤¤Þ¤» ¤ó¡£

Unix ¤Ë¤ª¤¤¤Æ¤Ï¡¢¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ë .gnuplot ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤¬¤Ê¤¤ ¾ì¹ç¤Ë¤Ï¡¢HOME ¤ËÄêµÁ¤µ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤òõ¤·¤Þ¤¹¡£MS-DOS, Windows, OS/2 ¤Ç¤Ï GNUPLOT ¤¬¤½¤ÎÌò³ä¤Ë»È¤ï¤ì¤Þ¤¹¡£Windows ¤Ç¤Ï¡¢NT ÀìÍѤÎÊÑ¿ô USERPROFILE ¤â»²¾È¤µ¤ì¤Þ¤¹¡£VMS ¤Ç¤Ï SYS$LOGIN ¤Ç¤¹¡£help startup ¤ÈÂǤäƤߤƤ¯¤À¤µ¤¤¡£

Unix ¤Ë¤ª¤¤¤Æ¤Ï¡¢PAGER ¤¬¥Ø¥ë¥×¥á¥Ã¥»¡¼¥¸¤Î½ÐÎÏÍѤΥե£¥ë¥¿¤È¤·¤Æ»È¤ï ¤ì¤Þ¤¹¡£

Unix ¤Ç¤Ï¡¢SHELL ¤¬ shell ¥³¥Þ¥ó¥É¤ÎºÝ¤Ë»È¤ï¤ì¤Þ¤¹¡£MS-DOS, OS/2 ¤Ç ¤Ï COMSPEC ¤¬ shell ¥³¥Þ¥ó¥É¤ÎºÝ¤Ë»È¤ï¤ì¤Þ¤¹¡£

FIT_SCRIPT ¤Ï¡¢Åö¤Æ¤Ï¤á (fit) ¤¬ÃæÃǤµ¤ì¤¿¤È¤­¤Ë¼Â¹Ô¤¹¤ë gnuplot ¥³ ¥Þ¥ó¥É¤Î»ØÄê¤Ë»È¤ï¤ì¤Þ¤¹¡£°Ê²¼»²¾È: fit (64)¡£FIT_LOG ¤ÏÅö¤Æ¤Ï¤á¤Ë¤è¤ë¥í ¥°¥Õ¥¡¥¤¥ë¤Î¥Ç¥Õ¥©¥ë¥È¤Î¥Õ¥¡¥¤¥ë̾¤Î»ØÄê¤Ë»È¤ï¤ì¤Þ¤¹¡£

GNUPLOT_LIB ¤Ï¡¢¥Ç¡¼¥¿¤ä¥³¥Þ¥ó¥É¥Õ¥¡¥¤¥ë¤Î¸¡º÷¥Ç¥£¥ì¥¯¥È¥ê¤òÄɲÃÄêµÁ¤¹ ¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£¤½¤ÎÊÑ¿ô¤Ï¡¢°ì¤Ä¤Î¥Ç¥£¥ì¥¯¥È¥ê̾¤«¤Þ¤¿¤ÏÊ£¿ô¤Î¥Ç¥£¥ì ¥¯¥È¥ê̾¤ò½ñ¤¯¤³¤È¤¬¤Ç¤­¤Þ¤¹¤¬¡¢¥Ç¥£¥ì¥¯¥È¥ê¤Î¶èÀÚ¤ê¤Ï¥×¥é¥Ã¥È¥Û¡¼¥àËè ¤Ë°ã¤¤¤Þ¤¹¡£Î㤨¤Ð Unix ¤Ç¤Ï ':' ¤Ç¡¢MS-DOS, Windows, OS/2 ¤Ç¤Ï ';' ¤Ç ¤¹¡£GNUPLOT_LIB ¤ÎÃͤÏÊÑ¿ô loadpath ¤ËÄɲ䵤ì¤Þ¤¹¤¬¡¢¤½¤ì¤Ï save ¤ä save set ¥³¥Þ¥ó¥É¤Ç¤ÏÊݸ¤µ¤ì¤Þ¤»¤ó¡£

½ÐÎϥɥ饤¥Ð¤ÎÃæ¤Ë¤Ï gd ¥é¥¤¥Ö¥é¥ê·Ðͳ¤Ç TrueType ¥Õ¥©¥ó¥È¤ò°·¤¨¤ë¤â¤Î ¤â¤¤¤¯¤Ä¤«¤¢¤ê¤Þ¤¹¡£¤³¤ì¤é¤Î¥É¥é¥¤¥Ð¤Î¥Õ¥©¥ó¥È¸¡º÷¥Ñ¥¹¤Ï¡¢´Ä¶­ÊÑ¿ô GDFONTPATH ¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¡£¤µ¤é¤Ë¡¢¤½¤ì¤é¤Î¥É¥é¥¤¥Ð¤Ç¤Î¥Ç¥Õ¥©¥ë¥È¤Î¥Õ ¥©¥ó¥È¤Ï´Ä¶­ÊÑ¿ô GNUPLOT_DEFAULT_GDFONT ¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¡£

postscript ½ÐÎϥɥ饤¥Ð¤Ï¼«Ê¬¤Ç»ý¤Ã¤Æ¤¤¤ë¥Õ¥©¥ó¥È¸¡º÷¥Ñ¥¹¤ò»È¤¤¤Þ¤¹¤¬¡¢ ¤½¤ì¤Ï´Ä¶­ÊÑ¿ô GNUPLOT_FONTPATH ¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¡£½ñ¼°¤Ï GNUPLOT_LIB ¤È Ʊ¤¸¤Ç¤¹¡£GNUPLOT_FONTPATH ¤ÎÃͤÏÊÑ¿ô fontpath ¤ËÄɲ䵤ì¤Þ¤¹¤¬¡¢¤½ ¤ì¤Ï save ¤ä save set ¥³¥Þ¥ó¥É¤Ç¤ÏÊݸ¤µ¤ì¤Þ¤»¤ó¡£

PostScript ¥É¥é¥¤¥Ð¤Ï¡¢³°Éô (ÁȤ߹þ¤Þ¤ì¤Æ¤¤¤Ê¤¤) ÄêµÁ¥Õ¥¡¥¤¥ë¤òõ¤¹¤¿ ¤á¤Ë´Ä¶­ÊÑ¿ô GNUPLOT_PS_DIR ¤òÍøÍѤ·¤Þ¤¹¡£¥¤¥ó¥¹¥È¡¼¥ë»þ¤Îºî¶È¤Ë¤è¤ê¡¢ gnuplot ¤Ë¤Ï¤½¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Î¥³¥Ô¡¼¤¬ÁȤ߹þ¤Þ¤ì¤Æ¤¤¤ë¤«¡¢¤Þ¤¿¤Ï¥Ç¥Õ¥© ¥ë¥È¤Î¥Ñ¥¹¤¬Ëä¤á¹þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤ÎÊÑ¿ô¤Ï¡¢postscript ½ÐÎÏ·Á¼°¤Ç¥Ç¥Õ ¥©¥ë¥È¤Î¥Õ¥¡¥¤¥ë¤ÎÂå¤ï¤ê¤Ë¥«¥¹¥¿¥Þ¥¤¥º¤·¤¿ prologue ¥Õ¥¡¥¤¥ë¤ò»ÈÍѤ¹¤ë ¤Î¤ËÍøÍѤǤ­¤Þ¤¹¡£°Ê²¼»²¾È: postscript prologue (92.51.3)¡£

14 ¼° (Expressions)

´ðËÜŪ¤Ë¤Ï C, FORTRAN, Pascal, BASIC ¤Ë¤ª¤¤¤ÆÍøÍѲÄǽ¤Ê¿ô³Øɽ¸½¤ò»ÈÍÑ ¤Ç¤­¤Þ¤¹¡£ ±é»»»Ò¤ÎÍ¥Àè½ç°Ì¤Ï C ¸À¸ì¤Î»ÅÍͤ˽¾¤¤¤Þ¤¹¡£¿ô¼°Ãæ¤Î¶õÇòʸ»ú ¤È¥¿¥Öʸ»ú¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£

Ê£ÁÇ¿ô¤ÎÄê¿ô¤Ï {< real> ,< imag> } ¤Èɽ¸½¤·¤Þ¤¹¡£¤³¤³¤Ç < real> ¤È < imag> (¼ÂÉô¡¢µõÉô) ¤Ï¿ôÃÍÄê¿ô¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£Î㤨¤Ð {3,2} ¤Ï 3 + 2i ¤ò ¤¢¤é¤ï¤·¡¢{0,1} ¤Ï 'i' ¼«¿È¤òɽ¤·¤Þ¤¹¡£¤³¤ì¤é¤Ë¤ÏÌÀ¼¨Åª¤ËÃ楫¥Ã¥³¤ò»È ¤¦É¬Íפ¬¤¢¤ê¤Þ¤¹¡£

gnuplot ¤Ï "¼Â¿ô" ¤È "À°¿ô" ±é»»¤ò FORTRAN ¤ä C ¤Î¤è¤¦¤Ë°·¤¦¤È¤¤¤¦¤³¤È ¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£"1", "-10" ¤Ê¤É¤ÏÀ°¿ô¤È¸«¤Ê¤µ¤ì¡¢"1.0", "-10.0", "1e1", 3.5e-1 ¤Ê¤É¤Ï¼Â¿ô¤È¸«¤Ê¤µ¤ì¤Þ¤¹¡£ ¤³¤ì¤é 2 ¤Ä¤Î¤â¤Ã¤È¤â½ÅÍפʰ㠤¤¤Ï³ä»»¤Ç¤¹¡£À°¿ô¤Î³ä»»¤ÏÀÚ¤ê¼Î¤Æ¤é¤ì¤Þ¤¹: 5/2 = 2¡£¼Â¿ô¤Ï¤½¤¦¤Ç¤Ï¤¢ ¤ê¤Þ¤»¤ó: 5.0/2.0 = 2.5¡£¤½¤ì¤é¤¬º®ºß¤·¤¿¼°¤Î¾ì¹ç¡¢·×»»¤ÎÁ°¤ËÀ°¿ô¤Ï¼Â ¿ô¤Ë "³ÈÄ¥" ¤µ¤ì¤Þ¤¹: 5/2e0 = 2.5¡£Éé¤ÎÀ°¿ô¤òÀµ¤ÎÀ°¿ô¤Ç³ä¤ë¾ì¹ç¡¢¤½¤Î Ãͤϥ³¥ó¥Ñ¥¤¥é¤Ë¤è¤Ã¤ÆÊѤï¤ê¤Þ¤¹¡£"print -5/2" ¤È¤·¤Æ¡¢¤¢¤Ê¤¿¤Î¥·¥¹¥Æ ¥à¤¬ -2 ¤È -3 ¤Î¤É¤Á¤é¤òÅú¤¨¤È¤¹¤ë¤«¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£

¿ô¼° "1/0" ¤Ï "̤ÄêµÁÃÍ (undefined)" ¥Õ¥é¥°¤òÀ¸À®¤·¡¢¤½¤ì¤Ë¤è¤ê¤½¤ÎÅÀ ¤ò̵»ë¤·¤Þ¤¹¡£¤¢¤ë¤¤¤Ï¡¢¤¢¤é¤«¤¸¤áÄêµÁ¤µ¤ì¤Æ¤¤¤ëÃÍ NaN ¤ò»È¤Ã¤Æ¤âƱ¤¸ ¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£Îã¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: using (72.3.8)¡£

Ê£ÁÇ¿ôɽ¸½¤Î¼Â¿ôÉôʬ¡¢µõ¿ôÉôʬ¤Ï¡¢¤É¤ó¤Ê·Á¤ÇÆþÎϤµ¤ì¤Æ¤â¾ï¤Ë¼Â¿ô¤Ç¤¹: {3,2} ¤Î "3" ¤È "2" ¤Ï¼Â¿ô¤Ç¤¢¤ê¡¢À°¿ô¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£

gnuplot ¤Ïʸ»úÎó¤ËÂФ¹¤ëñ½ã¤Ê±é»»¡¢¤ª¤è¤Óʸ»úÎóÊÑ¿ô¤âÍøÍѤǤ­¤Þ¤¹¡£Îã ¤¨¤Ð¼° ("A" . "B" eq "AB") ¤Ï¿¿¤Èɾ²Á¤µ¤ì¤Þ¤¹¤¬¡¢¤³¤ì¤Ïʸ»úÎó¤Î·ë¹ç±é »»»Ò¤Èʸ»úÎó¤ÎÅù¹æ±é»»»Ò¤ò°ÕÌ£¤·¤Æ¤¤¤Þ¤¹¡£

¿ô¤È¤·¤Æ¤ÎÃͤò´Þ¤àʸ»úÎó¤Ï¡¢¤½¤ì¤¬¿ô¼°¤ÇÍøÍѤµ¤ì¤¿¾ì¹ç¤Ï¡¢Âбþ¤¹¤ëÀ°¿ô ¤ä¼Â¿ô¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£¤è¤Ã¤Æ¡¢("3" + "4" == 7) ¤ä (6.78 == "6.78") ¤Ï ¤É¤Á¤é¤â¿¿¤Ë¤Ê¤ê¤Þ¤¹¡£À°¿ô¤Ï¡¢¤½¤ì¤¬Ê¸»úÎó·ë¹ç±é»»»Ò¤Ç»È¤ï¤ì¤¿¾ì¹ç¤Ïʸ »úÎó¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¤¬¡¢¼Â¿ô¤äÊ£ÁÇ¿ô¤Ï¥À¥á¤Ç¤¹¡£Åµ·¿Åª¤ÊÎã¤Ï¡¢¥Õ¥¡¥¤¥ë̾ ¤ä¾¤Îʸ»úÎóÆâ¤ËÀ°¿ô¤ò»È¤¦¾ì¹ç¤Ç¤·¤ç¤¦: Î㤨¤Ð ("file" . 4 eq "file4") ¤Ï¿¿¤Ç¤¹¡£

¸åÃÖ»ØÄꤹ¤ëÈϰϵ­½Ò»Ò [beg:end] ¤Ë¤è¤Ã¤Æ¡¢Éôʬʸ»úÎó¤ò»ØÄꤹ¤ë¤³¤È¤¬ ¤Ç¤­¤Þ¤¹¡£Î㤨¤Ð¡¢"ABCDEF"[3:4] == "CD" ¤Ç¡¢"ABCDEF"[4:*] == "DEF" ¤Ç ¤¹¡£½ñ¼° "string"[beg:end] ¤Ï¡¢Ê¸»úÎóÃͤÎÁȤ߹þ¤ß´Ø¿ô substr("strings",beg,end) ¤ò¸Æ¤Ö¤³¤È¤È¤Û¤ÜƱ¤¸¤Ç¤¹¤¬¡¢´Ø¿ô¸Æ¤Ó½Ð¤·¤Ç¤Ï beg, end ¤Ï¾Êά¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£

14.1 ´Ø¿ô (Functions)

gnuplot ¤Î¿ô³Ø´Ø¿ô¤Ï¡¢Unix ¿ô³Ø¥é¥¤¥Ö¥é¥ê¤Î´Ø¿ô¤È¤Û¤ÜƱ¤¸¤Ç¤¹¤¬¡¢Æà ¤ËÃí°Õ¤¬¤Ê¤±¤ì¤ÐÁ´¤Æ¤Î´Ø¿ô¤¬À°¿ô¡¢¼Â¿ô¡¢Ê£ÁÇ¿ô¤Î°ú¿ô¤ò¼è¤ë¤³¤È¤¬¤Ç¤­¤Þ ¤¹¡£³Ñ¤ò°ú¿ô¤äÌá¤êÃͤȤ¹¤ë´Ø¿ô (Î㤨¤Ð sin(x), cos(x), arg(z)) ¤Ï¡¢¤½ ¤ÎÃͤò¥é¥¸¥¢¥ó¤È¤·¤Æ°·¤¤¤Þ¤¹¤¬¡¢¤³¤ì¤Ï¥³¥Þ¥ó¥É set angles ¤Ë¤è¤Ã¤ÆÅÙ ¤ËÊѹ¹¤Ç¤­¤Þ¤¹¡£

¿ô³Ø¥é¥¤¥Ö¥é¥ê´Ø¿ô
´Ø¿ô °ú¿ô Ìá¤êÃÍ
     
abs(x) Ǥ°Õ x ¤ÎÀäÂÐÃÍ, | x| ; Ʊ¤¸·¿
abs(x) Ê£ÁÇ¿ô x ¤ÎŤµ, $ \sqrt{{{\mbox{real}(x)^{2} +
\mbox{imag}(x)^{2}}}}$
acos(x) Ǥ°Õ cos-1x (¥¢¡¼¥¯¥³¥µ¥¤¥ó)
acosh(x) Ǥ°Õ ¥é¥¸¥¢¥ó¤Ç¤Î cosh-1x (µÕÁжÊ;¸¹)
airy(x) Ǥ°Õ ¥¨¥¢¥ê¡¼´Ø¿ô Ai(x)
arg(x) Ê£ÁÇ¿ô x ¤ÎÊгÑ
asin(x) Ǥ°Õ sin-1x (¥¢¡¼¥¯¥µ¥¤¥ó)
asinh(x) Ǥ°Õ ¥é¥¸¥¢¥ó¤Ç¤Î sinh-1x (µÕÁжÊÀµ¸¹)
atan(x) Ǥ°Õ tan-1x (¥¢¡¼¥¯¥¿¥ó¥¸¥§¥ó¥È)
atan2(y,x) À°¿ô¤Þ¤¿¤Ï¼Â¿ô tan-1(y/x) (¥¢¡¼¥¯¥¿¥ó¥¸¥§¥ó¥È)
atanh(x) Ǥ°Õ ¥é¥¸¥¢¥ó¤Ç¤Î tanh-1x (µÕÁжÊÀµÀÜ)
EllipticK(k) ¼Â¿ô k $ \in$ (-1:1) K(k) Âè 1 ¼ï´°Á´ÂʱßÀÑʬ
EllipticE(k) ¼Â¿ô k $ \in$ [-1:1] E(k) Âè 2 ¼ï´°Á´ÂʱßÀÑʬ
EllipticPi(n,k) ¼Â¿ô n< 1, ¼Â¿ô k $ \in$ (-1:1) $ \Pi$(n, k) Âè 3 ¼ï´°Á´ÂʱßÀÑʬ
besj0(x) À°¿ô¤Þ¤¿¤Ï¼Â¿ô j0 ¥Ù¥Ã¥»¥ë´Ø¿ô (0 ¼¡¥Ù¥Ã¥»¥ë´Ø¿ô)
besj1(x) À°¿ô¤Þ¤¿¤Ï¼Â¿ô j1 ¥Ù¥Ã¥»¥ë´Ø¿ô (1 ¼¡¥Ù¥Ã¥»¥ë´Ø¿ô)
besy0(x) À°¿ô¤Þ¤¿¤Ï¼Â¿ô y0 ¥Ù¥Ã¥»¥ë´Ø¿ô (0 ¼¡¥Î¥¤¥Þ¥ó´Ø¿ô)
besy1(x) À°¿ô¤Þ¤¿¤Ï¼Â¿ô y1 ¥Ù¥Ã¥»¥ë´Ø¿ô (1 ¼¡¥Î¥¤¥Þ¥ó´Ø¿ô)
ceil(x) Ǥ°Õ $ \lceil$x$ \rceil$ , x (¤Î¼ÂÉô) °Ê¾å¤ÎºÇ¾®¤ÎÀ°¿ô
cos(x) Ǥ°Õ x ¤Î¥³¥µ¥¤¥ó cos x
cosh(x) Ǥ°Õ cosh x , x ¤Î¥Ï¥¤¥Ñ¥Ü¥ê¥Ã¥¯¥³¥µ¥¤¥ó
erf(x) Ǥ°Õ erf(real(x)) , x ¤Î ¼ÂÉô¤Î¸íº¹´Ø¿ô
erfc(x) Ǥ°Õ erfc(real(x)) , 1.0 - (x ¤Î¼ÂÉô¤Î¸íº¹´Ø¿ô)
exp(x) Ǥ°Õ ex , x ¤Î»Ø¿ô´Ø¿ô
expint(n,x) À°¿ô n$ \ge$ 0 , ¼Â¿ô x$ \ge$ 0 En(x) = $ \int_{1}^{\infty}$t-ne-xt dt , x ¤Î»Ø¿ôÀÑʬ
floor(x) Ǥ°Õ $ \lfloor$x$ \rfloor$ , x (¤Î¼ÂÉô) °Ê²¼¤ÎºÇÂç¤ÎÀ°¿ô
gamma(x) Ǥ°Õ gamma(real(x)) , x ¤Î¼ÂÉô¤Î¥¬¥ó¥Þ´Ø¿ô
ibeta(p,q,x) Ǥ°Õ ibeta(real(p, q, x)) , p ,q ,x ¤Î¼ÂÉô¤ÎÉÔ´°Á´¥Ù¡¼¥¿´Ø¿ô
inverf(x) Ǥ°Õ x ¤Î¼ÂÉô¤ÎµÕ¸íº¹´Ø¿ô
igamma(a,x) Ǥ°Õ igamma(real(a, x)) , a ,x ¤Î¼ÂÉô¤ÎÉÔ´°Á´¥¬¥ó¥Þ´Ø¿ô
imag(x) Ê£ÁÇ¿ô x ¤Îµõ¿ôÉôʬ (¼Â¿ô)
invnorm(x) Ǥ°Õ x ¤Î¼ÂÉô¤ÎµÕÀµµ¬Ê¬ÉÛ´Ø¿ô
int(x) ¼Â¿ô x ¤ÎÀ°¿ôÉôʬ (0 ¤Ë¸þ¤«¤Ã¤Æ´Ý¤á)
lambertw(x) ¼Â¿ô Lambert W ´Ø¿ô
lgamma(x) Ǥ°Õ lgamma(real(x)) , x ¤Î¼ÂÉô¤Î¥¬¥ó¥ÞÂпô´Ø¿ô
log(x) Ǥ°Õ logex , x ¤Î¼«Á³Âпô (Äì e )
log10(x) Ǥ°Õ log10x , x ¤ÎÂпô (Äì 10 )
norm(x) Ǥ°Õ x ¤Î¼ÂÉô¤ÎÀµµ¬Ê¬ÉÛ (¥¬¥¦¥¹Ê¬ÉÛ) ´Ø¿ô
rand(x) À°¿ô ¶è´Ö [0:1] Æâ¤Îµ¿»÷Íð¿ôÀ¸À®´ï
real(x) Ǥ°Õ x ¤Î¼ÂÉô
sgn(x) Ǥ°Õ x > 0 ¤Ê¤é 1, x < 0 ¤Ê¤é -1, x = 0 ¤Ê¤é 0. x ¤ÎµõÉô¤Ï̵»ë
sin(x) Ǥ°Õ sin x , x ¤Î¥µ¥¤¥ó
sinh(x) Ǥ°Õ sinh x , x ¤Î¥Ï¥¤¥Ñ¥Ü¥ê¥Ã¥¯¥µ¥¤¥ó
sqrt(x) Ǥ°Õ $ \sqrt{{x}}$ , x ¤ÎÊ¿Êýº¬
tan(x) Ǥ°Õ tan x , x ¤Î¥¿¥ó¥¸¥§¥ó¥È
tanh(x) Ǥ°Õ tanh x , x ¤Î¥Ï¥¤¥Ñ¥Ü¥ê¥Ã¥¯¥¿¥ó¥¸¥§¥ó¥È
voigt(x,y) ¼Â¿ô Voigt/Faddeeva ´Ø¿ô $ {\frac{{y}}{{\pi}}}$$ \int$$ {\frac{{exp(t^2)}}{{(x-t)^2+y^2}}}$dt
     

ʸ»úÎó´Ø¿ô
´Ø¿ô °ú¿ô ÊÖ¤êÃÍ
gprintf("format",x,...) Ǥ°Õ gnuplot ¤Î½ñ¼°²òÀÏ´ï¤òŬÍѤ·¤¿·ë²Ì¤Îʸ»úÎó
sprintf("format",x,...) Ê£¿ô¸Ä C ¸À¸ì¤Î sprintf ¤ÎÊÖ¤¹Ê¸»úÎó
strlen("string") ʸ»úÎó ¥Ð¥¤¥Èñ°Ì¤Ç¤Îʸ»úÎó¤ÎŤµ (À°¿ô)
strstrt("string","key") ʸ»úÎó Éôʬʸ»úÎó "key" ¤¬¸½¤ì¤ëÀèƬ°ÌÃÖ
substr("string",beg,end) Ê£¿ô¸Ä ʸ»úÎó "string"[beg:end]
strftime("timeformat",t) Ǥ°Õ gnuplot ¤Ë¤è¤ë»þ¹ï²òÀÏ·ë²Ì¤Îʸ»úÎó
strptime("timeformat",s) ʸ»úÎó ʸ»úÎó s ¤òÊÑ´¹¤·¤¿ 2000 ǯ¤«¤é¤ÎÉÿô
system("command") ʸ»úÎó ¥·¥§¥ë¥³¥Þ¥ó¥É¤Î½ÐÎϤò»ý¤Äʸ»úÎó
word("string",n) ʸ»úÎó, À°¿ô ʸ»úÎó "string" ¤Î n ÈÖÌܤÎñ¸ì
words("string") ʸ»úÎó ʸ»úÎó "string" Ãæ¤Îñ¸ì¿ô

¾¤Î gnuplot ¤Î´Ø¿ô
´Ø¿ô °ú¿ô ÊÖ¤êÃÍ
column(x) À°¿ô ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë½èÍýÃæ¤Î x ÎóÌÜ
column(x) À°¿ô¤«Ê¸»úÎó ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë½èÍýÃæ¤Î x ÎóÌÜ
columnhead(x) À°¿ô ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ÎºÇ½é¤Î x ÎóÌÜÃæ¤Îʸ»úÎó
defined(X) ÊÑ¿ô̾ [Èó¿ä¾©] X ¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤ì¤Ð 1, ¤½¤¦¤Ç¤Ê¤±¤ì¤Ð 0
exists("X") ʸ»úÎó ÊÑ¿ô̾ X ¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤ì¤Ð 1, ¤½¤¦¤Ç¤Ê¤±¤ì¤Ð 0
stringcolumn(x) À°¿ô¤«Ê¸»úÎó ʸ»úÎó¤È¤·¤Æ¤Î x ÎóÌܤÎÆâÍÆ
timecolumn(x) À°¿ô ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë½èÍýÃæ¤Î x ÎóÌܤÎÆü»þ¥Ç¡¼¥¿
tm_hour(x) À°¿ô »þ
tm_mday(x) À°¿ô Æü
tm_min(x) À°¿ô ʬ
tm_mon(x) À°¿ô ·î
tm_sec(x) À°¿ô ÉÃ
tm_wday(x) À°¿ô ¤½¤Î½µ¤Î²¿ÆüÌÜ
tm_yday(x) À°¿ô ¤½¤Îǯ¤Î²¿ÆüÌÜ
tm_year(x) À°¿ô À¾Îñ
time(x) Ǥ°Õ ¸½ºß¤Î¥·¥¹¥Æ¥à»þ¹ï
valid(x) À°¿ô ¥Ç¡¼¥¿Ãæ¤Î column(x) ¤ÎÀµÅöÀ­
value("name") ʸ»úÎó ̾Á° name ¤ÎÊÑ¿ô¤Î¸½ºß¤ÎÃÍ

14.1.1 ¼ï¡¹¤ÎÂʱßÀÑʬ (elliptic integrals)

´Ø¿ô EllipticK(k) ¤Ï¡¢Âè 1 ¼ï´°Á´ÂʱßÀÑʬ¡¢¤¹¤Ê¤ï¤Á¡¢´Ø¿ô (1-(k*sin(p))**2)**(-0.5) ¤Î 0 ¤«¤é¦Ð/2 ¤Þ¤Ç¤ÎÈϰϤι­µÁÀÑʬ¤ÎÃͤòÊÖ ¤·¤Þ¤¹¡£k ¤ÎÄêµÁ°è¤Ï -1 ¤«¤é 1 ¤Ç¤¹ (ξü¤Ï´Þ¤Þ¤Ê¤¤)¡£

´Ø¿ô EllipticE(k) ¤Ï¡¢Âè 2 ¼ï´°Á´ÂʱßÀÑʬ¡¢¤¹¤Ê¤ï¤Á¡¢´Ø¿ô (1-(k*sin(p))**2)**0.5 ¤Î 0 ¤«¤é¦Ð/2 ¤Þ¤Ç¤ÎÈϰϤι­µÁÀÑʬ¤ÎÃͤòÊÖ¤· ¤Þ¤¹¡£k ¤ÎÄêµÁ°è¤Ï -1 ¤«¤é 1 ¤Ç¤¹ (ξü¤â´Þ¤à)¡£

´Ø¿ô EllipticPi(n,k) ¤Ï¡¢Âè 3 ¼ï´°Á´ÂʱßÀÑʬ¡¢¤¹¤Ê¤ï¤Á´Ø¿ô (1-(k*sin(p))**2)**(-0.5)/(1-n*sin(p)**2) ¤Î 0 ¤«¤é¦Ð/2 ¤Þ¤Ç¤ÎÈϰϤΠ¹­µÁÀÑʬ¤ÎÃͤòÊÖ¤·¤Þ¤¹¡£¥Ñ¥é¥á¡¼¥¿ n ¤Ï 1 ¤è¤ê¾®¤µ¤¯¡¢k ¤Ï -1 ¤È 1 ¤Î´Ö (ξü¤Ï´Þ¤Þ¤Ê¤¤) ¤Ç¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£ÄêµÁ¤è¤ê¡¢¤¹¤Ù¤Æ¤ÎÀµ¤Î k ¤ËÂФ· EllipticPi(0,k) == EllipticK(k) ¤Ç¤¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

14.1.2 Íð¿ô¤ÎÀ¸À® (random)

´Ø¿ô rand() ¤Ï 0 ¤È 1 ¤Î´Ö¤Îµ¿»÷Íð¿ôÎó¤òÀ¸À®¤·¤Þ¤¹¡£¤³¤ì¤Ï°Ê²¼¤«¤é¤Î¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤Æ¤¤¤Þ¤¹: P. L'Ecuyer and S. Cote, "Implementing arandom number package with splitting facilities", ACM Transactions onMathematical Software, 17:98-111 (1991).


     rand(0)     ÆâÉô¤Ë»ý¤Ä 2 ¤Ä¤Î 32bit ¤Î¼ï (seed) ¤Î¸½ºß¤ÎÃͤ«¤éÀ¸
                 À®¤µ¤ì¤ë [0:1] ¶è´ÖÆâ¤Îµ¿»÷Íð¿ôÃͤòÊÖ¤¹
     rand(-1)    2 ¤Ä¤Î¼ï¤ÎÃͤòɸ½àÃͤËÌ᤹
     rand(x)     0 < x < 2^31-1 ¤ÎÀ°¿ô¤Ê¤é¼ï¤ÎξÊý¤ò x ¤ËÀßÄꤹ¤ë
     rand({x,y}) 0 < x,y < 2^31-1 ¤ÎÀ°¿ô¤Ê¤é seed1 ¤ò x ¤Ë seed2 ¤ò y
                 ¤ËÀßÄꤹ¤ë

14.1.3 Value

A ¤¬¥æ¡¼¥¶¡¼ÄêµÁÊÑ¿ô¤Î̾Á°¤Ç¤¢¤ì¤Ð¡¢B = value("A") ¤Ï»ö¼Â¾å B = A ¤ÈÁ´ ¤¯Æ±¤¸¤Ç¤¹¡£¤³¤ì¤Ï¡¢ÊÑ¿ô¤Î̾Á°¼«¿È¤¬Ê¸»úÎóÊÑ¿ô¤Ë¼ý¤á¤é¤ì¤Æ¤¤¤ë¾ì¹ç¤ËÍ­ ÍѤǤ¹¡£°Ê²¼»²¾È: user-defined variables (14.5)¡£¤³¤ì¤Ï¡¢ÊÑ¿ô̾¤ò¥Ç¡¼¥¿¥Õ¥¡ ¥¤¥ë¤«¤éÆɤ߼è¤ë¤³¤È¤â²Äǽ¤Ë¤·¤Þ¤¹¡£°ú¿ô¤¬¿ô¼°¤Ç¤¢¤ë¾ì¹ç¡¢value() ¤Ï¤½ ¤Î¿ô¼°¤ÎÃͤòÊÖ¤·¤Þ¤¹¡£°ú¿ô¤¬Ê¸»úÎó¤Ç¡¢ÄêµÁ¤µ¤ì¤Æ¤¤¤ëÊÑ¿ô¤ËÂбþ¤¹¤ë¤â¤Î ¤¬¤Ê¤¤¾ì¹ç¡¢value() ¤Ï NaN ¤òÊÖ¤·¤Þ¤¹¡£

14.2 ±é»»»Ò (Operators)

gnuplot ¤Î±é»»»Ò¤Ï¡¢C ¸À¸ì¤Î±é»»»Ò¤È¤Û¤ÜƱ¤¸¤Ç¤¹¤¬¡¢ÆäËÃí°Õ¤¬¤Ê¤±¤ì ¤ÐÁ´¤Æ¤Î±é»»»Ò¤¬À°¿ô¡¢¼Â¿ô¡¢Ê£ÁÇ¿ô¤Î°ú¿ô¤ò¼è¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤Þ¤¿¡¢ FORTRAN ¤Ç»È¤¨¤ë ** (Îß¾è) ±é»»»Ò¤â¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

±é»»¤Îɾ²Á¤Î½ç½ø¤òÊѹ¹¤¹¤ë¤Ë¤Ï¤«¤Ã¤³¤ò»È¤¤¤Þ¤¹¡£

14.2.1 ñ¹à±é»»»Ò (Unary)

°Ê²¼¤Ï¡¢Ã±¹à±é»»»Ò¤È¤½¤Î»ÈÍÑË¡¤Î°ìÍ÷¤Ç¤¹:

ñ¹à±é»»»Ò
µ­¹æ Îã ÀâÌÀ
- -a ¥Þ¥¤¥Ê¥¹Éä¹æ
+ +a ¥×¥é¥¹Éä¹æ (²¿¤â¤·¤Ê¤¤)
~ ~a * 1 ¤ÎÊä¿ô (¥Ó¥Ã¥Èȿž)
! !a * ÏÀÍýŪÈÝÄê
! a! * ³¬¾è
$ $3 * `using` Æâ¤Ç¤Î°ú¿ô/Îó»ØÄê

ÀâÌÀ¤ËÀ±°õ (*) ¤Î¤Ä¤¤¤¿±é»»»Ò¤Î°ú¿ô¤ÏÀ°¿ô¤Ç¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£

±é»»»Ò¤ÎÍ¥Àè½ç°Ì¤Ï Fortran ¤ä C ¤ÈƱ¤¸¤Ç¤¹¡£¤½¤ì¤é¤Î¸À¸ìƱÍÍ¡¢±é»»¤Îɾ ²Á¤µ¤ì¤ë½ç½ø¤òÊѤ¨¤ë¤¿¤á¤Ë¤«¤Ã¤³¤¬»È¤ï¤ì¤Þ¤¹¡£¤è¤Ã¤Æ -2**2 = -4 ¤Ç¡¢ (-2)**2 = 4 ¤Ç¤¹¡£

³¬¾è±é»»»Ò¤Ï¡¢Â礭¤ÊÃͤòÊÖ¤»¤ë¤è¤¦¤Ë¼Â¿ô¤òÊÖ¤·¤Þ¤¹¡£

14.2.2 Æó¹à±é»»»Ò (Binary)

°Ê²¼¤Ï¡¢Æó¹à±é»»»Ò¤È¤½¤Î»ÈÍÑË¡¤Î°ìÍ÷¤Ç¤¹:

Æó¹à±é»»»Ò
µ­¹æ Îã ÀâÌÀ
** a**b Îß¾è
* a*b ÀÑ
/ a/b ¾¦
% a%b * ;¤ê
+ a+b ÏÂ
- a-b º¹
== a==b Åù¤·¤¤
!= a!=b Åù¤·¤¯¤Ê¤¤
< a<b ¤è¤ê¾®¤µ¤¤
<= a<=b °Ê²¼
> a>b ¤è¤êÂ礭¤¤
>= a>=b °Ê¾å
& a&b * ¥Ó¥Ã¥ÈÀÑ (AND)
^ a^b * ¥Ó¥Ã¥ÈÇÓ¾ŪÏÀÍýÏ (XOR)
| a|b * ¥Ó¥Ã¥ÈÏ (OR)
&& a&&b * ÏÀÍýŪ AND
|| a||b * ÏÀÍýŪ OR
= a = b ÂåÆþ
, (a,b) Îß¼¡É¾²Á
. A.B ʸ»úÎó¤ÎÏ¢·ë
eq A eq B ʸ»úÎó¤¬Åù¤·¤¤
ne A ne B ʸ»úÎó¤¬Åù¤·¤¯¤Ê¤¤

ÀâÌÀ¤ËÀ±°õ (*) ¤Î¤Ä¤¤¤¿±é»»»Ò¤Î°ú¿ô¤ÏÀ°¿ô¤Ç¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ Âçʸ»ú¤Î A,B ¤Ï±é»»»Ò¤¬Ê¸»úÎó°ú¿ô¤òÍ׵᤹¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£

ÏÀÍý±é»»»Ò¤Î AND (&&) ¤È OR (| | ) ¤Ï C ¸À¸ìƱÍͤËɬÍ׺Ǿ®¸Â¤Îɾ²Á¤·¤«¤· ¤Þ¤»¤ó¡£¤¹¤Ê¤ï¤Á¡¢&& ¤ÎÂè 2 °ú¿ô¤Ï¡¢Âè 1 °ú¿ô¤¬µ¶¤Ê¤é¤Ðɾ²Á¤µ¤ì¤Þ¤» ¤ó¤·¡¢| | ¤ÎÂè 2 °ú¿ô¤Ï¡¢Âè 1 °ú¿ô¤¬¿¿¤Ê¤é¤Ðɾ²Á¤µ¤ì¤Þ¤»¤ó¡£

Îß¼¡É¾²Á (,) ¤Ï¡¢¥«¥Ã¥³¤ÎÃæ¤Ç¤Î¤ßɾ²Á¤µ¤ì¡¢º¸¤«¤é±¦¤Ø½ç¤Ë¼Â¹Ô¤¹¤ë¤³¤È ¤¬Êݾڤµ¤ì¡¢ºÇ¤â±¦¤Î¼°¤ÎÃͤ¬ÊÖ¤µ¤ì¤Þ¤¹¡£

14.2.3 »°¹à±é»»»Ò (Ternary)

°ì¤Ä¤À¤±»°¹à±é»»»Ò¤¬¤¢¤ê¤Þ¤¹:

»°¹à±é»»»Ò
µ­¹æ Îã ÀâÌÀ
?: a?b:c »°¹à±é»»»Ò

»°¹à±é»»»Ò¤Ï C ¤Î¤â¤Î¤ÈƱ¤¸Æ¯¤­¤ò¤·¤Þ¤¹¡£ºÇ½é¤Î°ú¿ô (a) ¤ÏÀ°¿ô¤Ç¤Ê¤±¤ì ¤Ð¤¤¤±¤Þ¤»¤ó¡£¤³¤ÎÃͤ¬É¾²Á¤µ¤ì¡¢¤½¤ì¤¬¿¿ (¥¼¥í¤Ç¤Ê¤¤) ¤Ê¤é¤Ð 2 ÈÖÌܤΠ°ú¿ô (b) ¤¬É¾²Á¤µ¤ì¤½¤ÎÃͤ¬ÊÖ¤µ¤ì¡¢¤½¤¦¤Ç¤Ê¤±¤ì¤Ð 3 ÈÖÌܤΰú¿ô (c) ¤¬ ɾ²Á¤µ¤ì¡¢¤½¤ÎÃͤ¬ÊÖ¤µ¤ì¤Þ¤¹¡£

»°¹à±é»»»Ò¤Ï¡¢¶èʬŪ¤ËÄêµÁ¤µ¤ì¤¿´Ø¿ô¤ä¡¢¤¢¤ë¾ò·ï¤¬Ëþ¤¿¤µ¤ì¤¿¾ì¹ç¤Ë¤Î¤ß ÅÀ¤òÉÁ²è¤¹¤ë¡¢¤È¤¤¤Ã¤¿¤³¤È¤ò¹Ô¤Ê¤¦¾ì¹ç¤ËÍ­ÍѤǤ¹¡£

Îã:

0 < = x < 1 ¤Ç¤Ï sin(x) ¤Ë¡¢1 < = x < 2 ¤Ç¤Ï 1/x ¤ËÅù¤·¤¯¤Æ¡¢¤½¤ì°Ê³°¤Îx ¤Ç¤ÏÄêµÁ¤µ¤ì¤Ê¤¤´Ø¿ô¤òÉÁ²è:

     f(x) = 0<=x && x<1 ? sin(x) : 1<=x && x<2 ? 1/x : 1/0
     plot f(x)

gnuplot ¤Ï̤ÄêµÁÃͤËÂФ·¤Æ¤Ï²¿¤âɽ¼¨¤»¤º¤Ë¤¿¤À̵»ë¤¹¤ë¤Î¤Ç¡¢ºÇ¸å¤Î¾ì ¹ç¤Î´Ø¿ô (1/0) ¤ÏÅÀ¤ò²¿¤â½ÐÎϤ·¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£¤Þ¤¿¡¢¤³¤Î ´Ø¿ôÉÁ²è¤ÎÉÁ²è¥¹¥¿¥¤¥ë¤¬ lines (ÀþÉÁ²è) ¤Î¾ì¹ç¡¢ÉÔϢ³ÅÀ (x=1) ¤Î½ê¤â Ϣ³´Ø¿ô¤È¤·¤ÆÀþ¤¬·ë¤Ð¤ì¤Æ¤·¤Þ¤¦¤³¤È¤Ë¤âÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£¤½¤ÎÅÀ¤òÉÔÏ¢ ³¤Ë¤Ê¤ë¤è¤¦¤Ë¤¹¤ë¤Ë¤Ï¡¢´Ø¿ô¤ò 2 ¤Ä¤ÎÉôʬ¤½¤ì¤¾¤ì¤Ëʬ¤±¤Æ¤¯¤À¤µ¤¤ (¤³ ¤Î¤è¤¦¤Ê¾ì¹ç¡¢ÇÞ²ðÊÑ¿ô´Ø¿ô¤ò»È¤¦¤Î¤¬ÊØÍø¤Ç¤¹)¡£

¥Õ¥¡¥¤¥ë 'file' ¤Î¥Ç¡¼¥¿¤Ç¡¢4 ÎóÌܤΥǡ¼¥¿¤¬Éé¤Ç¤Ê¤¤¤È¤­¤À¤±¡¢1 ÎóÌܤΠ¥Ç¡¼¥¿¤Ë´Ø¤¹¤ë 2 ÎóÌÜ¤È 3 ÎóÌܤΥǡ¼¥¿¤ÎÊ¿¶ÑÃͤòÉÁ²è:


     plot 'file' using 1:( $4<0 ? 1/0 : ($2+$3)/2 )

using ¤Î½ñ¼°¤ÎÀâÌÀ¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È: plot datafile using (72.3.8)¡£

14.3 ÏÂ (Summation)

Ï¤μ°¤Ï¡¢°Ê²¼¤Î·Á¼°¤Çɽ¤·¤Þ¤¹:
     sum [<var> = <start> : <end>] <expression>

¤³¤³¤Ç < var> ¤Ï¡¢< start> ¤«¤é < end> ¤Þ¤Ç¤ÎÀ°¿ôÃͤò½ç¤Ë¼è¤ëÀ°¿ôÊÑ¿ô¤È¤· ¤Æ°·¤ï¤ì¤Þ¤¹¡£¤½¤Î³ÆÃͤËÂФ·¤Æ¡¢¼° < expression> ¤ÎÃͤ¬¹ç·×ÃͤËÄɲ䵤졢 ºÇ½ªÅª¤Ê¹ç·×Ãͤ¬¤³¤ÎÏ¤μ°¤ÎÃͤȤʤê¤Þ¤¹¡£ Îã:
     print sum [i=1:10] i
         55.
     # °Ê²¼¤Ï plot 'data' using 1:($2+$3+$4+$5+$6+...) ¤ÈƱÅù
     plot 'data' using 1 : (sum [col=2:MAXCOL] column(col))

< expression> ¤Ï¡¢É¬¤º¤·¤âÊÑ¿ô < var> ¤ò´Þ¤àɬÍפϤ¢¤ê¤Þ¤»¤ó¡£< start> ¤È < end> ¤ÏÊÑ¿ôÃͤä¿ô¼°¤Ç»ØÄê¤â¤Ç¤­¤Þ¤¹¤¬¡¢¤½¤ì¤é¤ÎÃͤÏưŪ¤ËÊѹ¹¤¹¤ë¤³¤È ¤Ï¤Ç¤­¤Þ¤»¤ó¡£¤½¤¦¤Ç¤Ê¤¤¤ÈÉûºîÍѤ¬µ¯¤³¤êÆÀ¤Þ¤¹¡£< end> ¤¬ < start> ¤è¤ê ¾®¤µ¤¤¾ì¹ç¤Ï¡¢Ï¤ÎÃÍ¤Ï 0 ¤È¤Ê¤ê¤Þ¤¹¡£

14.4 ÄêµÁºÑ¤ßÊÑ¿ô (Gnuplot-defined variables)

gnuplot ¤Ï¡¢¥×¥í¥°¥é¥à¤Î¸½ºß¤ÎÆâÉô¾õÂÖ¤ÈľÁ°¤ÎÉÁ²è¤òÈ¿±Ç¤¹¤ë¤è¤¦¤ÊÆÉ¤ß ½Ð¤·ÀìÍѤÎÊÑ¿ô¤ò¤¤¤¯¤Ä¤«»ý¤Ã¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤é¤ÎÊÑ¿ô¤Î̾Á°¤Ï¡¢Î㤨¤Ð GPVAL_TERM, GPVAL_X_MIN, GPVAL_X_MAX, GPVAL_Y_MIN ¤Î¤è¤¦¤Ë "GPVAL_" ¤Ç »Ï¤Þ¤ê¤Þ¤¹¡£¤³¤ì¤é¤¹¤Ù¤Æ¤Î°ìÍ÷¤È¤½¤ÎÃͤò¸«¤ë¤Ë¤Ï¡¢show variables all ¤ÈÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£¤¿¤À¤·¡¢¼´¤Î¥Ñ¥é¥á¡¼¥¿¤Ë´ØÏ¢¤¹¤ëÃÍ (ÈÏ°Ï¡¢Âпô¼´¤Ç ¤¢¤ë¤«Åù) ¤Ï¡¢¸½ºß set ¤·¤¿¤â¤Î¤Ç¤Ï¤Ê¤¯¡¢ºÇ¸å¤ËÉÁ²è¤µ¤ì¤¿¤â¤Î¤¬»ÈÍÑ ¤µ¤ì¤Þ¤¹¡£

Îã: ÅÀ [X,Y] ¤Î¥¹¥¯¥ê¡¼¥óÈæ¤Ç¤ÎºÂɸ¤ò·×»»¤¹¤ëÊýË¡

    GRAPH_X = (X - GPVAL_X_MIN) / (GPVAL_X_MAX - GPVAL_X_MIN)
    GRAPH_Y = (Y - GPVAL_Y_MIN) / (GPVAL_Y_MAX - GPVAL_Y_MIN)
    SCREEN_X = GPVAL_TERM_XMIN + GRAPH_X * (GPVAL_TERM_XMAX - GPVAL_TERM_XMIN)
    SCREEN_Y = GPVAL_TERM_YMIN + GRAPH_Y * (GPVAL_TERM_YMAX - GPVAL_TERM_YMIN)
    FRAC_X = SCREEN_X / GPVAL_TERM_XSIZE
    FRAC_Y = SCREEN_Y / GPVAL_TERM_YSIZE

Æɤ߽Ф·ÀìÍÑÊÑ¿ô GPVAL_ERRNO ¤Ï¡¢Ç¤°Õ¤Î gnuplot ¥³¥Þ¥ó¥É¤¬¤¢¤ë¥¨¥é¡¼¤Î ¤¿¤á¤ËÁ᤯½ª¤ï¤Ã¤Æ¤·¤Þ¤Ã¤¿¾ì¹ç¤Ë 0 ¤Ç¤Ê¤¤Ãͤ˥»¥Ã¥È¤µ¤ì¡¢Ä¾Á°¤Î¥¨¥é¡¼ ¥á¥Ã¥»¡¼¥¸¤Ïʸ»úÎóÊÑ¿ô GPVAL_ERRMSG ¤ËÊݸ¤µ¤ì¤Þ¤¹¡£GPVAL_ERRNO ¤È GPVAL_ERRMSG ¤Ï¡¢¥³¥Þ¥ó¥É reset errors ¤ò»È¤Ã¤Æ¥¯¥ê¥¢¤Ç¤­¤Þ¤¹¡£

mouse µ¡Ç½¤¬»È¤¨¤ëÂÐÏ÷¿Æþ½ÐÎÏ·Á¼°¤Ï¡¢"MOUSE_" ¤Ç»Ï¤Þ¤ëÆɤ߽Ф·ÀìÍÑ ÊÑ¿ô¤ò¤¤¤¯¤Ä¤«»ý¤Ã¤Æ¤¤¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: mouse variables (18.2)¡£

fit µ¡Ç½¤Ï¡¢"FIT_" ¤Ç»Ï¤Þ¤ë¤¤¤¯¤Ä¤«¤ÎÊÑ¿ô¤ò»ÈÍѤ·¤Þ¤¹¤Î¤Ç¡¢¤½¤Î¤è¤¦ ¤Ê̾Á°¤ò»È¤¦¤Î¤ÏÈò¤±¤ë¤Ù¤­¤Ç¤·¤ç¤¦¡£¤·¤«¤·¡¢fit ¤Î»ÈÍѤ˺ݤ·¤Æ¤Ï¡¢Îã ¤¨¤Ð "FIT_LIMIT" ¤Î¤è¤¦¤ËºÆÄêµÁ¤ò¤¹¤ëɬÍפ¬¤¢¤ë¤è¤¦¤ÊÊÑ¿ô¤Ï¤¢¤ê¤Þ¤¹¡£ set fit errorvariables ¤È¤¹¤ë¤È³ÆÅö¤Æ¤Ï¤áÊÑ¿ô¤Î¥¨¥é¡¼¤Ï¡¢¤½¤Î¥Ñ¥é¥á ¡¼¥¿Ì¾¤Ë "_err" ¤òÄɲä·¤¿ÊÑ¿ô¤ËÊݸ¤µ¤ì¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: fit (64)¡£

°Ê²¼¤â»²¾È: user-defined variables (14.5), reset errors (80),mouse variables (18.2), fit (64)¡£

14.5 ¥æ¡¼¥¶ÄêµÁ¤ÎÊÑ¿ô¤È´Ø¿ô (User-defined)

¿·¤¿¤Ê¥æ¡¼¥¶ÄêµÁÊÑ¿ô¤È 1 ¸Ä¤«¤é 12 ¸Ä¤Þ¤Ç¤Î°ú¿ô¤ò»ý¤Ä¥æ¡¼¥¶ÄêµÁ´Ø¿ô¤ò¡¢ Ǥ°Õ¤Î¾ì½ê¤ÇÄêµÁ¤·¤¿¤ê»È¤Ã¤¿¤ê¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤½¤ì¤Ï plot ¥³¥Þ¥ó ¥É¾å¤Ç¤â²Äǽ¤Ç¤¹¡£

¥æ¡¼¥¶ÄêµÁ´Ø¿ô½ñ¼°:

     <func-name>( <dummy1> {,<dummy2>} ... {,<dummy12>} ) = <expression>

¤³¤³¤Ç < expression> ¤Ï²¾ÊÑ¿ô < dummy1> ¤«¤é < dummy12> ¤Çɽ¤µ¤ì¤ë¿ô¼°¤Ç¤¹¡£

¥æ¡¼¥¶ÄêµÁÊÑ¿ô½ñ¼°:

     <variable-name> = <constant-expression>

Îã:

     w = 2
     q = floor(tan(pi/2 - 0.1))
     f(x) = sin(w*x)
     sinc(x) = sin(pi*x)/(pi*x)
     delta(t) = (t == 0)
     ramp(t) = (t > 0) ? t : 0
     min(a,b) = (a < b) ? a : b
     comb(n,k) = n!/(k!*(n-k)!)
     len3d(x,y,z) = sqrt(x*x+y*y+z*z)
     plot f(x) = sin(x*a), a = 0.2, f(x), a = 0.4, f(x)


     file = "mydata.inp"
     file(n) = sprintf("run_%d.dat",n)

ºÇ¸å¤Î 2 ¹Ô¤ÎÎã¤Ï¡¢¥æ¡¼¥¶ÄêµÁʸ»úÎóÊÑ¿ô¤È¡¢¥æ¡¼¥¶ÄêµÁʸ»úÎó´Ø¿ô¤ò°ÕÌ£ ¤·¤Æ¤¤¤Þ¤¹¡£

ÊÑ¿ô pi (3.14159...) ¤È NaN (IEEE Èó¿ô ("Not a Number")) ¤Ï¤¢¤é¤« ¤¸¤áÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤é¤¬É¬Íפʤ±¤ì¤Ð¡¢Â¾¤Î¤â¤Î¤ËºÆÄêµÁ¤¹¤ë¤³¤È¤â ²Äǽ¤Ç¤¹¤·¡¢°Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ¸µ¤ÎÃͤËÉüµ¢¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹:


     NaN = GPVAL_NaN
     pi  = GPVAL_pi

¾¤Ë¤â¤¤¤¯¤Ä¤«¤ÎÊÑ¿ô¤¬¡¢Î㤨¤ÐÂÐÏ÷¿Æþ½ÐÎÏ·Á¼°¤Ç¤Î¥Þ¥¦¥¹Áàºî¤äÅö¤Æ¤Ï¤á (fit) ¤Ê¤É¤Î gnuplot ¤ÎÆ°ºî¾õÂ֤˱þ¤¸¤ÆÄêµÁ¤µ¤ì¤Þ¤¹¡£¾ÜºÙ¤Ï °Ê²¼»²¾È: gnuplot-defined variables (14.4)¡£

¤¢¤ëÊÑ¿ô V ¤¬´û¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤Ï¡¢¼° exists("V") ¤Ç¥Á¥§¥Ã¥¯¤Ç ¤­¤Þ¤¹¡£Îã:

     a = 10
     if (exists("a")) print "a is defined"
     if (!exists("b")) print "b is not defined"

ÊÑ¿ô̾¤ä´Ø¿ô̾¤Î̿̾µ¬Â§¤Ï¡¢ÂçÄñ¤Î¥×¥í¥°¥é¥ß¥ó¥°¸À¸ì¤ÈƱ¤¸¤Ç¡¢ÀèƬ¤Ï¥¢ ¥ë¥Õ¥¡¥Ù¥Ã¥È¤Ç¡¢¤½¤Î¸å¤Îʸ»ú¤Ï¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¡¢¿ô»ú¡¢"_" ¤¬»È¤¨¤Þ¤¹¡£

³Æ´Ø¿ô¤ÎÄêµÁ¼°¤Ï¡¢'GPFUN_' ¤È¤¤¤¦ÀÜƬ¼­¤ò»ý¤ÄÆÃÊ̤Êʸ»úÎóÃÍÊÑ¿ô¤È¤·¤Æ ÍøÍѤǤ­¤Þ¤¹¡£

Îã:

     set label GPFUN_sinc at graph .05,.95

°Ê²¼»²¾È: show functions (82.25), functions (72.6), gnuplot-defined variables (14.4),macros (23.2), value (14.1.3)¡£

15 ¥Õ¥©¥ó¥È

gnuplot ¤½¤ì¼«¿È¤Ë¤Ï¤É¤ó¤Ê¥Õ¥©¥ó¥È¤â´Þ¤Þ¤ì¤Æ¤Ï¤ª¤é¤º¡¢³°Éô¥Õ¥©¥ó¥È½èÍý ¤ËÍê¤Ã¤Æ¤¤¤ë¤À¤±¤Ç¡¢¤½¤ÎºÙÉô¤ÏÈᤷ¤¤¤³¤È¤Ë½ÐÎÏ·Á¼°Ëè¤Ë°Û¤Ê¤ê¤Þ¤¹¡£¤³¤³ ¤Ç¤Ï¡¢Ê£¿ô¤Î½ÐÎÏ·Á¼°¤ËŬÍѤµ¤ì¤ë¥Õ¥©¥ó¥Èµ¡¹½¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Þ¤¹¡£¤³¤³¤Ë ¾å¤²¤¿¤â¤Î°Ê³°¤Î½ÐÎÏ·Á¼°¤Ç¤Î¥Õ¥©¥ó¥È¤Î»ÈÍѤ˴ؤ·¤Æ¤Ï¡¢¤½¤Î½ÐÎÏ·Á¼°¤Î¥É¥­¥å¥á¥ó¥È¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

15.1 Cairo (pdfcairo, pngcairo, epscairo, wxt ½ÐÎÏ·Á¼°)

¤¹¤ß¤Þ¤»¤ó¡£¤³¤Î¥»¥¯¥·¥ç¥ó¤Ï¤Þ¤À¤Ç¤­¤Æ¤¤¤Þ¤»¤ó¡£ ¤³¤ì¤é¤Î½ÐÎÏ·Á¼°¤Ï¡¢¥Õ¥©¥ó¥È¤Î¸¡º÷¤È¥¢¥¯¥»¥¹¤Ë³°Éô¤Î fontconfig ¥Ä¡¼¥ë ·²¤ò»ÈÍѤ·¤Þ¤¹¡£

fontconfig ¥æ¡¼¥¶¥Þ¥Ë¥å¥¢¥ë

¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤ì¤Ï¡¢gnuplot ¤Ç°ìÈÌŪ¤Ê̾Á°¤ä¥µ¥¤¥º¤Ç¥Õ¥©¥ó¥È¤ò Í׵᤹¤ë¤³¤È¤ò²Äǽ¤Ë¤·¡¢É¬Íפʤé¤Ð fontconfig ¤ËƱÅù¤Î¥Õ¥©¥ó¥È¤òÂåÍѤµ ¤»¤ë¤³¤È¤â¤Ç¤­¤ë¤Î¤Ç¡¢Ä̾ï¤Ï¤³¤ì¤Ç½½Ê¬¤Ç¤·¤ç¤¦¡£°Ê²¼¤Ï¡¢Â¿Ê¬¤¤¤º¤ì¤âµ¡Ç½¤·¤Þ¤¹:

    set term pdfcairo font "sans,12"
    set term pdfcairo font "Times,12"
    set term pdfcairo font "Times-New-Roman,12"

15.2 Gd (png, gif, jpeg terminals)

png, gif, jpeg ½ÐÎÏ·Á¼°¤Î¥Õ¥©¥ó¥È½èÍý¤Ï¡¢³°Éô¥é¥¤¥Ö¥é¥ê libgd ¤Ë¤è¤Ã¤Æ ¹Ô¤ï¤ì¤Þ¤¹¡£libgd ¤Ï¡¢¼¡¤Î 5 ¼ïÎà¤Î´ðËÜ¥Õ¥©¥ó¥È¤òľÀÜÄ󶡤·¤Æ¤¤¤Þ¤¹: tiny (5x8 ¥Ô¥¯¥»¥ë), small (6x12 ¥Ô¥¯¥»¥ë), medium, (7x13 Bold), large (8x16), giant (9x15 ¥Ô¥¯¥»¥ë)¡£¤³¤ì¤é¤Î¥Õ¥©¥ó¥È¤ÏÂ礭¤µ¤òÊÑ ¹¹¤·¤¿¤ê²óž¤·¤¿¤ê¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£»ÈÍѤ¹¤ëºÝ¤Ï¡¢font ¥­¡¼¥ï¡¼ ¥É¤ÎÂå¤ï¤ê¤Ë¾å¤Î¥­¡¼¥ï¡¼¥É¤ò»ØÄꤷ¤Þ¤¹¡£Îã:
    set term png tiny

¿¤¯¤Î¥·¥¹¥Æ¥à¤Ç¡¢libgd ¤Ï Adobe Type 1 ¥Õ¥©¥ó¥È (*.pfa) ¤È TrueType ¥Õ¥©¥ó¥È¤Ø¤Î¥¢¥¯¥»¥¹¤âÄ󶡤·¤Þ¤¹¡£¤½¤Î¾ì¹ç¥Õ¥©¥ó¥È¼«¿È¤Î̾Á°¤Ç¤Ï¤Ê¤¯¡¢ ¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò¡¢"< face> {,< pointsize> }" ¤Î·Á¼°¤ÇÍ¿¤¨¤Þ¤¹¡£ ¤³¤³¤Ç¡¢< face> ¤Ï¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤Î¥Õ¥ë¥Ñ¥¹Ì¾¤«¡¢¤Þ¤¿¤Ï´Ä¶­ÊÑ¿ô GDFONTPATH ¤Ç»Ø¼¨¤µ¤ì¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Î°ì¤Ä¤ÎÃæ¤Î¥Õ¥¡¥¤¥ë̾¤ÎÀèƬÉôʬ¡¢ ¤Î¤¤¤º¤ì¤«¤Ç¤¹¡£¤è¤Ã¤Æ¡¢'set term png font "Face"' ¤Ï¡¢ < ¤¢¤ë¥Ç¥£¥ì¥¯¥È¥ê> /Face.ttf ¤« < ¤¢¤ë¥Ç¥£¥ì¥¯¥È¥ê> /Face.pfa ¤È¤¤¤¦¥Õ¥¡ ¥¤¥ë̾¤Î¥Õ¥©¥ó¥È¤òõ¤½¤¦¤È¤·¤Þ¤¹¡£Î㤨¤Ð¡¢GDFONTPATH ¤Ë /usr/local/fonts/ttf:/usr/local/fonts/pfa ¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢°Ê²¼¤Î¥³¥Þ¥ó¥É¤Î 2 ¤Ä¤º¤Ä¤Ï¤¤¤º¤ì¤âƱ¤¸¤³¤È¤Ë¤Ê¤ê¤Þ¤¹:

    set term png font "arial"
    set term png font "/usr/local/fonts/ttf/arial.ttf"
    set term png font "Helvetica"
    set term png font "/usr/local/fonts/pfa/Helvetica.pfa"

¥Ç¥Õ¥©¥ë¥È¤Î¥Õ¥©¥ó¥È¥µ¥¤¥º¤âƱ»þ¤Ë»ØÄꤹ¤ë¤Ë¤Ï:
    set term png font "arial,11"

TrueType ¤È Adobe Type 1 ¥Õ¥©¥ó¥È¤Ï¡¢´°Á´¤ËÂ礭¤µ¤ÎÊѹ¹¤ä²óž¤¬²Äǽ¤Ç ¤¹¡£"set term" ¥³¥Þ¥ó¥É¤Ç¥Õ¥©¥ó¥È¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢gnuplot ¤ÏÊ̤Π¥Ç¥Õ¥©¥ë¥È¥Õ¥©¥ó¥È¤ÎÀßÄ꤬¤¢¤ë¤«¤É¤¦¤«¤òÄ´¤Ù¤ë¤¿¤á¤Ë´Ä¶­ÊÑ¿ô GNUPLOT_DEFAULT_GDFONT ¤ò»²¾È¤·¤Þ¤¹¡£

15.3 Postscript (¥«¥×¥»¥ë²½ postscript *.eps ¤â)

PostScript ¥Õ¥©¥ó¥È½èÍý¤Ï¡¢¥×¥ê¥ó¥¿¤«É½¼¨¥½¥Õ¥È¤¬¹Ô¤¤¤Þ¤¹¡£¤â¤·¡¢¤¢¤Ê ¤¿¤Î¥³¥ó¥Ô¥å¡¼¥¿¤Ë¥Õ¥©¥ó¥È¤¬°ìÀڤʤ¯¤Æ¤â¡¢gnuplot ¤ÏÀµ¤·¤¤ PostScript ¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤Ï¥«¥×¥»¥ë²½ PostScript (*.eps) ¥Õ¥¡¥¤¥ë¤òÀ¸À®¤Ç¤­¤Þ¤¹¡£ gnuplot ¤Ïñ¤Ë½ÐÎÏ¥Õ¥¡¥¤¥ëÃæ¤Ë¥Õ¥©¥ó¥È¤ò̾Á°¤È¤·¤ÆÆþ¤ì¤ë¤À¤±¤Ç¡¢¥×¥ê¥ó ¥¿¤äɽ¼¨¥½¥Õ¥È¤¬¤½¤Î̾Á°¤«¤é¥Õ¥©¥ó¥È¤ò¸«¤Ä¤±¤ë¤«¶á»÷¤¹¤ë¤³¤È¤ò²¾Äꤷ¤Æ ¤¤¤Þ¤¹¡£

PostScript ¥×¥ê¥ó¥¿¤äɽ¼¨¥½¥Õ¥È¤Ï¤¹¤Ù¤Æ¡¢É¸½àŪ¤Ê Adobe ¥Õ¥©¥ó¥È¥»¥Ã¥È Times-Roman, Helvetica, Courier, Symbol ¤ÏÃΤäƤ¤¤ë¤Ï¤º¤Ç¤¹¡£ ¿ʬ¤½¤Î¾¤Ë¤â¿¤¯¤Î¥Õ¥©¥ó¥È¤¬»È¤¨¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤È»×¤¤¤Þ¤¹¤¬¡¢¤½¤ì ¤éÆÃÄê¤Î¥Õ¥©¥ó¥È¥»¥Ã¥È¤Ï¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à¤ä¥×¥ê¥ó¥¿¤ÎÀßÄê¤Ë°Í¸¤·¤Þ¤¹¡£ gnuplot ¤Ï¡¢¤½¤ì¤ÏÃΤê¤Þ¤»¤ó¤·µ¤¤Ë¤â¤·¤Þ¤»¤ó¡£gnuplot ¤¬ºîÀ®¤·¤¿ *.ps ¤ä *.eps ½ÐÎϤϡ¢¤¢¤Ê¤¿¤ÎÍ׵ᤷ¤¿¥Õ¥©¥ó¥È̾¤òñ¤Ë»ý¤Ã¤Æ¤¤¤ë¤À¤±¤Ç¤¹¡£

¤è¤Ã¤Æ¡¢

    set term postscript eps font "Times-Roman,12"

¤Ï¡¢¤¹¤Ù¤Æ¤Î¥×¥ê¥ó¥¿¤äɽ¼¨¥½¥Õ¥È¤ËŬÀڤʽÐÎϤòºîÀ®¤·¤Þ¤¹¡£

°ìÊý¡¢

    set term postscript eps font "Garamond-Premier-Pro-Italic"

¤Ï¡¢Àµ¤·¤¤ PostScript ¤ò´Þ¤à½ÐÎÏ¥Õ¥¡¥¤¥ë¤òºîÀ®¤·¤Þ¤¹¤¬¡¢¤½¤ì¤ÏÆüì¤Ê¥Õ ¥©¥ó¥È¤ò»²¾È¤·¤Þ¤¹¤Î¤Ç¡¢°ìÉô¤Î¥×¥ê¥ó¥¿¤äɽ¼¨¥½¥Õ¥È¤·¤«¡¢Í׵ᤷ¤¿¤½¤ÎÆà Äê¤Î¥Õ¥©¥ó¥È¤Ïɽ¼¨¤Ç¤­¤Ê¤¤¤Ç¤·¤ç¤¦¡£ÂçÄñ¤Î¾ì¹ç¤ÏÊ̤ʥե©¥ó¥È¤ÇÂåÍѤµ¤ì ¤Þ¤¹¡£

¤·¤«¤·¡¢»ØÄꤷ¤¿¥Õ¥©¥ó¥È¤ò½ÐÎÏ¥Õ¥¡¥¤¥ëÃæ¤ËËä¤á¹þ¤ó¤Ç¡¢¤É¤ó¤Ê¥×¥ê¥ó¥¿¤Ç ¤â¤½¤ì¤ò»È¤¦¤è¤¦¤Ë¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£¤³¤ì¤Ë¤Ï¡¢¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à¤ËŬÀÚ ¤Ê¥Õ¥©¥ó¥Èµ­½Ò¥Õ¥¡¥¤¥ë¤¬¤¢¤ë¤³¤È¤¬É¬ÍפȤʤê¤Þ¤¹¡£¤³¤ÎÊýË¡¤Ç¥Õ¥©¥ó¥È¤ò Ëä¤á¹þ¤à¾ì¹ç¡¢ÆÃÄê¤Î¥é¥¤¥»¥ó¥¹¤¬É¬ÍפȤʤë¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤â¤¢¤ë¤³¤È¤Ë Ãí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£¤è¤ê¾ÜºÙ¤ÊÀâÌÀ¤äÎã¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È:postscript fontfile (92.51.2)¡£

16 ¥Ø¥ë¥×¤ÎÍѸì²òÀâ (Glossary)

¤³¤Î¥É¥­¥å¥á¥ó¥ÈÁ´ÂΤËÅϤäơ¢ÍѸì¤Ë´Ø¤¹¤ë°ì´ÓÀ­¤Î°Ý»ý¤¬¹Í¤¨¤é¤ì¤Æ¤¤¤Þ ¤¹¡£¤·¤«¤·¤³¤Î»î¤ß¤Ï´°Á´¤Ë¤ÏÀ®¸ù¤·¤Æ¤¤¤Þ¤»¤ó¡£¤½¤ì¤Ï gnuplot ¤¬»þ´Ö ¤ò¤«¤±¤Æ¿Ê²½¤·¤Æ¤­¤¿¤è¤¦¤Ë¡¢¥³¥Þ¥ó¥É¤ä¥­¡¼¥ï¡¼¥É¤Î̾Á°¤â¤½¤Î¤è¤¦¤Ê´°Á´ À­¤òÇÓ½ü¤¹¤ë¤«¤Î¤è¤¦¤ËºÎÍѤµ¤ì¤ÆÍè¤Æ¤¤¤ë¤«¤é¤Ç¤¹¡£¤³¤ÎÀá¤Ç¤Ï¡¢¤³¤ì¤é¤Î ¥­¡¼¥ï¡¼¥É¤Î¤¤¤¯¤Ä¤«¤¬¤É¤Î¤è¤¦¤Ë»È¤ï¤ì¤Æ¤¤¤ë¤«¤òÀâÌÀ¤·¤Þ¤¹¡£

"¥Ú¡¼¥¸ (page)"¡¢"ɽ¼¨²èÌÌ (screen)"¡¢"¥­¥ã¥ó¥Ð¥¹ (canvas)" ¤Ï¡¢ gnuplot ¤¬¥¢¥¯¥»¥¹²Äǽ¤ÊÎΰèÁ´ÂΤò»Ø¤·¤Þ¤¹¡£¥Ç¥¹¥¯¥È¥Ã¥×¤Ç¤Ï¤½¤ì¤Ï¥¦ ¥£¥ó¥É¥¦Á´ÂΤò»Ø¤·¡¢¥×¥í¥Ã¥¿¤Ç¤Ï¡¢°ìËç¤Î»æÁ´ÂΡ¢svga ¥â¡¼¥É¤Ç¤Ï¡¢¥â¥Ë ¥¿¥¹¥¯¥ê¡¼¥óÁ´ÂΤò»Ø¤·¤Þ¤¹¡£

ɽ¼¨²èÌ̤ϡ¢°ì¤Ä¡¢¤Þ¤¿¤Ï¤½¤ì°Ê¾å¤Î "¥°¥é¥ÕÉÁ²è (plot)" ¤ò´Þ¤ß¤Þ¤¹¡£¥° ¥é¥ÕÉÁ²è¤Ï°ì¤Ä¤Î²£ºÂɸ¤È°ì¤Ä¤Î½ÄºÂɸ¤ÇÄêµÁ¤µ¤ì¤Þ¤¹¤¬¡¢Í¾Çò (margin) ¤ä ¤½¤ÎÃæ¤Ë½ñ¤«¤ì¤ëʸ»úÎó (text) ƱÍÍ¡¢¤½¤ì¤é¤Ï¼ÂºÝ¤Ë¤½¤Î¾å¤Ëɽ¼¨¤µ¤ì¤Æ¤¤ ¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£

¥°¥é¥ÕÉÁ²è¤Ï°ì¤Ä¤Î "¥°¥é¥Õ" ¤ò´Þ¤ß¤Þ¤¹¡£¥°¥é¥Õ¤Ï°ì¤Ä¤Î²£ºÂɸ¤È°ì¤Ä¤Î½Ä ºÂɸ¤ÇÄêµÁ¤µ¤ì¤Þ¤¹¤¬¡¢¤³¤ì¤é¤Ï¼ÂºÝ¤Ë¤½¤Î¾å¤Ëɽ¼¨¤µ¤ì¤Æ¤¤¤ëɬÍפϤ¢¤ê¤Þ ¤»¤ó¡£

¥°¥é¥Õ¤Ï°ì¤Ä¤Þ¤¿¤Ï¤½¤ì°Ê¾å¤Î "¶ÊÀþ (line)" ¤ò´Þ¤ß¤Þ¤¹¡£¶ÊÀþ¤Ï°ì¤Ä¤Î´Ø ¿ô¡¢¤Þ¤¿¤Ï¥Ç¡¼¥¿½¸¹ç¤Ç¤¹¡£ÍѸì "line" ¤ÏÉÁ²è¥¹¥¿¥¤¥ë¤È¤·¤Æ¤â»È¤ï¤ì¤Þ¤¹¡£ ¤µ¤é¤Ë¤³¤ÎÍѸì¤Ï "ʸ»úÎó¤Î°ì¹Ô (a line of text)" ¤Î¤è¤¦¤Ë»È¤ï¤ì¤ë¤³¤È ¤â¤¢¤ê¤Þ¤¹¡£Â¿Ê¬Ê¸Ì®¤«¤é¤½¤ì¤é¤Ï¶èÊ̤Ǥ­¤ë¤Ç¤·¤ç¤¦¡£

°ì¤Ä¤Î¥°¥é¥Õ¾å¤ÎÊ£¿ô¤Î¶ÊÀþ¤Ï¤½¤ì¤¾¤ì̾Á°¤ò»ý¤Á¤Þ¤¹¡£¤½¤Î̾Á°¤Ï¡¢¤½¤Î¶Ê Àþ¤Îɽ¸½¤Ë»È¤ï¤ì¤ëÉÁ²è¥¹¥¿¥¤¥ë¤Î¥µ¥ó¥×¥ë¤È¤È¤â¤Ë "(ÀâÌÀ) key" Æâ¤Ë°ìÍ÷ ɽ¼¨¤µ¤ì¤Þ¤¹¡£ÀâÌÀ¤Ï¡¢»þ¤Ë¤Ï "(ɽÂê) legend" ¤È¤â¸Æ¤Ð¤ì¤Þ¤¹¡£

ÍѸì "¥¿¥¤¥È¥ë (title)" ¤Ï gnuplot ¤Ç¤ÏÊ£¿ô¤Î°ÕÌ£¤Ç»È¤ï¤ì¤Þ¤¹¡£¤³¤Î ¥É¥­¥å¥á¥ó¥È¤Ç¤Ï¤½¤ì¤é¤ò¶èÊ̤¹¤ë¤¿¤á¤Ë¡¢·ÁÍÆ»ì¤È¤·¤Æ "ÉÁ²è¤Î (plot)"¡¢ "¶ÊÀþ¤Î (line)"¡¢"ÀâÌÀ¤Î (key)" ¤òƬ¤Ë¤Ä¤±¤¿¤ê¤â¤·¤Þ¤¹¡£ 2 ¼¡¸µ¤Î¥°¥é¥Õ¤Ï 4 ¤Ä¤Þ¤Ç¤Î¸«½Ð¤·ÉÕ¤±¤µ¤ì¤ë¼´¤ò»ý¤Ä¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³ ¤ì¤é 4 ¤Ä¤Î¼´¤Î̾Á°¤Ï¤½¤ì¤¾¤ì¡¢¥°¥é¥ÕÉÁ²è¤Î²¼¤Î¶­³¦¤Ë±è¤¦¼´¤Ç¤¢¤ë "x"¡¢ º¸¤Î¶­³¦¤Ë±è¤¦¼´ "y"¡¢¾å¤Î¶­³¦¤Ë±è¤¦¼´ "x2"¡¢±¦¤Î¶­³¦¤Ë±è¤¦¼´ "y2" ¤È ¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£°Ê²¼»²¾È: axes (72.1)¡£

3 ¼¡¸µ¤Î¥°¥é¥Õ¤Ï 3 ¤Ä¤Þ¤Ç¤Î¸«½Ð¤·ÉÕ¤±¤µ¤ì¤ë¼´ (axes) "x","y","z" ¤ò »ý¤Ä¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤É¤ÎÆÃÄê¤Î¼´¤Ë´Ø¤·¤Æ¤â¤½¤ì¤¬¥°¥é¥Õ¾å¤Ç¤É¤³¤Ë½ñ¤«¤ì ¤ë¤«¤ò½Ò¤Ù¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£¤½¤ì¤Ï¡¢set view ¤Ç¥°¥é¥Õ¤ò¸«¤ëÊý¸þ¤ò Êѹ¹¤Ç¤­¤ë¤«¤é¤Ç¤¹¡£

¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Ë´Ø¤¹¤ëµÄÏÀ¤Ç¤Ï¡¢ÍѸì "¹Ô (record)" ¤òÉü³è¤·¡¢¥Õ¥¡¥¤¥ë ¤Î°ì¹Ô¤Îʸ»úÎ󡢤¹¤Ê¤ï¤Á¡¢²þ¹Ôʸ»ú¤ä¹ÔËöʸ»úƱ»Î¤Î´Ö¤Îʸ»úÎ󡢤ò»Ø¤·¼¨ ¤¹¤Î¤Ë»È¤¤¤Þ¤¹¡£"ÅÀ (point)" ¤Ï¹Ô¤«¤é¼è¤ê½Ð¤·¤¿°ì¤Ä¤Î¥Ç¡¼¥¿¤Ç¤¹¡£"¥Ç¡¼ ¥¿¥Ö¥í¥Ã¥¯ (datablock)" ¤Ï¡¢¶õ¹Ô¤Ç¶èÀÚ¤é¤ì¤¿Ï¢Â³¤·¤¿Ê£¿ô¤Î¹Ô¤«¤é¤Ê¤ëÅÀ ¤Î½¸¹ç¤Ç¤¹¡£¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ÎµÄÏÀ¤ÎÃæ¤Ç "line" ¤¬»²¾È¤µ¤ì¤ë¾ì¹ç¤Ï¡¢¤³¤ì ¤Ï¥Ç¡¼¥¿¥Ö¥í¥Ã¥¯¤ÎÉôʬ½¸¹ç¤ò»Ø¤·¤Þ¤¹¡£

(ÌõÃí: ¤³¤ÎÆüËܸìÌõ¤ÎÃæ¤Ç¤Ï¤³¤³¤Ë½ñ¤«¤ì¤Æ¤¤¤ë¤è¤¦¤ÊÍѸì¤ÎÅý°ì¤Ï¹Í褵 ¤ì¤Æ¤Ï¤ª¤é¤º¡¢¤è¤Ã¤Æº®Íð¤ò°ú¤­µ¯¤³¤¹²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£¸·Ì©¤Ë¤Ï¸¶Ê¸¤ò»² ¾È¤¹¤Ù¤­¤Ç¤·¤ç¤¦¡£)

17 Àþ¼ï¡¢¿§¡¢¥¹¥¿¥¤¥ë (linetypes)

gnuplot ¤Î³Æ½ÐÎÏ·Á¼°¤Ï "Àþ¼ï (linetype)" ¤ò¤¢¤ëÄøÅÙÍÑ°Õ¤·¤Æ¤¤¤Þ¤¹¡£¤½ ¤ì¤é¤Ï¿§¡¢ÂÀ¤µ¡¢ÅÀÀþ/ÇËÀþ¤Î¥Ñ¥¿¡¼¥ó¡¢¤Þ¤¿¤Ï¿§¤ÈÅÀÀþ/ÇËÀþ¤ÎÁȹ礻¤Ç°ã¤¤ ¤òɽ¸½¤·¤Æ¤¤¤Þ¤¹¡£ÆÃÄê¤Î½ÐÎÏ·Á¼°¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÀþ¼ï¤Ï¡¢¤½¤Î½ÐÎÏ·Á¼°¤òÀß Äꤷ¤¿ (set terminal) ¸å¤Ç test ¥³¥Þ¥ó¥É¤òȯ¹Ô¤¹¤ë¤³¤È¤Ç³Îǧ¤Ç¤­¤Þ ¤¹¡£ÄêµÁ¤µ¤ì¤Æ¤¤¤ë¿§¡¢ÅÀÀþ/ÇËÀþ¤Î¥Ñ¥¿¡¼¥ó¤Ï¤¹¤Ù¤Æ¤Î½ÐÎÏ·Á¼°¤ÇƱ¤¸¤â¤Î ¤Ç¤¢¤ë¤È¤¤¤¦Êݾڤϲ¿¤â¤¢¤ê¤Þ¤»¤ó¤¬¡¢Àþ¼ï -1 ¤ÏÆÃÊ̤ËÁ´¤Æ¤Î½ÐÎÏ·Á¼°¤Ç¡¢ ºÇ¤âÉáÄ̤Îɽ¼¨¿§ (Ä̾ï¤Ï¹õ) ¤Î¼ÂÀþ¤ò°ÕÌ£¤·¤Æ¤¤¤Þ¤¹¡£¤Þ¤¿¡¢Â¿¤¯¤Î½ÐÎÏ·Á ¼°¤Ç¡¢ÇØ·Ê¿§¤Ç¤Î¼ÂÀþ¤ò°ÕÌ£¤¹¤ëÆÃÊ̤ÊÀþ¼ï "bgnd" ¤âǧ¼±¤·¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤ÎÀþ¼ï (linetype) ¤Î°À­¤Ï¡¢ÂÐÏÃŪ¤«½é´ü²½¥Õ¥¡¥¤¥ë¤Î¤¤¤º¤ì¤« ¤Ë¤è¤Ã¤ÆºÆÄêµÁ²Äǽ¤Ç¤¹¡£¤³¤ì¤Ï¡¢¤¹¤Ù¤Æ¤Î gnuplot ÉÁ²è¥³¥Þ¥ó¥É¤Ç»ÈÍѤµ ¤ì¤ëÀþ¤Î¿§¤ä¾¤Î°À­¤ò¥«¥¹¥¿¥Þ¥¤¥º¤¹¤ë¤³¤È¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£°Ê²¼»²¾È:set linetype (82.32)¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢°ì¤Ä¤ÎÉÁ²è¥³¥Þ¥ó¥ÉÆâ¤Ç¤Î´Ø¿ô¤ä¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ÎʤӤˤϡ¢ ½çÈÖ¤ËÀþ¼ï¤¬³ä¤êÅö¤Æ¤é¤ì¤Þ¤¹¡£¤½¤Î¥Ç¥Õ¥©¥ë¥È¤Î½çÎó¤Ï¡¢´Ø¿ô¡¢¥Ç¡¼¥¿¥Õ¥¡ ¥¤¥ë¡¢¤Þ¤¿¤Ï¤½¤Î¾¤ÎÉÁ²èÍ×ÁǤ˸ÄÊ̤ËÀþ¼ï¤ò»ØÄꤹ¤ë¤³¤È¤Ç¾å½ñ¤­¤Ç¤­¤Þ¤¹¡£

Îã:


    plot "foo", "bar"                 # Àþ¼ï 1, 2 ¤Ç 2 ¥Õ¥¡¥¤¥ë¤òÉÁ²è
    plot sin(x) linetype 4            # ½ÐÎÏ·Á¼°¤Ë°Í¸¤¹¤ëÀþ¼ï¿§ 4
    plot sin(x) lt -1                 # ¹õ

¿¤¯¤Î½ÐÎÏ·Á¼°¤Ç¡¢¥æ¡¼¥¶ÄêµÁ¿§¤òÄêµÁ¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¿§¤ÎÄêµÁ ¤ÏÌÀ¼¨Åª¤Ê rgb (ÀÖ¡¢ÎС¢ÀÄ) ¤ò»ØÄꤹ¤ë¤«¡¢¿§Ì¾¤«¡¢¸½ºß¤Î pm3d ¥Ñ¥ì¥Ã¥È ¤ò»²¾È¤¹¤ë¿§¤ÎÃͤΤ¤¤º¤ì¤«¤Ç¹Ô¤Ê¤¤¤Þ¤¹¡£

Îã:


    plot sin(x) lt rgb "violet"       # gnuplot ¤Î»ý¤Ä¿§Ì¾¤Î°ì¤Ä
    plot sin(x) lt rgb "#FF00FF"      # ÌÀ¼¨Åª¤Ê 16 ¿Ê RGB 3 ¤ÄÁÈ
    plot sin(x) lt palette cb -45     # ¸½ºß¤Î¥Ñ¥ì¥Ã¥È¤Î cbrange ¤Î
                                      # -45 ¤ËÂбþ¤¹¤ë¿§
    plot sin(x) lt palette frac 0.3   # ¥Ñ¥ì¥Ã¥È¤ËÂбþ¤¹¤ë¾®¿ôÃÍ

°Ê²¼»²¾È: show colornames (82.13), set palette (82.54), cbrange (82.126)¡£

ÅÀÀþ/ÇËÀþ¤Î¥Ñ¥¿¡¼¥ó¤ò¥µ¥Ý¡¼¥È¤¹¤ë½ÐÎÏ·Á¼°¤Ç¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤ÎÀþ¼ï¤ÏÅÀÀþ/ ÇËÀþ¤Î¥Ñ¥¿¡¼¥ó¤È¿§¤ÎξÊý¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£º£¤Î½ê gnuplot ¤Ë¤Ï¡¢ÅÀÀþ/ ÇËÀþ¥Ñ¥¿¡¼¥ó¤òÊѹ¹¤¹¤ë»ÅÁȤߤ¬¤Ê¤¤¤Î¤Ç¡¢ÆÃÄê¤ÎÅÀÀþ¥Ñ¥¿¡¼¥ó¤ÈÆÃÄê¤Î¿§¤ò ÁȤ߹ç¤ï¤»¤¿¤¤¾ì¹ç¤Ï¡¢Àè¤Ë¤½¤ÎÅÀÀþ¥Ñ¥¿¡¼¥ó¤ò»ý¤ÄÀþ¼ï (linetype) ¤òÁªÂò ¤·¡¢¥Ç¥Õ¥©¥ë¥È¤Î¿§¤ò¥­¡¼¥ï¡¼¥É linecolor (¾Êά·Á¤Ï lc) ¤Ç¾å½ñ¤­¤¹ ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£Î㤨¤Ð¡¢postscript ½ÐÎÏ·Á¼°¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÀþ¼ï 3 ¤ÏÀÄ ¤ÎÇËÀþ¤Ç¤¹¡£°Ê²¼¤ÎÉÁ²è¥³¥Þ¥ó¥É¤ÏƱ¤¸ÇËÀþ¥Ñ¥¿¡¼¥ó¤Ç 3 ¤Ä¤ÎÉÁ²è¤ò¹Ô¤Ê¤¤¤Þ¤¹¤¬¡¢°ì¤Ä¤ÏÀÄ (¥Ç¥Õ¥©¥ë¥È)¡¢°ì¤Ä¤ÏÀÖ (Àþ¼ï 1 ¤Î¥Ç¥Õ¥©¥ë¥È¿§)¡¢¤â¤¦ °ì¤Ä¤Ï¶â¿§¤Ë¤Ê¤ê¤Þ¤¹¡£

Îã:


    set term postscript dashed color
    plot 'foo' lt 3, 'baz' lt 3 linecolor 1, 'bar' lt 3 lc rgb 'gold'

17.1 ¿§»ØÄê (colorspec)

¿¤¯¤Î¥³¥Þ¥ó¥É¤Ç¡¢ÌÀ¼¨Åª¤Ê¿§¤Î»ØÄê¤ò¤È¤â¤Ê¤Ã¤¿Àþ¼ï¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­ ¤Þ¤¹¡£½ÐÎÏ·Á¼°¤Ë°Í¸¤¹¤ë¿§¤ÎÁªÂò¤Ï¡¢»ÈÍѤ·¤Æ¤¤¤ë½ÐÎÏ·Á¼°¤¬ RGB ¥«¥é¡¼ ¤« pm3d ¥Ñ¥ì¥Ã¥È¤ò¥µ¥Ü¡¼¥È¤·¤Æ¤¤¤ë¾ì¹ç¤Ë¤Î¤ßÍøÍѲÄǽ¤Ç¤¹¡£

½ñ¼°:


     ... {linecolor | lc} {<colorspec> | <n>}
     ... {textcolor | tc} {<colorspec> | {linetype | lt} <n>}

< colorspec> ¤Ï°Ê²¼¤Î·Á¼°¤Î¤¤¤º¤ì¤«¤Ç¤¹:


     rgbcolor "colorname"
     rgbcolor "#RRGGBB"
     rgbcolor variable       # ¿§¤ÏÆþÎÏ¥Õ¥¡¥¤¥ë¤«¤éÆɤ߹þ¤à
     palette frac <val>      # <val> ¤Ï 0 ¤«¤é 1 ¤ÎÃÍ
     palette cb <value>      # <val> ¤Ï cbrange ¤ÎÈϰϤÎÃÍ
     palette z
     variable                # ÆþÎÏ¥Õ¥¡¥¤¥ë¤«¤é¿§ÈÖ¹æ¤òÆɤ߹þ¤à

< n> ¤Ï¡¢¤½¤ÎÀþ¼ï (linetype) Èֹ椬»È¤¦¿§¤ò°ÕÌ£¤·¤Þ¤¹¡£°Ê²¼»²¾È:test (87)¡£

"colorname" ¤Ï gnuplot ¤¬ÆâÉô¤Ë»ý¤Ã¤Æ¤¤¤ë¿§¤Î̾Á°¤Î¤¦¤Á¤Î°ì¤Ä¤ò»ØÄꤷ ¤Þ¤¹¡£Í­¸ú¤Ê̾Á°¤Î°ìÍ÷¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È: show colornames (82.13)¡£

"#RRGGBB" ¤Ï "#" µ­¹æ¤Î¸å¤Ë 16 ¿ÊÄê¿ô¤òʤ٤ޤ¹¡£RRGGBB ¤Ï¡¢ÀÖ¡¢ÎС¢ÀÄ ¤Î¿§¤ÎÀ®Ê¬¤ò°ÕÌ£¤·¡¢¤½¤ì¤¾¤ì¤Ï 0 - 255 ¤ÎÈϰϤοô¤Ç¤¹¡£Î㤨¤Ð¡¢¥Þ¥¼¥ó ¥¿ (»ç) = ºÇ¤âÌÀ¤ë¤¤ÀÖ + ºÇ¤âÌÀ¤ë¤¤ÀÄ¡¢¤Ê¤Î¤Ç¡¢#FF00FF ¤Èɽ¤µ¤ì¡¢¤³¤ì ¤Ï 16 ¿Ê¿ô¤Ç¡¢(255 < < 16) + (0 < < 8) + (255) ¤ò°ÕÌ£¤·¤Æ¤¤¤Þ¤¹¡£

¥«¥é¡¼¥Ñ¥ì¥Ã¥È¤È¤Ï¡¢¿§¤ÎÀþ·¿¤Ê¸ûÇۤǡ¢Ã±°ì¤Î¿ôÃͤòÆÃÄê¤Î¿§¤Ë³ê¤é¤«¤ËÂÐ ±þ¤Å¤±¤Þ¤¹¡£¾ï¤Ë¤½¤Î¤è¤¦¤Ê 2 ¤Ä¤ÎÂбþÉÕ¤±¤¬¸úÎϤò»ý¤Á¤Þ¤¹¡£ palette frac ¤Ï 0 ¤«¤é 1 ¤Þ¤Ç¤Î¾®¿ôÃͤò¡¢¥«¥é¡¼¥Ñ¥ì¥Ã¥È¤ÎÁ´ÈϰϤËÂÐ ±þÉÕ¤±¤ë¤â¤Î¤Ç¡¢palette cb ¤Ï¡¢¿§¼´¤ÎÈϰϤòƱ¤¸¥«¥é¡¼¥Ñ¥ì¥Ã¥È¤Ø³ä¤ê Åö¤Æ¤ë¤â¤Î¤Ç¤¹¡£°Ê²¼»²¾È: set cbrange (82.126), set colorbox (82.12)¡£¤³¤ì¤é¤ÎÂбþ ÉÕ¤±¤Î¤É¤Á¤é¤«¤ò»È¤Ã¤Æ¡¢¸½ºß¤Î¥Ñ¥ì¥Ã¥È¤«¤éÄê¿ô¿§¤òÁª¤Ó½Ð¤¹¤³¤È¤¬¤Ç¤­¤Þ ¤¹¡£

"palette z" ¤Ï¡¢³ÆÉÁ²èÀþʬ¤äÉÁ²èÍ×ÁǤΠz ¤ÎÃͤò¡¢¥Ñ¥ì¥Ã¥È¤ØÂбþ¤Å¤±¤é ¤ì¤Æ¤¤¤ë cbrange ¤ÎÈϰϤËÂбþ¤Å¤±¤Þ¤¹¡£¤³¤ì¤Ë¤è¤ê¡¢3 ¼¡¸µ¤Î¶ÊÀþ¤ä¶ÊÌÌ ¤Ë±è¤Ã¤Æ¿§¤ò³ê¤é¤«¤ËÊѲ½¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤ì¤Ï¡¢2 ¼¡¸µÉÁ²è¤Ç¡¢¥Ñ ¥ì¥Ã¥ÈÃͤòÄɲäÎÎó¥Ç¡¼¥¿¤«¤éÆɤ߹þ¤Þ¤»¤Æ¿§ÉÕ¤±¤¹¤ë¤Î¤Ë¤â»È¤¨¤Þ¤¹ (¤¹¤Ù ¤Æ¤Î 2 ¼¡¸µÉÁ²è¥¹¥¿¥¤¥ë¤¬¤³¤ÎÄɲÃÎó¤òǧ¼±¤¹¤ë¤ï¤±¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó)¡£

17.1.1 Background color

¸½ºß¤Ï¿¤¯¤Î½ÐÎÏ·Á¼°¤Ç¥°¥é¥Õ¤ÎÇØ·Ê¿§¤òÌÀ¼¨Åª¤ËÀßÄê¤Ç¤­¤Þ¤¹¡£ÆÃÊ̤ÊÀþ¼ï (linetype) bgnd ¤Ï¤½¤Î¿§¤ÇÉÁ²è¤·¤Þ¤¹¤¬¡¢¤½¤Î bgnd ¤Ï¿§¤È¤·¤Æ¤âǧ¼± ¤µ¤ì¤Þ¤¹¡£ Îã:
    # °Ê²¼¤Ï¥­¥ã¥ó¥Ð¥¹¤Î°ìÉôʬ¤òÇØ·Ê¿§¤Ç¾å½ñ¤­¤¹¤ë¤³¤È¤Ç¾Ãµî¤·¤Þ¤¹¡£
    set term wxt background rgb "gray75"
    set object 1 rectangle from x0,y0 to x1,y1 fillstyle solid fillcolor bgnd
    # °Ê²¼¤Ï x ¼´¤Ë±è¤Ã¤¿¡Ö¸«¤¨¤Ê¤¤¡×Àþ¤òÉÁ¤­¤Þ¤¹¡£
    plot 0 lt bgnd

17.1.2 Linecolor variable

lc variable ¤Ï¡¢ÆþÎϥǡ¼¥¿¤Î°ì¤Ä¤ÎÎ󤫤éÆɤó¤ÀÃͤòÀþ¼ï (linetype) ¤Î ÈÖ¹æ¤È¤·¤Æ»È¤¤¡¢¤½¤ÎÀþ¼ï¤Ë°¤¹¤ë¿§¤ò»È¤¦¤è¤¦¥×¥í¥°¥é¥à¤Ë»Ø¼¨¤·¤Þ¤¹¡£¤è ¤Ã¤Æ¤³¤ì¤Ï¡¢using »ØÄê»Ò¤ØÂбþ¤¹¤ëÎó¤Î»ØÄê¤ÎÄɲäòɬÍפȤ·¤Þ¤¹¡£Ê¸»ú ¤Î¿§¤âƱÍͤˡ¢tc variable ¤Ç»ØÄê¤Ç¤­¤Þ¤¹¡£

Îã:

     # ¥Ç¡¼¥¿¤Î 3 ÎóÌܤò¡¢¸Ä¡¹¤ÎÅÀ¤Ë¿§¤ò³ä¤êÅö¤Æ¤ë¤Î¤Ë»ÈÍÑ
     plot 'data' using 1:2:3 with points lc variable


     # °ì¤Ä¤Î¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Ë¤ÏÊ£¿ô¤Î¥Ç¡¼¥¿½¸¹ç¤òÆþ¤ì¤ë¤³¤È¤¬²Äǽ¤Ç¡¢
     # ¤½¤ì¤é¤Ï 2 ¹Ô¤Î¶õ¹Ô¤ÇʬΥ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¸Ä¡¹¤Î¥Ç¡¼¥¿½¸¹ç¤Ë¤Ï
     # index Ãͤ¬³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤Æ (°Ê²¼»²¾È: `index`)¡¢using »ØÄê¤Î
     # column(-2) ¤Ç¼èÆÀ¤Ç¤­¤Þ¤¹¡£°Ê²¼»²¾È: `pseudocolumns`¡£°Ê²¼¤ÎÎã
     # ¤Ï -2 ¤Î column Ãͤò»È¤Ã¤Æ¡¢¸Ä¡¹¤Î¥Ç¡¼¥¿½¸¹ç¤ò°Û¤Ê¤ëÀþ¿§¤ÇÉÁ²è
     # ¤·¤Þ¤¹¡£
     plot 'data' using 1:2:(column(-2)) with lines lc variable

17.1.3 Rgbcolor variable

¥°¥é¥Õ¤Î³Æ¥Ç¡¼¥¿ÅÀ¡¢³ÆÀþʬ¡¢¤Þ¤¿¤Ï³Æ¥é¥Ù¥ë¤Ë¤½¤ì¤¾¤ì°Û¤Ê¤ë¿§¤ò³ä¤êÅö¤Æ ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£lc rgbcolor variable ¤Ï¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î³Æ¹Ô¤«¤é RGB ¿§¤Î¾ðÊó¤òÆɤ߹þ¤à¤è¤¦¥×¥í¥°¥é¥à¤Ë»Ø¼¨¤·¤Þ¤¹¡£¤è¤Ã¤Æ¤³¤ì¤Ï¡¢ using »ØÄê»Ò¤Ë¤è¤ëÂбþ¤¹¤ëÎó¤Î»ØÄê¤ÎÄɲäòɬÍפȤ·¡¢¤½¤ÎÎó¤Ï 24-bit ·Á¼°¤Î RGB ¤Î 3 ¤ÄÁȤǤ¢¤ë¤È¤ß¤Ê¤µ¤ì¤Þ¤¹¡£¤½¤ÎÃͤò¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤«¤éľ ÀÜÍ¿¤¨¤ë¾ì¹ç¤Ï¡¢¤³¤ì¤ÏºÇ¤â´Êñ¤Ê·Á¼°¤Î 16 ¿ÊÃͤÇÍ¿¤¨¤Þ¤¹ (°Ê²¼»²¾È:rgbcolor (17.1))¡£°ìÊý¤Ç¡¢°Ê²¼¤ÎÎã¤Î¤è¤¦¤Ë 24-bit RGB ¿§¤È¤·¤Æɾ²Á¤µ¤ì¤ë¤è¤¦¤Ê¿ô¼°¤ò using »ØÄê»Ò¤ËÆþ¤ì¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£Ê¸»ú¤Î¿§¤âƱÍͤˡ¢ tc rgbcolor variable ¤Ç»ØÄê¤Ç¤­¤Þ¤¹¡£

Îã:

     # 3 ¼¡¸µÉÁ²è¤Ç¡¢³Æ x,y,z ºÂɸ¤ËÂбþ¤·¤¿ÀÖ¡¢ÎС¢ÀĤÎÀ®Ê¬¤ò»ý¤Ä¿§
     # ¤Î¤Ä¤¤¤¿ÅÀ¤òÇÛÃÖ
     rgb(r,g,b) = 65536 * int(r) + 256 * int(g) + int(b)
     splot "data" using 1:2:3:(rgb($1,$2,$3)) with points lc rgb variable

17.2 Linestyles ¤È linetypes

Àþ¤Ï¡¢ÀþÉý¤Î¤è¤¦¤Ê¾¤Î°À­¤â»ý¤Ä¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ÅÀ (point) ¤Îµ­¹æ¤ËÂÐ ¤¹¤ëƱÍͤΰÀ­¤È¤È¤â¤Ë¡¢¤³¤ì¤é¤Î°À­¤ò¥³¥Þ¥ó¥É set style line ¤ò»È¤Ã ¤Æ¥æ¡¼¥¶ÄêµÁ "¥é¥¤¥ó¥¹¥¿¥¤¥ë (linestyle)" ¤È¤·¤Æ·ë¤Ó¤Ä¤±¤ë¤³¤È¤¬¤Ç¤­¤Þ ¤¹¡£°ìÅÙÄêµÁ¤µ¤ì¤¿ linestyle ¤Ï¡¢plot ¥³¥Þ¥ó¥ÉÃæ¤Ç¡¢°ì¤Ä¤Þ¤¿¤Ï¿¤¯¤ÎÉÁ ²èÍ×ÁǤËÂФ·¤Æ¤½¤Îɽ¼¨¤òÀ©¸æ¤¹¤ë¤Î¤Ë»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

linetypes ¤Ï±Ê³Ū (ÌÀ¼¨Åª¤Ë¤½¤ì¤é¤òºÆÄêµÁ¤¹¤ë¤Þ¤Ç¤ÏÊÝ»ý¤µ¤ì¤ë) ¤Ç¤¹ ¤¬¡¢linestyles ¤Ï°ì»þŪ¤Ê¤â¤Î¤Ç¤¹¡£¼¡¤Î¥°¥é¥Õ¥£¥Ã¥¯¤Î¾õÂÖ¤¬¥ê¥»¥Ã¥È ¤µ¤ì¤ë¤Þ¤Ç¤Î´Ö¤·¤«ÊÝ»ý¤µ¤ì¤Þ¤»¤ó¡£

Îã:


    # ¿·¤·¤¤¥é¥¤¥ó¥¹¥¿¥¤¥ë¤ò¡¢½ÐÎÏ·Á¼°¤Ë°Í¸¤·¤Ê¤¤¿§ cyan¡¢ÀþÉý¤¬ 3¡¢
    # ÅÀ¼ï 6 (´Ý¤ÎÃæ¤ËÅÀ) ¤ÈÄêµÁ
    set style line 5 lt rgb "cyan" lw 3 pt 6
    plot sin(x) with linespoints ls 5          # ÄêµÁ¥¹¥¿¥¤¥ë 5 ¤Ç

18 ¥Þ¥¦¥¹ÆþÎÏ (mouse input)

¿¤¯¤Î½ÐÎÏ·Á¼°¤Ç¡¢¸½ºß¤ÎÉÁ²è¤Ë¥Þ¥¦¥¹¤ò»È¤Ã¤ÆºîÍѤò¤¹¤ë¤³¤È¤¬²Äǽ¤Ë¤Ê¤Ã ¤Æ¤¤¤Þ¤¹¡£¤½¤Î¤¦¤Á¤¤¤¯¤Ä¤«¤Ï¥Û¥Ã¥È¥­¡¼¤ÎÄêµÁ¤â¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Æ¡¢¥Þ¥¦¥¹ ¥«¡¼¥½¥ë¤¬Í­¸ú¤ÊÉÁ²è¥¦¥£¥ó¥É¥¦¤Ë¤¢¤ë¤È¤­¤Ë¡¢¤¢¤ë¥­¡¼¤ò²¡¤¹¤³¤È¤Ç¤¢¤é¤« ¤¸¤áÄêµÁ¤·¤¿´Ø¿ô¤ò¼Â¹Ô¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¥Þ¥¦¥¹ÆþÎϤò batch ¥³¥Þ ¥ó¥É¥¹¥¯¥ê¥×¥È¤ÈÁȤ߹ç¤ï¤»¤ë¤³¤È¤â²Äǽ¤Ç¡¢Î㤨¤Ð pause mouse ¤È¤·¤Æ¡¢ ¤½¤Î¸å¤Ë¥Þ¥¦¥¹¥¯¥ê¥Ã¥¯¤Ë¤è¤Ã¤Æ¥Ñ¥é¥á¡¼¥¿¤È¤·¤ÆÊ֤äÆÍè¤ë¥Þ¥¦¥¹ÊÑ¿ô¤ò¤½ ¤Î¸å¤Î¥¹¥¯¥ê¥×¥ÈÆ°ºî¤ËÈ¿±Ç¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£°Ê²¼»²¾È: bind (18.1),mouse variables (18.2)¡£¤Þ¤¿°Ê²¼¤â»²¾È: set mouse (82.40)¡£

18.1 Bind

½ñ¼°:
     bind {allwindows} [<key-sequence>] ["<gnuplot commands>"]
     bind <key-sequence> ""
     reset bind

bind ¤Ï¡¢¥Û¥Ã¥È¥­¡¼¤ÎÄêµÁ¡¢ºÆÄêµÁ¤Ë»ÈÍѤ·¤Þ¤¹¡£¥Û¥Ã¥È¥­¡¼¤È¤Ï¡¢ÆþÎÏ ¥«¡¼¥½¥ë¤¬¥É¥é¥¤¥Ð¤Î¥¦¥£¥ó¥É¥¦Æâ¤Ë¤¢¤ë¤È¤­¤Ë¡¢¤¢¤ë¥­¡¼¡¢¤Þ¤¿¤ÏÊ£¿ô¤Î¥­ ¡¼¤ò²¡¤¹¤³¤È¤Ç¡¢gnuplot ¤Î¥³¥Þ¥ó¥ÉÎó¤ò¼Â¹Ô¤µ¤»¤ëµ¡Ç½¤Î¤³¤È¤ò¸À¤¤¤Þ¤¹¡£ bind ¤Ï¡¢gnuplot ¤¬ mouse ¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤è¤¦¤Ë¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤Æ¤¤¤Æ ¤«¤Ä¥Þ¥¦¥¹¤¬Í­¸ú¤Ê½ÐÎÏ·Á¼°¾å¤Ç»È¤ï¤ì¤Æ¤ë¾ì¹ç¤Ë¤Î¤ßÍ­¸ú¤Ç¤¢¤ë¤³¤È¤ËÃí°Õ ¤·¤Æ¤¯¤À¤µ¤¤¡£¥æ¡¼¥¶»ØÄê¤Î¥­¡¼³äÅö (binding) ¤Ï¡¢ÁȤ߹þ¤ß (builtin) ¥­ ¡¼³äÅö¤òÃÖ¤­´¹¤¨¤Þ¤¹¤¬¡¢< space> ¤È 'q' ¤ÏÄ̾ï¤ÏºÆÄêµÁ¤Ï¤Ç¤­¤Þ¤»¤ó¡£¤½ ¤ÎÍ£°ì¤ÎÎã³°¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: bind space (18.1.1)¡£

¥Þ¥¦¥¹¥Ü¥¿¥ó¤Ï 1 ¤Î¤ß¡¢¤½¤·¤Æ 2D ÉÁ²è¤Ë´Ø¤·¤Æ¤Î¤ßºÆÄêµÁ¤Ç¤­¤Þ¤¹¡£

¥Û¥Ã¥È¥­¡¼¤Î°ìÍ÷¤òÆÀ¤ë¤Ë¤Ï show bind, ¤Þ¤¿¤Ï bind ¤È¥¿¥¤¥×¤¹¤ë¤«¡¢ ¥°¥é¥Õ¥¦¥£¥ó¥É¥¦¾å¤Ç¥Û¥Ã¥È¥­¡¼ 'h' ¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£

¥­¡¼ÄêµÁ¤Ï¡¢reset bind ¤Ç¥Ç¥Õ¥©¥ë¥È¤Î¾õÂÖ¤ËÉüµ¢¤Ç¤­¤Þ¤¹¡£

½¤¾þ¥­¡¼¤ò´Þ¤àÊ£¿ô¤Î¥­¡¼¤ÎÄêµÁ¤Ï°úÍÑÉä¤Ç°Ï¤àɬÍפ¬¤¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯ ¤À¤µ¤¤¡£

ɸ½à¤Ç¤Ï¥Û¥Ã¥È¥­¡¼¤Ï¸½ºß¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦¾å¤ËÆþÎÏ¥«¡¼¥½¥ë¤¬¤¢¤ë¾ì¹ç¤Î¤ß ǧ¼±¤µ¤ì¤Þ¤¹¡£bind allwindows < key> ... (bind all < key> ... ¤È¾Êά ²Ä) ¤Ï¡¢< key> ¤Î³äÅö¤ò¡¢¤½¤ì¤¬¸½ºß¤ÎÍ­¸ú¤Ê¤â¤Î¤«Èݤ«¤Ë´Ø¤ï¤é¤º¡¢¤¹¤Ù¤Æ ¤Î gnuplot ¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦¾å¤Ç²Äǽ¤Ë¤·¤Þ¤¹¡£¤³¤Î¾ì¹ç¡¢gnuplot ÊÑ¿ô MOUSE_KEY_WINDOW ¤Ë¤½¤ì¤¬¹Ô¤Ê¤ï¤ì¤¿¥¦¥£¥ó¥É¥¦¤Î ID ¤¬Êݸ¤µ¤ì¤ë¤Î¤Ç¤½ ¤ì¤ò¥­¡¼¤Ë³ä¤êÅö¤Æ¤¿¥³¥Þ¥ó¥É¤Ç»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

Îã:

- ¥­¡¼³äÅö¤ÎÀßÄê:


   bind a "replot"
   bind "ctrl-a" "plot x*x"
   bind "ctrl-alt-a" 'print "great"'
   bind Home "set view 60,30; replot"
   bind all Home 'print "This is window ",MOUSE_KEY_WINDOW'

- ¥­¡¼³äÅö¤òɽ¼¨:

   bind "ctrl-a"          # ctrl-a ¤ËÂФ¹¤ë¥­¡¼³äÅö¤òɽ¼¨
   bind                   # Á´¤Æ¤Î¥­¡¼ÄêµÁ¤òɽ¼¨
   show bind              # Á´¤Æ¤Î¥­¡¼ÄêµÁ¤òɽ¼¨

- ¥­¡¼³äÅö¤òºï½ü:

   bind "ctrl-alt-a" ""   # ctrl-alt-a ¤Î¥­¡¼³äÅö¤òºï½ü
                            (ÁȤ߹þ¤ß¥­¡¼ÄêµÁ¤Ïºï½ü¤µ¤ì¤Þ¤»¤ó)
   reset bind             # ¥Ç¥Õ¥©¥ë¥È (ÁȤ߹þ¤ß) ¤Î¥­¡¼ÄêµÁ¤òƳÆþ
   bind!                  # "reset bind" ¤ÎÊ̤ηÁ¼° (Èó¿ä¾©)

- ¥È¥°¥ë¥¹¥¤¥Ã¥Á·Á¼°¤Ë¥­¡¼³äÅö:

 v=0
 bind "ctrl-r" "v=v+1;if(v%2)set term x11 noraise; else set term x11 raise"

½¤¾þ¥­¡¼ (ctrl / alt) ¤ÏÂçʸ»ú¾®Ê¸»ú¤Î¶èÊ̤Ϥ¢¤ê¤Þ¤»¤ó¤¬¡¢¥­¡¼¤Ï¤½¤¦¤Ç ¤Ï¤¢¤ê¤Þ¤»¤ó:

   ctrl-alt-a == CtRl-alT-a
   ctrl-alt-a != ctrl-alt-A

½¤¾þ¥­¡¼ (alt == meta) ¤Î°ìÍ÷:

   ctrl, alt

¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ëÆü쥭¡¼¤Î°ìÍ÷:


  "BackSpace", "Tab", "Linefeed", "Clear", "Return", "Pause", "Scroll_Lock",
  "Sys_Req", "Escape", "Delete", "Home", "Left", "Up", "Right", "Down",
  "PageUp", "PageDown", "End", "Begin",


  "KP_Space", "KP_Tab", "KP_Enter", "KP_F1", "KP_F2", "KP_F3", "KP_F4",
  "KP_Home", "KP_Left", "KP_Up", "KP_Right", "KP_Down", "KP_PageUp",
  "KP_PageDown", "KP_End", "KP_Begin", "KP_Insert", "KP_Delete", "KP_Equal",
  "KP_Multiply", "KP_Add", "KP_Separator", "KP_Subtract", "KP_Decimal",
  "KP_Divide",


  "KP_1" - "KP_9", "F1" - "F12"

°Ê²¼¤Ï¡¢¼ÂºÝ¤Î¥­¡¼¤Ç¤Ï¤Ê¤¯¡¢¥¦¥£¥ó¥É¥¦¤Ë´Ø¤¹¤ë¥¤¥Ù¥ó¥È¤Ç¤¹:


  "Button1" "Close"

°Ê²¼¤â»²¾È: mouse (82.40)¡£

18.1.1 Bind space

gnuplot ¤¬¡¢configure »þ¤Ë¥ª¥×¥·¥ç¥ó -enable-rase-console ¤ò¤Ä¤±¤Æ¥¤ ¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿¾ì¹ç¤Ï¡¢ÉÁ²è¥¦¥£¥ó¥É¥¦Æâ¤Ç < space> ¤ò¥¿¥¤¥×¤¹¤ë¤È gnuplot ¤Î¥³¥Þ¥ó¥É¥¦¥£¥ó¥É¥¦¤¬Á°Ì̤˽Фޤ¹¡£¤³¤Î¥Û¥Ã¥È¥­¡¼¤Ï¡¢ 'gnuplot -ctrlq' ¤Î¤è¤¦¤Ë¤·¤Æ gnuplot ¤òµ¯Æ°¤¹¤ë¤«¡¢¤Þ¤¿¤Ï X ¥ê¥½¡¼¥¹ ¤Î 'gnuplot*ctrlq' ¤òÀßÄꤹ¤ë¤³¤È¤Ç ctrl-space ¤ËÊѹ¹¤Ç¤­¤Þ¤¹¡£ °Ê²¼»²¾È: x11 command-line-options (92.72.2)¡£

18.2 ¥Þ¥¦¥¹ÍѤÎÊÑ¿ô (Mouse variables)

mousing (¥Þ¥¦¥¹µ¡Ç½) ¤¬Í­¸ú¤Ê¾ì¹ç¡¢¸½ºß¤Î¥¦¥£¥ó¥É¥¦¾å¤Ç¤Î¥Þ¥¦¥¹¥¯¥ê ¥Ã¥¯¤Ë¤è¤Ã¤Æ gnuplot ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¾å¤Ç»È¤¦¤³¤È¤¬¤Ç¤­¤ë¿§¡¹¤Ê¥æ¡¼¥¶ ÊÑ¿ô¤¬ÀßÄꤵ¤ì¤Þ¤¹¡£¥¯¥ê¥Ã¥¯»þ¤Î¥Þ¥¦¥¹¤ÎºÂɸ¤ÏÊÑ¿ô MOUSE_X, MOUSE_Y, MOUSE_X2, MOUSE_Y2 ¤ËÂåÆþ¤µ¤ì¤Þ¤¹¡£¥¯¥ê¥Ã¥¯¤µ¤ì¤¿¥Ü¥¿¥ó¤ä¡¢¤½¤Î¤È¤­¤Î ¥á¥¿¥­¡¼¤Î¾õÂÖ¤Ï MOUSE_BUTTON, MOUSE_SHIFT, MOUSE_ALT, MOUSE_CTRL ¤ËÂå Æþ¤µ¤ì¤Þ¤¹¡£¤³¤ì¤é¤ÎÊÑ¿ô¤ÏǤ°Õ¤ÎÉÁ²è¤Î³«»Ï»þ¤Ë¤Ï̤ÄêµÁ¤Ç¡¢Í­¸ú¤ÊÉÁ²è¥¦ ¥£¥ó¥É¥¦Ãæ¤Ç¤Î¥Þ¥¦¥¹¥¯¥ê¥Ã¥¯¥¤¥Ù¥ó¥È¤Ë¤è¤Ã¤Æ½é¤á¤ÆÄêµÁ¤µ¤ì¤Þ¤¹¡£Í­¸ú¤Ê ÉÁ²è¥¦¥£¥ó¥É¥¦Ãæ¤Ç¥Þ¥¦¥¹¤¬´û¤Ë¥¯¥ê¥Ã¥¯¤µ¤ì¤¿¤«¤É¤¦¤«¤ò¥¹¥¯¥ê¥×¥È¤«¤éÄ´ ¤Ù¤ë¤Ë¤Ï¡¢¤³¤ì¤é¤ÎÊÑ¿ô¤Î¤¦¤Á¤Î¤É¤ì¤«°ì¤Ä¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤ò¥Á¥§ ¥Ã¥¯¤¹¤ì¤Ð½½Ê¬¤Ç¤¹¡£


     plot 'something'
     pause mouse
     if (defined(MOUSE_BUTTON)) call 'something_else'; \
     else print "No mouse click."

ÉÁ²è¥¦¥£¥ó¥É¥¦¾å¤Ç¤Î°ìÏ¢¤Î¥­¡¼ÆþÎϤòÄÉÀפ¹¤ë¤³¤È¤â¡¢¥Þ¥¦¥¹¥³¡¼¥É¤ò»È¤¦ ¤³¤È¤Ç²Äǽ¤È¤Ê¤ê¤Þ¤¹¡£


     plot 'something'
     pause mouse keypress
     print "Keystroke ", MOUSE_KEY, " at ", MOUSE_X, " ", MOUSE_Y

pause mouse keypress ¤¬¡¢¥­¡¼ÆþÎϤǽªÎ»¤·¤¿¾ì¹ç¤Ï MOUSE_KEY ¤Ë¤Ï²¡¤µ ¤ì¤¿¥­¡¼¤Î ASCII ¥³¡¼¥É¤¬Êݸ¤µ¤ì¤Þ¤¹¡£MOUSE_CHAR ¤Ë¤Ï¤½¤Îʸ»ú¼«¿È¤¬Ê¸ »úÎóÃͤȤ·¤ÆÊݸ¤µ¤ì¤Þ¤¹¡£pause ¥³¥Þ¥ó¥É¤¬ (Î㤨¤Ð ctrl-C ¤äÉÁ²è¥¦¥£¥ó ¥É¥¦¤¬³°Éô¤«¤éÊĤ¸¤é¤ì¤ë¤Ê¤É¤·¤Æ) °Û¾ï½ªÎ»¤·¤¿¾ì¹ç¤Ï MOUSE_KEY ¤Ï -1 ¤Ë¤Ê¤ê¤Þ¤¹¡£

¥Þ¥¦¥¹¤Ë¤è¤ë³ÈÂç¤Î¸å¤Î¿·¤·¤¤ÉÁ²èÈϰϤϡ¢GPVAL_X_MIN, GPVAL_X_MAX, GPVAL_Y_MIN, GPVAL_Y_MAX ¤Ç»²¾È¤Ç¤­¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ °Ê²¼»²¾È: gnuplot-defined variables (14.4)¡£

19 »Äα (Persist)

gnuplot ¤Î¿¤¯¤Î½ÐÎÏ·Á¼° (aqua, pm, qt, x11, windows, wxt, ...) ¤¬¡¢¥¹ ¥¯¥ê¡¼¥ó¾å¤Ë¥°¥é¥Õ¤ò¤½¤ÎÃæ¤ËÉÁ¤¤¤¿É½¼¨ÍѤΥ¦¥£¥ó¥É¥¦¤òÊ̤˳«¤­¤Þ¤¹¡£¥ª ¥×¥·¥ç¥ó persist ¤Ï¡¢¼ç¤¿¤ë¥×¥í¥°¥é¥à¤¬½ªÎ»¤·¤¿¤È¤­¤Ë¤â¡¢¤½¤ì¤é¤Î¥¦ ¥£¥ó¥É¥¦¤ò»Ä¤¹¤è¤¦ gnuplot ¤Ë»Ø¼¨¤·¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢ÈóÂÐÏ÷¿½ÐÎÏ·Á¼°½ÐÎϤǤϲ¿¤â¤·¤Þ¤»¤ó¡£ Î㤨¤Ð¡¢°Ê²¼¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤È


    gnuplot -persist -e 'plot [-5:5] sinh(x)'

gnuplot ¤Ï¡¢É½¼¨¥¦¥£¥ó¥É¥¦¤ò³«¤­¡¢¤½¤ÎÃæ¤Ë¥°¥é¥Õ¤òÉÁ¤­¡¢¤½¤·¤Æ½ªÎ»¤·¡¢ ɽ¼¨¥¦¥£¥ó¥É¥¦¤Ï¥°¥é¥Õ¤ò¤½¤ÎÃæ¤Ë»ý¤Ã¤¿¤Þ¤Þ¥¹¥¯¥ê¡¼¥ó¤Ë»Ä¤ê¤Þ¤¹¡£½ÐÎÏ·Á ¼°¤Ë¤è¤Ã¤Æ¤Ï¡¢¤½¤Î»Ä¤Ã¤¿¥¦¥£¥ó¥É¥¦¾å¤Ç¤â¿¾¯¤Î¥Þ¥¦¥¹Áàºî¤¬²Äǽ¤Ê¾ì¹ç¤â ¤¢¤ê¤Þ¤¹¡£¤·¤«¤·¡¢¥°¥é¥Õ¤ÎºÆÉÁ²è¤òÍ׵᤹¤ë¥º¡¼¥à (¤È¤½¤ÎµÕ) ¤Î¤è¤¦¤ÊÁà ºî¤Ï¡¢´û¤Ë¥×¥í¥°¥é¥à¤¬½ªÎ»¤·¤Æ¤¤¤ë¤Î¤Ç°ìÈÌŪ¤Ë¤Ï̵Íý¤Ç¤¹¡£

¿·¤·¤¤½ÐÎÏ·Á¼°¤òÀßÄꤹ¤ë¤È¤­¤Ë¤â persist ¤ä nopersist ¤ò»ØÄê¤Ç¤­¤Þ ¤¹¡£Îã:


    set term qt persist size 700,500

20 ÉÁ²è (Plotting)

gnuplot ¤Ë¤ÏÉÁ²è¤òÀ¸À®¤¹¤ë 3 ¤Ä¤Î¥³¥Þ¥ó¥É¡¢plot, splot, replot ¤¬¤¢¤ê¤Þ¤¹¡£plot ¤Ï 2 ¼¡¸µÉÁ²è¤òÀ¸À®¤·¡¢splot ¤Ï 3 ¼¡¸µÉÁ²è (¤â¤Á ¤í¤ó¼ÂºÝ¤Ë¤Ï 2 ¼¡¸µÌ̤ؤμͱÆ) ¤òÀ¸À®¤·¤Þ¤¹¡£replot ¤ÏÍ¿¤¨¤é¤ì¤¿°ú¿ô ¤ò¡¢Ä¾Á°¤Î plot ¤Þ¤¿¤Ï splot ¥³¥Þ¥ó¥É¤ËÄɲä·¡¢¤½¤ì¤ò¼Â¹Ô¤·¤Þ¤¹¡£

ÉÁ²è¤Ë´Ø¤¹¤ë°ìÈÌŪ¤Ê¾ðÊó¤ÎÂçȾ¤Ï¡¢plot ¤Ë´Ø¤¹¤ë¹à¤Ç¸«¤Ä¤«¤ê¤Þ¤¹¡£3 ¼¡¸µÉÁ²è¤Ë¸ÇÍ­¤Î¾ðÊó¤Ï splot ¤Î¹à¤Ë¤¢¤ê¤Þ¤¹¡£

plot ¤Ï xy ľ¸òºÂɸ·Ï¤È¶ËºÂɸ·Ï¤¬»È¤¨¤Þ¤¹¡£¶ËºÂɸ·Ï¤Î¾ÜºÙ¤Ë´Ø¤·¤Æ¤Ï °Ê²¼»²¾È: set polar (82.57)¡£splot ¤Ï xyz ľ¸òºÂɸ·Ï¤Î¤ß¤·¤«°·¤¨¤Þ¤»¤ó¤¬¡¢ ¥³¥Þ¥ó¥É set mapping ¤Ç¾¤Î 2, 3 ¤ÎºÂɸ·Ï¤ò»ÈÍѤ¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£ ¤µ¤é¤Ë¡¢¥ª¥×¥·¥ç¥ó using ¤ò»È¤¨¤Ð¡¢plot ¤Ç¤â splot ¤Ç¤â¤Û¤È¤ó¤É ¤É¤ó¤ÊºÂɸ·Ï¤Ç¤â¤½¤ì¤òÄêµÁ¤·¤Æ»È¤¦¤³¤È¤¬½ÐÍè¤Þ¤¹¡£

plot ¤Ç¤Ï¡¢4 ¤Ä¤Î¶­³¦ x (²¼), x2 (¾å), y (º¸), y2 (±¦) ¤ò¤½¤ì¤¾¤ìÆÈ Î©¤Ê¼´¤È¤·¤Æ°·¤¦¤³¤È¤â¤Ç¤­¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó axes ¤Ç¡¢Í¿¤¨¤é¤ì¤¿´Ø¿ô¤ä ¥Ç¡¼¥¿½¸¹ç¤ò¤É¤Î¼´¤Î¥Ú¥¢¤Çɽ¼¨¤µ¤»¤ë¤«¤òÁª¤Ù¤Þ¤¹¡£¤Þ¤¿¡¢³Æ¼´¤Î½Ì¼Ü¤ä¸« ½Ð¤·¤Å¤±¤ò´°Á´¤ËÀ©¸æ¤¹¤ë¤¿¤á¤Ë½½Ê¬¤ÊÊ亴¤È¤Ê¤ë set ¥³¥Þ¥ó¥É·²¤¬Â¸ºß ¤·¤Þ¤¹¡£¤¤¤¯¤Ä¤«¤Î¥³¥Þ¥ó¥É¤Ï¡¢set xlabel ¤Î¤è¤¦¤Ë¼´¤Î̾Á°¤ò¤½¤ÎÃæ¤Ë »ý¤Ã¤Æ¤¤¤Þ¤¹¤·¡¢¤½¤ì°Ê³°¤Î¤â¤Î¤Ï set logscale xy ¤Î¤è¤¦¤Ë¡¢1 ¤Ä¡¢¤Þ¤¿¤ÏÊ£¿ô¤Î¼´¤Î̾Á°¤ò¥ª¥×¥·¥ç¥ó¤È¤·¤Æ¤È¤ê¤Þ¤¹¡£z ¼´¤òÀ©¸æ¤¹¤ë¥ª¥×¥·¥ç¥ó ¤ä¥³¥Þ¥ó¥É¤Ï 2 ¼¡¸µ¥°¥é¥Õ¤Ë¤Ï¸úÎϤò»ý¤Á¤Þ¤»¤ó¡£

splot ¤Ï¡¢ÅÀ¤äÀþ¤Ë²Ã¤¨¤Æ¶ÊÌ̤äÅù¹âÀþ¤ò½ñ¤¯¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£3 ¼¡¸µ¤Î´Ø ¿ô¤Î³Ê»ÒÄêµÁ¤Ë´Ø¤¹¤ë¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: set isosamples (82.29)¡£3 ¼¡¸µ ¥Ç¡¼¥¿¤Î¥Õ¥¡¥¤¥ë¤ËɬÍפʷÁÂ֤ˤĤ¤¤Æ¤Ï¡¢°Ê²¼»²¾È: splot datafile (84.1)¡£Åù ¹âÀþ¤Ë´Ø¤¹¤ë¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: set contour (82.14), set cntrparam (82.11)¡£

splot ¤Ç¤Î½Ì¼Ü¤ä¸«½Ð¤·ÉÕ¤±¤ÎÀ©¸æ¤Ï¡¢x2 ¼´¤È y2 ¼´¤òÀ©¸æ¤¹¤ë¥³¥Þ¥ó¥É ¤ä¥ª¥×¥·¥ç¥ó¤Ï¸ú²Ì¤¬¤Ê¤¯¡¢z ¼´¤òÀ©¸æ¤¹¤ë¤â¤Î¤Ë¤Ï¤â¤Á¤í¤ó¸ú²Ì¤¬¤¢¤ë¡¢¤È ¤¤¤¦¤³¤È¤ò½ü¤±¤Ð plot ¤ÈÁ´¤¯Æ±¤¸¤Ç¤¹¡£

21 ½é´ü²½ (Startup (initialization))

µ¯Æ°»þ¤Ë¡¢gnuplot ¤Ï¤Þ¤º¥·¥¹¥Æ¥àÍѤνé´üÀßÄê¥Õ¥¡¥¤¥ë gnuplotrc ¤òõ ¤·¤Þ¤¹¡£¤½¤Î¥Õ¥¡¥¤¥ë¤ÎÃÖ¤­¾ì½ê¤Ï gnuplot ¤Î¥¤¥ó¥¹¥È¡¼¥ë»þ¤Ë·èÄꤵ¤ì¡¢ show loadpath ¤ÇÃΤ뤳¤È¤¬¤Ç¤­¤Þ¤¹¡£¼¡¤Ë¥æ¡¼¥¶¤Î¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥êÆ⠤˸ĿÍÍѤÎÀßÄê¥Õ¥¡¥¤¥ë¤òõ¤·¤Þ¤¹¡£¤½¤Î¥Õ¥¡¥¤¥ë¤Ï Unix ·Ï¤Î¥·¥¹¥Æ¥à¤Ç¤Ï .gnuplot ¤Ç¤¢¤ê¡¢¤½¤Î¾¤Î½èÍý·Ï¤Ç¤Ï GNUPLOT.INI ¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ (OS/2 ¤Ç¤Ï¡¢´Ä¶­ÊÑ¿ô GNUPLOT ¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë̾Á°¤Î¥Ç¥£¥ì¥¯¥È¥êÆâ¤Ë ¤½¤ì¤òõ¤·¤Þ¤¹; Windows ¤Ç¤Ï¡¢APPDATA ¤ò»ÈÍѤ·¤Þ¤¹)¡£Ãí°Õ: ¥¤¥ó¥¹¥È ¡¼¥ë»þ¤Ë gnuplot ¤¬ºÇ½é¤Ë¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤òõ¤¹¤è¤¦¤ËÀßÄê¤Ç¤­¤Þ ¤¹¤¬¡¢¥»¥­¥å¥ê¥Æ¥£¾å´í¸±¤Ê¤Î¤Ç¤½¤ì¤Ï¿ä¾©¤·¤Þ¤»¤ó¡£

22 ʸ»úÎóÄê¿ô¤Èʸ»úÎóÊÑ¿ô (Strings)

ʸ»úÎóÄê¿ô¤Ë²Ã¤¨¤Æ¡¢¤Û¤È¤ó¤É¤Î gnuplot ¥³¥Þ¥ó¥É¤Ïʸ»úÎóÊÑ¿ô¡¢Ê¸»úÎó¼° ¤Þ¤¿¤Ïʸ»úÎó¤òÊÖ¤¹´Ø¿ô¤â¼õ¤±ÉÕ¤±¤Þ¤¹¡£Î㤨¤Ð¡¢°Ê²¼¤Î 4 ¤Ä¤Î plot ¤Î¤ä¤êÊý¤Ï·ë²Ì¤È¤·¤ÆÁ´¤ÆƱ¤¸ÉÁ²è¥¿¥¤¥È¥ë¤òÀ¸À®¤·¤Þ¤¹:


     four = "4"
     graph4 = "Title for plot #4"
     graph(n) = sprintf("Title for plot #%d",n)


     plot 'data.4' title "Title for plot #4"
     plot 'data.4' title graph4
     plot 'data.4' title "Title for plot #".four
     plot 'data.4' title graph(4)

À°¿ô¤Ï¡¢¤½¤ì¤¬Ê¸»úÎó·ë¹ç±é»»»Ò¤Ë¤è¤Ã¤ÆºîÍѤµ¤ì¤¿¾ì¹ç¤Ï¡¢Ê¸»úÎó¤ËÊÑ´¹¤µ ¤ì¤Þ¤¹¤Î¤Ç¡¢°Ê²¼¤ÎÎã¤â¾å¤ÈƱÍͤËÆ°ºî¤·¤Þ¤¹:


     N = 4
     plot 'data.'.N title "Title for plot #".N

°ìÈ̤ˡ¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Î³ÆÍ×ÁǤϡ¢¤½¤ì¤é¤¬É¸½àŪ¤Ê gnuplot ¤Ø¤ÎÌ¿Îáʸ Ë¡¤Î°ìÉôʬ¤Èǧ¼±¤µ¤ì¤ë¤â¤Î°Ê³°¤Ï¡¢Í­¸ú¤Êʸ»úÎóÊÑ¿ô¤È¤·¤Æ¤Îɾ²Á¤Î¤ß¤¬¹Ô¤Ê¤ï¤ì¤Þ¤¹¡£¤è¤Ã¤Æ¡¢°Ê²¼¤Î¥³¥Þ¥ó¥ÉÎó¤Ï¡¢¶²¤é¤¯¤Ïº®Íð¤ò°ú¤­µ¯¤³¤µ¤Ê¤¤¤è¤¦¤ËÈò¤±¤é¤ì¤ë¤Ù¤­¤Ç¤¹¤¬¡¢Ê¸Ë¡Åª¤Ë¤Ï´Ö°ã¤Ã¤Æ¤Ï¤¤¤Þ¤»¤ó:


     plot = "my_datafile.dat"
     title = "My Title"
     plot plot title title

ʸ»úÎó¤ËÂФ¹¤ë 3 ¤Ä¤ÎÆó¹à±é»»»Ò¤¬ÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹: ʸ»úÎó¤Î·ë¹ç±é»»»Ò ".", ʸ»úÎó¤ÎÅù¹æ±é»»»Ò "eq", ¤ª¤è¤Óʸ»úÎó¤ÎÉÔÅù¹æ±é»»»Ò "ne" ¤Ç¤¹¡£°Ê²¼¤ÎÎã¤Ç¤Ï TRUE ¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£


    if ("A"."B" eq "AB") print "TRUE"

°Ê²¼¤â»²¾È: 2 ¤Ä¤Îʸ»úÎó½ñ¼°´Ø¿ô gprintf (82.23.1), sprintf (14.1)¡£

Ǥ°Õ¤Îʸ»úÎó¡¢Ê¸»úÎóÊÑ¿ô¡¢Ê¸»úÎóÃÍ´Ø¿ô¤Ë¡¢ÈÏ°Ï»ØÄê»Ò¤ò¤Ä¤±¤ë¤³¤È¤Ë¤è¤ê Éôʬʸ»úÎó¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£ÈÏ°Ï»ØÄê»Ò¤Ï [begin:end] ¤Î·Á¤Ç¡¢begin ¤ÏÉô ʬʸ»úÎó¤ÎÀèƬ°ÌÃÖ¡¢end ¤ÏºÇ¸å¤Î°ÌÃ֤Ǥ¹¡£°ÌÃÖ»ØÄê¤Ï¡¢ºÇ½é¤Îʸ»ú¤ò 1 ÈÖÌܤȸ«¤Þ¤¹¡£ÀèƬ¤Î°ÌÃÖ¡¢ºÇ¸å¤Î°ÌÃ֤϶õ¡¢¤¢¤ë¤¤¤Ï '*' ¤Ç¤â¹½¤¤¤Þ¤»¤ó¡£ ¤½¤Î¾ì¹ç¡¢¤½¤ì¤Ï¸µ¤Îʸ»úÎó¼«ÂΤÎÀèƬ¡¢¤¢¤ë¤¤¤ÏºÇ¸å¤ò°ÕÌ£¤·¤Þ¤¹¡£Î㤨¤Ð¡¢ str[:] ¤ä str[*:*] ¤Ï¤É¤Á¤é¤â str ¤Îʸ»úÎóÁ´ÂΤò°ÕÌ£¤·¤Þ¤¹¡£

23 ÃÖ´¹¤È¥³¥Þ¥ó¥É¥é¥¤¥ó¥Þ¥¯¥í (Substitution)

gnuplot ¤Ø¤ÎÌ¿Îáʸ»úÎ󤬺ǽé¤ËÆɤ߹þ¤Þ¤ì¤¿»þÅÀ¡¢¤¹¤Ê¤ï¤Á¤Þ¤À¤½¤ì¤¬²ò¼á ¤µ¤ì¡¢¤â¤·¤¯¤Ï¼Â¹Ô¤µ¤ì¤ëÁ°¤ÎÃʳ¬¤Ç¡¢2 ¤Ä¤Î·Á¼°¤Îñ¸ì¤ÎÃÖ´¹¤¬¼Â¹Ô¤µ¤ì¤Þ ¤¹¡£¤½¤ì¤é¤Ï¥Ð¥Ã¥¯¥¯¥©¡¼¥È (ASCII ÈÖ¹æ 96) ¤Ç°Ï¤Þ¤ì¤Æ¤¤¤ë¤«¡¢¤Þ¤¿¤Ï @ (ASCII ÈÖ¹æ 64) ¤¬Æ¬¤Ë¤Ä¤¤¤¿Ê¸»úÎó¤ËÂФ·¤Æ¹Ô¤Ê¤ï¤ì¤Þ¤¹¡£

23.1 ¥Ð¥Ã¥¯¥¯¥©¡¼¥È¤Ë¤è¤ë¥·¥¹¥Æ¥à¥³¥Þ¥ó¥É¤ÎÃÖ´¹ (Substitution backquotes)

¥·¥§¥ë¥³¥Þ¥ó¥É¤ò¥Ð¥Ã¥¯¥¯¥©¡¼¥È¤Ç°Ï¤à¤³¤È¤Ë¤è¤Ã¤Æ¥³¥Þ¥ó¥ÉÃÖ´¹¤ò¹Ô¤¦¤³ ¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤Î¥³¥Þ¥ó¥É¤Ï»Ò¥×¥í¥»¥¹¤Ç¼Â¹Ô¤µ¤ì¡¢¤½¤Î½ÐÎÏ·ë²Ì¤Ç¥³¥Þ ¥ó¥É¥é¥¤¥ó¤Î¥Ð¥Ã¥¯¥¯¥©¡¼¥È¤Ç°Ï¤Þ¤ì¤¿¥³¥Þ¥ó¥É¤òÃÖ¤­´¹¤¨¤Þ¤¹¡£½èÍý·Ï¤Ë ¤è¤Ã¤Æ¤Ï¥Ñ¥¤¥×¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤â¤¢¤ê¤Þ¤¹¡£°Ê²¼»²¾È:plot datafile special-filenames (72.3.6)¡£

¥³¥Þ¥ó¥ÉÃÖ´¹¤Ï¡¢Ã±°ì°úÍÑÉäÆâ¤Îʸ»úÎó°Ê³°¤Ï¡¢gnuplot ¤Î¥³¥Þ¥ó¥É¥é¥¤¥óÃæ¡¢¤É¤³¤Ç¤Ç¤â»ÈÍѲÄǽ¤Ç¤¹¡£

Îã:

°Ê²¼¤ÎÎã¤Ï¡¢leastsq ¤È¤¤¤¦¥×¥í¥°¥é¥à¤ò¼Â¹Ô¤·¡¢¤½¤Î½ÐÎÏ·ë²Ì¤Ç¡¢leastsq ¤ò (¤Þ¤ï¤ê¤Î°úÍÑÉ䤳¤ß¤Ç) ÃÖ¤­´¹¤¨¤Þ¤¹:

     f(x) = `leastsq`

¤¿¤À¤· VMS ¤Ç¤Ï¡¢

     f(x) = `run leastsq`

°Ê²¼¤Ï¸½ºß¤ÎÆüÉդȥ桼¥¶¡¼Ì¾¤Î¥é¥Ù¥ë¤òÀ¸À®¤·¤Þ¤¹:

     set label "generated on `date +%Y-%m-%d` by `whoami`" at 1,1
     set timestamp "generated on %Y-%m-%d by `whoami`"

23.2 ʸ»úÎóÊÑ¿ô¤Î¥Þ¥¯¥íÃÖ´¹ (Substitution macros)

¥³¥Þ¥ó¥É¥é¥¤¥ó¤Î¥Þ¥¯¥íÃÖ´¹¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï̵¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢ set macros ¤ÇÍ­¸ú¤Ë¤Ç¤­¤Þ¤¹¡£¥Þ¥¯¥íÃÖ´¹¤¬Í­¸ú¤Ç¤¢¤ë¾ì¹ç¡¢Ê¸»ú @ ¤Ï¡¢ ¥³¥Þ¥ó¥É¥é¥¤¥ó¾å¤Ç¤½¤Îʸ»úÎóÊÑ¿ô¤ÎÃͤؤÎÃÖ´¹¤ò¹Ô¤Ê¤¦¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£Ê¸ »úÎóÊÑ¿ô¤ÎÃͤȤ·¤Æ¤Îʸ¤Ï¡¢Ê£¿ô¤Îñ¸ì¤«¤é¤Ê¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£¤³¤ì¤Ë¤è¤ê ʸ»úÎóÊÑ¿ô¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¥Þ¥¯¥í¤È¤·¤Æ»È¤¦¤³¤È¤¬²Äǽ¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤Îµ¡ ǽ¤Ë¤è¤êŸ³«¤Ç¤­¤ë¤Î¤Ïʸ»úÎóÄê¿ô¤Î¤ß¤Ç¡¢Ê¸»úÎó¤òÃͤ˼è¤ë¿ô¼°¤ò»È¤¦¤³¤È ¤Ï¤Ç¤­¤Þ¤»¤ó¡£ Îã:


     set macros
     style1 = "lines lt 4 lw 2"
     style2 = "points lt 3 pt 5 ps 2"
     range1 = "using 1:3"
     range2 = "using 1:5"
     plot "foo" @range1 with @style1, "bar" @range2 with @style2

¤³¤Î @ µ­¹æ¤ò´Þ¤à¹Ô¤Ï¡¢¤½¤ÎÆþÎÏ»þ¤ËŸ³«¤µ¤ì¡¢¤½¤ì¤¬¼ÂºÝ¤Ë¼Â¹Ô¤µ¤ì¤ë¤È ¤­¤Ë¤Ï¼¡¤Î¤è¤¦¤ËÁ´ÉôÂǤÁ¹þ¤ó¤À¾ì¹ç¤ÈƱ¤¸¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£


     plot "foo" using 1:3 with lines lt 4 lw 2, \
          "bar" using 1:5 with points lt 3 pt 5 ps 2

´Ø¿ô exists() ¤Ï¥Þ¥¯¥í¤Îɾ²Á¤Ë´Ø¤·¤ÆÍ­ÍѤǤ·¤ç¤¦¡£°Ê²¼¤ÎÎã¤Ï¡¢C ¤¬°ÂÁ´¤Ë¥æ¡¼¥¶ÄêµÁÊÑ¿ô¤Î̾Á°¤ËŸ³«¤Ç¤­¤ë¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯¤·¤Þ¤¹¡£


     C = "pi"
     if (exists(C)) print C," = ", @C

¥Þ¥¯¥í¤ÎŸ³«¤Ï¡¢Ã±°ì°úÍÑÉäÆâ¡¢¤Þ¤¿¤ÏÆó½Å°úÍÑÉäÆâ¤Ç¤Ï¹Ô¤Ê¤ï¤ì¤Þ¤»¤ó¤¬¡¢ ¥Ð¥Ã¥¯¥¯¥©¡¼¥ÈÆâ¤Ç¤Ï¥Þ¥¯¥íŸ³«¤µ¤ì¤Þ¤¹¡£

¥Þ¥¯¥í¤ÎŸ³«¤Ï¡¢gnuplot ¤¬¿·¤·¤¤¥³¥Þ¥ó¥É¹Ô¤ò¸«¤¿¤È¤­¤ËÈó¾ï¤ËÁᤤÃʳ¬¤Ç gnuplot ¤¬½èÍý¤·¡¢¤½¤·¤Æ¤¿¤À°ìÅÙ¤À¤±¤½¤ì¤ò¹Ô¤¤¤Þ¤¹¡£¤è¤Ã¤Æ¡¢


    A = "c=1"
    @A

¤Î¤è¤¦¤Ê¥³¡¼¥É¤ÏÀµ¤·¤¯¼Â¹Ô¤·¤Þ¤¹¤¬¡¢°Ê²¼¤Î¤è¤¦¤Ê¹Ô¤Ï¤À¤á¤Ç¤¹¡£¤½¤ì¤Ï¡¢ ¥Þ¥¯¥í¤ÎÄêµÁ¤¬Æ±¤¸¹Ô¤Ë¤¢¤ë¤¿¤áŸ³«¤Ë´Ö¤Ë¹ç¤ï¤Ê¤¤¤«¤é¤Ç¤¹¡£


    A = "c=1"; @A   # will not expand to c=1

¥³¥Þ¥ó¥É¤ò´°À®¤µ¤»¤Æ¼Â¹Ô¤¹¤ë¤Ë¤Ï¡¢¥³¥Þ¥ó¥É evaluate ¤âÍ­ÍѤǤ·¤ç¤¦¡£

23.3 ʸ»úÎóÊÑ¿ô¡¢¥Þ¥¯¥í¡¢¥³¥Þ¥ó¥É¥é¥¤¥óÃÖ´¹ (mixing_macros_backquotes)

ʸ»úÎóÊÑ¿ô¤ä¥Ð¥Ã¥¯¥¯¥©¡¼¥È¤Ë¤è¤ëÃÖ´¹¡¢¥Þ¥¯¥í¤Ë¤è¤ëÃÖ´¹¤ÎÁê¸ß´Ø·¸¤Ï¾¯¤· ¤ä¤ä¤³¤·¤¤¤Ç¤¹¡£¥Ð¥Ã¥¯¥¯¥©¡¼¥È¤Ï¥Þ¥¯¥íÃÖ´¹¤ò˸¤²¤Ê¤¤¤Î¤Ç¡¢


     filename = "mydata.inp"
     lines = ` wc --lines @filename | sed "s/ .*//" `

¤Ï¡¢mydata.ipn ¤Î¹Ô¿ô¤òÀ°¿ôÊÑ¿ô lines ¤ËÊݸ¤¹¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£¤Þ¤¿¡¢ Æó½Å°úÍÑÉä¤Ï¥Ð¥Ã¥¯¥¯¥©¡¼¥È¤ÎÃÖ´¹¤ò˸¤²¤Ê¤¤¤Î¤Ç¡¢


     mycomputer = "`uname -n`"

¤Ï¡¢¥·¥¹¥Æ¥à¥³¥Þ¥ó¥É uname -n ¤ÎÊÖ¤¹Ê¸»úÎó¤òʸ»úÎóÊÑ¿ô mycomputer ¤Ë Êݸ¤¹¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

¤·¤«¤·¡¢¥Þ¥¯¥íÃÖ´¹¤ÏÆó½Å°úÍÑÉäÆâ¤Ç¤Ïµ¡Ç½¤·¤Ê¤¤¤Î¤Ç¡¢¥·¥¹¥Æ¥à¥³¥Þ¥ó¥É¤ò ¥Þ¥¯¥í¤È¤·¤ÆÄêµÁ¤·¤Æ¤½¤ì¤ò¥Þ¥¯¥í¤È¤·¤ÆÍøÍѤ·¤«¤Ä¥Ð¥Ã¥¯¥¯¥©¡¼¥ÈÃÖ´¹¤ò¹Ô ¤Ê¤¦¤³¤È¤Ï¤Ç¤Ç¤­¤Þ¤»¤ó¡£


      machine_id = "uname -n"
      mycomputer = "`@machine_id`"  # ¤¦¤Þ¤¯¤¤¤«¤Ê¤¤ !

¤³¤Î¼ºÇԤϡ¢Æó½Å°úÍÑÉ䤬 @machine_id ¤ò¥Þ¥¯¥í¤È¤·¤Æ²ò¼á¤¹¤ë¤³¤È¤ò˸¤² ¤Æ¤¤¤ë¤«¤é¤Ç¤¹¡£¥·¥¹¥Æ¥à¥³¥Þ¥ó¥É¤ò¥Þ¥¯¥í¤È¤·¤ÆÊݸ¤·¡¢¤½¤Î¸å¤½¤ì¤ò¼Â¹Ô ¤¹¤ë¤Ë¤Ï¡¢¥Ð¥Ã¥¯¥¯¥©¡¼¥È¼«ÂΤâ¥Þ¥¯¥íÆâ¤Ë´Þ¤á¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ï°Ê²¼¤Î¤è¤¦¤Ë¥Þ¥¯¥í¤òÄêµÁ¤¹¤ë¤³¤È¤Ç¼Â¸½¤Ç¤­¤Þ¤¹¡£sprintf ¤Î½ñ¼°¤Ë¤Ï 3 ¼ï Îà¤Î°úÍÑÉäÁ´¤Æ¤¬Æþ¤ì»Ò¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£


     machine_id = sprintf('"`uname -n`"')
     mycomputer = @machine_id

24 ¶èÀÚ¤ê¤ä¥«¥Ã¥³¤Î»È¤¤Êý (Syntax)

¥ê¥¹¥È¤äºÂɸ¤¬¥³¥ó¥Þ (,) ¶èÀÚ¤ê¤Ç¤¢¤ë¤Î¤ËÂФ·¡¢¥ª¥×¥·¥ç¥ó¤ä¤½¤ì¤Ëȼ¤¦ ¥Ñ¥é¥á¡¼¥¿¤Ï¥¹¥Ú¡¼¥¹ ( ) ¶èÀÚ¤ê¤Ç¤¹¡£ÈϰϤϥ³¥í¥ó (:) ¤Ç¶èÀڤäƤ«¤®¤« ¤Ã¤³ ([]) ¤Ç¤¯¤¯¤ê¤Þ¤¹¤·¡¢Ê¸»úÎó¤ä¥Õ¥¡¥¤¥ë̾¤Ï°úÍÑÉä¤Ç¤¯¤¯¤ê¡¢Â¾¤Ë¤¤¤¯ ¤Ä¤«¥«¥Ã¥³ (()) ¤Ç¤¯¤¯¤ë¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£

¥³¥ó¥Þ¤Ï°Ê²¼¤Î¶èÀÚ¤ê¤Ç»ÈÍѤµ¤ì¤Þ¤¹¡£set ¥³¥Þ¥ó¥É¤Î arrow, key, label ¤ÎºÂɸ; Åö¤Æ¤Ï¤á (fit) ¤é¤ì¤ëÊÑ¿ô¤Î¥ê¥¹¥È (¥³¥Þ¥ó¥É fit ¤Î¥­ ¡¼¥ï¡¼¥É via ¤Ë³¤¯¥ê¥¹¥È); ¥³¥Þ¥ó¥É set cntrparam ¤Ç»ØÄꤵ¤ì¤ë¤È ¤Ó¤È¤Ó¤ÎÅù¹âÀþ¤ÎÃͤ䤽¤Î¥ë¡¼¥×¥Ñ¥é¥á¡¼¥¿¤Î¥ê¥¹¥È; set ¥³¥Þ¥ó¥É¤Î dgrid3d dummy, isosamples, offsets, origin, samples, size, time, view ¤Î°ú¿ô; ÌÜÀ¹¤ê¤Î°ÌÃ֤䤽¤Î¥ë¡¼¥×¥Ñ¥é¥á¡¼¥¿¤Î¥ê ¥¹¥È; ¥¿¥¤¥È¥ë¤ä¼´¤Î¸«½Ð¤·¤Î°ÌÃÖ; plot, replot, splot ¥³¥Þ¥ó¥É¤Î x,y,z ºÂɸ¤Î·×»»¤Ë»È¤ï¤ì¤ëÇÞ²ðÊÑ¿ô´Ø¿ô¤Î¥ê¥¹¥È; plot, replot, splot ¥³¥Þ¥ó¥É¤ÎÊ£¿ô¤ÎÉÁ²è (¥Ç¡¼¥¿¡¢¤Þ¤¿¤Ï´Ø¿ô) ¤Î¤½¤ì¤¾¤ì¤Î°ìÏ¢¤Î¥­ ¡¼¥ï¡¼¥É¤Î¥ê¥¹¥È¡£

(´Ý) ¥«¥Ã¥³¤Ï¡¢ÌÜÀ¹¤ê¤Î¸«½Ð¤·¤ò (¥ë¡¼¥×¥Ñ¥é¥á¡¼¥¿¤Ç¤Ï¤Ê¤¯) ÌÀ¼¨Åª¤Ë½¸ ¹çÍ¿¤¨¤ë¾ì¹ç¤Î¶èÀÚ¤ê¤È¤·¤Æ¡¢¤Þ¤¿¤Ï fit, plot, replot, splot ¥³ ¥Þ¥ó¥É¤Î using ¥Õ¥£¥ë¥¿¤Ç¤Î·×»»¤ò»Ø¼¨¤¹¤ë¤¿¤á¤Ë»È¤ï¤ì¤Þ¤¹¡£

(¥«¥Ã¥³¤ä¥³¥ó¥Þ¤ÏÄ̾ï¤Î´Ø¿ô¤Îɽµ­¤Ç¤â»È¤ï¤ì¤Þ¤¹¡£)

¤«¤®¤«¤Ã¤³¤Ï¡¢set, plot, splot ¥³¥Þ¥ó¥É¤Ç¤ÏÈϰϤò¶èÀÚ¤ë¤Î¤Ë»È¤ï ¤ì¤Þ¤¹¡£

¥³¥í¥ó¤Ï range (ÈÏ°Ï) »ØÄê (set, plot, splot ¥³¥Þ¥ó¥É¤Ç»È¤ï¤ì ¤ë) ¤Îξü¤ÎÃͤò¶èÀÚ¤ë¤Î¤Ë¡¢¤Þ¤¿¤Ï plot, replot, splot, fit ¥³ ¥Þ¥ó¥É¤Î using ¥Õ¥£¥ë¥¿¤Î³Æ¥¨¥ó¥È¥ê¤ò¶èÀÚ¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£

¥»¥ß¥³¥í¥ó (;) ¤Ï¡¢°ì¹Ô¤Î¥³¥Þ¥ó¥É¹ÔÆâ¤ÇÍ¿¤¨¤é¤ì¤ëÊ£¿ô¤Î¥³¥Þ¥ó¥É¤ò¶èÀÚ ¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£

Ã楫¥Ã¥³ ({}) ¤Ï¡¢³Èĥʸ»úÎó½èÍý¥â¡¼¥É (enhanced text mode) ¤Îµ­½Ò¤ä¡¢ if/then/else ʸ¤Î¥Ö¥í¥Ã¥¯¤Î¶èÀÚ¤ê¤È¤·¤Æ»È¤ï¤ì¤Þ¤¹¤·¡¢¤Þ¤¿¤ÏÊ£ÁÇ¿ô¤òµ­ ½Ò¤¹¤ë¤Î¤Ë¤â»È¤ï¤ì¤Þ¤¹: {3,2} = 3 + 2i ¤È¤Ê¤ê¤Þ¤¹¡£

EEPIC, Imagen, Uniplex, LaTeX, TPIC ¤Î³Æ½ÐÎÏ·Á¼°¤Ç¤Ï¡¢Ã±°ì°úÍÑÉäÆâ¤Î \ \ ¤Þ¤¿¤ÏÆó½Å°úÍÑÉäÆâ¤Î \ \ \ \ ¤Ç²þ¹Ô¤ò¼¨¤¹¤³¤È¤¬²Äǽ¤Ç¤¹¡£

24.1 °úÍÑÉä (Quotes)

gnuplot ¤Ï¡¢Ê¸»úÎó¤ò¶èÀÚ¤ë¤Î¤Ë¡¢Æó½Å°úÍÑÉä (ASCII ¥³¡¼¥É 34 ÈÖ)¡¢Ã±°ì °úÍÑÉä (ASCII ¥³¡¼¥É 39 ÈÖ)¡¢¤ª¤è¤Ó¥Ð¥Ã¥¯¥¯¥©¡¼¥È (ASCII ¥³¡¼¥É 96 ÈÖ) ¤Î 3 ¼ïÎà¤Î°úÍÑÉä¤ò»È¤¤¤Þ¤¹¡£

¥Õ¥¡¥¤¥ë̾¤Ïñ°ì°úÍÑÉä¡¢¤¢¤ë¤¤¤ÏÆó½Å°úÍÑÉäÆâ¤Ç°Ï¤ß¤Þ¤¹¡£¤³¤Î¥Þ¥Ë¥å¥¢¥ë ¤Ç¤Ï°ìÈ̤˥³¥Þ¥ó¥É¤ÎÎ㼨¤Ç¤Ï¡¢¤ï¤«¤ê¤ä¤¹¤¯¤¹¤ë¤¿¤á¤Ë¥Õ¥¡¥¤¥ë̾¤Ïñ°ì°ú ÍÑÉä¤Ç¤¯¤¯¤ê¡¢Â¾¤Îʸ»úÎó¤ÏÆó½Å°úÍÑÉä¤Ç¤¯¤¯¤ê¤Þ¤¹¡£

¸«½Ð¤· (label)¡¢¥¿¥¤¥È¥ë (title)¡¢¤Þ¤¿¤Ï¤½¤Î¾¤ÎÉÁ²èÍ×ÁǤǻÈÍѤµ¤ì¤ëʸ »úÎóÄê¿ô¤äÊ£¿ô¹Ôʸ»úÎó¤Ïñ°ì°úÍÑÉä¡¢¤¢¤ë¤¤¤ÏÆó½Å°úÍÑÉäÆâ¤Ç°Ï¤ß¤Þ¤¹¡£°ú ÍÑÉä¤Ç°Ï¤Þ¤ì¤¿Ê¸»úÎó¤Î¤µ¤é¤Ê¤ë½èÍý¤Î·ë²Ì¤Ï¡¢¤É¤Î°úÍÑÉäµ­¹æ¤òÁª¤Ö¤«¤Ë¤è ¤Ã¤ÆÊѤï¤ê¤Þ¤¹¡£

\ n (²þ¹Ô) ¤ä \ 345 (8 ¿Êɽµ­¤Îʸ»ú¥³¡¼¥É) ¤Î¤è¤¦¤Ê¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å ( \ ) ¤Ë¤è¤ëÆüìʸ»úɽ¸½¤Ï¡¢2 ½Å°úÍÑÉäÆâ¤Îʸ»úÎó¤Ç¤Ï¸úÎϤò»ý¤Á¤Þ¤¹¡£Ã±°ì°úÍÑ ÉäÆâ¤Ç¤Ï¡¢¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¼«ÂΤ¬Ä̾ï¤Îʸ»ú¤È¸«¤Ê¤µ¤ì¤Þ¤¹¡£Ã±°ì°úÍÑÉä Æâ¤Îʸ»úÎó¤Çñ°ì°úÍÑÉ伫ÂÎ (ASCII ¥³¡¼¥É 39 ÈÖ) ¤ò»È¤¦¤Ë¤Ï¡¢¤½¤ì¤ò½Å¤Í ¤Æ½ñ¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢Ê¸»úÎó "d \ " s' b \ \ " ¤È¡¢'d" s'' b \ ' ¤Ï´° Á´¤ËƱ¤¸¤â¤Î¤È¤Ê¤ê¤Þ¤¹¡£

1 ¤Ä¤ÎÊ£¿ô¹Ôʸ»úÎó¤Ë´Ø¤¹¤ë°ÌÃÖ¹ç¤ï¤»¤Ï³Æ¹Ô¤ËƱÅù¤ËƯ¤­¤Þ¤¹¡£¤è¤Ã¤Æ¡¢Ãæ ±û¤Ë°ÌÃÖ¹ç¤ï¤»¤µ¤ì¤¿Ê¸»úÎó

     "This is the first line of text.\nThis is the second line."

¤Ï¼¡¤Î¤è¤¦¤Ëɽ¼¨¤µ¤ì¤Þ¤¹:
                      This is the first line of text.
                         This is the second line.

¤·¤«¤·
     'This is the first line of text.\nThis is the second line.'

¤À¤È¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
         This is the first line of text.\nThis is the second line.

³Èĥʸ»úÎó½èÍý (enhanced text processing) ¤ÏÆó½Å°úÍÑÉä¤ËÂФ·¤Æ¤âñ°ì°ú ÍÑÉä¤ËÂФ·¤Æ¤âµ¡Ç½¤·¤Þ¤¹¡£¤·¤«¤·¡¢¤½¤Î¥â¡¼¥É¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë½ÐÎÏ·Á¼° ¤Ç¤Î¤ßƯ¤­¤Þ¤¹¡£°Ê²¼»²¾È: enhanced text (12)¡£

¥Ð¥Ã¥¯¥¯¥©¡¼¥È (¡®¡®) ¤Ï¥³¥Þ¥ó¥É¥é¥¤¥óÃæ¤ÎÃÖ´¹¤Î¤¿¤á¤Ë¥·¥¹¥Æ¥à¥³¥Þ¥ó¥É ¤ò°Ï¤à¤Î¤Ë»È¤¤¤Þ¤¹¡£°Ê²¼»²¾È: substitution (23)¡£

25 »þ´Ö/ÆüÉեǡ¼¥¿ (Time/Date)

gnuplot ¤ÏÆþÎϥǡ¼¥¿¤È¤·¤Æ»þ´Ö/ÆüÉÕ¾ðÊó¤Î»ÈÍѤò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤Îµ¡Ç½¤Ï set xdata time, set ydata time ¤Ê¤É¤Î¥³¥Þ¥ó¥É¤Ë¤è¤Ã¤ÆÍ­ ¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£

ÆâÉô¤Ç¤Ï¡¢»þ¹ï¤ÈÆüÉÕ¤Ï 2000 ǯ 1 ·î 1 Æü¤«¤é¤ÎÉÿô¤È¤·¤ÆÊݸ¤µ¤ì¤Æ¤¤¤Þ ¤¹¡£¤³¤ì¤Ï¡¢É¸½àŪ¤Ê Unix ¥¨¥Ý¥Ã¥¯ (1970 ǯ 1 ·î 1 Æü) ¤È¤Ï¡Ö°Û¤Ê¤ë¡× ¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤Î 2 ¤Ä¤Î¥¨¥Ý¥Ã¥¯¤Î¤º¤ì¤Ï EPOCH_OFFSET = 946684800.0 ÉäǤ¹¡£unix ¤Ç¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤È gnuplot ¤Î¤ß¤ÎÉäǤλþ¹ï ɽ¸½¤È¤ÎÊÑ´¹¤Ë¤³¤ÎÃͤ¬É¬Íפˤʤ뤫¤â¤·¤ì¤Þ¤»¤ó¡£¤³¤ì¤Ï¡¢gnuplot ¥Ð¡¼¥¸ ¥ç¥ó 5 ¤Ç¤ÏÊѹ¹¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

¥³¥Þ¥ó¥É set timefmt ¤ÏÁ´¤Æ¤ÎÆþÎϽñ¼°¤òÄêµÁ¤·¤Þ¤¹¡£¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¡¢ ÈÏ°Ï¡¢¼´¤ÎÌÜÀ¹¤ê¤Î¸«½Ð¤·¡¢¥é¥Ù¥ë¤Î°ÌÃÖ¡£¼êû¤Ë¸À¤¨¤Ð¡¢¥Ç¡¼¥¿¤ÎÃͤò¼õ¤± ¤È¤ëÁ´¤Æ¤Î¤â¤Î¤¬¤³¤Î½ñ¼°¤Ë¤·¤¿¤¬¤Ã¤Æ¼õ¤±¤È¤é¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£°ì»þ¤Ë ¤Ï°ì¤Ä¤ÎÆþÎϽñ¼°¤Î¤ß¤¬Í­¸ú¤Ê¤Î¤Ç¡¢Æ±¤¸¤È¤­¤ËÆþÎϤµ¤ì¤ëÁ´¤Æ¤Î»þ´Ö/ÆüÉÕ ¤Î¥Ç¡¼¥¿¤ÏƱ¤¸½ñ¼°¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤è¤Ã¤Æ¡¢¥Õ¥¡¥¤¥ëÆâ¤Î x ¤È y ¤Î ξÊý¤¬»þ´Ö/ÆüÉեǡ¼¥¿¤Ç¤¢¤ë¾ì¹ç¤Ï¡¢¤½¤ì¤é¤ÏƱ¤¸½ñ¼°¤Ç¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤» ¤ó¡£

Éÿô¤Ø (Éÿô¤«¤é) ¤ÎÊÑ´¹¤Ï¹ñºÝɸ½à»þ (UT; ¥°¥ê¥Ë¥Ã¥¸É¸½à»þ (GMT) ¤ÈƱ ¤¸) ¤¬»È¤ï¤ì¤Þ¤¹¡£³Æ¹ñɸ½à»þ¤ä²Æ»þ´Ö¤Ø¤ÎÊÑ´¹¤Îµ¡Ç½¤Ï²¿¤â»ý¤Á¹ç¤ï¤»¤Æ¤¤ ¤Þ¤»¤ó¡£¤â¤·¥Ç¡¼¥¿¤¬¤¹¤Ù¤ÆƱ¤¸É¸½à»þ´ÖÂӤ˽¾¤Ã¤Æ¤¤¤ë¤Ê¤é (¤½¤·¤ÆÁ´¤Æ¤¬ ²Æ»þ´Ö¤«¡¢¤½¤¦¤Ç¤Ê¤¤¤«¤Î¤É¤Á¤é¤«°ìÊý¤Ë¤Î¤ß½¾¤¦¤Ê¤é) ¤³¤ì¤Ë´Ø¤·¤Æ²¿¤â¿´ ÇÛ¤¹¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤·¤«¤·¡¢¤¢¤Ê¤¿¤¬»ÈÍѤ¹¤ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ÇÀäÂРŪ¤Ê»þ¹ï¤ò¸·Ì©¤Ë¹Í»¡¤·¤Ê¤±¤ì¤Ð¤¤¤±¤Ê¤¤¾ì¹ç¤Ï¡¢¤¢¤Ê¤¿¼«¿È¤¬ UT ¤ËÊÑ´¹¤¹ ¤Ù¤­¤Ç¤·¤ç¤¦¡£

show xrange ¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¤Ï¡¢¤½¤ÎÀ°¿ôÃͤò timefmt ¤Ë½¾¤Ã¤Æ²ò¼á ¤·Ä¾¤·¤Þ¤¹¡£timefmt ¤òÊѹ¹¤·¤Æ¤â¤¦°ìÅÙ show ¤Ç¤½¤ÎÃͤòɽ¼¨¤µ¤»¤ë¤È ¤½¤ì¤Ï¿·¤·¤¤ timefmt ¤Ë½¾¤Ã¤Æɽ¼¨¤µ¤ì¤Þ¤¹¡£¤³¤Î¤¿¤á¡¢¤â¤·µ¡Ç½¤òÄä»ß ¤µ¤»¤ë¥³¥Þ¥ó¥É (set xdata ¤Î¤è¤¦¤Ê) ¤òÍ¿¤¨¤ë¤È¡¢¤½¤ÎÃͤÏÀ°¿ôÃͤȤ·¤Æ ɽ¼¨¤µ¤ì¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

¥³¥Þ¥ó¥É set format ¤Þ¤¿¤Ï set tics format ¤Ï¡¢»ØÄꤵ¤ì¤¿¼´¤¬»þ´Ö/ ÆüÉդǤ¢¤ë¤Ê¤·¤Ë´Ø¤ï¤é¤ºÌÜÀ¹¤ê¤Î¸«½Ð¤·¤Ë»È¤ï¤ì¤ë½ñ¼°¤òÄêµÁ¤·¤Þ¤¹¡£

»þ´Ö/ÆüÉÕ¾ðÊ󤬥ե¡¥¤¥ë¤«¤éÉÁ²è¤µ¤ì¤ë¾ì¹ç¡¢plot, splot ¥³¥Þ¥ó¥É¤Ç ¤Ï using ¥ª¥×¥·¥ç¥ó¤ò¡Öɬ¤º¡×»È¤¦É¬Íפ¬¤¢¤ê¤Þ¤¹¡£plot, splot ¤Ç ¤Ï³Æ¹Ô¤Î¥Ç¡¼¥¿Îó¤ÎʬΥ¤Ë¥¹¥Ú¡¼¥¹¤ò»È¤¤¤Þ¤¹¤¬¡¢»þ´Ö/ÆüÉեǡ¼¥¿¤Ï¤½¤ÎÃæ ¤Ë¥¹¥Ú¡¼¥¹¤ò´Þ¤ßÆÀ¤ë¤«¤é¤Ç¤¹¡£¤â¤·¥¿¥Ö¶èÀÚ¤ê¤ò»ÈÍѤ·¤Æ¤¤¤ë¤Î¤Ê¤é¡¢¤¢¤Ê ¤¿¤Î¥·¥¹¥Æ¥à¤¬¤½¤ì¤ò¤É¤¦°·¤¦¤«³Î¤«¤á¤ë¤¿¤á¤Ë²¿ÅÙ¤â¥Æ¥¹¥È¤¹¤ëɬÍפ¬¤¢¤ë ¤Ç¤·¤ç¤¦¡£

´Ø¿ô time ¤Ï¡¢¸½ºß¤Î¥·¥¹¥Æ¥à»þ¹ï¤òÆÀ¤ë¤Î¤Ë»È¤¨¤Þ¤¹¡£¤³¤ÎÃͤϡ¢ strftime ´Ø¿ô¤ÇÆü»þʸ»úÎó¤ËÊÑ´¹¤Ç¤­¤Þ¤¹¤·¡¢timecolumn ¤ÈÁȤ߹ç¤ï¤» ¤ÆÁêÂÐŪ¤ÊÆü»þ¥°¥é¥Õ¤òºîÀ®¤¹¤ë¤Î¤Ë¤â»È¤¨¤Þ¤¹¡£°ú¿ô¤Î·¿¤Ï¤½¤ì¤¬ÊÖ¤¹¤â¤Î ¤ò·èÄꤷ¤Þ¤¹¡£°ú¿ô¤¬À°¿ô¤Î¾ì¹ç¤Ï time() ¤Ï¸½ºß¤Î»þ¹ï¤ò 2000 ǯ 1 ·î 1 Æü¤«¤é¤ÎÀ°¿ô¤È¤·¤ÆÊÖ¤·¡¢°ú¿ô¤¬¼Â¿ô (¤Þ¤¿¤ÏÊ£ÁÇ¿ô) ¤Ê¤é¤ÐƱÍͤÎÃͤò¼Â¿ô ¤È¤·¤ÆÊÖ¤·¤Þ¤¹¤¬¡¢¾®¿ô (Éðʲ¼) Éôʬ¤ÎÀºÅ٤ϡ¢¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à ¤Ë°Í¸¤·¤Þ¤¹¡£°ú¿ô¤¬Ê¸»úÎó¤Ê¤é¤Ð¡¢¤½¤ì¤ò½ñ¼°Ê¸»úÎó¤Ç¤¢¤ë¤È¤ß¤Ê¤·¡¢½ñ¼°²½¤µ¤ì¤¿Æü»þʸ»úÎó¤òÄ󶡤¹¤ë¤è¤¦¤½¤ì¤ò strftime ¤ËÅϤ·¤Þ¤¹¡£

¼¡¤ÎÎã¤Ï»þ´Ö/ÆüÉեǡ¼¥¿¤ÎÉÁ²è¤ÎÎã¤Ç¤¹¡£

¥Õ¥¡¥¤¥ë "data" ¤Ï°Ê²¼¤Î¤è¤¦¤Ê¹Ô¤«¤é¤Ê¤ë¤È¤·¤Þ¤¹:


     03/21/95 10:00  6.02e23

¤³¤Î¥Õ¥¡¥¤¥ë¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤·¤Æɽ¼¨¤µ¤ì¤Þ¤¹:


     set xdata time
     set timefmt "%m/%d/%y"
     set xrange ["03/21/95":"03/22/95"]
     set format x "%m/%d"
     set timefmt "%m/%d/%y %H:%M"
     plot "data" using 1:3

¤³¤³¤Ç¡¢x ¼´¤ÎÌÜÀ¹¤ê¤Î¸«½Ð¤·¤Ï "03/21" ¤Î¤è¤¦¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£

°Ê²¼»²¾È: time_specifiers (82.23.3)¡£


2 ÉÁ²è¥¹¥¿¥¤¥ë (plotting styles)

gnuplot ¤Ç¤Ï¡¢¤¿¤¯¤µ¤ó¤ÎÉÁ²è¥¹¥¿¥¤¥ë¤¬ÍøÍѤǤ­¤Þ¤¹¡£ ¤½¤ì¤é¤Ï¡¢¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È½ç¤Ë°Ê²¼¤Ë¾Ò²ð¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¥³¥Þ¥ó¥É set style data ¤È set style function ¤Ï¡¢¤½¤ì°Ê¹ß¤Îplot ¤ä splot ¥³¥Þ¥ó¥É¤ËÂФ·¤Æ¥Ç¥Õ¥©¥ë¥È¤ÎÉÁ²è¥¹¥¿¥¤¥ë¤òÊѹ¹¤·¤Þ¤¹¡£

ÉÁ²è¥¹¥¿¥¤¥ë¤Ï¡¢¥³¥Þ¥ó¥É plot ¤ä splot ¤Î°ìÉôʬ¤È¤·¤Æ¡¢ÌÀ¼¨Åª¤Ë¥ª ¥×¥·¥ç¥ó»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£°ì¤Ä¤ÎÉÁ²è¤ÎÃæ¤Ç¡¢Ê£¿ô¤ÎÉÁ²è¥¹¥¿¥¤¥ë¤ò ÁȤ߹ç¤ï¤»¤¿¤¤¾ì¹ç¤Ï¡¢³ÆÍ×ÁǤËÂФ·¤ÆÉÁ²è¥¹¥¿¥¤¥ë¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ ¤¹¡£

Îã:


    plot 'data' with boxes, sin(x) with lines

³ÆÉÁ²è¥¹¥¿¥¤¥ë¤Ï¡¢¤½¤ì¼«ÂΤ¬¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤«¤é¤Î¤¤¤¯¤Ä¤«¤Î¥Ç¡¼¥¿¤ÎÁÈ ¤ò´üÂÔ¤·¤Þ¤¹¡£Î㤨¤Ð¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï lines ¥¹¥¿¥¤¥ë¤Ï¡¢y ¤ÎÃͤÀ¤±¤Î 1 Îó¤Î¥Ç¡¼¥¿ (x ¤ÎÃͤϰÅÌۤ˽çÈ֤˼è¤é¤ì¤ë)¡¢¤Þ¤¿¤ÏºÇ½é¤¬ x, ¼¡¤¬ y ¤Î 2 ¤Ä¤ÎÎó¤ò´üÂÔ¤·¤Æ¤¤¤Þ¤¹¡£¥Õ¥¡¥¤¥ë¤Î²¿Îó¤Î¥Ç¡¼¥¿¤òÉÁ²è¥Ç¡¼¥¿¤È²ò¼á¤µ¤» ¤ë¤¦¤Þ¤¤ÊýË¡¤Ë´Ø¤¹¤ë¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: using (72.3.8)¡£

26 Boxerrorbars

ÉÁ²è¥¹¥¿¥¤¥ë boxerrorbars ¤Ï 2 ¼¡¸µ¤Î¥Ç¡¼¥¿ÉÁ²è¤Ç¤Î¤ßÍøÍѲÄǽ¤Ç¤¹¡£ ¤³¤ì¤Ï boxes ¤È yerrorbars ¥¹¥¿¥¤¥ë¤ÎÁȹ礻¤Ç¤¹¡£¤³¤ì¤Ï¡¢3 Îó¡¢¤Þ ¤¿¤Ï 4 Î󡢤ޤ¿¤Ï 5 Îó¤Î¥Ç¡¼¥¿¤ò»ÈÍѤ·¤Þ¤¹:


    3 Îó:  x  y  ydelta
    4 Îó:  x  y  ydelta xdelta        # È¢¤ÎÉý != -2
    4 Îó:  x  y  ylow  yhigh          # È¢¤ÎÉý == -2
    5 Îó:  x  y  ylow  yhigh  xdelta

Image figure_boxerrorbars
y ¤Î¸íº¹¤¬ "ydelta" ¤Î·Á¼°¤ÇÍ¿¤¨¤é¤ì¤Æ¡¢È¢¤Î²£Éý¤¬¤¢¤é¤«¤¸¤á -2.0 ¤ËÀß Äꤵ¤ì¤Æ (set boxwidth -2.0) ¤¤¤Ê¤±¤ì¤Ð¡¢È¢¤Î²£Éý¤Ï 4 ÎóÌܤÎÃͤÇÍ¿¤¨ ¤é¤ì¤Þ¤¹¡£y ¤Î¸íº¹¤¬ "ylow yhigh" ¤Î·Á¼°¤ÇÍ¿¤¨¤é¤ì¤ë¾ì¹ç¤ÏÈ¢¤Î²£Éý¤Ï 5 ÎóÌܤÎÃͤÇÍ¿¤¨¤é¤ì¤Þ¤¹¡£ÆÃÊ̤ʾì¹ç¤È¤·¤Æ¡¢"ylow yhigh" ¤Î¸íº¹·Á¼°¤Î 4 Îó¤Î¥Ç¡¼¥¿¤ËÂФ¹¤ë boxwidth = -2.0 ¤È¤¤¤¦ÀßÄ꤬¤¢¤ê¤Þ¤¹¡£¤³¤Î¾ì¹çÈ¢ ¤Î²£Éý¤Ï¡¢ÎÙÀܤ¹¤ëÈ¢¤Ë¤¯¤Ã¤Ä¤¯¤è¤¦¤Ë¼«Æ°Åª¤Ë·×»»¤µ¤ì¤Þ¤¹¡£3 Îó¤Î¥Ç¡¼¥¿ ¤Î¾ì¹ç¤â¡¢²£Éý¤Ï¼«Æ°Åª¤Ë·×»»¤µ¤ì¤Þ¤¹¡£

ÆþÎÏÎó¤òÄɲà (4,5,6 ÎóÌÜ) ¤¹¤ë¤È¡¢¤½¤ì¤é¤Ï³Æ¥Ç¡¼¥¿ÅÀËè¤Î variable color ¾ðÊó (°Ê²¼»²¾È: linecolor (17.1), rgbcolor variable (17.1.3)) ¤È¤·¤Æ»È¤ï¤ì¤Þ¤¹¡£¸í º¹Àþ¤Ï¡¢È¢¤Î¶­³¦¤ÈƱ¤¸¿§¤ÇÉÁ²è¤µ¤ì¤Þ¤¹¡£

È¢¤Î¹â¤µ¤Ï¡¢yerrorbars ¥¹¥¿¥¤¥ëƱÍÍ¤Ë y ¤Î¸íº¹¤ÎÃͤ«¤é·èÄꤵ¤ì¤Þ¤¹¡£ y-ydelta ¤«¤é y+ydelta ¤Þ¤Ç¡¢¤¢¤ë¤¤¤Ï ylow ¤«¤é yhigh ¤Þ¤Ç¡¢¤³¤ì¤é¤Ï²¿ Îó¤Î¥Ç¡¼¥¿¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤ë¤«¤Ë¤è¤Ã¤Æ·è¤Þ¤ê¤Þ¤¹¡£ °Ê²¼¤â»²¾È

errorbar ¥Ç¥â¡£

27 Boxes

Image figure_boxes
boxes ¥¹¥¿¥¤¥ë¤Ï 2 ¼¡¸µÉÁ²è¤Ç¤Î¤ßÍøÍѲÄǽ¤Ç¤¹¡£¤³¤ì¤ÏÍ¿¤¨¤é¤ì¤¿ x ºÂ ɸ¤òÃæ¿´¤È¤·¡¢x ¼´¤«¤é (¥°¥é¥Õ¤Î¶­³¦¤«¤é¡¢¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó) Í¿¤¨¤é¤ì¤¿ y ºÂɸ¤Þ¤Ç¤ÎÈ¢¤ò½ñ¤­¤Þ¤¹¡£¤³¤ì¤Ï´ðËÜŪ¤Ë¡¢2 Î󡢤ޤ¿¤Ï 3 Îó¤Î¥Ç¡¼¥¿¤ò»È ÍѤ·¤Þ¤¹¡£Í¾Ê¬¤ÊÆþÎÏÎó¤Ï¡¢variable ¹Ô¤äÅɤêÄÙ¤·¿§¤Î¾ðÊó¤¬Ä󶡤µ¤ì¤¿¤â ¤Î¤È¤·¤Æ»ÈÍѤµ¤ì¤Þ¤¹ (°Ê²¼»²¾È: rgbcolor variable (17.1.3))¡£


    2 Îó:  x  y
    3 Îó:  x  y  x_width

È¢¤ÎÉý¤Ï 3 ¤Ä¤Î¤¦¤Á°ì¤Ä¤ÎÊýË¡¤Ç·èÄꤵ¤ì¤Þ¤¹¡£ÆþÎϥǡ¼¥¿¤¬ 3 ÎóÌܤΥǡ¼ ¥¿¤ò»ý¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¤½¤ì¤¬È¢¤ÎÉý¤Ë¥»¥Ã¥È¤µ¤ì¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¯¤Æ set boxwidth ¥³¥Þ¥ó¥É¤ÇÈ¢¤ÎÉý¤¬¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤¿¾ì¹ç¤Ï¡¢¤½¤ì¤¬»È¤ï¤ì ¤Þ¤¹¡£¤½¤Î¤É¤Á¤é¤Ç¤â¤Ê¤¤¾ì¹ç¡¢È¢¤ÎÉý¤Ï¡¢ÎÙÀܤ¹¤ëÈ¢¤¬¤¯¤Ã¤Ä¤¯¤è¤¦¤Ë¼«Æ° Ū¤Ë·×»»¤µ¤ì¤Þ¤¹¡£

È¢¤ÎÃæ¿È¤Ï¸½ºß¤ÎÅɤê¤Ä¤Ö¤·¥¹¥¿¥¤¥ë (fillstyle) ¤Ë½¾¤Ã¤ÆÅɤê¤Ä¤Ö¤µ¤ì¤Þ ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set style fill (82.66.4)¡£¿·¤·¤¤Åɤê¤Ä¤Ö¤·¥¹¥¿¥¤¥ë¤ò plot ¥³¥Þ¥ó¥É¾å¤Ç»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

Åɤê¤Ä¤Ö¤·¥¹¥¿¥¤¥ë¤¬ empty ¤Î¾ì¹ç¤Ï¡¢È¢¤ÏÅɤê¤Ä¤Ö¤µ¤ì¤Þ¤»¤ó¡£

Åɤê¤Ä¤Ö¤·¥¹¥¿¥¤¥ë¤¬ solid ¤Î¾ì¹ç¤Ï¡¢È¢¤Ï¸½ºß¤ÎÉÁ²è¿§¤Ç¥Ù¥¿Åɤꤵ¤ì ¤Þ¤¹¡£¤³¤ì¤Ë¤ÏÄɲ媥ץ·¥ç¥ó < density> ¤¬¤¢¤ê¡¢¤½¤ì¤ÏÅɤê¤Ä¤Ö¤·Ì©ÅÙ¤ò °ÕÌ£¤·¡¢0 ¤ÏÇØ·Ê¿§¡¢1 ¤ÏÉÁ²è¿§¤½¤Î¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£

Åɤê¤Ä¤Ö¤·¥¹¥¿¥¤¥ë¤¬ pattern ¤Î¾ì¹ç¤Ï¡¢È¢¤Ï¸½ºß¤ÎÉÁ²è¿§¤Ç¤¢¤ë¥Ñ¥¿¡¼ ¥ó¤ÇÅɤê¤Ä¤Ö¤µ¤ì¤Þ¤¹¤¬¡¢½ÐÎϥɥ饤¥Ð¤¬¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

Îã:

¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤òÅɤê¤Ä¤Ö¤·¤¿È¢¤ÇÉÁ²è¤·¡¢È¢Æ±»Î¤ò¾¯¤·¿âľÊý¸þ¤Ë¥¹¥Ú¡¼¥¹ ¤ò¶õ¤±¤ë (ËÀ¥°¥é¥Õ):


     set boxwidth 0.9 relative
     set style fill solid 1.0
     plot 'file.dat' with boxes

¥Ñ¥¿¡¼¥ó¤Ç¤ÎÅɤê¤Ä¤Ö¤·¥¹¥¿¥¤¥ë¤ÎÈ¢¤Ç sin ¤È cos ¤Î¥°¥é¥Õ¤òÉÁ²è:


     set style fill pattern
     plot sin(x) with boxes, cos(x) with boxes

sin ¤Ï¥Ñ¥¿¡¼¥ó 0 ¤Ç¡¢cos ¤Ï¥Ñ¥¿¡¼¥ó 1 ¤ÇÉÁ²è¤µ¤ì¤Þ¤¹¡£Äɲ䵤ì¤ëÉÁ²è¤Ï ½ÐÎϥɥ饤¥Ð¤¬¥µ¥Ý¡¼¥È¤¹¤ë¥Ñ¥¿¡¼¥ó¤ò½Û´ÄŪ¤Ë»ÈÍѤ·¤Þ¤¹¡£

¤½¤ì¤¾¤ì¤Î¥Ç¡¼¥¿½¸¹ç¤ÇÌÀ¼¨Åª¤ËÅɤê¤Ä¤Ö¤·¥¹¥¿¥¤¥ë¤ò»ØÄê:


    plot 'file1' with boxes fs solid 0.25, \
         'file2' with boxes fs solid 0.50, \
         'file3' with boxes fs solid 0.75, \
         'file4' with boxes fill pattern 1, \
         'file5' with boxes fill empty

28 Boxplot

Image figure_boxplot
boxplot ¤Ï¡¢ÃͤÎÅý·×Ū¤ÊʬÉÛ¤òɽ¸½¤¹¤ë°ìÈÌŪ¤ÊÊýË¡¤Ç¤¹¡£»Íʬ°Ì¶­³¦¤Ï¡¢ 1/4 ¤ÎÅÀ¤¬Âè°ì»Íʬ°Ì¶­³¦°Ê²¼¤ÎÃͤò»ý¤Ä¤è¤¦¤Ë¡¢1/2 ¤ÎÅÀ¤¬ÂèÆó»Íʬ°Ì¶­³¦(¥á¥¸¥¢¥ó) °Ê²¼¤ÎÃͤò»ý¤Ä¤è¤¦¤Ë¡¢Åù¤È·èÄꤵ¤ì¤Þ¤¹¡£Âè°ì»Íʬ°Ì¤ÈÂè»°»Í ʬ°Ì¤Î´Ö¤ÎÎΰè¤ò°Ï¤à¤è¤¦¤ËÈ¢¤òÉÁ²è¤·¡¢¥á¥¸¥¢¥óÃͤΤȤ³¤í¤Ë¤Ï¿åÊ¿Àþ¤òÉÁ ¤­¤Þ¤¹¡£È¢¤Ò¤²¤Ï¡¢È¢¤«¤é¥æ¡¼¥¶»ØÄê¸Â³¦¤Þ¤Ç±äŤµ¤ì¤Þ¤¹¡£¤½¤ì¤é¤Î¸Â³¦¤Î ³°¤Ë¤¢¤ëÅÀ¤Ï¡¢¤Ò¤È¤Ä¤Ò¤È¤ÄÉÁ²è¤µ¤ì¤Þ¤¹¡£

Îã:


   # x ºÂɸ¤Ï 1.0¡¢y ¤Ï 5 ÎóÌܤÎÃͤΤȤ³¤í¤Ë boxplot ¤òÇÛÃÖ
   plot 'data' using (1.0):5


   # ¾å¤ÈƱ¤¸¤À¤¬¡¢Èϰϳ°¤ÎÅÀ¤Ï±£¤·¡¢boxplot ¤ÎÉý¤ò 0.3 ¤Ë¤¹¤ë
   set style boxplot nooutliers
   plot 'data' using (1.0):5:(0.3)

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢using »ØÄê¤Ë¤è¤ë 2 ÎóÌܤΠy ¤Î¤¹¤Ù¤Æ¤ÎÃͤËÂФ¹¤ë boxplot ¤ò 1 ¤Ä¤À¤±À¸À®¤·¤Þ¤¹¡£¤·¤«¤·¡¢ÄɲäΠ(4 ¤ÄÌܤÎ) Îó¤ò»ØÄꤹ¤ë ¤È¡¢¤½¤ÎÎó¤ÎÃͤò¤¢¤ë°ø»ÒÊÑ¿ô¤ÎÎ¥»¶Åª¤Ê¥ì¥Ù¥ëÃͤǤ¢¤ë¤È¸«¤Ê¤·¡¢¤½¤ÎÎ¥»¶ ÃͤΥì¥Ù¥ë¤ÎÃͤοô¤À¤±¤Î boxplot ¤òÉÁ²è¤·¤Þ¤¹¡£¤½¤ì¤é¤Î boxplot ¤Î´Ö³Ö ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 1.0 ¤Ç¤¹¤¬¡¢¤³¤ì¤Ï set style boxplot separation ¤Ç Êѹ¹¤Ç¤­¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢°ø»ÒÊÑ¿ô¤ÎÃͤϡ¢³Æ boxplot ¤Î²¼ (¤Þ¤¿¤Ï ¾å) ¤ÎÌÜÀ¹¤Î¥é¥Ù¥ë¤Ëɽ¼¨¤·¤Þ¤¹¡£

Îã


   # 'data' ¤Î 2 ÎóÌÜ¤Ï "control" ¤« "treatment" ¤Î¤¤¤º¤ì¤«¤Îʸ»úÎó¤Ç
   # °Ê²¼¤ÎÎã¤Ï¡¢¤½¤Î°ø»ÒËè¤Î 2 ¤Ä¤Î boxplot ¤òÀ¸À®¤¹¤ë
   plot 'data' using (1.0):5:(0):2

¤½¤ÎÈ¢¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÉý¤Ï set boxwidth < width> ¤ÇÀßÄê¤Ç¤­¤Þ¤¹¤¬¡¢plot ¥³¥Þ¥ó¥É¤Î using ¤Ë¤è¤ë 3 ÈÖÌܤΥª¥×¥·¥ç¥óÎó¤Ç¤â»ØÄê¤Ç¤­¤Þ¤¹¡£1 ÈÖÌÜ ¤È 3 ÈÖÌܤÎÎó (x ºÂɸ¤ÈÉý) ¤ÏÄ̾ï¥Ç¡¼¥¿Îó¤Ç¤Ï¤Ê¤¯Äê¿ô¤È¤·¤ÆÍ¿¤¨¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢È¢¤Ò¤²¤ÏÈ¢¤Îü¤«¤é¡¢y ¤ÎÃͤ¬»Íʬ°ÌÈϰϤΠ1.5 ÇܤÎÃæ¤Ë ¼ý¤Þ¤Ã¤Æ¤¤¤ÆºÇ¤âÎ¥¤ì¤Æ¤¤¤ë¤è¤¦¤ÊÅÀ¤Þ¤Ç±äŤµ¤ì¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢ÈÏ °Ï³°¤ÎÅÀ (outlier) ¤Ï±ß (pointtype 7) ¤ÇÉÁ¤«¤ì¤Þ¤¹¡£È¢¤Ò¤²¤Îü¤ÎËÀ¤ÎÉý ¤Ï set bars ¤ò»È¤Ã¤ÆÀ©¸æ¤Ç¤­¤Þ¤¹¡£

¤³¤ì¤é¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÀ­¼Á¤Ï set style boxplot ¥³¥Þ¥ó¥É¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£ °Ê²¼»²¾È: set style boxplot (82.66.2), bars (82.4), boxwidth (82.8), fillstyle (82.66.4),candlesticks (30)¡£

29 Boxxyerrorbars

Image figure_boxxyerrorbars
boxxyerrorbars ¥¹¥¿¥¤¥ë¤Ï 2 ¼¡¸µ¤Î¥Ç¡¼¥¿ÉÁ²è¤Ç¤Î¤ßÍøÍѲÄǽ¤Ç¤¹¡£¤³¤ì ¤Ï¡¢xyerrorbars ¥¹¥¿¥¤¥ë¤¬Ã±¤ËÀþʬ¤Î¸òº¹¤Çɽ¸½¤¹¤ë¤È¤³¤í¤òĹÊý·Á¤Çɽ ¸½¤¹¤ë¤³¤È¤ò½ü¤±¤Ð¡¢¤Û¤ÜƱ¤¸¤Ç¤¹¡£¤³¤ì¤Ï¡¢ÆþÎϥǡ¼¥¿¤Î 4 Î󡢤ޤ¿¤Ï 6 Îó¤ò»ÈÍѤ·¤Þ¤¹¡£Í¾Ê¬¤ÊÆþÎÏÎó¤Ï¡¢variable ¹Ô¤äÅɤêÄÙ¤·¿§¤Î¾ðÊó¤¬Ä󶡤µ ¤ì¤¿¤â¤Î¤È¤·¤Æ»ÈÍѤµ¤ì¤Þ¤¹ (°Ê²¼»²¾È: rgbcolor variable (17.1.3))¡£


    4 Îó:  x  y  xdelta  ydelta
    6 Îó:  x  y  xlow  xhigh  ylow  yhigh

È¢¤ÎÉý¤È¹â¤µ¤Ï xyerrorbars ¥¹¥¿¥¤¥ëƱÍÍ x, y ¤Î¸íº¹¤«¤é·èÄꤵ¤ì¤Þ¤¹ ¤Ä¤Þ¤ê¡¢xlow ¤«¤é xhigh ¤Þ¤Ç¤È ylow ¤«¤é yhigh ¤Þ¤Ç¡¢¤Þ¤¿¤Ï x-xdelta ¤«¤é x+xdelta ¤Þ¤Ç¤È y-ydelta ¤«¤é y+ydelta ¤Þ¤Ç¡£¤³¤ì¤é¤Ï²¿Îó¤Î¥Ç¡¼¥¿ ¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤ë¤«¤Ë¤è¤Ã¤Æ·è¤Þ¤ê¤Þ¤¹¡£

ÆþÎÏÎó¤òÄɲà (5,7 ÎóÌÜ) ¤¹¤ë¤È¡¢¤½¤ì¤é¤Ï³Æ¥Ç¡¼¥¿ÅÀËè¤Î variable color ¾ðÊó (°Ê²¼»²¾È: linecolor (17.1), rgbcolor variable (17.1.3)) ¤Ç¤¢¤ë¤È¤·¤Æ»È¤ï¤ì¤Þ ¤¹¡£

È¢¤ÎÆâÉô¤Ï¸½ºß¤ÎÅɤê¤Ä¤Ö¤·¥¹¥¿¥¤¥ë (fillstyle) ¤Ë½¾¤Ã¤ÆÅɤé¤ì¤Þ¤¹¡£¾Ü ºÙ¤Ï¡¢°Ê²¼»²¾È: set style fill (82.66.4), boxes (27)¡£plot ¥³¥Þ¥ó¥É¾å¤Ç¿·¤·¤¤ÅÉ¤ê ¤Ä¤Ö¤·¥¹¥¿¥¤¥ë¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

30 Candlesticks

Image figure_candlesticks
candlesticks ¥¹¥¿¥¤¥ë¤Ï¡¢¶âÍ»¥Ç¡¼¥¿¤Î 2 ¼¡¸µ¤Î¥Ç¡¼¥¿ÉÁ²è¡¢¤ª¤è¤ÓÅý·× ¥Ç¡¼¥¿¤Î¤Ò¤²ÉÕ¤­¤ÎËÀ¥°¥é¥Õ¤òÀ¸À®¤¹¤ë¤Î¤Ë»È¤¨¤Þ¤¹¡£ µ­¹æ¤Ï¡¢¿åÊ¿Êý¸þ¤Ë¤Ï x ¤òÃæ¿´¤È¤·¡¢¿âľÊý¸þ¤Ë¤Ï³«»ÏÃÍ (open) ¤È½ªÃÍ (close) ¤ò¶­³¦¤È¤¹¤ëĹÊý·Á¤¬»È¤ï¤ì¤Þ¤¹¡£¤½¤·¤Æ¡¢¤½¤Î x ºÂɸ¤Î¤È¤³¤í¤Ë ĹÊý·Á¤Î¤Æ¤Ã¤Ú¤ó¤«¤éºÇ¹âÃÍ (high) ¤Þ¤Ç¤È¡¢Ä¹Êý·Á¤ÎÄ줫¤éºÇ°ÂÃÍ (low) ¤Þ¤Ç¤Î¿âľÀþ¤¬°ú¤«¤ì¤Þ¤¹¤¬¡¢¤³¤Î¿âľÀþ¤ÏºÇ¹âÃͤȺǰÂÃͤ¬Æþ¤ìÂؤï¤Ã¤Æ¤â Êѹ¹¤µ¤ì¤Þ¤»¤ó¡£

´ðËÜŪ¤Ë 5 Îó¤Î¥Ç¡¼¥¿¤¬É¬ÍפǤ¹:


     ¶âÍ»¥Ç¡¼¥¿:   date  open  low  high  close
     È¢¤Ò¤²ÉÁ²è:   x  box_min  whisker_min  whisker_high  box_high

ĹÊý·Á¤ÎÉý¤Ï¥³¥Þ¥ó¥É set boxwidth ¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¤¬¡¢°ÊÁ°¤Î gnuplot¤Ø¤Î¸åÊý¸ß´¹À­¤È¤·¤Æ¡¢boxwidth ¥Ñ¥é¥á¡¼¥¿¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ïset bars < width> ¤ÇÀ©¸æ¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

¤³¤ì¤ÎÂå¤ï¤ê¤Ë¡¢È¢¤Ò¤² (box-and-whisker) ¤Î¥°¥ë¡¼¥×²½¤Ë´Ø¤¹¤ëÌÀ¼¨Åª¤Ê Éý¤Î»ØÄê¤ò¡¢ÄɲäΠ6 ÈÖÌܤΥǡ¼¥¿¤Ç»ØÄê¤Ç¤­¤Þ¤¹¡£¤½¤ÎÉý¤Ï¡¢x ºÂɸ¤ÈƱ ¤¸Ã±°Ì¤ÇÍ¿¤¨¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£

ÆþÎÏÎó¤òÄɲà (6 ÎóÌÜ¡¢¤Þ¤¿¤Ï 6 ÎóÌܤ¬¥Ç¡¼¥¿¤ÎÉý¤È¤·¤Æ»È¤ì¤ë¾ì¹ç¤Ï 7 Îó ÌÜ) ¤¹¤ë¤È¡¢¤½¤ì¤é¤Ï³Æ¥Ç¡¼¥¿ÅÀËè¤Î variable color ¾ðÊó (°Ê²¼»²¾È:linecolor (17.1), rgbcolor variable (17.1.3)) ¤È¤·¤Æ»È¤ï¤ì¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢±ôľÀþʬ¤Î¤Æ¤Ã¤Ú¤ó¤ÈÄì¤Ë¤Ï¿âľ¤Ë¸ò¤ï¤ë¿åÊ¿Àþ¤Ï°ú¤«¤ì¤Þ ¤»¤ó¡£¤½¤ì¤ò°ú¤­¤¿¤¤¾ì¹ç¡¢Î㤨¤Ðŵ·¿Åª¤ÊÎã¤ÏÈ¢¤Ò¤²¿Þ (box-and-whisker plot) ¤Ç¤Î»ÈÍѤǤ¹¤¬¡¢ÉÁ²è¥³¥Þ¥ó¥É¤Ë¥­¡¼¥ï¡¼¥É whiskerbars ¤òÄɲä· ¤Æ¤¯¤À¤µ¤¤¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¿åÊ¿Àþ¤ÏÈ¢ (candlestick) ¤Î¿åÊ¿Éý°ìÇդ˰ú ¤«¤ì¤Þ¤¹¤¬¡¢¤½¤ì¤ÏÁ´ÂΤÎÉý¤ËÂФ¹¤ë³ä¹ç¤ò»ØÄꤹ¤ë¤³¤È¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£

¶âÍ»¥Ç¡¼¥¿¤ÎÄ̾ï¤Î´·½¬¤Ç¤Ï¡¢(³«»ÏÃÍ) < (½ªÃÍ) ¤Î¾ì¹ç¤ÏĹÊý·Á¤Ï¶õ¤Ç¡¢ (½ªÃÍ) < (³«»ÏÃÍ) ¤Î¾ì¹ç¤ÏÅɤêÄÙ¤µ¤ì¤Þ¤¹¡£¸½ºß¤Î fillstyle ¤Ë "empty" ¤ò¥»¥Ã¥È¤·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¼ÂºÝ¤Ë¤³¤¦¤Ê¤ê¤Þ¤¹¡£°Ê²¼»²¾È: fillstyle (82.66.4)¡£ fillstyle ¤ËÅɤêÄÙ¤·¡¢¤Þ¤¿¤Ï¥Ñ¥¿¡¼¥ó¤ò¥»¥Ã¥È¤·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢³«»ÏÃÍ¡¢½ª Ãͤ˴ط¸¤Ê¤¯¡¢¤¹¤Ù¤Æ¤ÎÈ¢¤Ë¤½¤ì¤¬»È¤ï¤ì¤Þ¤¹¡£°Ê²¼»²¾È: set bars (82.4),financebars (35)¡£¤Þ¤¿¡¢°Ê²¼¤â»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

candlestick

¤È

finance

¤Î¥Ç¥â¡£

Ãí°Õ: Ãæ±ûÃͤòɽ¤¹¤¿¤á¤Îµ­¹æ¤Ê¤É¤òÄɲä·¤¿¤¤¾ì¹ç¡¢°Ê²¼¤ÎÎã¤Î¤è¤¦¤Ë¡¢¤Ò¤²ÉÕ¤­¤ÎËÀ¥°¥é¥Õ¤Ë¾¤ÎÉÁ²è¥³¥Þ¥ó¥É¤òÄɲ乤ëɬÍפ¬¤¢¤ê¤Þ¤¹:


 # ¥Ç¡¼¥¿Îó:  X 'ºÇ¾®ÃÍ' '1/4 °Ì¤ÎÃÍ' 'Ãæ±ûÃÍ' '3/4 °Ì¤ÎÃÍ' 'ºÇÂçÃÍ'
 set bars 4.0
 set style fill empty
 plot 'stat.dat' using 1:3:2:6:5 with candlesticks title 'Quartiles', \
      ''         using 1:4:4:4:4 with candlesticks lt -1 notitle


 # ¤Ò¤²¤Î¾å¤Ë¿åÊ¿Àþ¤òȼ¤¦ÉÁ²è¤Ç¡¢¿åÊ¿Àþ¤ÎÉý¤òÁ´ÂÎÉý¤Î 50% ¤Ë¤¹¤ë
 plot 'stat.dat' using 1:3:2:6:5 with candlesticks whiskerbars 0.5

°Ê²¼»²¾È: set boxwidth (82.8), set bars (82.4), set style fill (82.66.4), boxplot (28)¡£

31 Circles

Image figure_circles
¥¹¥¿¥¤¥ë circles ¤Ï¡¢³Æ¥Ç¡¼¥¿ÅÀ¤ËÌÀ¼¨¤µ¤ì¤¿È¾·Â¤Î±ß¤òÉÁ²è¤·¤Þ¤¹¡£3 Îó¤Î¥Ç¡¼¥¿¤òÍ¿¤¨¤¿¾ì¹ç¤Ï¡¢¤½¤ì¤ò x, y, Ⱦ·Â¤È²ò¼á¤·¤Þ¤¹¡£È¾·Â¤Ï¡¢¾ï¤Ë ÉÁ²è¤Î¿åÊ¿¼´ (x ¤Þ¤¿¤Ï x2) ¤Îñ°Ì¤Ç²ò¼á¤µ¤ì¤Þ¤¹¡£y Êý¸þ¤Î½Ì¼Ü¤ÈÉÁ²è¤Î ¥¢¥¹¥Ú¥¯¥ÈÈæ¤Ï¡¢¤¤¤º¤ì¤â̵»ë¤µ¤ì¤Þ¤¹¡£2 Îó¤Î¥Ç¡¼¥¿¤·¤«Í¿¤¨¤Ê¤¤¤È¡¢È¾·Â ¤Ï set style circle ¤«¤é¼è¤ê¤Þ¤¹¡£¤³¤Î¾ì¹ç¡¢È¾·Â¤Ï graph ¤« screen ¤ÎºÂɸ·Ï¤ÇÍ¿¤¨¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï´°Á´¤Ê±ß¤òÉÁ²è¤·¤Þ¤¹¤¬¡¢ 4 ÎóÌÜ¡¢5 ÎóÌܤ˳«»Ï³Ñ¡¢½ªÎ»³Ñ¤ò»ØÄꤹ¤ë¤³¤È¤ÇÀð·Á¤òÉÁ²è¤¹¤ë¤³¤È¤â¤Ç¤­ ¤Þ¤¹¡£4 ÎóÌÜ¡¢¤¢¤ë¤¤¤Ï 6 ÎóÌܤΥǡ¼¥¿¤òÄɲä·¤ÆÉôʬ±ß¤Î¿§¤ò»ØÄꤹ¤ë¤³ ¤È¤â¤Ç¤­¤Þ¤¹¡£Àð·Á¤Î³«»Ï³Ñ¡¢½ªÎ»³Ñ¤Îñ°Ì¤ÏÅ٤ǻØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

Îã:


   # ÌÌÀѤ¬ 3 ÎóÌܤÎÃͤËÈæÎ㤹¤ë¤è¤¦¤Ê±ß¤òÉÁ²è
   set style fill transparent solid 0.2 noborder
   plot 'data' using 1:2:(sqrt($3)) with circles, \
        'data' using 1:2 with linespoints


   # ±ß¤ÎÂå¤ï¤ê¤Ë¥Ñ¥Ã¥¯¥Þ¥ó¤òÉÁ²è
   plot 'data' using 1:2:(10):(40):(320) with circles


   # ¥¤¥ó¥é¥ó¥Ç¡¼¥¿¤Ç±ß¥°¥é¥Õ¤òÉÁ²è
   set xrange [-15:15]
   set style fill transparent solid 0.9 noborder
   plot '-' using 1:2:3:4:5:6 with circles lc var
   0    0    5    0    30    1
   0    0    5   30    70    2
   0    0    5   70   120    3
   0    0    5  120   230    4
   0    0    5  230   360    5
   e

¤³¤ì¤Ï¡¢pointstyle 7 ¤ÇÅÀ¤Î¥µ¥¤¥º¤ò variable ¤È¤·¤¿ points ¤Ë¤è¤ëÉÁ ²è¤È»÷¤Æ¤¤¤Þ¤¹¤¬¡¢circles ¤Ï x ¼´¤ÎÈϰϤǿ­½Ì¤µ¤ì¤ëÅÀ¤¬°Û¤Ê¤ê¤Þ¤¹¡£°Ê²¼¤â»²¾È: set object circle (82.47.3), fillstyle (82.66.4)¡£

32 Ellipses

Image figure_ellipses
¥¹¥¿¥¤¥ë ellipses ¤Ï¡¢³Æ¥Ç¡¼¥¿ÅÀ¤ËÂ汧 (ellipse) ¤òÉÁ²è¤·¤Þ¤¹¡£¤³¤Î ¥¹¥¿¥¤¥ë¤Ï¡¢2 ¼¡¸µÉÁ²è¤Ë¤Î¤ßŬÍѤµ¤ì¤Þ¤¹¡£³ÆÂʱߤϡ¢Ãæ¿´¡¢¼ç¼´Ä¾·Â¡¢Éû ¼´Ä¾·Â¡¢x ¼´¤È¼ç¼´¤Î¤Ê¤¹³Ñ¡¢¤Çɽ¸½¤µ¤ì¤Þ¤¹¡£


    2 Îó: x y
    3 Îó: x y major_diam
    4 Îó: x y major_diam minor_diam
    5 Îó: x y major_diam minor_diam angle

2 Îó¤Î¥Ç¡¼¥¿¤Î¤ß¤¬Í¿¤¨¤é¤ì¤¿¾ì¹ç¤Ï¡¢¤½¤ì¤é¤ÏÃæ¿´¤ÎºÂɸ¤È¤ß¤Ê¤µ¤ì¡¢Â汧 ¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÂ礭¤µ¤ÇÉÁ²è¤µ¤ì¤Þ¤¹ (°Ê²¼»²¾È: set style ellipse (82.66.10))¡£ÂÊ ±ß¤Î¸þ¤­¤Ï¡¢¼ç¼´¤È x ¼´¤Î¤Ê¤¹³Ñ¤ÇÄêµÁ¤µ¤ì¤Þ¤¹¤¬¡¢¤½¤ì¤â¥Ç¥Õ¥©¥ë¥È¤Î ellipse ¤Î¥¹¥¿¥¤¥ë¤«¤é¼è¤é¤ì¤Þ¤¹ (°Ê²¼»²¾È: set style ellipse (82.66.10))¡£ 3 Îó¤Î¥Ç¡¼¥¿¤¬Í¿¤¨¤é¤ì¤¿¾ì¹ç¤Ï¡¢3 ÎóÌܤϼ硢Éûξ¼´¤Îľ·Â (Éý) ¤È¤·¤Æ»È ¤ï¤ì¤Þ¤¹¡£¸þ¤­¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç 0 ¤Ë¤Ê¤ê¤Þ¤¹¡£ 4 Îó¤Î¥Ç¡¼¥¿¤¬Í¿¤¨¤é¤ì¤¿¾ì¹ç¤Ï¡¢¤½¤ì¤é¤ÏÃæ¿´¤ÎºÂɸ¡¢¼ç¼´Ä¾·Â (Éý)¡¢Éû ¼´Ä¾·Â¤È¤·¤Æ»È¤ï¤ï¤ì¤Þ¤¹¡£¤³¤ì¤é¤Ïľ·Â¤Ç¤¢¤ê¡¢È¾·Â¤Ç¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ ¤¯¤À¤µ¤¤¡£ 5 Îó¤Î¥Ç¡¼¥¿¤¬Í¿¤¨¤é¤ì¤¿¾ì¹ç¤Ï¡¢5 ÎóÌܤÎÃͤÏÅÙñ°Ì¤Î¸þ¤­¤Î³ÑÅ٤λØÄê¤È ¤·¤Æ»È¤ï¤ì¤Þ¤¹¡£ Âʱߤϡ¢3,4,5 Îó¤ÎÃͤÏÉé¤ÎÃͤȤ·¤Æ»ØÄꤹ¤ë¤³¤È¤Ç¡¢¤½¤ì¤é¤Î¥Ç¥Õ¥©¥ë¥È¤Î ÃͤòÍøÍѤ·¤ÆÂʱߤò½ñ¤«¤»¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

¾å¤Î¤¹¤Ù¤Æ¤Î¾ì¹ç¤Ç¡¢variable color ¥Ç¡¼¥¿¤òºÇ¸å¤ÎÎó (3,4,5,6 ÎóÌÜ) ¤È ¤·¤ÆÄɲäǤ­¤Þ¤¹¡£¾ÜºÙ¤Ï°Ê²¼»²¾È: colorspec (17.1)¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¼ç¼´Ä¾·Â¤Ï¿åÊ¿¼´ (x ¤Þ¤¿¤Ï x2) ¤Îñ°Ì¡¢Éû¼´Ä¾·Â¤Ï¿âľ ¼´ (y ¤Þ¤¿¤Ï y2) ¤Îñ°Ì¤Ç¤¢¤ë¤È¤ß¤Ê¤µ¤ì¤Þ¤¹¡£¤³¤ì¤Ï¡¢x ¼´¤È y ¼´¤Î½Ì¼Ü ¤¬°Û¤Ê¤ë¾ì¹ç¡¢¼ç¼´¤ÈÉû¼´¤ÎÈæ¤Ï²óž¸å¤Ë¤ÏÀµ¤·¤¯¤Ï¤Ê¤é¤Ê¤¤¡¢¤È¤¤¤¦¤³¤È¤ò °ÕÌ£¤·¤Æ¤¤¤Þ¤¹¡£¤·¤«¤·¤³¤ÎµóÆ°¤Ï¡¢¥­¡¼¥ï¡¼¥É units ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£

¤³¤ì¤Ë´Ø¤·¤Æ¤Ï¡¢3 ¼ïÎà¤ÎÂåÍÑÉʤ¬¤¢¤ê¤Þ¤¹: units xy ¤¬ÉÁ²è»ØÄê¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤Î¼´¤Ï¾å¤Ë½Ò¤Ù¤¿¤è¤¦¤Ë½Ì¼Ü ¤µ¤ì¤Þ¤¹¡£units xx ¤È¤¹¤ë¤È¡¢Ä¾·Â¤Ïξ¼´¤È¤â x ¼´¤Îñ°Ì¤Ç·×»»¤µ¤ì¡¢ units yy ¤Ïξ¼´¤È¤â y ¼´¤Îñ°Ì¤Ç·×»»¤µ¤ì¤Þ¤¹¡£¸å¤Î 2 ¤Ä¤Ï¡¢ÉÁ²è¤Î¥µ ¥¤¥º¤òÊѹ¹¤·¤Æ¤â¡¢ÂʱߤÏÀµ¤·¤¤¥¢¥¹¥Ú¥¯¥ÈÈæ¤ò»ý¤Á¤Þ¤¹¡£

units ¤ò¾Êά¤·¤¿¾ì¹ç¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄ꤬»ÈÍѤµ¤ì¡¢units xy ¤È¤Ê ¤ê¤Þ¤¹¤¬¡¢¤³¤ì¤Ï¡¢set style ellipse ¤ÇºÆÄêµÁ²Äǽ¤Ç¤¹¡£

Îã (ÂʱߤòÍ­¸ú¤ÊÀþ¼ï¤ò¼þ´üŪ¤Ë»ÈÍѤ·¤ÆÉÁ²è):


   plot 'data' using 1:2:3:4:(0):0 with ellipses

°Ê²¼¤â»²¾È: set object ellipse (82.47.2), set style ellipse (82.66.10), fillstyle (82.66.4)¡£

33 Dots

Image figure_dots
dots ¥¹¥¿¥¤¥ë¤Ï³ÆÅÀ¤Ë¾®¤µ¤Ê¥É¥Ã¥È¤òÉÁ²è¤·¤Þ¤¹¡£¤³¤ì¤Ï¤¿¤¯¤µ¤ó¤ÎÅÀ¤« ¤é¤Ê¤ë»¶ÉÛ¿Þ¤ÎÉÁ²è¤ËÊØÍø¤Ç¤·¤ç¤¦¡£2 ¼¡¸µÉÁ²è¤Ç¤Ï 1 Î󡢤ޤ¿¤Ï 2 Îó¤ÎÆþ Îϥǡ¼¥¿¤¬¡¢3 ¼¡¸µÉÁ²è¤Ç¤Ï 3 Îó¤Î¥Ç¡¼¥¿¤¬É¬ÍפǤ¹¡£

½ÐÎÏ·Á¼°¤Ë¤è¤Ã¤Æ¤Ï (post, pdf ¤Ê¤É)¡¢¥É¥Ã¥È¤ÎÂ礭¤µ¤Ï linewidth ¤òÊѹ¹ ¤¹¤ë¤³¤È¤ÇÀ©¸æ¤Ç¤­¤ë¤³¤È¤â¤¢¤ê¤Þ¤¹¡£


    1 Îó:  y         # x ¤Ï¹ÔÈÖ¹æ
    2 Îó:  x  y
    3 Îó:  x  y  z   # 3D ¤Î¤ß (splot)

34 Filledcurves

Image figure_filledcurves
¥¹¥¿¥¤¥ë filledcurves ¤Ï 2 ¼¡¸µÉÁ²è¤Ç¤Î¤ßÍøÍѲÄǽ¤Ç¤¹¡£¤³¤ì¤Ï 3 ¼ïÎà ¤Î°Û¤Ê¤ë»ØÄ꤬²Äǽ¤Ç¤¹¡£ºÇ½é¤Î 2 ¼ïÎà¤Ï´Ø¿ôÉÁ²è¡¢¤¢¤ë¤¤¤Ï 2 Îó¤ÎÆþÎ촂 ¡¼¥¿ÍѤΤâ¤Î¤Ç¡¢¸å¤Ç¾Ò²ð¤¹¤ë¤è¤¦¤Ë¥ª¥×¥·¥ç¥ó¤Ç¹¹¤Ê¤ë»ØÄ꤬¤Ç¤­¤Þ¤¹¡£

½ñ¼°:


   plot ... with filledcurves [option]

¤³¤³¤Ç¡¢¥ª¥×¥·¥ç¥ó¤Ï°Ê²¼¤Î¤¦¤Á¤Î¤¤¤º¤ì¤«¤Ç¤¹:


   [closed | {above | below}
   {x1 | x2 | y1 | y2 | r}[=<a>] | xy=<x>,<y>]

ºÇ½é¤Î¤â¤Î¤Ï closed ¤Ç¡¢¤³¤ì¤Ï¶ÊÀþ¤½¤ì¼«¿È¤òÊÄ¿³Ñ·Á¤È¸«¤Ê¤·¤Þ¤¹¡£Æþ Îϥǡ¼¥¿¤¬ 2 Îó¤Î¾ì¹ç¤Ë¤Ï¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¹¡£

2 ¼ïÎàÌܤϻØÄꤵ¤ì¤¿¼´¡¢¤¢¤ë¤¤¤Ï¿åÊ¿Àþ¡¢¿âľÀþ¡¢Í¿¤¨¤é¤ì¤¿ÅÀ¤Ê¤É¤È¡¢¶Ê Àþ¤È¤Î´Ö¤Ëºî¤é¤ì¤ëÎΰè¤òÅɤê¤Ä¤Ö¤·¤Þ¤¹¡£


   filledcurves closed   ... ÃúÅÙÊĶÊÀþ¤Ç°Ï¤Þ¤ì¤ëÎΰè
   filledcurves x1       ... x1 ¼´
   filledcurves x2       ... x2 ¼´ (y1, y2 ¼´¤âƱÍÍ)
   filledcurves y1=0     ... (y1 ¼´¤Ç¤Î) ľÀþ y=0 i.e. x1 ¼´¤ÈÊ¿¹Ô
   filledcurves y2=42    ... (y2 ¼´¤Ç¤Î) ľÀþ y=42 i.e. x2 ¼´¤ÈÊ¿¹Ô
   filledcurves xy=10,20 ... x1,y1 ¼´¤Ç¤ÎÅÀ 10,20 (À𷿤Τ褦¤Ê·Á¾õ)
   filledcurves above r=1.5  ¶ËºÂɸ¤Ç¤ÎÆ°·Â¼´¤Î 1.5 ¤Î³°Â¦¤ÎÎΰè

3 ¼ïÎàÌÜ¤Ï 3 Îó¤ÎÆþÎϥǡ¼¥¿¤òɬÍפȤ·¡¢¤½¤ì¤é¤Ï x ºÂɸ¤È¡¢¤½¤ì¤ËÂФ¹¤ë 2 ¤Ä¤Î y ºÂɸ¤«¤é¤Ê¤ê¡¢¤½¤ì¤é¤ÏƱ¤¸ x ºÂɸ¤Î½¸¹ç¤ËÂФ¹¤ë 2 ¤Ä¤Î¶ÊÀþ¤Î y ºÂɸ¤ËÂбþ¤·¤Þ¤¹¡£¤½¤·¤Æ¤½¤Î 2 ¤Ä¤Î¶ÊÀþ¤Î´Ö¤ÎÎΰ褬Åɤê¤Ä¤Ö¤µ¤ì¤Þ¤¹¡£ ÆþÎϥǡ¼¥¿¤¬ 3 Îó°Ê¾å¤Î¾ì¹ç¤Ë¤Ï¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¹¡£


    3 Îó:  x  y1  y2

ÆþÎϤµ¤ì¤¿ 2 ¤Ä¤Î¶ÊÀþ¤Î´Ö¤ÎÎΰè¤ÎÅɤê¤Ä¤Ö¤·¤ÎÎã:

¶ÊÀþ´Ö¤ÎÅɤê¤Ä¤Ö¤·¥Ç¥â¡£


   plot 'data' using 1:2:3 with filledcurves

above ¤È below ¥ª¥×¥·¥ç¥ó¤Ï

   ... filledcurves above {x1|x2|y1|y2|r}=<val>

¤ª¤è¤Ó
   ... using 1:2:3 with filledcurves below

¤Î·Á¤Î¥³¥Þ¥ó¥É¤ËŬÍѲÄǽ¤Ç¤¹¡£¤É¤Á¤é¤Î¾ì¹ç¤Ç¤â¡¢¤³¤ì¤é¤Î¥ª¥×¥·¥ç¥ó¤Ï Åɤê¤Ä¤Ö¤·Îΰè¤ò¡¢¶­³¦Àþ¡¢¤Þ¤¿¤Ï¶­³¦¶ÊÀþ¤ÎÊÒ¦¤ËÀ©¸Â¤·¤Þ¤¹¡£

Ãí°Õ: ¤³¤ÎÉÁ²è¥â¡¼¥É¤ÏÁ´¤Æ¤Î½ÐÎÏ·Á¼°¤Ç¥µ¥Ý¡¼¥È¤µ¤ì¤ë¤È¤Ï¸Â¤ê¤Þ¤»¤ó¡£

¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤«¤éÉÁ¤«¤ì¤¿¶ÊÀþ¤ÎÅɤê¤Ä¤Ö¤·¤ò³ÈÂ礹¤ë¤È¡¢²¿¤â¤Ê¤¯¤Ê¤Ã¤¿ ¤êÀµ¤·¤¯¤Ê¤¤Îΰè¤Ë¤Ê¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¤¬¡¢¤½¤ì¤Ï gnuplot ¤¬¡¢Îΰè¤Ç¤Ï¤Ê ¤¯ÅÀ¤äÀþ¤ò¥¯¥ê¥Ã¥Ô¥ó¥°¤·¤Æ¤¤¤ë¤«¤é¤Ç¤¹¡£

< a> , < x> , < y> ¤¬ÉÁ²èÎΰè¤Î³°¤Ë¤¢¤ë¾ì¹ç¡¢¤½¤ì¤é¤Ï¥°¥é¥Õ¤Î¶­³¦¤Ø°ÜÆ°¤µ¤ì ¤Þ¤¹¡£¤è¤Ã¤Æ¡¢¥ª¥×¥·¥ç¥ó xy=< x> ,< y> ¤ò»ØÄꤷ¤¿¾ì¹ç¤Î¼ÂºÝ¤ÎÅɤê¤Ä¤Ö¤·ÎÎ °è¤Ï¡¢xrange ¤ä yrange ¤Ë°Í¸¤·¤Þ¤¹¡£

35 Financebars

financebars ¥¹¥¿¥¤¥ë¤Ï¶âÍ»¥Ç¡¼¥¿¤Î 2 ¼¡¸µ¤Î¥Ç¡¼¥¿ÉÁ²è¤Ç¤Î¤ßÍøÍѲÄǽ ¤Ç¤¹¡£¤³¤ì¤Ï¡¢x ºÂɸ 1 ¤Ä (Ä̾ïÆüÉÕ) ¤È¡¢4 ¤Ä¤Î y ºÂɸ (¶â³Û) ¤òɬÍ×¤È ¤·¤Þ¤¹¡£


    5 Îó:   date  open  low  high  close

ÆþÎÏÎó¤òÄɲà (6 ÎóÌÜ) ¤¹¤ë¤È¡¢¤½¤ì¤é¤Ï³Æ¹ÔËè¤Î variable color ¾ðÊó (°Ê²¼»²¾È: linecolor (17.1), rgbcolor variable (17.1.3)) ¤È¤·¤Æ»È¤ï¤ì¤Þ¤¹¡£

Image figure_financebars
µ­¹æ¤Ï¡¢¿åÊ¿Êý¸þ¤Ë¤Ï¤½¤Î x ºÂɸ¤ËÃÖ¤«¤ì¡¢¿âľÊý¸þ¤Ë¤ÏºÇ¹âÃÍ (high) ¤È ºÇ°ÂÃÍ (low) ¤òü¤È¤¹¤ëÀþʬ¤¬»È¤ï¤ì¤Þ¤¹¡£¤½¤·¤Æ¡¢¤½¤ÎÀþʬ¤Ë¿åÊ¿º¸Â¦¤Î ¹ï¤ß¤¬³«»ÏÃÍ (open) ¤Î½ê¤Ë¡¢¿åÊ¿±¦Â¦¤Î¹ï¤ß¤¬½ª¤êÃÍ (close) ¤Î½ê¤Ë¤Ä¤­ ¤Þ¤¹¡£¤½¤Î¹ï¤ß¤ÎŤµ¤Ï set bars ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£µ­¹æ¤ÏºÇ¹âÃͤȺǰÂÃÍ ¤¬Æþ¤ìÂؤï¤Ã¤Æ¤âÊѤï¤ê¤Þ¤»¤ó¡£°Ê²¼»²¾È: set bars (82.4), candlesticks (30)¡£°Ê²¼¤â»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

¶âÍ»¥Ç¡¼¥¿¥Ç¥â¡£

36 Fsteps

Image figure_fsteps
fsteps ¥¹¥¿¥¤¥ë¤Ï 2 ¼¡¸µÉÁ²è¤Ç¤Î¤ßÍøÍѲÄǽ¤Ç¤¹¡£¤³¤ì¤Ï 2 ËܤÎÀþʬ¤Ç ÎÙ¤ê¹ç¤¦ÅÀ¤ò¤Ä¤Ê¤®¤Þ¤¹: 1 ËÜÌÜ¤Ï (x1,y1) ¤«¤é (x1,y2) ¤Þ¤Ç¡¢2 ËÜÌÜ¤Ï (x1,y2) ¤«¤é (x2,y2) ¤Þ¤Ç¡£ÆþÎÏÎó¤Î¾ò·ï¤Ï¡¢lines ¤ä points ¤ËÂФ¹ ¤ë¤â¤Î¤ÈƱ¤¸¤Ç¤¹¡£fsteps ¤È steps ¤Î°ã¤¤¤Ï¡¢fsteps ¤Ï¡¢ÀÞ¤ìÀþ¤ò Àè¤Ë y Êý¸þ¤Ë½ñ¤¤¤Æ¤«¤é¼¡¤Ë x Êý¸þ¤Ë½ñ¤¯¤Î¤ËÂФ·¡¢steps ¤ÏÀè¤Ë x Êý ¸þ¤Ë½ñ¤¤¤Æ¤«¤é¼¡¤Ë y Êý¸þ¤Ë½ñ¤­¤Þ¤¹¡£

°Ê²¼¤â»²¾È

steps ¥Ç¥â¡£

37 Fillsteps

fillsteps ¥¹¥¿¥¤¥ë¤Ï¡¢steps ¤È¤Û¤ÜƱ¤¸¤Ç¤¹¤¬¡¢¶ÊÀþ¤È y=0 ¤È¤Î´Ö¤Î Îΰè¤ò¸½ºß¤Î fillstyle ¤ÇÅɤêÄÙ¤·¤Þ¤¹¡£°Ê²¼»²¾È: steps (47)¡£

38 Histeps

Image figure_histeps
histeps ¥¹¥¿¥¤¥ë¤Ï 2 ¼¡¸µÉÁ²è¤Ç¤Î¤ßÍøÍѲÄǽ¤Ç¤¹¡£¤³¤ì¤Ï¥Ò¥¹¥È¥°¥é¥à ¤ÎÉÁ²è¤Ç¤ÎÍøÍѤò°Õ¿Þ¤·¤Æ¤¤¤Þ¤¹¡£y ¤ÎÃͤϡ¢x ¤ÎÃͤòÃæ¿´¤ËÃÖ¤¯¤È¹Í¤¨¡¢ x1 ¤Ç¤ÎÅÀ¤Ï ((x0+x1)/2,y1) ¤«¤é ((x1+x2)/2,y1) ¤Þ¤Ç¤Î¿åÊ¿Àþ¤È¤·¤Æɽ¸½ ¤µ¤ì¤Þ¤¹¡£Ã¼¤ÎÅÀ¤Ç¤Ï¡¢¤½¤ÎÀþ¤Ï¤½¤Î x ºÂɸ¤¬Ãæ¿´¤Ë¤Ê¤ë¤è¤¦¤Ë±äŤµ¤ì¤Þ ¤¹¡£ÎÙ¤ê¹ç¤¦ÅÀƱ»Î¤Î¿åÊ¿Àþ¤Îü¤Ï¡¢¤½¤Îξ¼Ô¤ÎÊ¿¶ÑÃͤΤȤ³¤í¤Ç¤Î±ôľÀþ¡¢ ¤¹¤Ê¤ï¤Á ((x1+x2)/2,y1) ¤«¤é ((x1+x2)/2,y2) ¤ÎÀþʬ¤Ç·ë¤Ð¤ì¤Þ¤¹¡£ ÆþÎÏÎó¤Î¾ò·ï¤Ï¡¢lines ¤ä points ¤ËÂФ¹¤ë¤â¤Î¤ÈƱ¤¸¤Ç¤¹¡£

autoscale ¤¬Í­¸ú¤Ç¤¢¤ë¾ì¹ç¡¢x ¤ÎÈϰϤϡ¢¤½¤Î±äŤµ¤ì¤¿¿åÊ¿Àþ¤ÎÈÏ°Ï¤Ç ¤Ï¤Ê¤¯¡¢¥Ç¡¼¥¿ÅÀ¤ÎÈϰϤ¬ÁªÂò¤µ¤ì¤Þ¤¹¡£¤è¤Ã¤Æ¡¢Ã¼¤ÎÅÀ¤Ë´Ø¤·¤Æ¤Ï¤½¤Î¿åÊ¿ Àþ¤ÏȾʬ¤·¤«ÉÁ¤«¤ì¤Ê¤¤¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ °Ê²¼¤â»²¾È

steps ¥Ç¥â¡£

histeps ¤Ïñ¤Ê¤ëÉÁ²è¥¹¥¿¥¤¥ë¤Ë¤¹¤®¤º¡¢gnuplot ¤Ë¤Ï¡¢¥Ò¥¹¥È¥°¥é¥à¤Î È¢¤òÀ¸À®¤¹¤ëǽÎϤ䡢¥Ç¡¼¥¿½¸¹ç¤«¤éÊ콸ÃĤò·èÄꤹ¤ëǽÎϤʤɤϤ¢¤ê¤Þ¤»¤ó¡£

39 Histograms

¥¹¥¿¥¤¥ë histograms ¤Ï 2 ¼¡¸µÉÁ²è¤Ç¤Î¤ßÍ­¸ú¤Ç¤¹¡£¤³¤ì¤Ï¡¢¥Ç¡¼¥¿¤Î³Æ Îó¤ÎʤӤ«¤éÊ¿¹Ô¤ÊËÀ¥°¥é¥Õ¤òºî¤ê¤Þ¤¹¡£plot ¥³¥Þ¥ó¥É¤Î³ÆÍ×ÁǤϡ¢¤½¤ì ¤Ë´Ø¤¹¤ëÌÜÀ¹¤ê¤ÎÃͤäÀâÌÀ¤Î¥¿¥¤¥È¥ë¤¬ÉÕ°¤¹¤ë¤«¤âÃΤì¤Þ¤»¤ó¤¬¡¢Ã±°ì¤Î ÆþÎϥǡ¼¥¿¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹ (Î㤨¤ÐÆþÎÏ¥Õ¥¡¥¤¥ë¤Î 1 ¤Ä¤ÎÎó)¡£¸½ ºß¤Ï¡¢4 ¼ïÎà¤Î¥Ò¥¹¥È¥°¥é¥à·Á¼°¤Î¥¹¥¿¥¤¥ë¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£


     set style histogram clustered {gap <gapsize>}
     set style histogram errorbars {gap <gapsize>} {<linewidth>}
     set style histogram rowstacked
     set style histogram columnstacked

¥Ç¥Õ¥©¥ë¥È¤Î¥¹¥¿¥¤¥ë¤Ï set style histogram clustered gap 2 ¤ËÂбþ¤· ¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥¹¥¿¥¤¥ë¤Ç¤Ï¡¢ÊÂÎó¤Ë»ØÄꤵ¤ì¤¿¥Ç¡¼¥¿¤ÎÃͤν¸¹ç¤Ï¡¢ÁªÂò¤µ ¤ì¤¿¥Ç¡¼¥¿Îó¤Î¤½¤Î¤½¤ì¤¾¤ì¤Î½øÎó (¹ÔÈÖ¹æ) ¤ËÂбþ¤¹¤ë x ºÂɸ¤Î¾ì½ê¤Ë¡¢ ³Æ¡¹È¢¤Î¥°¥ë¡¼¥×¤È¤·¤Æ¸Ç¤á¤é¤ì¤ÆÃÖ¤«¤ì¤Þ¤¹¡£¤è¤Ã¤Æ¡¢< n> ¸Ä¤Î¥Ç¡¼¥¿Îó¤ò ÊÂÎó¤Ë»ØÄꤷ¤¿¾ì¹ç¡¢ºÇ½é¤Î¸Ç¤Þ¤ê¤Ï x=1 ¤òÃæ¿´¤È¤¹¤ë < n> ¸Ä¤ÎÈ¢¤Î¸Ç¤Þ¤ê ¤«¤é¤Ê¤ê¡¢¤½¤Î³Æ¡¹¤Î¹â¤µ¤Ï¡¢¤½¤Î < n> ¥Ç¡¼¥¿Îó³Æ¡¹¤ÎºÇ½é (1 ¹ÔÌÜ) ¤ÎÃÍ ¤¬¼è¤é¤ì¤Þ¤¹¡£¤½¤Î¸å¤Ë¾¯¤·¶õÇò (gap) ¤¬¶õ¤±¤é¤ì¡¢¼¡¤Ë³Æ¥Ç¡¼¥¿Îó¤Î¼¡ (2 ¹ÔÌÜ) ¤ÎÃͤËÂбþ¤¹¤ëÈ¢¤Î¸Ç¤Þ¤ê¤¬ x=2 ¤òÃæ¿´¤È¤·¤ÆÃÖ¤«¤ì¤Þ¤¹¡£°Ê²¼Æ±ÍͤǤ¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¶õÇò (gap) Éý¤Î 2 ¤Ï¡¢È¢¤Î¸Ç¤Þ¤êƱ»Î¤Î´Ö¤Î¶õÇò¤¬¡¢È¢ 2 ¤Ä¤ÎÉý¤ËÅù¤·¤¤¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£Æ±¤¸Îó¤ËÂФ¹¤ëÈ¢¤ÏÁ´¤ÆƱ¤¸¿§¤Þ¤¿¤ÏƱ ¤¸¥Ñ¥¿¡¼¥ó¤ÇÍ¿¤¨¤é¤ì¤Þ¤¹ (°Ê²¼»²¾È: set style fill (82.66.4))¡£

È¢¤Î¸Ç¤Þ¤ê¤½¤ì¤¾¤ì¤Ï¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î 1 ¤Ä¤Î¹Ô¤«¤éÆÀ¤é¤ì¤Þ¤¹¡£¤½¤Î¤è ¤¦¤ÊÆþÎÏ¥Õ¥¡¥¤¥ë¤Î³Æ¹Ô¤ÎºÇ½é¤Î¹àÌܤ¬¸«½Ð¤· (¥é¥Ù¥ë) ¤Ç¤ë¤³¤È¤ÏÎɤ¯¤¢¤ë ¤³¤È¤Ç¤¹¡£¤½¤ÎÎó¤Ë¤¢¤ë¸«½Ð¤· (¥é¥Ù¥ë) ¤Ï¡¢using ¤Ë xticlabels ¥ª¥× ¥·¥ç¥ó¤ò¤Ä¤±¤ë¤³¤È¤Ç¡¢¤½¤ì¤ËÂбþ¤¹¤ëÈ¢¤Î¸Ç¤Þ¤ê¤Î¿¿²¼¤Î x ¼´¤Ë±è¤Ã¤¿¤È ¤³¤í¤ËÃÖ¤¯¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

errorbars ¥¹¥¿¥¤¥ë ¤Ï¡¢³Æ¥¨¥ó¥È¥ê¤ËÂФ·¤ÆÄɲäÎÆþÎÏÎó¤òɬÍפȤ¹¤ë°Ê³°¤Ï clustered ¥¹¥¿¥¤¥ë¤Ë¤È¤Æ¤âÎɤ¯»÷¤Æ¤¤¤Þ¤¹¡£ºÇ½é¤ÎÎó¤Ï¡¢ clustered ¥¹¥¿¥¤¥ë¤Î¾ì¹ç¤ÈÁ´¤¯Æ±ÍͤËÈ¢¤Î¹â¤µ (y ¤ÎÃÍ) ¤È¤·¤ÆÊÝ»ý¤µ¤ì ¤Þ¤¹¡£

    2 Îó:       y yerr          # Àþ¤Ï y-yerr ¤«¤é y+err ¤Ø¿­¤Ó¤ë
    3 Îó:       y ymin ymax     # Àþ¤Ï ymin ¤«¤é ymax ¤Ø¿­¤Ó¤ë

¸íº¹Àþ¤Î¸«¤¿Ìܤϡ¢¸½ºß¤Î set bars ¤ÎÃÍ¤È < linewidth> ¥ª¥×¥·¥ç¥ó»ØÄê ¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¡£

ÀѤ߾夲·¿¤Î¥Ò¥¹¥È¥°¥é¥à¤â 2 ¤Ä¤Î·Á¼°¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤½¤ì¤é¤Ï ¥³¥Þ¥ó¥É set style histogram {rowstacked| columnstacked} ¤ÇÁªÂò¤Ç¤­¤Þ ¤¹¡£¤³¤ì¤é¤Î¥¹¥¿¥¤¥ë¤Ë¤ª¤¤¤Æ¡¢ÁªÂò¤µ¤ì¤¿Îó¤Î¥Ç¡¼¥¿¤ÎÃͤÏÀѤ߾夲¤é¤ì¤¿ È¢¤È¤·¤Æ½¸¤á¤é¤ì¤Þ¤¹¡£Àµ¤ÎÃͤϡ¢y=0 ¤«¤é¾å¤ÎÊý¤ØÀѤ߾夲¤é¤ì¡¢Éé¤ÎÃÍ¤Ï ²¼¤Ø¸þ¤«¤Ã¤ÆÀѤ߾夲¤é¤ì¤Þ¤¹¡£Àµ¤ÎÃͤÈÉé¤ÎÃͤ¬º®¤¸¤Ã¤Æ¤¤¾ì¹ç¤Ï¡¢¾å¸þ¤­ ¤È²¼¸þ¤­¤ÎξÊý¤ÎÀѤ߾夲¤¬À¸À®¤µ¤ì¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤ÎÀѤ߾夲¥â¡¼¥É¤Ï rowstacked ¤Ç¤¹¡£

¥¹¥¿¥¤¥ë rowstacked ¤Ï¡¢¤Þ¤ººÇ½é¤ËÁªÂò¤µ¤ì¤¿Îó¤Î³Æ¹Ô¤ÎÃͤò x ¼´¤Î¤½ ¤ì¤¾¤ì¤Î°ÌÃÖ¤ËÇÛÃÖ¤·¤Þ¤¹: 1 ¹ÔÌܤÎÃÍ¤Ï x=1 ¤ÎÈ¢¡¢2 ¹ÔÌÜ¤Î¤Ï x=2¡¢°Ê²¼Æ±ÍͤȤʤê¤Þ¤¹¡£2 ÈÖÌܰʹߤËÁªÂò¤µ¤ì¤¿Îó¤ËÂбþ¤¹¤ëÈ¢¤Ï¡¢¤½¤ì¤é¤Î¾å¤ËÀѤ߽Ťͤé¤ì¤Æ¹Ô¤­¤Þ¤¹¡£¤½¤·¤Æ·ë²Ì¤È¤·¤Æ¡¢x=1 ¤Ë¤Ç¤­¤ëÈ¢¤ÎÀѤ߽Ťͤϡ¢³Æ Îó¤ÎºÇ½é¤ÎÃÍ (1 ¹ÔÌܤÎÃÍ) ¤«¤é¤Ê¤ê¡¢x=2 ¤ÎÈ¢¤ÎÀѤ߽ŤͤϳÆÎó¤Î 2 ¹ÔÌÜ ¤ÎÃÍ¡¢¤Ê¤É¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£Æ±¤¸Îó¤ËÂФ¹¤ëÈ¢¤ÏÁ´¤ÆƱ¤¸¿§¤Þ¤¿¤ÏƱ¤¸¥Ñ¥¿ ¡¼¥ó¤ÇÍ¿¤¨¤é¤ì¤Þ¤¹ (°Ê²¼»²¾È: set style fill (82.66.4))¡£

¥¹¥¿¥¤¥ë columnstacked ¤âƱÍͤǤ¹¤¬¡¢¤³¤Á¤é¤Ï³ÆÈ¢¤ÎÀѤ߾夲¤Ï (³Æ¹Ô ¤Î¥Ç¡¼¥¿¤«¤é¤Ç¤Ï¤Ê¤¯) ³ÆÎó¤Î¥Ç¡¼¥¿¤«¤é¤Ê¤ê¤Þ¤¹¡£ºÇ½é¤Ë»ØÄꤵ¤ì¤¿Îó¤Î³Æ ¹Ô¤Î¥Ç¡¼¥¿¤¬ x=1 ¤ÎÈ¢¤ÎÀѤ߾夲¤òÀ¸À®¤·¡¢2 ÈÖÌܤ˻ØÄꤷ¤¿Îó¤Î³Æ¹Ô¤Î¥Ç ¡¼¥¿¤¬ x=2 ¤ÎÈ¢¤ÎÀѤ߾夲¡¢¤Ê¤É¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤Î¥¹¥¿¥¤¥ë¤Ç¤Ï¡¢³Æ È¢¤Î¿§¤Ï¡¢³Æ¥Ç¡¼¥¿¹àÌܤΠ(ÎóÈÖ¹æ¤Ç¤Ï¤Ê¤¯) ¹ÔÈֹ椫¤é·èÄꤵ¤ì¤Þ¤¹¡£

È¢¤ÎÉý¤Ï¥³¥Þ¥ó¥É set boxwidth ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£ È¢¤ÎÅɤê¤Ä¤Ö¤·¥¹¥¿¥¤¥ë¤Ï¥³¥Þ¥ó¥É set style fill ¤ÇÀßÄê¤Ç¤­¤Þ¤¹¡£

histograms ¤Ï x ¼´¤Ï¾ï¤Ë x1 ¼´¤ò»È¤¤¤Þ¤¹¤¬¡¢y ¼´¤Ë´Ø¤·¤Æ¤Ï y1 ¼´¤« y2 ¼´¤«¤òÁªÂò¤Ç¤­¤Þ¤¹¡£plot Ì¿Î᤬¡¢histograms ¤È¾¤Î¥¹¥¿¥¤¥ë¤ÎÉÁ²è¤ÎξÊý ¤ò´Þ¤à¾ì¹ç¡¢histogram ¤Ç¤Ê¤¤Êý¤Ï¡¢x1 ¼´¤ò»È¤¦¤« x2 ¼´¤ò»È¤¦¤«¤òÁªÂò¤Ç ¤­¤Þ¤¹¡£

Îã:

Image figure_histclust
ÆþÎÏ¥Õ¥¡¥¤¥ë¤Ï¡¢2, 4, 6, ... ¤ÎÎó¤Ë¥Ç¡¼¥¿Ãͤò»ý¤Á¡¢3, 5, 7, ... ¤ÎÎó ¤Ë¸íº¹É¾²Á¤ò»ý¤Ä¤È¤·¤Þ¤¹¡£°Ê²¼¤ÎÎã¤Ï¡¢2 ÎóÌÜ¡¢4 ÎóÌܤÎÃͤòÈ¢¤Î¸Ç¤Þ¤ê·¿(clustered; ¥Ç¥Õ¥©¥ë¥È¥¹¥¿¥¤¥ë) ¤Î¥Ò¥¹¥È¥°¥é¥à¤È¤·¤ÆÉÁ²è¤·¤Þ¤¹¡£¤³¤³¤Ç ¤Ï¡¢plot ¥³¥Þ¥ó¥É¤Ç·«¤êÊÖ¤· (iteration) ¤ò»ÈÍѤ·¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢Ç¤°Õ¤Î¸Ä ¿ô¤Î¥Ç¡¼¥¿Îó¤ò°ì¤Ä¤Î¥³¥Þ¥ó¥É¤Ç½èÍý¤Ç¤­¤Þ¤¹¡£°Ê²¼»²¾È: iteration (68)¡£


     set boxwidth 0.9 relative
     set style data histograms
     set style histogram cluster
     set style fill solid 1.0 border lt -1
     plot for [COL=2:4:2] 'file.dat' using COL

¤³¤ì¤Ï¡¢x ¼´¾å¤Î³ÆÀ°¿ôÃͤòÃæ¿´¤È¤¹¤ë¤½¤ì¤¾¤ì 2 ¤Ä¤ÎÈ¢ (±ôľ¤ÊËÀ) Ëè¤Î ¸Ç¤Þ¤ê¤Ë¤è¤ëÉÁ²è¤òÀ¸À®¤·¤Þ¤¹¡£ÆþÎÏ¥Õ¥¡¥¤¥ë¤ÎºÇ½é¤ÎÎó¤Ë¥é¥Ù¥ë¤¬´Þ¤Þ¤ì¤Æ ¤¤¤ë¤Ê¤é¤½¤ì¤ò¡¢°Ê²¼¤Î¾¯¤·Êѹ¹¤·¤¿¥³¥Þ¥ó¥É¤Ç x ¼´¤Ë±è¤Ã¤ÆÇÛÃ֤Ǥ­¤Þ¤¹¡£


     plot for [COL=2:4:2] 'file.dat' using COL:xticlabels(1)

Image figure_histerrorbar
¥Õ¥¡¥¤¥ë¤¬¡¢³Æ¥Ç¡¼¥¿¤Î¬ÄêÃͤÈÈϰϤξðÊó¤ÎξÊý¤ò´Þ¤ó¤Ç¤¤¤ë¾ì¹ç¡¢ÉÁ²è¤Ë ¸íº¹Àþ¤òÄɲ乤뤳¤È¤¬¤Ç¤­¤Þ¤¹¡£°Ê²¼¤Î¥³¥Þ¥ó¥É¤Ï¸íº¹Àþ¤ò (y-< error> ) ¤«¤é (y+< error> ) ¤Ë°ú¤­¡¢¤½¤ÎƬ¤ËÈ¢¤ÈƱ¤¸Éý¤Î¿åÊ¿Àþ¤ò¤Ä¤±¤Þ¤¹¡£¸íº¹Àþ ¤È¸íº¹Àþ¤Îü¤ÎÀþ¤Ï¡¢¹õ¤ÇÀþÉý 2 ¤ÇÉÁ²è¤µ¤ì¤Þ¤¹¡£


     set bars fullwidth
     set style fill solid 1 border lt -1
     set style histogram errorbars gap 2 lw 2
     plot for [COL=2:4:2] 'file.dat' using COL:COL+1

Ʊ¤¸¥Ç¡¼¥¿¤ò¹ÔËè¤ÎÀѤ߾夲·¿ (rowstacked) ¤Î¥Ò¥¹¥È¥°¥é¥à¤ÇÉÁ²è¤¹¤ë¾ì¹ç¡¢ ¤³¤ì¤Þ¤Ç¤È¤Ï°ã¤¤¡¢°Ê²¼¤ÎÎã¤Ç¤Ï·«¤êÊÖ¤·¤ò»È¤¦¤Î¤Ç¤Ê¤¯¡¢ÌÀ¼¨Åª¤ËÊÌ¡¹¤ÎÎó¤ò»ØÄꤷ¤Þ¤¹¡£


     set style histogram rowstacked
     plot 'file.dat' using 2, '' using 4:xtic(1)

Image figure_histrows
¤³¤ì¤Ï¡¢°ì¤Ä°ì¤Ä¤Î±ôľ¤ÊËÀ¤¬¡¢¥Ç¡¼¥¿¤Î°ì¤Ä¤ÎÎó¤ËÂбþ¤¹¤ëÉÁ²è¤òÀ¸À®¤·¤Þ ¤¹¡£³ÆËÀ¤Ï¡¢2 ¤Ä¤ÎÉôʬ¤ÎÀѤ߾夲¤Î·Á¤Ç¤¢¤ê¡¢¤½¤ì¤¾¤ì¤ÎÉôʬ¤Î¹â¤µ¤¬¡¢¥Ç ¡¼¥¿¥Õ¥¡¥¤¥ë¤Î 2 ÎóÌÜ¤È 4 ÎóÌܤÎÃͤËÂбþ¤·¤Þ¤¹¡£

ºÇ¸å¤Ë°Ê²¼¤Î¥³¥Þ¥ó¥É


     set style histogram columnstacked
     plot 'file.dat' using 2, '' using 4

Image figure_histcols
¤Ï¡¢°ì¤Ä°ì¤Ä¤¬¤½¤ì¤¾¤ì¥Ç¡¼¥¿Îó¤ËÂбþ¤¹¤ë¡¢2 ¤Ä¤Î±ôľ¤ÊÀѤ߽ŤͤÎËÀ¤òÀ¸ À®¤·¤Þ¤¹¡£x=1 ¤Ë¤¢¤ëËÀ¤Ï¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î 2 ÎóÌܤγƹԤÎÃͤËÂбþ¤¹¤ë È¢¤«¤é¤Ê¤ê¤Þ¤¹¡£x=2 ¤Ë¤¢¤ëËÀ¤Ï¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î 4 ÎóÌܤγƹԤÎÃͤËÂÐ ±þ¤¹¤ëÈ¢¤«¤é¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤Ï¡¢gnuplot ¤ÎÄ̾ï¤ÎÆþÎϤνġ¢²£¤Î²ò¼á¤òÆþ¤ì ´¹¤¨¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¤Î¤Ç¡¢key ¥¿¥¤¥È¥ë¤ä x ¼´¤ÎÌÜÀ¹¤ê¤Î¸«½Ð¤·¤Î»ØÄê¤â Êѹ¹¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£°Ê²¼¤Î¥³¥á¥ó¥ÈÉôʬ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£


     set style histogram columnstacked
     plot '' u 5:key(1)            # 1 ÎóÌܤò key ¥¿¥¤¥È¥ë¤Ë»ÈÍÑ
     plot '' u 5 title columnhead  #

¤³¤Î 2 ¤Ä¤ÎÎã¤Ï¡¢Á´¤¯Æ±¤¸¥Ç¡¼¥¿ÃͤòÍ¿¤¨¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢°Û¤Ê¤ë½ñ¼°¤Ç¤¢ ¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

39.1 Newhistogram

½ñ¼°:


    newhistogram {"<title>"} {lt <linetype>} {fs <fillstyle>} {at <x-coord>}

°ì²ó¤ÎÉÁ²è¤Ë 2 ¤Ä°Ê¾å¤Î¥Ò¥¹¥È¥°¥é¥à¤ÎÁȤòºî¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£¤³¤Î¾ì¹ç ¥³¥Þ¥ó¥É newhistogram ¤ò»È¤¦¤³¤È¤Ç¡¢¤½¤ì¤é¤ò¶¯À©Åª¤ËʬΥ¤·¡¢¤Þ¤¿¤½¤ì ¤¾¤ì¤Î¥é¥Ù¥ë¤òʬΥ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ Îã:


     set style histogram  cluster
     plot newhistogram "Set A", 'a' using 1, '' using 2, '' using 3, \
          newhistogram "Set B", 'b' using 1, '' using 2, '' using 3

¥é¥Ù¥ë "Set A" ¤È "Set B" ¤Ï¡¢¤½¤ì¤¾¤ì¤Î¥Ò¥¹¥È¥°¥é¥à¤ÎÁȤβ¼¡¢x ¼´¤ÎÁ´ ¤Æ¤Î¥é¥Ù¥ë¤Î²¼¤Î°ÌÃ֤˸½¤ï¤ì¤Þ¤¹¡£

¥³¥Þ¥ó¥É newhistogram ¤Ï¡¢¥Ò¥¹¥È¥°¥é¥à¤Î¿§ÉÕ¤±¤ò¶¯À©Åª¤Ë»ØÄꤷ¤¿¿§ (linetype) ¤Ç»Ï¤á¤ë¤Î¤Ë¤â»È¤¨¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¿§¤ÎÈÖ¹æ¤Ï¥Ò¥¹¥È¥° ¥é¥à¤Î¶­³¦¤ò¤Þ¤¿¤¤¤Ç¤µ¤¨¤âϢ³Ū¤ËÁý²Ã¤·Â³¤±¤Þ¤¹¡£¼¡¤ÎÎã¤Ï¡¢Ê£¿ô¤Î¥Ò¥¹ ¥È¥°¥é¥à¤ËƱ¤¸¿§ÉÕ¤±¤ò»Ü¤·¤Þ¤¹¡£

     plot newhistogram "Set A" lt 4, 'a' using 1, '' using 2, '' using 3, \
          newhistogram "Set B" lt 4, 'b' using 1, '' using 2, '' using 3

ƱÍͤˡ¢¼¡¤Î¥Ò¥¹¥È¥°¥é¥à¤ò»ØÄꤷ¤¿ fillstyle ¤Ç»Ï¤á¤µ¤»¤ë¤³¤È¤¬²Äǽ¤Ç ¤¹¡£¤½¤Î fillstyle ¤ò pattern ¤Ë¥»¥Ã¥È¤·¤¿¾ì¹ç¡¢ÅɤêÄÙ¤·¤Ë»ÈÍѤµ¤ì¤ë ¥Ñ¥¿¡¼¥óÈÖ¹æ¤Ï¼«Æ°Åª¤ËÁý²Ã¤µ¤ì¤Æ¤¤¤­¤Þ¤¹¡£

Image figure_newhist
¥ª¥×¥·¥ç¥ó at < x-coord> ¤Ï¡¢¤½¤Î¸å¤Î¥Ò¥¹¥È¥°¥é¥à¤Î x ºÂɸ¤Î°ÌÃÖ¤ò < x-coord> ¤ËÀßÄꤷ¤Þ¤¹¡£Îã:


      set style histogram cluster
      set style data histogram
      set style fill solid 1.0 border -1
      set xtic 1 offset character 0,0.3
      plot newhistogram "Set A", \
           'file.dat' u 1 t 1, '' u 2 t 2, \
           newhistogram "Set B" at 8, \
           'file.dat' u 2 t 2, '' u 2 t 2

¤³¤Î¾ì¹ç¡¢2 ¤ÄÌܤΥҥ¹¥È¥°¥é¥à¤Î°ÌÃÖ¤Ï x=8 ¤«¤é»Ï¤Þ¤ê¤Þ¤¹¡£

39.2 Ê£¿ô¤ÎÎó¤ËÅϤ뼫ưŪ¤Ê·«¤êÊÖ¤· (automated)

°ì¤Ä¤Î¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î¤¿¤¯¤µ¤ó¤ÎÎ󤫤顢°ì¤Ä¤Î¥Ò¥¹¥È¥°¥é¥à¤òÀ¸À®¤·¤¿¤¤ ¾ì¹ç¡¢plot ¤Î·«¤êÊÖ¤· (iteration) µ¡Ç½¤ò»È¤¦¤ÈÊØÍø¤Ç¤·¤ç¤¦¡£°Ê²¼»²¾È:iteration (68)¡£Î㤨¤Ð¡¢3 ÎóÌܤ«¤é 8 ÎóÌܤޤǤΥǡ¼¥¿¤òÀѤ߾夲¤¿·Á¤Î¥Ò¥¹ ¥È¥°¥é¥à¤òÀ¸À®¤¹¤ëÎã:


     set style histogram columnstacked
     plot for [i=3:8] "datafile" using i title columnhead

40 Image

ÉÁ²è¥¹¥¿¥¤¥ë image, rgbimage, rgbalpha ¤Ï¡¢¤¤¤º¤ì¤â°ìÍͤËɸËÜÅÀ ¤ò¼è¤Ã¤¿³Ê»Ò¾õ¥Ç¡¼¥¿Ãͤò¡¢2 ¼¡¸µ¡¢¤Þ¤¿¤Ï 3 ¼¡¸µÃæ¤Î¤¢¤ëÊ¿Ì̾å¤Ë¼Í±Æ¤· ¤Þ¤¹¡£ÆþÎϥǡ¼¥¿¤Ï¡¢´û¤Ë¤¢¤ë¥Ó¥Ã¥Þ¥Ã¥×²èÁü¥Õ¥¡¥¤¥ë (PNG ¤Î¤è¤¦¤Êɸ½àŪ ¤Ê¥Õ¥©¡¼¥Þ¥Ã¥È¤«¤éÊÑ´¹¤·¤¿¤â¤Î¤Ç¤è¤¤) ¤«¡¢Ã±½ã¤Ê¿ôÃÍÇÛÎó¤Ç¤¹¡£

Image figure_heatmap
¤³¤Î¿Þ¤Ï¡¢¥¹¥«¥é¡¼ÃͤÎÇÛÎ󤫤鲹ÅÙʬÉÛ¤òÀ¸À®¤·¤¿Îã¤Ç¤¹¡£¸½ºß¤Î¥Ñ¥ì¥Ã¥È ¤ò¡¢³Æ¥¹¥«¥é¡¼Ãͤ«¤éÂбþ¤¹¤ë¥Ô¥¯¥»¥ë¤Î¿§¤Ø¤Î³ä¤êÅö¤Æ¤Ë»ÈÍѤ·¤Þ¤¹¡£
     plot '-' matrix with image
     5 4 3 1 0
     2 2 0 0 1
     0 0 0 1 0
     0 1 2 4 3
     e
     e

Image figure_rgb3D
ÆþÎÏ 2 ¼¡¸µ²èÁü¤Î³Æ¥Ô¥¯¥»¥ë (¥Ç¡¼¥¿ÅÀ) ¤Ï¡¢ÉÁ²è¥°¥é¥ÕÃæ¤Ç¤ÏĹÊý·Á¡¢¤Þ ¤¿¤ÏÊ¿¹ÔÏ»ÌÌÂΤȤʤê¤Þ¤¹¡£²èÁü¤Î³Æ¥Ç¡¼¥¿ÅÀ¤ÎºÂɸ¤Ï¡¢Ê¿¹ÔÏ»ÌÌÂΤÎÃæ¿´¤ò ·èÄꤷ¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢M x N ¸Ä¤Î¥Ç¡¼¥¿½¸¹ç¤Ï M x N ¥Ô¥¯¥»¥ë¤Î²èÁü¤òÀ¸ À®¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢M x N ¸Ä¤Î¥Ç¡¼¥¿½¸¹ç¤¬ (M-1) x (N-1) Í×ÁǤòºîÀ®¤¹¤ë pm3d ¤Î¹½Â¤¤È¤Ï°Û¤Ê¤ê¤Þ¤¹¡£¥Ð¥¤¥Ê¥ê²èÁü¥Ç¡¼¥¿¤Î³Ê»Ò¤ÎÁöººÊý¸þ¤Ï¡¢Äɲà ¥­¡¼¥ï¡¼¥É¤Ç¤µ¤é¤ËÀ©¸æ²Äǽ¤Ç¤¹¡£°Ê²¼»²¾È: binary keywords flipx (72.2.8.4),keywords center (72.2.8.6), keywords rotate (72.2.8.7)¡£

Image figure_scaled_image
³Æ¥Ô¥¯¥»¥ë¤Î x ¤È y ¤ÎÂ礭¤µ¤ò¼¨¤¹¤³¤È¤Ç¡¢²èÁü¥Ç¡¼¥¿¤ò 2 ¼¡¸µÉÁ²èºÂɸ ·ÏÆâ¤ÎÆÃÄê¤ÎĹÊý·Á¤Ë¼ý¤Þ¤ë¤è¤¦¤Ë¿­½Ì¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£°Ê²¼»²¾È:binary keywords dx (72.2.8.3), dy (72.2.8.3)¡£±¦¤Î²èÁü¤òÀ¸À®¤¹¤ë¤Î¤Ë¤Ï¡¢Æ±¤¸ÆþÎϲèÁü¤ò¡¢ ¤½¤ì¤¾¤ì dx, dy, origin ¤ò»ØÄꤷ¤ÆÊ£¿ô²óÇÛÃÖ¤·¤Þ¤·¤¿¡£ÆþÎÏ PNG ²èÁü¤Ç ¤¢¤ë¥Ó¥ë¤Î³¨¤Ï 50x128 ¥Ô¥¯¥»¥ë¤Ç¤¹¡£¹â¤¤¥Ó¥ë¤Ï¡¢dx=0.5 dy=1.5 ¤Ç³ä¤ê Åö¤Æ¤ÆÉÁ²è¤·¡¢Ä㤤¥Ó¥ë¤Ï¡¢dx=0.5 dy=0.35 ¤È¤·¤Æ¤¤¤Þ¤¹ (ÌõÃí: ¤³¤³¤Ç ½Ò¤Ù¤Æ¤¤¤ë²èÁü¤È¤Ï¡¢pdflatex ¤ò»ÈÍѤ·¤¿¥Þ¥Ë¥å¥¢¥ë¤À¤±¤Ë¸½¤ì¤Þ¤¹¤Î¤Ç¡¢ ÆüËܸì¤Î¥Þ¥Ë¥å¥¢¥ë¤Ë¤Ï¤³¤Î¿Þ¤Ï´Þ¤Þ¤ì¤Æ¤¤¤Ê¤¤¤Ç¤·¤ç¤¦¡£)

¥¹¥¿¥¤¥ë image ¤Ï¡¢¥°¥ì¥¤¥¹¥±¡¼¥ë (³¥¿§³¬Ä´)¡¢¤Þ¤¿¤Ï¥«¥é¡¼¥Ñ¥ì¥Ã¥ÈÃÍ ¤ò´Þ¤ó¤Ç¤¤¤ë¥Ô¥¯¥»¥ë¤ÎÆþÎϤò½èÍý¤·¤Þ¤¹¡£¤è¤Ã¤Æ 2 ¼¡¸µÉÁ²è (plot ¥³¥Þ ¥ó¥É) ¤Ç¤Ï 3 Îó¤Î¥Ç¡¼¥¿ (x,y,value) ¤ò¡¢3 ¼¡¸µÉÁ²è (splot ¥³¥Þ¥ó¥É) ¤Ç¤Ï 4 Îó¤Î¥Ç¡¼¥¿ (x,y,z,value) ¤¬É¬Íפˤʤê¤Þ¤¹¡£

¥¹¥¿¥¤¥ë rgbimage ¤Ï¡¢ÀÖ¡¢ÎС¢ÀĤΠ3 ¤Ä¤Î¿§À®Ê¬ (RGB) ¤Çµ­½Ò¤µ¤ì¤¿¥Ô ¥¯¥»¥ë¤ÎÆþÎϤò½èÍý¤·¤Þ¤¹¡£¤è¤Ã¤Æ plot ¤Ç¤Ï 5 ¼¡¸µ¥Ç¡¼¥¿ (x,y,r,g,b) ¤¬¡¢splot ¤Ç¤Ï 6 ¼¡¸µ¥Ç¡¼¥¿ (x,y,z,r,g,b) ¤¬É¬Íפˤʤê¤Þ¤¹¡£ÀÖ¡¢ÎС¢ ÀĤγÆÀ®Ê¬¤Ï [0:255] ¤ÎÈÏ°ÏÆâ¤Ë¤¢¤ë¤È²¾Äꤵ¤ì¤Þ¤¹¡£

¥¹¥¿¥¤¥ë rgbalpha ¤Ï¡¢ÀÖ¡¢ÎС¢ÀĤΠRGB À®Ê¬¤Ë²Ã¤¨¤Æ¡¢¥¢¥ë¥Õ¥¡¥Á¥ã¥Í ¥ë (Æ©²á¥Ñ¥é¥á¡¼¥¿) ¤Î¾ðÊó¤â´Þ¤ó¤À¥Ô¥¯¥»¥ë¤ÎÆþÎϤò½èÍý¤·¤Þ¤¹¡£¤è¤Ã¤Æ¡¢ plot ¤Ç¤Ï 6 ¼¡¸µ¥Ç¡¼¥¿ (x,y,r,g,b,a) ¤¬¡¢splot ¤Ç¤Ï 7 ¼¡¸µ¥Ç¡¼¥¿ (x,y,z,r,g,b,a) ¤¬É¬Íפˤʤê¤Þ¤¹¡£ÀÖ¡¢ÎС¢ÀÄ¡¢¤ª¤è¤Ó¥¢¥ë¥Õ¥¡¤Î³ÆÀ®Ê¬¤Ï [0:255] ¤ÎÈÏ°ÏÆâ¤Ë¤¢¤ë¤È²¾Äꤵ¤ì¤Þ¤¹¡£

40.1 Æ©ÌÀ²½ (transparency)

ÉÁ²è¥¹¥¿¥¤¥ë rgbalpha ¤Ï¡¢ÆþÎϥǡ¼¥¿¤Î³Æ¥Ô¥¯¥»¥ë¤¬ [0:255] ¤ÎÈÏ°ÏÆ⠤Υ¢¥ë¥Õ¥¡Ãͤò»ý¤Ã¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£alpha = 0 ¤Î¥Ô¥¯¥»¥ë¤Ï´°Á´¤ÊÆ© ÌÀ¤Ç¡¢¤½¤Î²¼ (±ü) ¤ÎÉÁ²èÍ×ÁǤòÁ´¤¯ÊѤ¨¤Þ¤»¤ó¡£alpha = 255 ¤Î¥Ô¥¯¥»¥ë¤Ï ´°Á´¤ÊÉÔÆ©ÌÀ¤Ç¤¹¡£¤¹¤Ù¤Æ¤Î½ÐÎÏ·Á¼°¤Ï¡¢¤³¤ì¤é 2 ¤Ä¤Îξ¶Ëü¤ÊÃͤò¥µ¥Ý¡¼ ¥È¤·¤Þ¤¹¡£0 < alpha < 255 ¤Î¥Ô¥¯¥»¥ë¤ÏȾƩÌÀ¤Ç¡¢¤³¤ì¤Ï 2,3 ¤Î½ÐÎÏ·Á¼° ¤·¤«´°Á´¤Ë¤ÏÂбþ¤·¤Æ¤ª¤é¤º¡¢Â¾¤Î½ÐÎÏ·Á¼°¤Ç¤Ï¤³¤ì¤ò 0 ¤« 255 ¤È¤·¤Æ°·¤¦ ¤³¤È¤Ë¤è¤ë¶á»÷¤·¤«¹Ô¤¤¤Þ¤»¤ó¡£

40.2 Image failsafe

½ÐÎÏ·Á¼°¤Î¥É¥é¥¤¥Ð¤Ë¤è¤Ã¤Æ¤Ï¡¢2 ¼¡¸µ¤ÎĹÊý·ÁÎΰèÆâ¤Ç¤Î²èÁü¥Ç¡¼¥¿¤Î¥ì¥ó ¥À¥ê¥ó¥°¤òºÇŬ²½¤¹¤ë¥ë¡¼¥Á¥ó¤òÄ󶡤·¤Æ¤¤¤ë¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£¤·¤«¤·¡¢¤½¤Î ¥ë¡¼¥Á¥ó¤ÏÉÔ´°Á´¤Ç¤¢¤ë¤³¤È¤¬ÃΤé¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤ÎºÇŬ²½¥ë¡¼¥Á¥ó¤Ï¡¢¥­¡¼ ¥ï¡¼¥É failsafe ¤ò»È¤¦¤³¤È¤Ç̵¸ú²½¤Ç¤­¤Þ¤¹¡£Îã:


     plot 'data' with image failsafe

41 Impulses

Image figure_impulses
impulses ¥¹¥¿¥¤¥ë¤Ï¡¢2 ¼¡¸µÉÁ²è¤Ç¤Ï y=0 ¤«¤é³ÆÅÀ¤Î y ¤ÎÃͤؤΡ¢3 ¼¡ ¸µÉÁ²è¤Ç¤Ï z=0 ¤«¤é³ÆÅÀ¤Î z ¤ÎÃͤؤΡ¢¿âľ¤ÊÀþʬ¤òɽ¼¨¤·¤Þ¤¹¡£y ¤ä z ¤ÎÃͤÏÉé¤ÎÃͤǤâ¤è¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£¥Ç¡¼¥¿¤ÎÄɲÃÎó¤ò³Æ¿âľÀþʬ ¤Î¿§¤ÎÀ©¸æ¤ËÍøÍѤǤ­¤Þ¤¹¡£¤³¤Î¥¹¥¿¥¤¥ë¤ò 3 ¼¡¸µÉÁ²è¤Ç»ÈÍѤ¹¤ë¾ì¹ç¡¢ÂÀ ¤¤Àþ (linewidth > 1) ¤òÍøÍѤ¹¤ë¤È¤è¤ê¸ú²ÌŪ¤Ç¤·¤ç¤¦¡£¤½¤ì¤Ï 3 ¼¡¸µ¤ÎËÀ ¥°¥é¥Õ¤Ë»÷¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£


    1 Îó:  y
    2 Îó:  x  y     # [x,0] ¤«¤é [x,y] ¤Ø¤ÎÀþ (2D)
    3 Îó:  x  y  z  # [x,y,0] ¤«¤é [x,y,z] ¤Ø¤ÎÀþ (3D)

42 Labels

Image figure_labels
¥¹¥¿¥¤¥ë labels ¤Ï¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤«¤éºÂɸ¤Èʸ»úÎó¤òÆɤ߹þ¤ß¡¢¤½¤Îʸ »úÎó¤ò¤½¤Î 2 ¼¡¸µ¡¢¤Þ¤¿¤Ï 3 ¼¡¸µºÂɸ¤ËÃÖ¤­¤Þ¤¹¡£¤³¤ì¤Ï´ðËÜŪ¤Ë 3 Îó¡¢ ¤Þ¤¿¤Ï 4 Îó¤ÎÆþÎϤòɬÍפȤ·¤Þ¤¹¡£Í¾Ê¬¤ÊÆþÎÏÎó¤Ï¡¢¥Õ¥©¥ó¥È¥µ¥¤¥º¤«Ê¸»ú ¿§¤ÎÊÑ¿ôÃͤΤ褦¤Ê¾ðÊó¤¬Ä󶡤µ¤ì¤¿¤â¤Î¤È¤·¤Æ»ÈÍѤµ¤ì¤Þ¤¹ (°Ê²¼»²¾È:rgbcolor variable (17.1.3))¡£


    3 Îó:  x  y  string    # 2 ¼¡¸µÈÇ
    4 Îó:  x  y  z  string # 3 ¼¡¸µÈÇ

¥Õ¥©¥ó¥È¡¢¿§¡¢²óž³Ñ¤ä¤½¤Î¾¤ÎÉÁ²è¥Æ¥­¥¹¥È¤Î°À­¤ÏÄɲ媥ץ·¥ç¥ó¤È¤·¤Æ »ØÄê²Äǽ¤Ç¤¹ (°Ê²¼»²¾È: set label (82.31))¡£¼¡¤ÎÎã¤Ï¡¢ÆþÎÏ¥Õ¥¡¥¤¥ë¤Î 1 ÎóÌÜ ¤«¤é¼è¤Ã¤¿»Ô¤Î̾Á°¤«¤éºî¤é¤ì¤ëʸ»úÎó¤ò¡¢4, 5 ÎóÌܤ«¤é¼è¤Ã¤¿ÃÏ¿ÞºÂɸ¤Ë ÉÁ²è¤·¤Þ¤¹¡£¥Õ¥©¥ó¥È¥µ¥¤¥º¤Ï¡¢3 ÎóÌܤÎÃͤ«¤é·×»»¤·¤Æ¤¤¤Æ¡¢¤³¤Î¾ì¹ç¤Ï¤½ ¤ì¤Ï¿Í¸ý¤ò°ÕÌ£¤·¤Æ¤¤¤Þ¤¹¡£


 CityName(String,Size) = sprintf("{/=%d %s}", Scale(Size), String)
 plot 'cities.dat' using 5:4:(CityName(stringcolumn(1),$3)) with labels

¥Õ¥©¥ó¥È¤ò¡¢¸Ä¡¹¤Î»Ô¤ËÂФ·¤Æ°Û¤Ê¤ë¥µ¥¤¥º¤Ë¹ç¤ï¤»¤Ê¤¯¤Æ¤¤¤¤¤Ê¤é¤Ð¡¢¥³¥Þ ¥ó¥É¤Ï¤â¤Ã¤È´Êñ¤Ç¤¹:


 plot 'cities.dat' using 5:4:1 with labels font "Times,8"

¥¹¥¿¥¤¥ë labels ¤Ï 3 ¼¡¸µÉÁ²è¤Ç¤â»ÈÍѤǤ­¤Þ¤¹¡£¤³¤Î¾ì¹ç X,Y,Z ¤Èʸ»ú Î󡢤Π4 ¤Ä¤ÎÆþÎÏÎó»ØÄ꤬ɬÍפǤ¹¡£


 splot 'datafile' using 1:2:3:4 with labels

°Ê²¼¤â»²¾È: datastrings (11), set style data (82.66.3)¡£

43 Lines

Image figure_lines
lines ¥¹¥¿¥¤¥ë¤ÏÎÙÀܤ¹¤ëÅÀ¤ò¿¿Ä¾¤ÊÀþʬ¤Ç·ë¤Ó¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢2 ¼¡¸µÉÁ²è¤Ç¤â¡¢3 ¼¡¸µÉÁ²è¤Ç¤â»ÈÍѤǤ­¡¢´ðËÜŪ¤Ë¤Ï¡¢1 Îó¤« 2 Îó¤« 3 Î󤫤ÎÆþÎϥǡ¼¥¿¤òɬÍפȤ·¤Þ¤¹¡£ ;ʬ¤ÊÆþÎÏÎó¤Ï¡¢Àþ¤Î¿§¤ÎÊѹ¹¤Ê¤É¤Î¾ðÊó¤¬Ä󶡤µ¤ì¤¿¤â¤Î¤È¤·¤Æ»ÈÍѤµ¤ì¤Þ ¤¹ (°Ê²¼»²¾È: rgbcolor variable (17.1.3))¡£

2 ¼¡¸µ¤Î¾ì¹ç

    1 Îó:  y       # ¹ÔÈÖ¹æ¤Ë¤è¤ë°ÅÌۤΠx
    2 Îó:  x  y

3 ¼¡¸µ¤Î¾ì¹ç
    1 Îó:  z       # x ¤Ï°ÅÌۤιÔÈֹ桢y ¤Ï index ¤«¤é
    3 Îó:  x  y  z

°Ê²¼¤â»²¾È: linetype (82.32), linewidth (82.66.7), linestyle (82.66.7)¡£

44 Linespoints

Image figure_linespoints
linespoints ¥¹¥¿¥¤¥ë¤Ï¡¢ÎÙÀܤ¹¤ëÅÀ¤ò¿¿¤Ãľ¤°¤ÊÀþʬ¤Ç·ë¤Ó¡¢¤½¤Î¸å¤ÇºÇ ½é¤ËÌá¤Ã¤Æ³ÆÅÀ¤Ë¾®¤µ¤Êµ­¹æ¤òÉÁ¤­¤Þ¤¹¡£¥³¥Þ¥ó¥É set pointsize ¤ò»È¤Ã ¤Æ¡¢¤½¤Îµ­¹æ¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÂ礭¤µ¤òÊѹ¹¤Ç¤­¤Þ¤¹¡£ ´ðËÜŪ¤Ë 2 ¼¡¸µÉÁ²è¤Ç¤Ï 1 Î󡢤ޤ¿¤Ï 2 Îó¤ÎÆþÎϥǡ¼¥¿¤¬É¬Íפǡ¢3 ¼¡¸µ ÉÁ²è¤Ç¤Ï 1 Î󡢤ޤ¿¤Ï 3 Îó¤Î¥Ç¡¼¥¿¤¬É¬ÍפǤ¹¡£°Ê²¼»²¾È: style lines (43)¡£ ;ʬ¤ÊÆþÎÏÎó¤Ï¡¢ÅÀ¤Î¥µ¥¤¥º¤äÀþ¤Î¿§¤ÎÊѹ¹¤Ê¤É¤Î¾ðÊó¤¬Ä󶡤µ¤ì¤¿¤â¤Î¤È¤· ¤Æ»ÈÍѤµ¤ì¤Þ¤¹¡£

Àþ¼ï (linetype) ¤Î°À­¤Ç¤¢¤ë pointinterval (¾Êά·Á pi) ¤Ç¡¢¥°¥é¥Õ ¤Î¤¹¤Ù¤Æ¤ÎÅÀ¤òÍ¿¤¨¤¿µ­¹æ¤Ë¤¹¤ë¤«¤É¤¦¤«¤òÀ©¸æ¤Ç¤­¤Þ¤¹¡£Î㤨¤Ð¡¢ with lp pi 3 ¤Ï¡¢¤¹¤Ù¤Æ¤Î¥Ç¡¼¥¿ÅÀ´Ö¤ËÀþʬ¤ò°ú¤­¤Þ¤¹¤¬¡¢ÅÀ¤Îµ­¹æ¤Ï 3 ¤Ä¤ª¤­¤Ë¤·¤«½ñ¤­¤Þ¤»¤ó¡£pointinterval ¤òÉé¤ÎÃͤˤ·¤¿¾ì¹ç¤Ï¡¢µ­¹æ¤Î²¼ ¤ÎÀþʬ¤ÎÉôʬ¤ò¾Ã¤·¤Þ¤¹¡£¾Ã¤¹Éôʬ¤Î¥µ¥¤¥º¤Ï set pointintervalbox ¤ÇÀ© ¸æ¤Ç¤­¤Þ¤¹¡£

linespoints ¤Ï lp ¤Èά¤¹¤³¤È¤¬½ÐÍè¤Þ¤¹¡£

45 Points

Image figure_points
points ¥¹¥¿¥¤¥ë¤Ï³ÆÅÀ¤Ë¾®¤µ¤Êµ­¹æ¤òɽ¼¨¤·¤Þ¤¹¡£¤½¤Îµ­¹æ¤Î¥Ç¥Õ¥©¥ë¥È ¤ÎÂ礭¤µ¤òÊѹ¹¤¹¤ë¤Ë¤Ï¥³¥Þ¥ó¥É set pointsize ¤¬»È¤¨¤Þ¤¹¡£ ´ðËÜŪ¤Ë 2 ¼¡¸µÉÁ²è¤Ç¤Ï 1 Î󡢤ޤ¿¤Ï 2 Îó¤ÎÆþÎϥǡ¼¥¿¤¬É¬Íפǡ¢3 ¼¡¸µ ÉÁ²è¤Ç¤Ï 1 Î󡢤ޤ¿¤Ï 3 Îó¤Î¥Ç¡¼¥¿¤¬É¬ÍפǤ¹¡£°Ê²¼»²¾È: style lines (43)¡£ ;ʬ¤ÊÆþÎÏÎó¤Ï¡¢ÅÀ¤Î¥µ¥¤¥º¤äÅÀ¿§¤ÎÊѹ¹¤Ê¤É¤Î¾ðÊó¤¬Ä󶡤µ¤ì¤¿¤â¤Î¤È¤·¤Æ »ÈÍѤµ¤ì¤Þ¤¹¡£

46 Polar

Image figure_polar
¶ËºÂɸÉÁ²è (polar) ¤Ï¡¢¼ÂºÝ¤Ë¤ÏÉÁ²è¥¹¥¿¥¤¥ë¤Î°ì¤Ä¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢´° Á´¤ò´ü¤¹¤¿¤á¤Ë¤³¤Î°ìÍ÷¤Ë¾å¤²¤Æ¤ª¤­¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó set polar ¤Ï¡¢Æþ ÎϤ¹¤ë 2 ¼¡¸µºÂɸ¤ò < x> ,< y> ¤ÎÂå¤ï¤ê¤Ë < ³Ñ> ,< Ⱦ·Â> ¤È²ò¼á¤¹¤ë¤³¤È¤ò gnuplot ¤Ë»Ø¼¨¤·¤Þ¤¹¡£¤¹¤Ù¤Æ¤Ç¤Ï¤Ê¤¤¤¬¡¢Â¿¤¯¤Î 2 ¼¡¸µÉÁ²è¥¹¥¿¥¤¥ë¤¬¶Ë ºÂɸ¥â¡¼¥É¤Ç¤âµ¡Ç½¤·¤Þ¤¹¡£¿Þ¤Ï¡¢ÉÁ²è¥¹¥¿¥¤¥ë lines ¤È filledcurves ¤ÎÁȤ߹ç¤ï¤»¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£(ÌõÃí: ¤³¤³¤Ç½Ò¤Ù¤Æ¤¤¤ë¿Þ¤È¤Ï¡¢pdflatex ¤ò »ÈÍѤ·¤¿¥Þ¥Ë¥å¥¢¥ë¤À¤±¤Ë¸½¤ì¤Þ¤¹¤Î¤Ç¡¢ÆüËܸì¤Î¥Þ¥Ë¥å¥¢¥ë¤Ë¤Ï¤³¤Î¿Þ¤Ï´Þ ¤Þ¤ì¤Æ¤¤¤Ê¤¤¤Ç¤·¤ç¤¦¡£) °Ê²¼»²¾È: set polar (82.57), set rrange (82.62),set size square (82.65)¡£

47 Steps

Image figure_steps
steps ¥¹¥¿¥¤¥ë¤Ï 2 ¼¡¸µÉÁ²è¤Ç¤Î¤ßÍøÍѲÄǽ¤Ç¤¹¡£¤³¤ì¤Ï 2 ËܤÎÀþʬ¤ÇÎÙ ¤ê¹ç¤¦ÅÀ¤ò¤Ä¤Ê¤®¤Þ¤¹: 1 ËÜÌÜ¤Ï (x1,y1) ¤«¤é (x2,y1) ¤Þ¤Ç¡¢2 ËÜÌÜ¤Ï (x2,y1) ¤«¤é (x2,y2) ¤Þ¤Ç¡£ÆþÎÏÎó¤Î¾ò·ï¤Ï¡¢lines ¤ä points ¤ËÂФ¹ ¤ë¤â¤Î¤ÈƱ¤¸¤Ç¤¹¡£fsteps ¤È steps ¤Î°ã¤¤¤Ï¡¢fsteps ¤Ï¡¢ÀÞ¤ìÀþ¤ò Àè¤Ë y Êý¸þ¤Ë½ñ¤¤¤Æ¤«¤é¼¡¤Ë x Êý¸þ¤Ë½ñ¤¯¤Î¤ËÂФ·¡¢steps ¤ÏÀè¤Ë x Êý ¸þ¤Ë½ñ¤¤¤Æ¤«¤é¼¡¤Ë y Êý¸þ¤Ë½ñ¤­¤Þ¤¹¡£¶ÊÀþ¤È¥Ù¡¼¥¹¥é¥¤¥ó¤Ç¤¢¤ë y=0 ¤È¤Î ´Ö¤ÎÎΰè¤òÅɤêÄÙ¤¹¤Ë¤Ï¡¢fillsteps ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£ °Ê²¼¤â»²¾È

steps ¥Ç¥â¡£

48 Rgbalpha

°Ê²¼»²¾È: image (40)¡£

49 Rgbimage

°Ê²¼»²¾È: image (40)¡£

50 Vectors

2 ¼¡¸µ¤Î vectors ¥¹¥¿¥¤¥ë¤Ï (x,y) ¤«¤é (x+xdelta,y+ydelta) ¤Þ¤Ç¤Î¥Ù ¥¯¥È¥ë¤ò½ñ¤­¤Þ¤¹¡£3 ¼¡¸µ¤Î vectors ¥¹¥¿¥¤¥ë¤âƱÍͤǤ¹¤¬¡¢¥Ç¡¼¥¿¤Ï´ð ËÜŪ¤Ë 6 ÎóɬÍפǤ¹¡£³Æ¥Ù¥¯¥È¥ë¤ÎÀèü¤Ë¤Ï¾®¤µ¤ÊÌðÀè¤â½ñ¤«¤ì¤Þ¤¹¡£


    4 Îó:  x  y  xdelta  ydelta
    6 Îó:  x  y  z  xdelta  ydelta  zdelta

ξÊý¤Î¾ì¹ç¤Ç¡¢ÆþÎÏÎó¤òÄɲà (2D ¤Ç¤Ï 5 ÎóÌÜ¡¢3D ¤Ç¤Ï 7 ÎóÌÜ) ¤¹¤ë¤È¡¢¤½ ¤ì¤é¤Ï³Æ¥Ç¡¼¥¿ÅÀËè¤Î variable color ¾ðÊó (°Ê²¼»²¾È: linecolor (17.1),rgbcolor variable (17.1.3)) ¤È¤·¤Æ»È¤ï¤ì¤Þ¤¹¡£

vectors ¥¹¥¿¥¤¥ë¤ò»È¤Ã¤Æ¤Î splot ¤Ï set mapping cartesian ¤Î¤ß¤Ç¥µ¥Ý ¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

¥­¡¼¥ï¡¼¥É "with vectors" ¤Ï¡¢¤½¤Î¸å¤í¤Ë¡¢¥¤¥ó¥é¥¤¥ó¤Î arrow ¥¹¥¿¥¤¥ë »ØÄê¤ä¡¢¤¢¤é¤«¤¸¤áÄêµÁ¤µ¤ì¤Æ¤¤¤ë arrow ¥¹¥¿¥¤¥ë¤Î»²¾È¡¢¤¢¤ë¤¤¤ÏÎó¤«¤é ³Æ¥Ù¥¯¥È¥ë¤ËÂФ¹¤ëɬÍ×¤Ê arrow ¥¹¥¿¥¤¥ë¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤òÆɤà¤è¤¦¤Ê»ØÄê ¤òȼ¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£Ãí°Õ: "arrowstyle variable" ¤ò»ÈÍѤ¹¤ë¾ì¹ç¡¢Âбþ ¤¹¤ë¥Ù¥¯¥È¥ë¤¬ÉÁ²è¤µ¤ì¤ëºÝ¤Ë¤Ï¤½¤ì¤¬ arrow ¤Î°À­Ãͤ¹¤Ù¤Æ¤òËä¤á¤ë¤Î¤Ç ¤½¤Î plot ¥³¥Þ¥ó¥ÉÆâ¤Ë¾¤ÎÀþ°À­¤ä arrow ¥¹¥¿¥¤¥ë»ØÄê¤ò¤³¤Î¥­¡¼¥ï¡¼¥É ¤Èº®ºß¤µ¤»¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£


    plot ... with vectors filled heads
    plot ... with vectors arrowstyle 3
    plot ... using 1:2:3:4:5 with vectors arrowstyle variable

¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: arrowstyle (82.66.1)¡£

Îã:

     plot 'file.dat' using 1:2:3:4 with vectors head filled lt 2
     splot 'file.dat' using 1:2:3:(1):(1):(1) with vectors filled head lw 2

set clip one ¤È set clip two ¤Ï 2 ¼¡¸µ¤Î¥Ù¥¯¥È¥ë¤ÎÉÁ²è¤Ë±Æ¶Á¤òÍ¿¤¨ ¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set clip (82.10), arrowstyle (82.66.1)¡£

51 Xerrorbars

Image figure_xerrorbars
xerrorbars ¥¹¥¿¥¤¥ë¤Ï 2 ¼¡¸µ¤Î¥Ç¡¼¥¿ÉÁ²è¤Î¤ß¤ÇÍøÍѲÄǽ¤Ç¤¹¡£ xerrorbars ¤Ï¡¢¿åÊ¿¤Î¸íº¹»Ø¼¨Àþ (error bar) ¤¬É½¼¨¤µ¤ì¤ë°Ê³°¤Ïpoints ¤ÈƱ¤¸¤Ç¤¹¡£³ÆÅÀ (x,y) ¤Ë¤ª¤¤¤Æ (xlow,y) ¤«¤é (xhigh,y) ¤Þ¤Ç¡¢ ¤Þ¤¿¤Ï (x-xdelta,y) ¤«¤é (x+xdelta,y) ¤Þ¤Ç¤ÎÀþʬ¤¬°ú¤«¤ì¤Þ¤¹¤¬¡¢¤³¤ì¤é ¤Ï¤¤¤¯¤Ä¤Î¥Ç¡¼¥¿Îó¤¬Í¿¤¨¤é¤ì¤ë¤«¤Ë¤è¤Ã¤ÆÊѤï¤ê¤Þ¤¹¡£¸íº¹»Ø¼¨Àþ¤Îü¤Ë¤Ï ¹ï¤ß¤Î°õ¤¬ÉÕ¤±¤é¤ì¤Þ¤¹ (set bars ¤¬»È¤ï¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡£¾ÜºÙ¤Ë´Ø¤·¤Æ ¤Ï¡¢°Ê²¼»²¾È: set bars (82.4))¡£¤³¤Î¥¹¥¿¥¤¥ë¤Ï´ðËÜŪ¤Ë¡¢3 Îó¤« 4 Îó¤Î¥Ç¡¼¥¿ ¤¬É¬ÍפǤ¹:


    3 Îó:  x  y  xdelta
    4 Îó:  x  y  xlow  xhigh

ÆþÎÏÎó¤òÄɲà (4,5 ÎóÌÜ) ¤¹¤ë¤È¡¢¤½¤ì¤é¤ÏÅÀ¤Î variable color ¾ðÊó¤È¤·¤Æ »È¤ï¤ì¤Þ¤¹¡£

52 Xyerrorbars

Image figure_xyerrorbars
xyerrorbars ¥¹¥¿¥¤¥ë¤Ï 2 ¼¡¸µ¤Î¥Ç¡¼¥¿ÉÁ²è¤Î¤ß¤ÇÍøÍѲÄǽ¤Ç¤¹¡£ xyerrorbars ¤Ï¡¢¿åÊ¿¡¢¿âľ¤Î¸íº¹»Ø¼¨Àþ (error bar) ¤âɽ¼¨¤µ¤ì¤ë°Ê³°¤Ï points ¤ÈƱ¤¸¤Ç¤¹¡£³ÆÅÀ (x,y) ¤Ë¤ª¤¤¤Æ (x,y-ydelta) ¤«¤é (x,y+ydelta) ¤Þ¤Ç¤È (x-xdelta,y) ¤«¤é (x+xdelta,y) ¤Þ¤Ç¡¢¤Þ¤¿¤Ï (x,ylow) ¤«¤é (x,yhigh) ¤Þ¤Ç¤È (xlow,y) ¤«¤é (xhigh,y) ¤Þ¤Ç¤ÎÀþʬ¤¬°ú ¤«¤ì¤Þ¤¹¤¬¡¢¤³¤ì¤é¤Ï¤¤¤¯¤Ä¤Î¥Ç¡¼¥¿Îó¤¬Í¿¤¨¤é¤ì¤ë¤«¤Ë¤è¤Ã¤ÆÊѤï¤ê¤Þ¤¹¡£ ¸íº¹»Ø¼¨Àþ¤Îü¤Ë¤Ï¹ï¤ß¤Î°õ¤¬ÉÕ¤±¤é¤ì¤Þ¤¹ (set bars ¤¬»È¤ï¤ì¤Æ¤¤¤Ê¤± ¤ì¤Ð¡£¾ÜºÙ¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È: set bars (82.4))¡£¤³¤ì¤Ï 4 Î󤫡¢6 Îó¤Î¥Ç¡¼ ¥¿¤¬É¬ÍפǤ¹¡£


    4 Îó:  x  y  xdelta  ydelta
    6 Îó:  x  y  xlow  xhigh  ylow  yhigh

¥Ç¡¼¥¿¤¬¡¢¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤º®¹ç·¿¤Î·Á¼°¤ÇÍ¿¤¨¤é¤ì¤¿¾ì¹ç¡¢plot ¥³ ¥Þ¥ó¥É¤Î using ¥Õ¥£¥ë¥¿¤ò»È¤Ã¤ÆŬÀڤʷÁ¤Ëľ¤µ¤Ê¤¤¤È¤¤¤±¤Þ¤»¤ó¡£Î㤨 ¤Ð¥Ç¡¼¥¿¤¬ (x,y,xdelta,ylow,yhigh) ¤È¤¤¤¦·Á¼°¤Ç¤¢¤ë¾ì¹ç¡¢°Ê²¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹:


     plot 'data' using 1:2:($1-$3):($1+$3):4:5 with xyerrorbars

ÆþÎÏÎó¤òÄɲà (5,7 ÎóÌÜ) ¤¹¤ë¤È¡¢¤½¤ì¤é¤Ï³Æ¥Ç¡¼¥¿ÅÀËè¤Î variable color ¾ðÊó¤È¤·¤Æ»È¤ï¤ì¤Þ¤¹¡£

53 Yerrorbars

Image figure_yerrorbars
yerrorbars (¤Þ¤¿¤Ï errorbars) ¥¹¥¿¥¤¥ë¤Ï 2 ¼¡¸µ¤Î¥Ç¡¼¥¿ÉÁ²è¤Î¤ß¤Ç ÍøÍѲÄǽ¤Ç¤¹¡£yerrorbars ¤Ï¡¢¿âľ¤Î¸íº¹»Ø¼¨Àþ (error bar) ¤¬É½¼¨¤µ¤ì ¤ë°Ê³°¤Ï points ¤Ë»÷¤Æ¤¤¤Þ¤¹¡£³ÆÅÀ (x,y) ¤Ë¤ª¤¤¤Æ (x,y-ydelta) ¤«¤é (x,y+ydelta) ¤Þ¤Ç¡¢¤Þ¤¿¤Ï (x,ylow) ¤«¤é (x,yhigh) ¤Þ¤Ç¤ÎÀþʬ¤¬°ú¤«¤ì¤Þ ¤¹¤¬¡¢¤³¤ì¤é¤Ï¤¤¤¯¤Ä¤Î¥Ç¡¼¥¿Îó¤¬Í¿¤¨¤é¤ì¤ë¤«¤Ë¤è¤Ã¤ÆÊѤï¤ê¤Þ¤¹¡£¸íº¹»Ø ¼¨Àþ¤Îü¤Ë¤Ï¹ï¤ß¤Î°õ¤¬ÉÕ¤±¤é¤ì¤Þ¤¹ (set bars ¤¬»È¤ï¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡£ ¾ÜºÙ¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È: set bars (82.4))¡£¤³¤ì¤Ï¡¢3 Îó¤« 4 Îó¤Î¥Ç¡¼¥¿¤¬É¬ ÍפǤ¹¡£


    3 Îó:  x  y  ydelta
    4 Îó:  x  y  ylow  yhigh

ÆþÎÏÎó¤òÄɲà (4,5 ÎóÌÜ) ¤¹¤ë¤È¡¢¤½¤ì¤é¤ÏÅÀ¤Î variable color ¾ðÊó¤È¤·¤Æ »È¤ï¤ì¤Þ¤¹¡£

°Ê²¼¤â»²¾È

errorbar ¥Ç¥â¡£

54 Xerrorlines

Image figure_xerrorlines
xerrorlines ¥¹¥¿¥¤¥ë¤Ï 2 ¼¡¸µ¤Î¥Ç¡¼¥¿ÉÁ²è¤Î¤ß¤ÇÍøÍѲÄǽ¤Ç¤¹¡£ xerrorlines ¤Ï linespoints ¤Ë»÷¤Æ¤¤¤Þ¤¹¤¬¡¢¿åÊ¿¤Î¸íº¹Àþ¤¬ÉÁ¤«¤ì¤ë ¤³¤È¤¬°ã¤¤¤Þ¤¹¡£³ÆÅÀ (x,y) ¤Ç¡¢¥Ç¡¼¥¿Îó¤Î¸Ä¿ô¤Ë±þ¤¸¤Æ (xlow,y) ¤«¤é (xhigh,y) ¤Þ¤Ç¡¢¤Þ¤¿¤Ï (x-xdelta,y) ¤«¤é (x+xdelta,y) ¤Þ¤Ç¤ÎÀþʬ¤¬ÉÁ¤« ¤ì¡¢¤½¤·¤Æ¹ï¤Î°õ¤¬¸íº¹Àþ¤Îü¤ËÃÖ¤«¤ì¤Þ¤¹ (set bars ¤¬»È¤ï¤ì¤Æ¤¤¤Ê¤¤ ¾ì¹ç¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set bars (82.4))¡£´ðËÜŪ¤Ë¤Ï¡¢3 Îó¤« 4 Îó¤Î¥Ç¡¼¥¿¤¬ ɬÍפǤ¹:


    3 Îó:  x  y  xdelta
    4 Îó:  x  y  xlow  xhigh

ÆþÎÏÎó¤òÄɲà (4,5 ÎóÌÜ) ¤¹¤ë¤È¡¢¤½¤ì¤é¤ÏÅÀ¤Î variable color ¾ðÊó¤È¤·¤Æ »È¤ï¤ì¤Þ¤¹¡£

55 Xyerrorlines

Image figure_xyerrorlines
xyerrorlines ¥¹¥¿¥¤¥ë¤Ï 2 ¼¡¸µ¤Î¥Ç¡¼¥¿ÉÁ²è¤Î¤ß¤ÇÍøÍѲÄǽ¤Ç¤¹¡£ xyerrorlines ¤Ï linespoints ¤Ë»÷¤Æ¤¤¤Þ¤¹¤¬¡¢¿åÊ¿¤È¿âľ¤Î¸íº¹Àþ¤âÉÁ ¤«¤ì¤ë¤³¤È¤¬°ã¤¤¤Þ¤¹¡£³ÆÅÀ (x,y) ¤Ç¡¢¥Ç¡¼¥¿Îó¤Î¸Ä¿ô¤Ë±þ¤¸¤Æ¡¢ (x,y-ydelta) ¤«¤é (x,y+ydelta) ¤Þ¤Ç¤È (x-xdelta,y) ¤«¤é (x+xdelta,y) ¤Þ¤Ç¡¢¤¢¤ë¤¤¤Ï (x,ylow) ¤«¤é (x,yhigh) ¤Þ¤Ç¤È (xlow,y) ¤«¤é (xhigh,y) ¤Þ¤Ç¤ÎÀþʬ¤¬ÉÁ¤«¤ì¡¢¤½¤·¤Æ¹ï¤Î°õ¤¬¸íº¹Àþ¤Îü¤ËÃÖ¤«¤ì¤Þ¤¹ (set bars ¤¬»È¤ï¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set bars (82.4))¡£¤³¤ì¤Ï¡¢4 Îó¤« 6 Îó¤ÎÆþÎϥǡ¼¥¿¤¬É¬ÍפǤ¹¡£


    4 Îó:  x  y  xdelta  ydelta
    6 Îó:  x  y  xlow  xhigh  ylow  yhigh

¥Ç¡¼¥¿¤¬¡¢¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤º®¹ç·¿¤Î·Á¼°¤ÇÍ¿¤¨¤é¤ì¤¿¾ì¹ç¡¢plot ¥³ ¥Þ¥ó¥É¤Î using ¥Õ¥£¥ë¥¿¤ò»È¤Ã¤ÆŬÀڤʷÁ¤Ëľ¤µ¤Ê¤¤¤È¤¤¤±¤Þ¤»¤ó¡£Î㤨 ¤Ð¥Ç¡¼¥¿¤¬ (x,y,xdelta,ylow,yhigh) ¤È¤¤¤¦·Á¼°¤Ç¤¢¤ë¾ì¹ç¡¢°Ê²¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹:


     plot 'data' using 1:2:($1-$3):($1+$3):4:5 with xyerrorlines

ÆþÎÏÎó¤òÄɲà (5,7 ÎóÌÜ) ¤¹¤ë¤È¡¢¤½¤ì¤é¤Ï³Æ¥Ç¡¼¥¿ÅÀËè¤Î variable color ¾ðÊó¤È¤·¤Æ»È¤ï¤ì¤Þ¤¹¡£

56 Yerrorlines

Image figure_yerrorlines
yerrorlines (¤Þ¤¿¤Ï errorlines) ¥¹¥¿¥¤¥ë¤Ï 2 ¼¡¸µ¤Î¥Ç¡¼¥¿ÉÁ²è¤Î¤ß ¤ÇÍøÍѲÄǽ¤Ç¤¹¡£yerrorlines ¤Ï linespoints ¤Ë»÷¤Æ¤¤¤Þ¤¹¤¬¡¢¿âľ¤Î ¸íº¹Àþ¤¬ÉÁ¤«¤ì¤ë¤³¤È¤¬°ã¤¤¤Þ¤¹¡£³ÆÅÀ (x,y) ¤Ç¡¢¥Ç¡¼¥¿Îó¤Î¸Ä¿ô¤Ë±þ¤¸¤Æ (x,y-ydelta) ¤«¤é (x,y+ydelta) ¤Þ¤Ç¡¢¤Þ¤¿¤Ï (x,ylow) ¤«¤é (x,yhigh) ¤Þ¤Ç¤ÎÀþʬ¤¬ÉÁ¤«¤ì¡¢¤½¤·¤Æ¹ï¤Î°õ¤¬¸íº¹Àþ¤Îü¤ËÃÖ¤«¤ì¤Þ¤¹ (¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set bars (82.4))¡£ ¤³¤ì¤Ï¡¢3 Îó¤« 4 Îó¤ÎÆþÎϤ¬É¬ÍפǤ¹¡£


    3 Îó:  x  y  ydelta
    4 Îó:  x  y  ylow  yhigh

ÆþÎÏÎó¤òÄɲà (4,5 ÎóÌÜ) ¤¹¤ë¤È¡¢¤½¤ì¤é¤ÏÅÀ¤Î variable color ¾ðÊó¤È¤·¤Æ »È¤ï¤ì¤Þ¤¹¡£

°Ê²¼¤â»²¾È¡£

¥¨¥é¡¼¥Ð¡¼¤Î¥Ç¥â

57 3 ¼¡¸µ (¶ÊÌÌ) ÉÁ²è (3D (surface) plots)

Image figure_surface
¶ÊÌÌÉÁ²è¤Ï¡¢¥³¥Þ¥ó¥É plot ¤Ç¤Ï¤Ê¤¯¥³¥Þ¥ó¥É splot ¤ò»È¤Ã¤ÆÀ¸À®¤·¤Þ ¤¹¡£¥¹¥¿¥¤¥ë with lines ¤ò»È¤¨¤Ð¡¢¶ÊÌ̤ò³Ê»ÒÀþ¤ÇÀ¸À®¤Ç¤­¤Þ¤¹¡£¶ÊÌ̤ΠÅɤêÄÙ¤·¤Ï¡¢¥¹¥¿¥¤¥ë with pm3d ¤Ç¹Ô¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¶ÊÌ̤ÏÄ̾¤½ ¤ì¤¬ 3 ¼¡¸µ¤Î¶ÊÌ̤Ǥ¢¤ë¤È¤Ï¤Ã¤­¤ê¤ï¤«¤ë¤è¤¦¤Ê»ëÊý¸þ¤«¤éɽ¼¨¤µ¤ì¤Þ¤¹¡£ ¤½¤Î¾ì¹ç¡¢X, Y, Z ¼´¤Ï¤¹¤Ù¤ÆÉÁ²èÆâ¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£3 ¼¡¸µÅª¤Êºø³Ð¤Ï¡¢±£ Àþ½èÍý¤ä¡¢¶ÊÌÌÍ×ÁǤο¼¤µÀ°Îó¤Ë¤è¤ê¡¢¤è¤êÁýÉý¤µ¤ì¤Þ¤¹¡£°Ê²¼»²¾È:hidden3d (82.27), pm3d depthorder (82.53.3)¡£
Image figure_surface+contours
¥³¥Þ¥ó¥É splot ¤Ï¡¢Äê¿ô¤Î Z ÃͤËÂФ¹¤ëÅù¹âÀþ¤ò·×»»¤·ÉÁ²è¤¹¤ë¤³¤È¤â¤Ç ¤­¤Þ¤¹¡£¤³¤ì¤é¤ÎÅù¹âÀþ¤Ï¡¢¶ÊÌ̤½¤ì¼«ÂΤξå¤Ë½ñ¤¯¤³¤È¤â¤Ç¤­¤Þ¤¹¤·¡¢XY Ê¿Ì̤ؼͱƤ¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£°Ê²¼»²¾È: set contour (82.14)¡£

57.1 2 ¼¡¸µ¼Í±Æ (set view map)

Image figure_mapcontours
¥³¥Þ¥ó¥É splot ¤ÎÆÃÊ̤ʾì¹ç¤È¤·¤Æ¡¢ÉÁ²è¤Î Z Êý¸þ¤Î¼Í±Æ¤Ë¤è¤ë¡¢Z ºÂɸ ¤Î 2 ¼¡¸µ¶ÊÌ̤ؤÎÃÏ¿ÞºîÀ® (map) ¤¬¤¢¤ê¤Þ¤¹¡£°Ê²¼»²¾È: set view map (82.82)¡£ ¤³¤ÎÉÁ²è¥â¡¼¥É¤Ï¡¢Åù¹âÀþ¤ÎÉÁ²è¤ä²¹ÅÙʬÉÛ¤òÀ¸À®¤¹¤ë¤Î¤ËÍøÍѤǤ­¤Þ¤¹¡£


3 ¥³¥Þ¥ó¥É (Commands)

¤³¤Î¥»¥¯¥·¥ç¥ó¤Ç¤Ï gnuplot ¤¬¼õ¤±ÉÕ¤±¤ë¥³¥Þ¥ó¥É¤ò¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È½ç¤Ë ʤ٤Ƥ¤¤Þ¤¹¡£¤³¤Î¥É¥­¥å¥á¥ó¥È¤ò»æ¤Ë°õºþ¤·¤¿¤â¤Î¤ÏÁ´¤Æ¤Î¥³¥Þ¥ó¥É¤ò´Þ¤ó ¤Ç¤¤¤Þ¤¹¤¬¡¢ÂÐÏ÷¿¤Ç»²¾È¤Ç¤­¤ë¥É¥­¥å¥á¥ó¥È¤ÎÊý¤Ï´°Á´¤Ç¤Ï¤Ê¤¤²ÄǽÀ­¤¬¤¢ ¤ê¤Þ¤¹¡£¼ÂºÝ¡¢¤³¤Î¸«½Ð¤·¤Î²¼¤Ë²¿¤Î¥³¥Þ¥ó¥É¤âɽ¼¨¤µ¤ì¤Ê¤¤¥·¥¹¥Æ¥à¤¬¤¢¤ê ¤Þ¤¹¡£

¤Û¤È¤ó¤É¤Î¾ì¹ç¡¢¥³¥Þ¥ó¥É̾¤È¤½¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢Ê¶¤é¤ï¤·¤¯¤Ê¤¤ÈϰϤǾÊά ¤¹¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£¤¹¤Ê¤ï¤Á¡¢"plot f(x) with lines" ¤ÎÂå¤ï¤ê¤Ë "p f(x) w li" ¤È¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

½ñ¼°¤Îµ­½Ò¤Ë¤ª¤¤¤Æ¡¢Ã楫¥Ã¥³ ({}) ¤ÏÄɲûØÄê¤Ç¤­¤ë°ú¿ô¤ò°ÕÌ£¤·¡¢ ½ÄËÀ (| ) ¤Ï¸ß¤¤¤ËÇÓ¾Ū¤Ê°ú¿ô¤ò¶èÀÚ¤ë¤â¤Î¤È¤·¤Þ¤¹¡£

58 Cd

cd ¥³¥Þ¥ó¥É¤Ï¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤òÊѹ¹¤·¤Þ¤¹¡£

½ñ¼°:

       cd '<¥Ç¥£¥ì¥¯¥È¥ê̾>'

¥Ç¥£¥ì¥¯¥È¥ê̾¤Ï°úÍÑÉä¤Ë°Ï¤Þ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£

Îã:

       cd 'subdir'
       cd '..'

¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å ( \ ) ¤ÏÆó½Å°úÍÑÉäÆâ (") ¤Ç¤ÏÆÃÊ̤ʰÕÌ£¤ò»ý¤Ã¤Æ¤·¤Þ¤¦¤¿ ¤á¤Ë¥¨¥¹¥±¡¼¥×¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤Î¤Ç¡¢Windows ¥æ¡¼¥¶¤Ë¤Ïñ°ì°úÍÑÉä¤ò»È ¤¦¤³¤È¤ò´«¤á¤Þ¤¹¡£Î㤨¤Ð¡¢

       cd "c:\newdata"

¤Ç¤Ï¼ºÇÔ¤·¤Þ¤¹¤¬¡¢
       cd 'c:\newdata'
       cd "c:\\newdata"

¤Ê¤é´üÂÔÄ̤ê¤ËÆ°¤¯¤Ç¤·¤ç¤¦¡£

59 Call

call ¥³¥Þ¥ó¥É¤Ï¡¢1 ¤Ä¤Îµ¡Ç½°Ê³°¤Ï load ¥³¥Þ¥ó¥É¤ÈÅù²Á¤Ç¤¹¡£ ¤½¤Îµ¡Ç½¤Ï¡¢10 ¸Ä¤Þ¤Ç¤Î¥Ñ¥é¥á¡¼¥¿¤ò¥³¥Þ¥ó¥É¤ËÄɲäǤ­¤ë¤³¤È¤Ç¤¹ (¥Ñ¥é¥á¡¼¥¿¤Ïɸ½àŪ¤Ê¹½Ê¸µ¬Â§¤Ë¤è¤Ã¤Æ¶èÀÚ¤é¤ì¤Þ¤¹)¡£¤³¤ì¤é¤Î¥Ñ¥é¥á¡¼¥¿ ¤Ï¡¢¥Õ¥¡¥¤¥ë¤«¤éÆɤޤì¤ë¹Ô¤ËÂåÆþ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£call ¤·¤¿ÆþÎÏ ¥Õ¥¡¥¤¥ë¤«¤é³Æ¹Ô¤¬Æɤޤì¤ë»þ¤Ë¡¢$ (¥É¥ëµ­¹æ) ¤Ë³¤¯¿ô»ú (0-9) ¤ÎÊ ¤Ó¤òÁöºº¤·¤Þ¤¹¡£¤â¤·¸«¤Ä¤«¤ì¤Ð¡¢¤½¤ÎÊÂ¤Ó¤Ï call ¤Î¥³¥Þ¥ó¥É¹Ô¤ÎÂбþ¤¹ ¤ë¥Ñ¥é¥á¡¼¥¿¤ÇÃÖ¤­´¹¤¨¤é¤ì¤Þ¤¹¡£call ¤Î¹Ô¤Ç¤½¤Î¥Ñ¥é¥á¡¼¥¿¤¬Ê¸»úÎó¤È ¤·¤Æ»ØÄꤵ¤ì¤Æ¤¤¤ë¤Ê¤é¤Ð¡¢¼è¤ê°Ï¤ó¤Ç¤¤¤ë°úÍÑÉ䤬¾Ê¤«¤ì¤ÆÂåÆþ¤µ¤ì¤Þ¤¹¡£ ʸ»úÎó $# ¤Ï¥Ñ¥é¥á¡¼¥¿¤Î¸Ä¿ô¤ËÃÖ¤­´¹¤¨¤é¤ì¤Þ¤¹¡£Ê¸»ú¤¬¸å¤Ë³¤¯ $ ¤Ï¤½¤Îʸ»ú¤Ë¤Ê¤ê¤Þ¤¹¡£Î㤨¤Ð¡¢°ì¤Ä¤Î $ ¤òÆÀ¤ë¤Ë¤Ï $$ ¤ò»È¤¤¤Þ¤¹¡£ call ¤Î¥³¥Þ¥ó¥É¹Ô¤Ë 10 ¸Ä¤è¤ê¿¤¤¥Ñ¥é¥á¡¼¥¿¤òÍ¿¤¨¤ë¤È¥¨¥é¡¼¤¬µ¯¤³¤ê ¤Þ¤¹¡£Í¿¤¨¤é¤ì¤Ê¤«¤Ã¤¿¥Ñ¥é¥á¡¼¥¿¤Ï¡¢²¿¤â̵¤·¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£call Ãæ¤Î¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ë¤µ¤é¤Ë load ¤Þ¤¿¤Ï call ¥³¥Þ¥ó¥É¤¬¤¢¤Ã¤Æ¤â¹½¤¤¤Þ ¤»¤ó¡£

½ñ¼°:

       call "<ÆþÎÏ¥Õ¥¡¥¤¥ë>" <¥Ñ¥é¥á¡¼¥¿ 0> <¥Ñ 1> ... <¥Ñ 9>

ÆþÎÏ¥Õ¥¡¥¤¥ë̾¤Ï°úÍÑÉä¤Ç°Ï¤Þ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£¤½¤·¤Æ¡¢¥Ñ¥é¥á¡¼¥¿¤â °úÍÑÉä¤Ç°Ï¤à¤³¤È¤ò¿ä¾©¤·¤Þ¤¹ (gnuplot ¤Î¾­Íè¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï°úÍÑÉä¤Ç °Ï¤ó¤Ç¤¢¤ëÉôʬ¤È°Ï¤ó¤Ç¤Ê¤¤Éôʬ¤ËÂФ·¤Æ¤Ï°ã¤¦¼è¤ê°·¤¤¤ò¤¹¤ëͽÄê¤Ç¤¹)¡£

Îã:

¥Õ¥¡¥¤¥ë 'calltest.gp' ¤Ï°Ê²¼¤Î¹Ô¤ò´Þ¤ó¤Ç¤¤¤ë¤È¤¹¤ë¤È:

   print "argc=$# p0=$0 p1=$1 p2=$2 p3=$3 p4=$4 p5=$5 p6=$6 p7=x$7x"

¼¡¤Î¹Ô¤òÆþÎϤ¹¤ë¤È:

   call 'calltest.gp' "abcd" 1.2 + "'quoted'" -- "$2"

°Ê²¼¤Î¤è¤¦¤Ëɽ¼¨¤µ¤ì¤ë¤Ç¤·¤ç¤¦:

   argc=7 p0=abcd p1=1.2 p2=+ p3='quoted' p4=- p5=- p6=$2 p7=xx

Ãí°Õ: using ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Ç¤ÏʸˡŪ¤Ë½Å¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ ¤¹¡£¤½¤Î¾ì¹ç¡¢call ¤µ¤ì¤¿¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤«¤é¥×¥í¥Ã¥È¤¹¤ë¤È¤­¤Ï¡¢¥Ç¡¼ ¥¿¤Î n ¥«¥é¥àÌܤλؼ¨¤Ë¤Ï $$n ¤Þ¤¿¤Ï column(n) ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

60 Clear

clear ¥³¥Þ¥ó¥É¤Ï¡¢set output ¤ÇÁªÂò¤µ¤ì¤¿²èÌ̤ޤ¿¤Ï½ÐÎÏÁõÃÖ¤ò¥¯¥ê ¥¢¤·¤Þ¤¹¡£Ä̾¥Ï¡¼¥É¥³¥Ô¡¼ÁõÃÖ¤ËÂФ·¤Æ¤Ï²þ¥Ú¡¼¥¸¤ò¹Ô¤¤¤Þ¤¹¡£½ÐÎÏÁõÃÖ ¤òÁªÂò¤¹¤ë¤Ë¤Ï set terminal ¤ò»ÈÍѤ·¤Æ²¼¤µ¤¤¡£

¤¤¤¯¤Ä¤«¤Î½ÐÎÏÁõÃÖ¤Ï clear ¥³¥Þ¥ó¥É¤Ç¤Ï set size ¤ÇÄêµÁ¤µ¤ì¤¿ÉÁ²è Îΰè¤Î¤ß¤ò¾Ãµî¤·¤Þ¤¹¡£¤½¤Î¤¿¤á¡¢set multiplot ¤È¤È¤â¤Ë»ÈÍѤ¹¤ë¤³¤È¤Ç ÁÞÆþ¿Þ¤ò°ì¤Äºî¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

Îã:

     set multiplot
     plot sin(x)
     set origin 0.5,0.5
     set size 0.4,0.4
     clear
     plot cos(x)
     unset multiplot

¤³¤ì¤é¤Î¥³¥Þ¥ó¥É¤Î¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: set multiplot (82.41),set size (82.65), set origin (82.49)¡£

61 Do

½ñ¼°:
     do for <iteration-spec> {
          <commands>
          <commands>
     }

¤³¤ì¤Ï¡¢¥³¥Þ¥ó¥ÉÎó¤òÊ£¿ô²ó¼Â¹Ô¤·¤Þ¤¹¡£¥³¥Þ¥ó¥É¤ÏÃ楫¥Ã¥³ {} ¤Ç°Ï¤ß¡¢¤« ¤Ä³«»Ï¥«¥Ã¥³ "{" ¤Ï¡¢¥­¡¼¥ï¡¼¥É do ¤ÈƱ¤¸¹Ô¤ËÃÖ¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£¤³ ¤Î¥³¥Þ¥ó¥É¤Ï¡¢¸Å¤¤·Á¼° (¤«¤Ã¤³¤Ê¤·) ¤Î if/else ¹½Ê¸¤È°ì½ï¤Ë»È¤¦¤³¤È¤Ï ¤Ç¤­¤Þ¤»¤ó¡£·«¤êÊÖ¤·»ØÄê < iteration-spec> ¤ÎÎã¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È:iteration (68)¡£Îã:
     set multiplot layout 2,2
     do for [name in "A B C D"] {
         filename = name . ".dat"
         set title sprintf("Condition %s",name)
         plot filename title name
     }
     unset multiplot

62 Evaluate

¥³¥Þ¥ó¥É evaluate ¤Ï¡¢°ú¿ôʸ»úÎó¤È¤·¤ÆÍ¿¤¨¤é¤ì¤¿¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Þ¤¹¡£ ¤½¤Îʸ»úÎóÃæ¤Ë²þ¹Ôʸ»ú¤òÆþ¤ì¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£

½ñ¼°:

     eval <string expression>

¤³¤ì¤Ï¡¢ÆäËƱÍͤΥ³¥Þ¥ó¥É¤Î·«¤êÊÖ¤·¤ËÍ­ÍѤǤ¹¡£

Îã:

     set_label(x, y, text) \
       = sprintf("set label '%s' at %f, %f point pt 5", text, x, y)
     eval set_label(1., 1., 'one/one')
     eval set_label(2., 1., 'two/one')
     eval set_label(1., 2., 'one/two')

ʸ»úÎ󤫤饳¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ëÊ̤ÎÊýË¡¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È:substitution macros (23.2)¡£

63 Exit

exit ¤È quit ¤Îξ¥³¥Þ¥ó¥É¤Ï END-OF-FILE ʸ»ú (Ä̾ï Ctrl-D) ƱÍÍ¡¢ ¸½ºß¤ÎÆþÎÏ¥¹¥È¥ê¡¼¥à¡¢¤¹¤Ê¤ï¤ÁüËö¤ÎÂÐÏää¥Ñ¥¤¥×ÆþÎÏ¡¢¥Õ¥¡¥¤¥ëÆþÎÏ (¥Ñ ¥¤¥×) ¤«¤é¤ÎÆþÎϤò½ªÎ»¤µ¤»¤Þ¤¹¡£

ÆþÎÏ¥¹¥È¥ê¡¼¥à¤¬Æþ¤ì»Ò (³¬ÁØŪ¤Ê load ¤Î¥¹¥¯¥ê¥×¥È¤Ç) ¤Ë¤Ê¤Ã¤Æ¤¤¤ë¾ì ¹ç¡¢Æɤ߹þ¤ß¤Ï¿Æ¤Î¥¹¥È¥ê¡¼¥à¤Ç·Ñ³¤µ¤ì¤Þ¤¹¡£¥È¥Ã¥×¥ì¥Ù¥ë¤Î¥¹¥È¥ê¡¼¥à¤¬ ÊĤ¸¤é¤ì¤ë¤È¡¢¥×¥í¥°¥é¥à¤Ï¤½¤ì¼«¿È½ªÎ»¤·¤Þ¤¹¡£

¥³¥Þ¥ó¥É exit gnuplot ¤Ï¡¢Ä¾¤Á¤Ë¡¢Ìµ¾ò·ï¤Ë¡¢¤½¤·¤ÆÎ㤨ÆþÎÏ¥¹¥È¥ê¡¼¥à ¤¬Â¿Ãʳ¬¤Ë¥Í¥¹¥È¤µ¤ì¤Æ¤¤¤Æ¤â¡¢gnuplot ¤ò½ªÎ»¤µ¤»¤Þ¤¹¡£¤½¤Î¾ì¹ç¡¢³«¤«¤ì ¤Æ¤¤¤¿Á´¤Æ¤Î½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ï¤­¤ì¤¤¤Ë´°Á´¤Ê·Á¤Ç¤ÏÊĤ¸¤é¤ì¤Ê¤¤²ÄǽÀ­¤¬¤¢¤ê ¤Þ¤¹¡£»ÈÍÑÎã:


     bind "ctrl-x" "unset output; exit gnuplot"

¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: batch/interactive (6)¡£

64 Fit

fit ¥³¥Þ¥ó¥É¤Ï¥æ¡¼¥¶¤ÎÍ¿¤¨¤¿¼°¤ò (x,y) ¤Þ¤¿¤Ï (x,y,z) ¤Î·Á¼°¤Î¥Ç¡¼¥¿ ÅÀ¤Î½¸¹ç¤Ø¤ÎÅö¤Æ¤Ï¤á¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£¤½¤ì¤Ë¤Ï Marquardt-Levenberg Ë¡¤Ë ¤è¤ëÈóÀþ·ÁºÇ¾®¼«¾èË¡ (NLLS) ¤Î¼ÂÁõ¤¬ÍѤ¤¤é¤ì¤Þ¤¹¡£¼°¤ÎÆâÉô¤Ë¸½¤ï¤ì¤ë¥æ ¡¼¥¶ÄêµÁÊÑ¿ô¤Ï¤¤¤º¤ì¤âÅö¤Æ¤Ï¤á¤Î¥Ñ¥é¥á¡¼¥¿¤È¤·¤Æ»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤¿ ¤À¡¢¤½¤Î¼°¤ÎÊÖ¤êÃͤϼ¿ô¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

½ñ¼°:

     fit {<ranges>} <expression>
         '<datafile>' {datafile-modifiers}
         via '<parameter file>' | <var1>{,<var2>,...}

ÈÏ°Ï (xrange,yrange) ¤Ï¡¢Åö¤Æ¤Ï¤á¤é¤ì¤ë¥Ç¡¼¥¿ÅÀ¤ò°ì»þŪ¤ËÀ©¸Â¤¹¤ë¤Î¤Ë »È¤¦¤³¤È¤¬¤Ç¤­¡¢¤½¤ÎÈϰϤòĶ¤¨¤¿¥Ç¡¼¥¿¤ÏÁ´¤Æ̵»ë¤µ¤ì¤Þ¤¹¡£¤½¤Î½ñ¼°¤Ï plot ¥³¥Þ¥ó¥ÉƱÍÍ

     [{dummy_variable=}{<min>}{:<max>}],

¤Ç¤¹¡£°Ê²¼»²¾È: plot ranges (72.8)¡£

< expression> ¤ÏÄ̾ï¤Ï¤¢¤é¤«¤¸¤á¥æ¡¼¥¶ÄêµÁ¤µ¤ì¤¿ f(x) ¤Þ¤¿¤Ï f(x,y) ¤Î ·Á¤Î´Ø¿ô¤Ç¤¹¤¬¡¢gnuplot ¤ÇÍ­¸ú¤ÊǤ°Õ¤Î¿ô¼°¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£

< datafile> ¤Ï plot ¥³¥Þ¥ó¥É¤ÈƱÍͤ˰·¤ï¤ì¤Þ¤¹¡£plot datafile ¤Î½¤ ¾þ»Ò (using, every,...) ¤Ï¡¢smooth ¤È¤¢¤Þ¤ê´«¤á¤é¤ì¤Ê¤¤ thru ¤ò½ü¤¤¤Æ¡¢Á´¤Æ fit ¤Ë»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£°Ê²¼»²¾È:plot datafile (72.3)¡£

Åö¤Æ¤Ï¤á¤ë 1 ÊÑ¿ô´Ø¿ô z=f(x) ¤Ø¤Î¥Ç¥Õ¥©¥ë¥È¤Î¥Ç¡¼¥¿¤Î½ñ¼°¤Ï z ¤« x:z ¤Ç¤¹¡£¤Ä¤Þ¤ê¡¢¥Ç¡¼¥¿¤¬ 1 Îó¤·¤«¤Ê¤±¤ì¤Ð¤½¤ì¤Ï½¾Â°ÊÑ¿ôÃÍ (´Ø¿ôÃÍ) ¤È¸« ¤Ê¤µ¤ì¡¢¹ÔÈֹ椬ÆÈΩÊÑ¿ôÃÍ (ÊÑ¿ôÃÍ) ¤È¤Ê¤ê¡¢2 Îó¤Î¥Ç¡¼¥¿¤¬¤¢¤ì¤Ð¡¢1 Îó Ìܤ¬ÆÈΩÊÑ¿ôÃÍ¡¢2 ÎóÌܤ¬½¾Â°ÊÑ¿ôÃͤȤʤê¤Þ¤¹¡£

¤³¤ì¤é¤Î·Á¼°¤Ï¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Ø¤Î using »ØÄê»Ò¤ÇÊѹ¹¤Ç¤­¡¢Î㤨¤Ð z ¤Î Ãͤò¾¤ÎÎ󤫤é¼è¤Ã¤¿¤ê¡¢¤¢¤ë¤¤¤ÏÊ£¿ô¤ÎÎ󤫤é·×»»¤·¤¿ÃͤȤ¹¤ë¤³¤È¤¬¤Ç¤­ ¤Þ¤¹¡£3 ÈÖÌܤΠusing »ØÄê (ÎóÈֹ桢¤Þ¤¿¤Ï¿ô¼°) ¤¬Í¿¤¨¤é¤ì¤¿¾ì¹ç¤Ï¡¢ ¤½¤ì¤ÏÂбþ¤¹¤ë z ¤ÎÃͤÎɸ½àÊк¹¤È¤·¤Æ²ò¼á¤µ¤ì¡¢¤½¤ì¤Ï¤½¤Î¥Ç¡¼¥¿¤Ø¤Î½Å ¤ß (=1/s**2) ¤ò·×»»¤¹¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¢Á´¤Æ¤Î¥Ç¡¼¥¿¤Ï Ʊ¤¸½Å¤ß (1) ¤Ç·×»»¤µ¤ì¤Þ¤¹¡£using ¥ª¥×¥·¥ç¥ó¤òÁ´¤¯»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì ¹ç¡¢3 ÎóÌܤΥǡ¼¥¿¤¬¤¢¤Ã¤¿¾ì¹ç¤Ç¤â¥Ç¡¼¥¿¤«¤é z ¤ÎÊк¹¤ÏÆɤޤì¤Þ¤»¤ó¤Î ¤Ç¡¢¤½¤Î¾ì¹ç¤Ï½Å¤ß 1 ¤Ë¤Ê¤ê¤Þ¤¹¡£

2 ÊÑ¿ô´Ø¿ô z=f(x,y) ¤òÅö¤Æ¤Ï¤á¤ë¾ì¹ç¡¢¥Ç¡¼¥¿¤Î½ñ¼°¤Ï using ¤Ë¤è¤ë 4 ¤Ä¤Î¹àÌÜ x:y:z:s ¤¬Í׵ᤵ¤ì¤Þ¤¹¡£¤³¤ì¤Ï´°Á´¤ËÁ´¤Æ¤¬Í¿¤¨¤é¤ì¤Ê¤±¤ì¤Ð¤Ê ¤é¤º¡¢ÉÔ­¤¹¤ë¹àÌܤËÂФ·¤Æ¤Ï¤É¤ÎÎó¤â¥Ç¥Õ¥©¥ë¥È¤Ï²¾Äꤵ¤ì¤Æ¤¤¤Þ¤»¤ó¡£³Æ ¥Ç¡¼¥¿ÅÀ¤Î½Å¤ß¤Ï¾å¤ÈƱÍÍ¤Ë 's' ¤«¤é·×»»¤µ¤ì¤Þ¤¹¡£¤â¤·¸íº¹É¾²Á¤ò»ý¤Ã¤Æ ¤¤¤Ê¤±¤ì¤Ð¡¢Äê¿ôÃͤòÄê¿ô¼°¤È¤·¤Æ»ØÄꤹ¤ì¤Ð¤¤¤¤¤Ç¤·¤ç¤¦ (°Ê²¼»²¾È:plot datafile using (72.3.8))¡£Î㤨¤Ð using 1:2:3:(1) ¤Î¤è¤¦¤Ë¡£

Åö¤Æ¤Ï¤á´Ø¿ô¤Ë¤Ï¡¢ÆÈΩÊÑ¿ô¤ò 5 ¤Ä¤Þ¤Ç»ý¤¿¤»¤é¤ì¤Þ¤¹¤¬¡¢1 ÊÑ¿ô°Ê³°¤Î¾ì¹ç¤Ï¡¢¤½¤ÎÆÈΩÊÑ¿ô¤Î¸Ä¿ô¤è¤ê¤â 2 ¤Ä¿¤¤ using »ØÄê¤ò¤·¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£µö¤µ¤ì¤ë½ñ¼°¡¢¤½¤·¤Æ¥Ç¥Õ¥©¥ë¥È¤Î¥À¥ß¡¼ÊÑ¿ô̾¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹:


     z
     x:z
     x:z:s
     x:y:z:s
     x:y:t:z:s
     x:y:t:u:z:s
     x:y:t:u:v:z:s

¥À¥ß¡¼ÊÑ¿ô̾¤Ï¡¢²¼¤Ë¤¢¤²¤ë¤è¤¦¤ËÈÏ°Ï»ØÄê¤Ë¤è¤Ã¤ÆÊѹ¹¤Ç¤­¤Þ¤¹¡£ºÇ½é¤ÎÈÏ °Ï¤Ï using »ØÄê¤ÎºÇ½é¤Î¤â¤Î¤ËÂбþ¤·¡¢°Ê²¼Æ±ÍͤǤ¹¡£z (½¾Â°ÊÑ¿ô) ¤ÎÈÏ °Ï¤â»ØÄê¤Ç¤­¤Þ¤¹¤¬¡¢¤½¤Î̾Á°¤ÏÊѹ¹¤Ç¤­¤Þ¤»¤ó¡£

Ê£¿ô¤Î¥Ç¡¼¥¿½¸¹ç¤âÊ£¿ô¤Î 1 ÊÑ¿ô´Ø¿ô¤ËƱ»þ¤ËÅö¤Æ¤Ï¤á¤ë¤³¤È¤â¡¢y ¤ò '²¾ ÊÑ¿ô' ¤È¤¹¤ì¤Ð²Äǽ¤Ç¤¹¡£Î㤨¤Ð¥Ç¡¼¥¿¹ÔÈÖ¹æ¤ò»È¤¤¡¢2 ÊÑ¿ô´Ø¿ô¤Ø¤ÎÅö¤Æ¤Ï ¤á¡¢¤È¤¹¤ì¤Ð¤¤¤¤¤Ç¤·¤ç¤¦¡£°Ê²¼»²¾È: fit multi-branch (64.5)¡£

via »ØÄê»Ò¤Ï¡¢¥Ñ¥é¥á¡¼¥¿¤ÎÄ´Àá¤òľÀܤ«¡¢¤Þ¤¿¤Ï¥Ñ¥é¥á¡¼¥¿¥Õ¥¡¥¤¥ë¤ò»² ¾È¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¹Ô¤¦¤«¤ò»ØÄꤷ¤Þ¤¹¡£

Îã:

     f(x) = a*x**2 + b*x + c
     g(x,y) = a*x**2 + b*y**2 + c*x*y
     FIT_LIMIT = 1e-6
     fit f(x) 'measured.dat' via 'start.par'
     fit f(x) 'measured.dat' using 3:($7-5) via 'start.par'
     fit f(x) './data/trash.dat' using 1:2:3 via a, b, c
     fit g(x,y) 'surface.dat' using 1:2:3:(1) via a, b, c
     fit a0 + a1*x/(1 + a2*x/(1 + a3*x)) 'measured.dat' via a0,a1,a2,a3
     fit a*x + b*y 'surface.dat' using 1:2:3:(1) via a,b
     fit [*:*][yaks=*:*] a*x+b*yaks 'surface.dat' u 1:2:3:(1) via a,b
     fit a*x + b*y + c*t 'foo.dat' using 1:2:3:4:(1) via a,b,c
     h(x,y,t,u,v) = a*x + b*y + c*t + d*u + e*v
     fit h(x,y,t,u,v) 'foo.dat' using 1:2:3:4:5:6:(1) via a,b,c,d,e

È¿Éü¤Î¸Ä¡¹¤Î¥¹¥Æ¥Ã¥×¤Î¸å¤Ç¡¢Åö¤Æ¤Ï¤á¤Î¸½ºß¤Î¾õÂ֤ˤĤ¤¤Æ¤Î¾ÜºÙ¤Ê¾ðÊó¤¬ ²èÌ̤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£¤½¤·ºÇ½é¤ÈºÇ¸å¤Î¾õÂ֤˴ؤ¹¤ëƱ¤¸¾ðÊó¤¬ "fit.log" ¤È¤¤¤¦¥í¥°¥Õ¥¡¥¤¥ë¤Ë¤â½ñ¤­½Ð¤µ¤ì¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤ÏÁ°¤ÎÅö¤Æ¤Ï¤á¤ÎÍúÎò ¤ò¾Ã¤µ¤Ê¤¤¤è¤¦¤Ë¾ï¤ËÄɲ䵤ì¤Æ¤¤¤­¤Þ¤¹¡£¤³¤ì¤Ï˾¤à¤Ê¤éºï½ü¡¢¤¢¤ë¤¤¤ÏÊÌ ¤Ê̾Á°¤Ë¤Ç¤­¤Þ¤¹¡£¥³¥Þ¥ó¥É set fit logfile ¤ò»È¤Ã¤Æ¥í¥°¥Õ¥¡¥¤¥ë¤Î̾ Á°¤òÊѹ¹¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

gnuplot ¤¬¡¢set fit errorvariables ¤ò»È¤¨¤ë¤è¤¦¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ ¤¤¤Æ¡¢¤½¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤¿¾ì¹ç¡¢³ÆÅö¤Æ¤Ï¤á¥Ñ¥é¥á¡¼¥¿¤Î¸íº¹¤Ï¡¢¤½¤Î¥Ñ ¥é¥á¡¼¥¿¤È»÷¤¿Ì¾Á° ("_err" ¤¬Äɲ䵤줿̾Á°) ¤ÎÊÑ¿ô¤ËÊݸ¤µ¤ì¤Þ¤¹¡£¤è ¤Ã¤Æ¤½¤Î¸íº¹¤ò¹¹¤Ê¤ë·×»»¤ÎÆþÎϤȤ·¤Æ»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

set fit prescale ¤È¤·¤¿¾ì¹ç¡¢Åö¤Æ¤Ï¤á¥Ñ¥é¥á¡¼¥¿¤ò¡¢¤½¤ì¤é¤Î½é´üÃͤ« ¤é¥¹¥±¡¼¥ëÊÑ´¹¤·¤Þ¤¹¡£¤³¤ì¤Ë¤è¤ê¡¢¸Ä¡¹¤Î¥Ñ¥é¥á¡¼¥¿¤ÎÂ礭¤µ¤Ë¤«¤Ê¤ê°ã¤¤ ¤¬¤¢¤ë¤è¤¦¤Ê¾ì¹ç¤Ç¤â¡¢Marquardt-Levenberg ¥ë¡¼¥Á¥ó¤¬¤è¤êÁ᤯¡¢¤è¤ê¿®Íê À­¤Î¤¢¤ëÃͤ˼ý«¤µ¤»¤é¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

Åö¤Æ¤Ï¤á¤ÎÈ¿Éü¤Ï Ctrl-C (wgnuplot ¤Ç¤Ï Ctrl-Break) ¤ò²¡¤¹¤³¤È¤ÇÃæÃÇ¤Ç ¤­¤Þ¤¹¡£¸½ºß¤ÎÈ¿Éü¤¬Àµ¾ï¤Ë½ªÎ»¤·¤¿¸å¡¢ (1) Åö¤Æ¤Ï¤á¤ò»ß¤á¤Æ¸½ºß¤Î¥Ñ¥é¥á¡¼¥¿¤ÎÃͤòºÎÍѤ¹¤ë (2) Åö¤Æ¤Ï¤á¤ò³¹Ô¤¹¤ë (3) ´Ä¶­ÊÑ¿ô FIT_SCRIPT ¤Ç»ØÄꤷ¤¿ gnuplot ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë ¤Î¤¤¤º¤ì¤«¤òÁª¤Ö¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£FIT_SCRIPT ¤Î¥Ç¥Õ¥©¥ë¥È¤Ï replot ¤Ç ¤¢¤ê¡¢¤è¤Ã¤Æ¤â¤·¥Ç¡¼¥¿¤ÈÅö¤Æ¤Ï¤á´Ø¿ô¤ò°ì¤Ä¤Î¥°¥é¥Õ¤Ë¤¢¤é¤«¤¸¤áÉÁ²è¤·¤Æ ¤¢¤ì¤Ð¡¢¸½ºß¤ÎÅö¤Æ¤Ï¤á¤Î¾õÂÖ¤òɽ¼¨¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

fit ¤¬½ªÎ»¤·¤¿¸å¤Ï¡¢ºÇ¸å¤Î¥Ñ¥é¥á¡¼¥¿¤ÎÃͤòÊݸ¤¹¤ë¤Î¤Ë update ¥³¥Þ ¥ó¥É¤ò»È¤¤¤Þ¤¹¡£¤½¤ÎÃͤϺƤӥѥé¥á¡¼¥¿¤ÎÃͤȤ·¤Æ»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: update (90)¡£

64.1 ¥Ñ¥é¥á¡¼¥¿¤ÎÄ´À° (adjustable parameters)

via ¤Ï¥Ñ¥é¥á¡¼¥¿¤òÄ´À᤹¤ë¤¿¤á¤Î 2 ¤Ä¤ÎÊýË¡¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£°ì¤Ä¤Ï ¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤éľÀܻؼ¨¤¹¤ë¤â¤Î¤Ç¡¢¤â¤¦°ì¤Ä¤Ï¥Ñ¥é¥á¡¼¥¿¥Õ¥¡¥¤¥ë¤ò »²¾È¤·¤Æ´ÖÀÜŪ¤Ë¹Ô¤¦¤â¤Î¤Ç¤¹¡£¤³¤Î 2 ¤Ä¤Ï½é´üÃͤÎÀßÄê¤Ç°ã¤Ã¤¿ÊýË¡¤ò¼è ¤ê¤Þ¤¹¡£

Ä´À°¤¹¤ë¥Ñ¥é¥á¡¼¥¿¤Ï¡¢via ¥­¡¼¥ï¡¼¥É¤Î¸å¤í¤Ë¥³¥ó¥Þ¤Ç¶èÀÚ¤é¤ì¤¿ÊÑ¿ô̾ ¤Î¥ê¥¹¥È¤ò½ñ¤¯¤³¤È¤Ç»ØÄê¤Ç¤­¤Þ¤¹¡£ÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤ÊÑ¿ô¤Ï½é´üÃÍ 1.0 ¤È ¤·¤Æºî¤é¤ì¤Þ¤¹¡£¤·¤«¤·Åö¤Æ¤Ï¤á¤Ï¡¢ÊÑ¿ô¤Î½é´üÃͤ¬¤¢¤é¤«¤¸¤áŬÀÚ¤ÊÃͤËÀß Äꤵ¤ì¤Æ¤¤¤ëÊý¤¬Â¿Ê¬Â®¤¯¼ý«¤¹¤ë¤Ç¤·¤ç¤¦¡£

¥Ñ¥é¥á¡¼¥¿¥Õ¥¡¥¤¥ë¤Ï¸Ä¡¹¤Î¥Ñ¥é¥á¡¼¥¿¤ò¡¢¸ÄÊÌ¤Ë 1 ¹Ô¤Ë°ì¤Ä¤º¤Ä¡¢½é´üÃͤò ¼¡¤Î¤è¤¦¤Ê·Á¤Ç»ØÄꤷ¤Æ½ñ¤­¤Þ¤¹¡£

     ÊÑ¿ô̾ = ½é´üÃÍ

'#' ¤Ç»Ï¤Þ¤ë¥³¥á¥ó¥È¹Ô¤ä¶õ¹Ô¤âµö¤µ¤ì¤Þ¤¹¡£ÆÃÊ̤ʷÁ¼°¤È¤·¤Æ

     ÊÑ¿ô̾ = ½é´üÃÍ       # FIXED

¤Ï¡¢¤³¤ÎÊÑ¿ô¤¬¸ÇÄꤵ¤ì¤¿¥Ñ¥é¥á¡¼¥¿¤Ç¤¢¤ë¤³¤È¤ò°ÕÌ£¤·¡¢¤½¤ì¤Ï¤³¤Î¥Õ¥¡¥¤ ¥ë¤Ç½é´ü²½¤µ¤ì¤Þ¤¹¤¬¡¢Ä´Àá¤Ï¤µ¤ì¤Þ¤»¤ó¡£¤³¤ì¤Ï¡¢fit ¤Ç¥ì¥Ý¡¼¥È¤µ¤ì¤ë ÊÑ¿ô¤ÎÃæ¤Ç¡¢¤É¤ì¤¬¸ÇÄꤵ¤ì¤¿ÊÑ¿ô¤Ç¤¢¤ë¤«¤òÌÀ¼¨¤¹¤ë¤Î¤ËÍ­ÍѤǤ·¤ç¤¦¡£¤Ê ¤ª¡¢# FIXED ¤È¸À¤¦¥­¡¼¥ï¡¼¥É¤Ï¸·Ì©¤Ë¤³¤Î·Á¤Ç¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£

64.2 Fit ¤Î³µÎ¬ (fit beginners_guide)

fit ¤Ï¡¢Í¿¤¨¤é¤ì¤¿¥Ç¡¼¥¿ÅÀ¤òÍ¿¤¨¤é¤ì¤¿¥æ¡¼¥¶ÄêµÁ´Ø¿ô¤Ë¤â¤Ã¤È¤âÎɤ¯ Åö¤Æ¤Ï¤á¤ë¤è¤¦¤Ê¥Ñ¥é¥á¡¼¥¿¤ò¸«¤Ä¤±¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£¤½¤ÎÅö¤Æ¤Ï¤á¤Ï¡¢ Ʊ¤¸¾ì½ê¤Ç¤ÎÆþÎϥǡ¼¥¿ÅÀ¤È´Ø¿ôÃͤȤμ«¾è¸íº¹¡¢¤¢¤ë¤¤¤Ï»Äº¹ (SSR:Sum of the Squared Residuals) ¤ÎϤò´ð¤ËȽÄꤵ¤ì¤Þ¤¹¡£¤³¤ÎÎ̤ÏÄ̾ï¦Ö(¥«¥¤) ¼«¾è¤È¸Æ¤Ð¤ì¤Þ¤¹¡£¤³¤Î¥¢¥ë¥´¥ê¥º¥à¤Ï SSR ¤ò ºÇ¾®²½¤¹¤ë¤³¤È¤ò¤·¤è¤¦¤È ¤·¤Þ¤¹¡£¤â¤¦¾¯¤·¾Ü¤·¤¯¸À¤¦¤È¡¢¥Ç¡¼¥¿¸íº¹ (¤Þ¤¿¤Ï 1.0) ¤Î½Å¤ß¤Ä¤­»Äº¹¤Î ¼«¾èÏ (WSSR) ¤ÎºÇ¾®²½¤ò¹Ô¤Ã¤Æ¤¤¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È:fit error_estimates (64.3)¡£

¤³¤ì¤¬¡¢(ÈóÀþ·Á) ºÇ¾®¼«¾èÅö¤Æ¤Ï¤áË¡¤È¸Æ¤Ð¤ì¤ë¤æ¤¨¤ó¤Ç¤¹¡£ÈóÀþ·Á ¤¬ ²¿¤ò°ÕÌ£¤·¤Æ¤¤¤ë¤Î¤«¤ò¸«¤ë¤¿¤á¤ÎÎã¤ò¾Ò²ð¤·¤Þ¤¹¤¬¡¢¤½¤ÎÁ°¤Ë¤¤¤¯¤Ä¤«¤Î ²¾Äê¤Ë¤Ä¤¤¤Æ½Ò¤Ù¤Æ¤ª¤­¤Þ¤¹¡£¤³¤³¤Ç¤Ï´Êñ¤Î¤¿¤á¡¢1 ÊÑ¿ô¤Î¥æ¡¼¥¶¡¼ÄêµÁ ´Ø¿ô¤Ï z=f(x), 2 ÊÑ¿ô¤Î´Ø¿ô¤Ï z=f(x,y) ¤Î¤è¤¦¤Ë¤·¡¢¤¤¤º¤ì¤â½¾Â°ÊÑ¿ô¤È¤·¤Æ z ¤òÍѤ¤¤ë¤³¤È¤Ë¤·¤Þ¤¹¡£¥Ñ¥é¥á¡¼¥¿¤È¤Ï fit ¤¬Ä´À°¤·¤ÆŬÀÚ¤ÊÃͤò ·èÄꤹ¤ë¥æ¡¼¥¶ÄêµÁÊÑ¿ô¤Ç¡¢´Ø¿ô¤ÎÄêµÁ¼°Ãæ¤Î̤Ãοô¤Ç¤¹¡£¤³¤³¤Ç¸À¤¦¡¢Àþ·Á À­/ÈóÀþ·ÁÀ­¤È¤Ï¡¢½¾Â°ÊÑ¿ô z ¤È fit ¤¬Ä´À°¤¹¤ë¥Ñ¥é¥á¡¼¥¿¤È¤Î´Ø·¸¤ËÂФ¹¤ë¤â¤Î¤Ç¤¢¤ê¡¢z ¤ÈÆÈΩÊÑ¿ô x (¤Þ¤¿¤Ï x ¤È y) ¤È¤Î´Ø·¸¤Î¤³¤È¤Ç¤Ï¤¢¤ê ¤Þ¤»¤ó (¿ô³ØŪ¤Ë½Ò¤Ù¤ë¤È¡¢Àþ·ÁºÇ¾®¼«¾èÌäÂê¤Ç¤Ï¡¢Åö¤Æ¤Ï¤á´Ø¿ô¤Î¥Ñ¥é¥á¡¼ ¥¿¤Ë¤è¤ë 2 ³¬ (¤½¤·¤Æ¹¹¤Ë¹â³¬¤Î) Ƴ´Ø¿ô¤Ï 0¡¢¤È¤¤¤¦¤³¤È¤Ë¤Ê¤ê¤Þ¤¹)¡£

Àþ·ÁºÇ¾®¼«¾èË¡ (LLS) ¤Ç¤Ï¡¢¥æ¡¼¥¶ÄêµÁ´Ø¿ô¤Ïñ½ã¤Ê´Ø¿ô¤ÎϤǤ¢¤ê¡¢¤½¤ì ¤¾¤ì¤Ï°ì¤Ä¤Î¥Ñ¥é¥á¡¼¥¿¤ÎÄê¿ôÇܤǾ¤Î¥Ñ¥é¥á¡¼¥¿¤ò´Þ¤Þ¤Ê¤¤¹à¤Ë¤Ê¤ê¤Þ¤¹¡£ ÈóÀþ·ÁºÇ¾®¼«¾èË¡ (NLLS) ¤Ç¤Ï¤è¤êÊ£»¨¤Ê´Ø¿ô¤ò°·¤¤¡¢¥Ñ¥é¥á¡¼¥¿¤Ï¿§¤ó¤Ê »È¤ï¤ìÊý¤ò¤µ¤ì¤Þ¤¹¡£¥Õ¡¼¥ê¥¨µé¿ô¤ÏÀþ·Á¤ÈÈóÀþ·Á¤ÎºÇ¾®¼«¾èË¡¤Î°ã¤¤¤òɽ¤¹ °ì¤Ä¤ÎÎã¤Ç¤¹¡£¥Õ¡¼¥ê¥¨µé¿ô¤Ç¤Ï°ì¤Ä¤Î¹à¤Ï

    z=a*sin(c*x) + b*cos(c*x).

¤Î¤è¤¦¤Ëɽ¤µ¤ì¤Þ¤¹¡£¤â¤·¡¢a ¤È b ¤¬Ì¤ÃΤʥѥé¥á¡¼¥¿¤Ç c ¤ÏÄê¿ô¤À¤È¤¹¤ì¤Ð ¥Ñ¥é¥á¡¼¥¿¤Îɾ²Á¤ÏÀþ·ÁºÇ¾®¼«¾èÌäÂê¤Ë¤Ê¤ê¤Þ¤¹¡£¤·¤«¤·¡¢c ¤¬Ì¤ÃΤʥѥé¥á¡¼ ¥¿¤Ê¤é¤Ð¤½¤ì¤ÏÈóÀþ·ÁÌäÂê¤Ë¤Ê¤ê¤Þ¤¹¡£

Àþ·Á¤Î¾ì¹ç¡¢¥Ñ¥é¥á¡¼¥¿¤ÎÃͤÏÈæ³ÓŪ´Êñ¤ÊÀþ·ÁÂå¿ô¤ÎľÀÜË¡¤Ë¤è¤Ã¤Æ·èÄê¤Ç ¤­¤Þ¤¹¡£¤·¤«¤·¤½¤Î¤è¤¦¤Ê LLS ¤ÏÆüì¤Ê¾ì¹ç¤Ç¤¢¤ê¡¢'gnuplot' ¤¬»ÈÍѤ¹¤ë È¿ÉüË¡¤Ï¡¢¤â¤Á¤í¤ó¤½¤ì¤â´Þ¤á¤Æ¡¢¤è¤ê°ìÈÌŪ¤Ê NLLS ÌäÂê¤ò²ò¤¯¤³¤È¤¬¤Ç¤­ ¤Þ¤¹¡£fit ¤Ï¸¡º÷¤ò¹Ô¤¦¤³¤È¤ÇºÇ¾®Ãͤòõ¤½¤¦¤È¤·¤Þ¤¹¡£È¿Éü¤Î³Æ¥¹¥Æ¥Ã¥× ¤Ï¡¢¥Ñ¥é¥á¡¼¥¿¤Î¿·¤·¤¤ÃͤÎÁȤËÂФ·¤Æ WSSR ¤ò·×»»¤·¤Þ¤¹¡£Marquardt- Levenberg ¤Î¥¢¥ë¥´¥ê¥º¥à¤Ï¼¡¤Î¥¹¥Æ¥Ã¥×¤Î¥Ñ¥é¥á¡¼¥¿¤ÎÃͤòÁªÂò¤·¤Þ¤¹¡£¤½ ¤·¤Æ¤½¤ì¤Ï¤¢¤é¤«¤¸¤áÍ¿¤¨¤¿´ð½à¡¢¤¹¤Ê¤ï¤Á¡¢(1) Åö¤Æ¤Ï¤á¤¬ "¼ý«¤·¤¿" (WSSR ¤ÎÁêÂÐ¸íº¹¤¬ FIT_LIMIT ¤è¤ê¾®¤µ¤¯¤Ê¤Ã¤¿¾ì¹ç)¡¢¤Þ¤¿¤Ï (2) ¤¢¤é¤« ¤¸¤áÀßÄꤵ¤ì¤¿È¿Éü¿ô¤Î¸Â³¦ FIT_MAXITER (°Ê²¼»²¾È:fit control variables (64.4.1)) ¤Ë㤷¤¿¾ì¹ç¡¢¤Î¤¤¤º¤ì¤«¤òËþ¤¿¤¹¤Þ¤Ç³¤±¤é¤ì ¤Þ¤¹¡£¥­¡¼¥Ü¡¼¥É¤«¤é¤½¤ÎÅö¤Æ¤Ï¤á¤ÎÈ¿Éü¤ÏÃæÃǤǤ­¤Þ¤¹¤·¡¢¤½¤ì¤Ë³¤¤¤ÆÃæ »ß¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹ (°Ê²¼»²¾È: fit (64))¡£¥æ¡¼¥¶ÊÑ¿ô FIT_CONVERGED ¤Ï¡¢ ľÁ°¤Î fit ¥³¥Þ¥ó¥É¤¬¼ý«¤Ë¤è¤ê½ªÎ»¤·¤¿¾ì¹ç¤Ï 1 ¤ò´Þ¤ß¡¢¤½¤ì°Ê³°¤ÎÍýͳ¤ÇÃæÃǤ·¤¿¾ì¹ç¤Ï 0 ¤ò´Þ¤ß¤Þ¤¹¡£

Åö¤Æ¤Ï¤á¤Ë»È¤ï¤ì¤ë´Ø¿ô¤Ï¤·¤Ð¤·¤Ð¤¢¤ë¥â¥Ç¥ë (¤Þ¤¿¤Ï¤¢¤ëÍýÏÀ) ¤ò¸µ¤Ë¤·¤Æ ¤¤¤Æ¡¢¤½¤ì¤Ï¥Ç¡¼¥¿¤Î¿¶Éñ¤òµ­½Ò¤·¤¿¤ê¡¢¤¢¤ë¤¤¤Ïͽ¬¤·¤è¤¦¤È¤·¤Þ¤¹¡£¤è¤Ã ¤Æ fit ¤Ï¡¢¥Ç¡¼¥¿¤¬¤½¤Î¥â¥Ç¥ë¤Ë¤É¤ì¤¯¤é¤¤¤¦¤Þ¤¯Åö¤Æ¤Ï¤Þ¤Ã¤Æ¤¤¤ë¤Î¤«¤ò ·èÄꤹ¤ë¤¿¤á¡¢¤½¤·¤Æ¸Ä¡¹¤Î¥Ñ¥é¥á¡¼¥¿¤Î¸íº¹¤ÎÈϰϤòɾ²Á¤¹¤ë¤¿¤á¤Ë¡¢¥â¥Ç ¥ë¤Î¼«Í³¤Ê¥Ñ¥é¥á¡¼¥¿¤ÎÃͤòµá¤á¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£°Ê²¼»²¾È:fit error_estimates (64.3)¡£

¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¢¶ÊÀþ¤Ë¤è¤ëÅö¤Æ¤Ï¤á¤Ë¤ª¤±¤ë´Ø¿ô¤Ï¡¢¥â¥Ç¥ë¤È¤Ï̵´Ø·¸¤ËÁª ¤Ð¤ì¤Æ¤¤¤Þ¤¹ (¤½¤ì¤Ï½½Ê¬¤Êɽ¸½ÎϤȺǤ⾯¤Ê¤¤¿ô¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Á¡¢¥Ç¡¼ ¥¿¤Î·¹¸þ¤òµ­½Ò¤·¤½¤¦¤Ê´Ø¿ô¤È¤·¤Æ·Ð¸³¤Ë´ð¤Å¤¤¤ÆÁª¤Ð¤ì¤ë¤Ç¤·¤ç¤¦)¡£

¤·¤«¤·¡¢¤â¤·¤¢¤Ê¤¿¤¬Á´¤Æ¤Î¥Ç¡¼¥¿ÅÀ¤òÄ̤ë¤è¤¦¤Ê³ê¤é¤«¤Ê¶ÊÀþ¤òÍߤ·¤¤¤Ê¤é fit ¤Ç¤Ï¤Ê¤¯¡¢¤à¤·¤í plot ¤Î smooth ¥ª¥×¥·¥ç¥ó¤Ç¤½¤ì¤ò¹Ô¤¦¤Ù¤­¤Ç ¤·¤ç¤¦¡£

64.3 ¸íº¹É¾²Á (error estimates)

fit ¤Ë¤ª¤¤¤Æ "¸íº¹" ¤È¤¤¤¦ÍѸì¤Ï 2 ¤Ä¤Î°Û¤Ê¤Ã¤¿Ê¸Ì®¤ÇÍѤ¤¤é¤ì¤Þ¤¹¡£ °ì¤Ä¤Ï¥Ç¡¼¥¿¸íº¹¡¢¤â¤¦°ì¤Ä¤Ï¥Ñ¥é¥á¡¼¥¿¸íº¹¤Ç¤¹¡£

¥Ç¡¼¥¿¸íº¹¤Ï¡¢Ê¿Êý»Äº¹¤Î½Å¤ßÉÕ¤­¤ÎÏ WSSR¡¢¤¹¤Ê¤ï¤Á¦Ö¼«¾è¤ò·èÄꤹ¤ëºÝ ¸Ä¡¹¤Î¥Ç¡¼¥¿ÅÀ¤ÎÁêÂÐŪ¤Ê½Å¤ß¤ò·×»»¤¹¤ë¤Î¤ËÍѤ¤¤é¤ì¤Þ¤¹¡£¤½¤ì¤é¤Ï¥Ñ¥é¥á ¡¼¥¿¤Îɾ²Á¤Ë±Æ¶Á¤òÍ¿¤¨¤Þ¤¹¡£¤½¤ì¤Ï¡¢¤½¤ì¤é¤¬¡¢Åö¤Æ¤Ï¤á¤é¤ì¤¿´Ø¿ô¤«¤é¤Î ¸Ä¡¹¤Î¥Ç¡¼¥¿ÅÀ¤ÎÊк¹¤¬ºÇ½ªÅª¤ÊÃͤËÍ¿¤¨¤ë±Æ¶Á¤ÎÂ礭¤µ¤ò·èÄꤹ¤ë¤³¤È¤Ë¤è ¤ê¤Þ¤¹¡£Àµ³Î¤Ê¥Ç¡¼¥¿¸íº¹É¾²Á¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢¥Ñ¥é¥á¡¼¥¿¤Î¸íº¹ ɾ²ÁÅù¤Î fit ¤¬½ÐÎϤ¹¤ë¾ðÊó¤Ï¤è¤êÌò¤ËΩ¤Ä¤Ç¤·¤ç¤¦¡£

'statistical overview' ¤Ç¤Ï fit ¤Î½ÐÎϤΤ¤¤¯¤Ä¤«¤òÀâÌÀ¤·¡¢ 'practical guidelines' ¤ËÂФ¹¤ëÇطʤò½Ò¤Ù¤Æ¤¤¤Þ¤¹¡£

64.3.1 Åý·×Ū¤Ê³µÍ× (statistical overview)

ÈóÀþ·ÁºÇ¾®¼«¾èË¡ (Non-Linear Least-Squares; NLLS) ¤ÎÍýÏÀ¤Ï¡¢¸íº¹¤ÎÀµµ¬ ʬÉÛ¤ÎÅÀ¤«¤é°ìÈÌŪ¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢ÆþÎϥǡ¼¥¿¤ÏÍ¿¤¨¤é¤ì¤¿ Ê¿¶Ñ¤È¤½¤ÎÊ¿¶Ñ¤ËÂФ¹¤ëÍ¿¤¨¤é¤ì¤¿É¸½àÊк¹¤ò»ý¤Ä¥¬¥¦¥¹ (Àµµ¬) ʬÉۤ˽¾¤¦ Ê콸ÃĤ«¤é¤ÎɸËܤȲ¾Äꤵ¤ì¤Þ¤¹¡£½½Ê¬Â礭¤¤É¸ËÜ¡¢¤½¤·¤ÆÊ콸ÃĤÎɸ½àÊк¹ ¤òÃΤ뤳¤È¤ËÂФ·¤Æ¤Ï¡¢¦Ö¼«¾èʬÉÛÅý·×¤òÍѤ¤¤Æ¡¢Ä̾ï¡Ö¦Ö¼«¾è¡×¤È¸Æ¤Ð¤ì¤ë ÃͤòÄ´¤Ù¤ë¤³¤È¤Ë¤è¤ê¡ÖÅö¤Æ¤Ï¤á¤ÎÎɤµ¡×¤ò½Ò¤Ù¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¸º¤é¤µ¤ì ¤¿¼«Í³Å٤Φּ«¾è (¦Ö¼«¾è¤Î¼«Í³Å٤ϡ¢¥Ç¡¼¥¿ÅÀ¤Î¿ô¤«¤éÅö¤Æ¤Ï¤á¤é¤ì¤ë¥Ñ¥é ¥á¡¼¥¿¤Î¸Ä¿ô¤À¤±°ú¤¤¤¿¿ô) ¤¬ 1.0 ¤Ç¤¢¤ë¾ì¹ç¤Ï¡¢¥Ç¡¼¥¿ÅÀ¤ÈÅö¤Æ¤Ï¤á¤é¤ì¤¿ ´Ø¿ô¤È¤ÎÊк¹¤Î½Å¤ß¤Ä¤­¼«¾èϤ¬¡¢¸½ºß¤Î¥Ñ¥é¥á¡¼¥¿ÃͤËÂФ¹¤ë´Ø¿ô¤ÈÍ¿¤¨¤é ¤ì¤¿É¸½àÊк¹¤Ë¤è¤Ã¤ÆÆÃħÉÕ¤±¤é¤ì¤¿Ê콸ÃĤΡ¢¥é¥ó¥À¥à¤Ê¥µ¥ó¥×¥ë¤ËÂФ¹¤ë ¼«¾èϤȤ¬Á´¤¯Æ±¤¸¤Ç¤¢¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£

ʬ»¶ = Áí·×¤Ç¤¢¤ë¿ô¤¨¾å¤²Åý·×³ØƱÍÍ¡¢Ê콸ÃĤÎɸ½àÊк¹¤¬Äê¿ô¤Ç¤Ê¤¤¾ì¹ç¡¢ ³ÆÅÀ¤Ï´Ñ¬¤µ¤ì¤ëÊк¹¤ÎϤȴüÂÔ¤µ¤ì¤ëÊк¹¤ÎϤòÈæ³Ó¤¹¤ë¤È¤­¤Ë¸ÄÊÌ¤Ë½Å¤ß ¤Å¤±¤µ¤ì¤ë¤Ù¤­¤Ç¤¹¡£

ºÇ½ªÃʳ¬¤Ç fit ¤Ï 'stdfit'¡¢¤¹¤Ê¤ï¤Á»Äº¹¤Î RMS (¼«¾èÊ¿¶ÑÊ¿Êýº¬) ¤Çµá ¤á¤é¤ì¤ëÅö¤Æ¤Ï¤á¤Îɸ½àÊк¹¤È¡¢¥Ç¡¼¥¿ÅÀ¤¬½Å¤ß¤Å¤±¤é¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë '¸º¤é ¤µ¤ì¤¿¦Ö¼«¾è' ¤È¤â¸Æ¤Ð¤ì¤ë»Äº¹¤Îʬ»¶¤ò¥ì¥Ý¡¼¥È¤·¤Þ¤¹¡£¼«Í³ÅÙ (¥Ç¡¼¥¿ÅÀ ¤Î¿ô¤«¤éÅö¤Æ¤Ï¤á¥Ñ¥é¥á¡¼¥¿¤Î¿ô¤ò°ú¤¤¤¿¤â¤Î) ¤Ï¤³¤ì¤é¤Îɾ²Á¤Ç»ÈÍѤµ¤ì¤Þ ¤¹¡£¤Ê¤¼¤Ê¤é¡¢¥Ç¡¼¥¿ÅÀ¤Î»Äº¹¤Î·×»»¤Ç»È¤ï¤ì¤ë¥Ñ¥é¥á¡¼¥¿¤ÏƱ¤¸¥Ç¡¼¥¿¤«¤é ÆÀ¤é¤ì¤ë¤â¤Î¤À¤«¤é¤Ç¤¹¡£¤³¤ì¤é¤ÎÃͤϰʲ¼¤ÎÊÑ¿ô¤ËÂåÆþ¤µ¤ì¤Þ¤¹:

     FIT_NDF = ¼«Í³Å٤οô
     FIT_WSSR = ½Å¤ß¤Ä¤­»Äº¹¤Î¼«¾èÏÂ
     FIT_STDFIT = sqrt(WSSR/NDF)

¥Ñ¥é¥á¡¼¥¿¤Ë´Ø¤¹¤ë¿®Íê¥ì¥Ù¥ë¤òɾ²Á¤¹¤ë¤³¤È¤Ç¡¢Åö¤Æ¤Ï¤á¤«¤éÆÀ¤é¤ì¤ëºÇ¾® ¤Î¦Ö¼«¾è¤È¡¢Í׵᤹¤ë¿®Íê¥ì¥Ù¥ë¤Î¦Ö¼«¾è¤ÎÃͤò·èÄꤹ¤ë¤¿¤á¤Î¦Ö¼«¾è¤ÎÅý·× ¤òÍѤ¤¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£¤·¤«¤·¡¢¤½¤Î¤è¤¦¤ÊÃͤòÀ¸À®¤¹¤ë¥Ñ¥é¥á¡¼¥¿¤ÎÁȤò ·èÄꤹ¤ë¤Ë¤Ï¡¢ÁêÅö¤Î¤µ¤é¤Ê¤ë·×»»¤¬É¬ÍפȤʤë¤Ç¤·¤ç¤¦¡£

fit ¤Ï¿®Íê¶è´Ö¤Î·èÄê¤è¤ê¤à¤·¤í¡¢ºÇ¸å¤ÎÈ¿Éü¸å¤Îʬ»¶-¶¦Ê¬»¶¹ÔÎ󤫤éľ ¤Á¤ËÆÀ¤é¤ì¤ë¥Ñ¥é¥á¡¼¥¿¤Î¸íº¹É¾²Á¤òÊó¹ð¤·¤Þ¤¹¡£¤³¤ì¤é¤Îɾ²Á¤Ï¡¢É¸½àÊк¹ ¤È¤·¤Æ·×»»¤µ¤ì¤ëÎ̤λØÄê¤Ë´Ø¤¹¤ëÅý·×¾å¤Î¾ò·ï¤¬¡¢°ìÈ̤ˤÏÈóÀþ·ÁºÇ¾®¼«¾è ÌäÂê¤Ç¤ÏÊݾڤµ¤ì¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢Àþ·ÁºÇ¾®¼«¾èÌäÂê¤Ç¤Îɸ½à¸íº¹ (³Æ¥Ñ¥é¥á¡¼ ¥¿¤Îɸ½àÊк¹) ¤ÈƱ¤¸ÊýË¡¤Ç·×»»¤µ¤ì¤Þ¤¹¡£¤½¤·¤Æ¤½¤Î¤¿¤á´·Îã¤Ë¤è¤ê¡¢¤³¤ì ¤é¤Ï "ɸ½à¸íº¹" ¤È¤« "Á²¶áɸ½à¸íº¹" ¤È¸Æ¤Ð¤ì¤Æ¤¤¤Þ¤¹¡£Á²¶áɸ½à¸íº¹¤Ï°ì È̤˳ڴѲ᤮¡¢¿®Íê¥ì¥Ù¥ë¤Î·èÄê¤Ë¤Ï»È¤¦¤Ù¤­¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢ÄêÀ­Åª¤Ê»Ø ɸ¤È¤·¤Æ¤ÏÌò¤ËΩ¤Ä¤Ç¤·¤ç¤¦¡£

ºÇ½ªÅª¤Ê²ò¤Ï¡¢²ò¤ÎÈϰϤˤª¤±¤ë¥Ñ¥é¥á¡¼¥¿¤ÎÁê´Ø¤ò¼¨¤¹Áê´Ø¹ÔÎó¤âÀ¸À®¤·¤Þ ¤¹: ¤½¤Î¼çÂгÑÍ×ÁÇ¡¢¤¹¤Ê¤ï¤Á¼«¸ÊÁê´Ø¤Ï¾ï¤Ë 1 ¤Ç¡¢Á´¤Æ¤Î¥Ñ¥é¥á¡¼¥¿¤¬ÆÈ Î©¤Ê¤é¤ÐÈóÂгÑÍ×ÁǤϤ¹¤Ù¤Æ 0 ¤Ë¶á¤¤Ãͤˤʤê¤Þ¤¹¡£´°Á´¤Ë¾¤òÊ䤤¤¢¤¦ 2 ¤Ä¤ÎÊÑ¿ô¤Ï¡¢Â礭¤µ¤¬ 1 ¤Ç¡¢´Ø·¸¤¬Àµ¤ÎÁê´Ø¤«Éé¤ÎÁê´Ø¤«¤Ë¤è¤Ã¤ÆÀµ¤«Éé¤Ë ¤Ê¤ëÉä¹æ¤ò»ý¤ÄÈóÂгÑÍ×ÁǤò»ý¤Á¤Þ¤¹¡£ÈóÂгÑÍ×ÁǤÎÂ礭¤µ¤¬¾®¤µ¤¤¤Û¤É¡¢³Æ ¥Ñ¥é¥á¡¼¥¿¤Îɸ½àÊк¹¤Îɾ²Á¤Ï¡¢Á²¶áɸ½à¸íº¹¤Ë¶á¤¯¤Ê¤ê¤Þ¤¹¡£

64.3.2 ¼ÂÍÑŪ¤Ê¥¬¥¤¥É¥é¥¤¥ó (practical guidelines)

¸Ä¡¹¤Î¥Ç¡¼¥¿ÅÀ¤Ø¤Î½Å¤ß¤Å¤±¤Î³ä¤êÅö¤Æ¤Î´ðÁäòÃΤäƤ¤¤ë¤Ê¤é¡¢¤½¤ì¤¬Â¬Äê ·ë²Ì¤ËÂФ¹¤ë¤è¤ê¾Ü¤·¤¤¾ðÊó¤ò»ÈÍѤµ¤»¤è¤¦¤È¤¹¤ë¤Ç¤·¤ç¤¦¡£Î㤨¤Ð¡¢´ö¤Ä¤« ¤ÎÅÀ¤Ï¾¤ÎÅÀ¤è¤êÅö¤Æ¤Ë¤Ê¤ë¤È¤¤¤¦¤³¤È¤ò¹Íθ¤ËÆþ¤ì¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£¤½¤· ¤Æ¡¢¤½¤ì¤é¤ÏºÇ½ªÅª¤Ê¥Ñ¥é¥á¡¼¥¿¤ÎÃͤ˱ƶÁ¤·¤Þ¤¹¡£

¥Ç¡¼¥¿¤Î½Å¤ßÉÕ¤±¤Ï¡¢ºÇ¸å¤ÎÈ¿Éü¸å¤Î fit ¤ÎÄɲýÐÎϤËÂФ¹¤ë²ò¼á¤Î´ðÁà ¤òÍ¿¤¨¤Þ¤¹¡£³ÆÅÀ¤ËƱÅù¤Ë½Å¤ßÉÕ¤±¤ò¹Ô¤Ê¤¦¤Ë¤·¤Æ¤â¡¢½Å¤ß 1 ¤ò»È¤¦¤³¤È¤è ¤ê¤â¤à¤·¤íÊ¿¶Ñɸ½àÊк¹¤òɾ²Á¤¹¤ë¤³¤È¤¬¡¢¦Ö¼«¾è¤¬ÄêµÁ¤Ë¤è¤ê¤½¤¦¤Ç¤¢¤ë¤è ¤¦¤Ë¡¢WSSR ¤ò ̵¼¡¸µÊÑ¿ô¤È¤¹¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

Åö¤Æ¤Ï¤áÈ¿Éü¤Î³ÆÃʳ¬¤Ç¡¢Åö¤Æ¤Ï¤á¤Î¿Ê¹Ô¤Îɾ²Á¤Ë»È¤¦¤³¤È¤¬½ÐÍè¤ë¾ðÊó¤¬É½ ¼¨¤µ¤ì¤Þ¤¹ ('*' ¤Ï¤è¤ê¾®¤µ¤¤ WSSR ¤ò¸«¤Ä¤±¤é¤ì¤Ê¤«¤Ã¤¿¤³¤È¡¢¤½¤·¤ÆºÆ»î ¹Ô¤·¤Æ¤¤¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹)¡£'sum of squares of residuals' (»Äº¹¤Î¼«¾è ÏÂ) ¤Ï¡¢'chisquare' (¦Ö¼«¾è) ¤È¤â¸Æ¤Ð¤ì¤Þ¤¹¤¬¡¢¤³¤ì¤Ï¥Ç¡¼¥¿¤ÈÅö¤Æ¤Ï¤á ´Ø¿ô¤È¤Î´Ö¤Î WSSR ¤ò°ÕÌ£¤·¤Æ¤¤¤Æ¡¢fit ¤Ï¤³¤ì¤òºÇ¾®²½¤·¤è¤¦¤È¤·¤Þ¤¹¡£ ¤³¤ÎÃʳ¬¤Ç¡¢½Å¤ßÉÕ¤±¤µ¤ì¤¿¥Ç¡¼¥¿¤Ë¤è¤Ã¤Æ¡¢¦Ö¼«¾è¤ÎÃͤϼ«Í³ÅÙ (= ¥Ç¡¼¥¿ ÅÀ¤Î¿ô - ¥Ñ¥é¥á¡¼¥¿¤Î¿ô) ¤Ë¶áÉÕ¤¯¤³¤È¤¬´üÂÔ¤µ¤ì¤Þ¤¹¡£WSSR ¤ÏÊäÀµ¤µ¤ì¤¿ ¦Ö¼«¾èÃÍ (WSSR/ndf; ndf = ¼«Í³ÅÙ)¡¢¤Þ¤¿¤ÏÅö¤Æ¤Ï¤áɸ½àÊк¹ (stdfit = sqrt(WSSR/ndf)) ¤ò·×»»¤¹¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£¤½¤ì¤é¤ÏºÇ½ªÅª¤Ê WSSR ¤ËÂФ· ¤Æ¥ì¥Ý¡¼¥È¤µ¤ì¤Þ¤¹¡£

¥Ç¡¼¥¿¤¬½Å¤ßÉÕ¤±¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢stdfit ¤Ï¡¢¥æ¡¼¥¶¤Îñ°Ì¤Ç¤Î¡¢¥Ç¡¼¥¿ ¤ÈÅö¤Æ¤Ï¤á´Ø¿ô¤ÎÊк¹¤Î RMS (¼«¾èÊ¿¶ÑÊ¿Êýº¬) ¤Ë¤Ê¤ê¤Þ¤¹¡£

¤â¤·ÂÅÅö¤Ê¥Ç¡¼¥¿¸íº¹¤òÍ¿¤¨¡¢¥Ç¡¼¥¿ÅÀ¤¬½½Ê¬Â¿¤¯¡¢¥â¥Ç¥ë¤¬Àµ¤·¤±¤ì¤Ð¡¢ ÊäÀµ¦Ö¼«¾èÃÍ¤Ï¤Û¤Ü 1 ¤Ë¤Ê¤ê¤Þ¤¹ (¾ÜºÙ¤Ï¡¢Å¬Åö¤ÊÅý·×³Ø¤ÎËܤΠ'¦Ö¼«¾èʬ ÉÛ' ¤Î¹à¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤)¡£¤³¤Î¾ì¹ç¡¢¤³¤Î³µÍפ˽ñ¤«¤ì¤Æ¤¤¤ë¤³¤È°Ê³°¤Ë¡¢¥â¥Ç¥ë¤¬¥Ç¡¼¥¿¤Ë¤É¤ì¤¯¤é¤¤Îɤ¯Åö¤Æ¤Ï¤Ã¤Æ¤¤¤ë¤«¤ò·èÄꤹ¤ë¤¿¤á¤ÎÄɲäλÊýË¡¤¬¤¤¤¯¤Ä¤«¤¢¤ê¤Þ¤¹¡£

ÊäÀµ¦Ö¼«¾è¤¬ 1 ¤è¤ê¤Ï¤ë¤«¤ËÂ礭¤¯¤Ê¤Ã¤¿¤é¡¢¤½¤ì¤ÏÉÔÀµ¤Ê¥Ç¡¼¥¿¸íº¹É¾²Á¡¢ Àµµ¬Ê¬ÉÛ¤·¤Ê¤¤¥Ç¡¼¥¿¸íº¹¡¢¥·¥¹¥Æ¥à¾å¤Î¬Äê¸íº¹¡¢¸ÉΩ¤·¤¿É¸ËÜÃÍ (outliers)¡¢¤Þ¤¿¤ÏÎɤ¯¤Ê¤¤¥â¥Ç¥ë´Ø¿ô¤Ê¤É¤Î¤¿¤á¤Ç¤·¤ç¤¦¡£Î㤨¤Ð plot 'datafile' using 1:($2-f($1)) ¤Ê¤É¤È¤·¤Æ»Äº¹¤òÉÁ²è¤¹¤ë¤³¤È¤Ï¡¢ ¤½¤ì¤é¤Î¥·¥¹¥Æ¥àŪ¤Ê·¹¸þ¤òÃΤ뤿¤á¤Î¼ê¤¬¤«¤ê¤È¤Ê¤ê¤Þ¤¹¡£¥Ç¡¼¥¿ÅÀ¤È´Ø¿ô ¤Îξ¼Ô¤òÉÁ²è¤¹¤ë¤³¤È¤Ï¡¢Â¾¤Î¥â¥Ç¥ë¤ò¹Í¤¨¤¿¤á¤Î¼ê¤¬¤«¤ê¤È¤Ê¤ë¤Ç¤·¤ç¤¦¡£

ƱÍͤˡ¢1.0 ¤è¤ê¾®¤µ¤¤ÊäÀµ¦Ö¼«¾è¤Ï¡¢WSSR ¤¬¡¢Àµµ¬Ê¬ÉÛ¤¹¤ë¸íº¹¤ò»ý¤Ä¥é ¥ó¥À¥à¤Ê¥µ¥ó¥×¥ë¤È´Ø¿ô¤ËÂФ·¤Æ´üÂÔ¤µ¤ì¤ë¤â¤Î¤è¤ê¤â¾®¤µ¤¤¤³¤È¤ò°ÕÌ£¤·¤Þ ¤¹¡£¥Ç¡¼¥¿¸íº¹É¾²Á¤¬Â礭¤¹¤®¤ë¤Î¤«¡¢Åý·×Ū¤Ê²¾Ä꤬Àµ¤·¤¯¤Ê¤¤¤Î¤«¡¢¤Þ¤¿ ¤Ï¥â¥Ç¥ë´Ø¿ô¤¬°ìÈÌŪ¤¹¤®¤Æ¡¢ÆâºßŪ·¹¸þ¤Ë²Ã¤¨¤ÆÆüì¤Ê¥µ¥ó¥×¥ë¤Ë¤è¤ëÊÑÆ° ¤ÎÅö¤Æ¤Ï¤á¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦¡£ºÇ¸å¤Î¾ì¹ç¤Ï¡¢¤è¤ê¥·¥ó¥×¥ë¤Ê´Ø¿ô¤Ë¤¹ ¤ì¤Ð¤¦¤Þ¤¯¹Ô¤¯¤Ç¤·¤ç¤¦¡£

ɸ½àŪ¤Ê¥¨¥é¡¼¤ò¡¢¥Ñ¥é¥á¡¼¥¿¤ÎÉÔ³ÎÄêÀ­¤Ë´Ø¤¹¤ë¡¢¤¢¤ë¤è¤ê¸½¼ÂŪ¤Êɾ²Á¤Ë ´Ø·¸ÉÕ¤±¤ë¤³¤È¡¢¤ª¤è¤ÓÁê´Ø¹ÔÎó¤Î½ÅÍ×À­¤òɾ²Á¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ë Á°¤Ë¡¢¤¢¤Ê¤¿¤Ï fit ¤È¡¢¤½¤ì¤òŬÍѤ·¤è¤¦¤È¤¹¤ë¤¢¤ë¼ï¤ÎÌäÂê¤Ë´·¤ì¤Æ¤ª ¤¯É¬Íפ¬¤¢¤ë¤Ç¤·¤ç¤¦¡£

fit ¤Ï¡¢ÂçÄñ¤ÎÈóÀþ·ÁºÇ¾®¼«¾èË¡¤Î¼ÂÁõ¤Ç¤Ï¶¦Ä̤·¤Æ¡¢µ÷Î¥¤Î¼«¾è (y-f(x))**2 ¤Î½Å¤ßÉÕ¤­¤ÎϤòºÇ¾®²½¤·¤è¤¦¤È¤¹¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤½¤ì¤Ï¡¢x ¤ÎÃͤΠ"¸íº¹" ¤ò·×»»¤Ë´Ø¤·¤Æ¤Ï¤É¤ó¤ÊÊýË¡¤âÍ¿¤¨¤Æ¤Ï¤ª¤é¤º¡¢Ã± ¤Ë y ¤Ë´Ø¤¹¤ëɾ²Á¤Î¤ß¤Ç¤¹¡£¤Þ¤¿¡¢"¸ÉΩÅÀ" (Àµµ¬Ê¬ÉۤΥâ¥Ç¥ë¤Î¤«¤é³°¤ì ¤Æ¤¤¤ë¥Ç¡¼¥¿ÅÀ) ¤Ï¾ï¤Ë²ò¤ò°­²½¤µ¤»¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£

64.4 À©¸æ (control)

fit ¤Ë±Æ¶Á¤òÍ¿¤¨¤ë¤¿¤á¤ËÄêµÁ¤Ç¤­¤ë¤¿¤¯¤µ¤ó¤Î gnuplot ¤ÎÊÑ¿ô¤¬¤¢¤ê ¤Þ¤¹¡£¤½¤ì¤é¤Ï gnuplot ¤ÎÆ°ºîÃæ¤Ë°ìÅÙÄêµÁ¤Ç¤­¤Þ¤¹¤¬¡¢¤½¤ì¤Ï control_variable ¤Ç¾Ò²ð¤·¡¢gnuplot ¤¬Î© ¤Á¾å¤¬¤ëÁ°¤ËÀßÄꤹ¤ëÊÑ¿ô¤Ï environment_variables ¤Ç¾Ò²ð¤·¤Þ¤¹¡£

64.4.1 À©¸æÊÑ¿ô (control variables)

¥Ç¥Õ¥©¥ë¥È¤Î¤â¤Ã¤È¤â¾®¤µ¤¤¿ô»ú¤Î¸Â³¦ (1e-5) ¤Ï¡¢ÊÑ¿ô
     FIT_LIMIT

¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£»Äº¹¤ÎÊ¿Êý¼«¾èϤ¬ 2 ¤Ä¤ÎÈ¿Éü¥¹¥Æ¥Ã¥×´Ö¤Ç¡¢¤³¤Î¿ôÃÍ¤è ¤ê¾®¤µ¤¤¿ô¤·¤«ÊѲ½¤·¤Ê¤«¤Ã¤¿¾ì¹ç¡¢Åö¤Æ¤Ï¤á¥ë¡¼¥Á¥ó¤Ï¡¢¤³¤ì¤ò '¼ý«¤·¤¿' ¤È¸«¤Ê¤·¤Þ¤¹¡£

È¿Éü¿ô¤ÎºÇÂçÃͤÏÊÑ¿ô

     FIT_MAXITER

¤ÇÀ©¸Â¤µ¤ì¤Þ¤¹¡£0 (¤Þ¤¿¤ÏÄêµÁ¤·¤Ê¤¤¾ì¹ç) ¤ÏÀ©¸Â̵¤·¤ò°ÕÌ£¤·¤Þ¤¹¡£

¹¹¤Ë¤½¤Î¥¢¥ë¥´¥ê¥º¥à¤òÀ©¸æ¤·¤¿¤¤¾ì¹ç¤Ç¡¢¤«¤Ä Marquardt-Levenberg ¥¢¥ë ¥´¥ê¥º¥à¤òÎɤ¯ÃΤäƤ¤¤ë¾ì¹ç¤Ï¡¢¤µ¤é¤Ë¤½¤ì¤Ë±Æ¶Á¤òÍ¿¤¨¤ëÊÑ¿ô¤¬¤¢¤ê¤Þ¤¹¡£ lambda (¦Ë) ¤ÎºÇ½é¤ÎÃͤϡ¢Ä̾ï ML ¹ÔÎ󤫤鼫ưŪ¤Ë·×»»¤µ¤ì¤Þ¤¹¤¬¡¢¤â ¤·¤½¤ì¤ò¤¢¤é¤«¤¸¤áÍÑ°Õ¤·¤¿Ãͤ˥»¥Ã¥È¤·¤¿¤±¤ì¤Ð

     FIT_START_LAMBDA

¤Ë¥»¥Ã¥È¤·¤Æ¤¯¤À¤µ¤¤¡£FIT_START_LAMBDA ¤ò 0 °Ê²¼¤Ë¥»¥Ã¥È¤¹¤ë¤È¡¢¼«Æ°Åª¤Ë·×»»¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ÊÑ¿ô
     FIT_LAMBDA_FACTOR

¤Ï¡¢¦Ö¼«¾è²½¤µ¤ì¤¿´Ø¿ô¤¬Áý²Ã¡¢¤¢¤ë¤¤¤Ï¸º¾¯¤¹¤ë¤Ë¤Ä¤ì¤Æ lambda ¤¬Áý²Ã ¤¢¤ë¤¤¤Ï¸º¾¯¤¹¤ë°ø¿ô¤òÍ¿¤¨¤Þ¤¹¡£FIT_LAMBDA_FACTOR ¤ò 0 ¤È¤¹¤ë¤È¡¢¤½¤ì¤Ï ¥Ç¥Õ¥©¥ë¥È¤Î°ø¿ô 10.0 ¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£

fit ¤Ë¤Ï FIT_ ¤«¤é»Ï¤Þ¤ëÊÑ¿ô¤¬Â¾¤Ë¤â¤¢¤ê¤Þ¤¹¤«¤é¡¢¥æ¡¼¥¶ÄêµÁÊÑ¿ô¤È¤· ¤Æ¤Ï¤½¤Î¤è¤¦¤Ê̾Á°¤Ç»Ï¤Þ¤ëÊÑ¿ô¤Ï»È¤ï¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤Î¤¬°ÂÁ´¤Ç¤·¤ç¤¦¡£

ÊÑ¿ô FIT_SKIP ¤È FIT_INDEX ¤Ï¡¢°ÊÁ°¤ÎÈǤΠgnuplot ¤Î¡¢gnufit ¤È¸Æ¤Ð¤ì¤Æ¤¤¤¿ fit ¥Ñ¥Ã¥Á¤Ç»È¤ï¤ì¤Æ¤¤¤¿¤â¤Î¤Ç¡¢¸½ºß¤Ï»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó¡£ FIT_SKIP ¤Îµ¡Ç½¤Ï¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ËÂФ¹¤ë every »ØÄê»Ò¤ÇÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ ¤¹¡£FIT_INDEX ¤ÏÊ£¿ôÅö¤Æ¤Ï¤áË¡ (multi-branch fitting) ¤Ç»È¤ï¤ì¤Æ¤¤¤¿¤â ¤Î¤Ç¤¹¤¬¡¢1 ÊÑ¿ô¤ÎÊ£¿ôÅö¤Æ¤Ï¤áË¡¤Ï¡¢º£¤Ç¤Ï µ¿»÷ 3 ¼¡¸µÅö¤Æ¤Ï¤á¤È¤·¤Æ¹Ô ¤Ê¤ï¤ì¤Æ¤¤¤Æ¡¢¤½¤³¤Ç¤Ï»Þ¤Î»ØÄê¤Ë¤Ï 2 ÊÑ¿ô¤È using ¤¬»È¤ï¤ì¤Æ¤¤¤Þ¤¹¡£ °Ê²¼»²¾È: fit multi-branch (64.5)¡£

64.4.2 ´Ä¶­ÊÑ¿ô (control environment)

´Ä¶­ÊÑ¿ô¤Ï gnuplot ¤¬Î©¤Á¾å¤¬¤ëÁ°¤ËÄêµÁ¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£¤½¤ÎÀß ÄêÊýË¡¤Ï¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Ë°Í¸¤·¤Þ¤¹¡£


     FIT_LOG

¤Ï¡¢Åö¤Æ¤Ï¤á¤Î¥í¥°¤¬½ñ¤«¤ì¤ë¥Õ¥¡¥¤¥ë̾ (¤ª¤è¤Ó¥Ñ¥¹) ¤òÊѹ¹¤·¤Þ¤¹¡£¥Ç¥Õ ¥©¥ë¥È¤Ç¤Ï¡¢ºî¶È¥Ç¥£¥ì¥¯¥È¥ê¾å¤Î "fit.log" ¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¤½¤Î¥Ç¥Õ¥© ¥ë¥È¤ÎÃͤϥ³¥Þ¥ó¥É set fit logfile ¤ò»È¤Ã¤Æ¾å½ñ¤­¤Ç¤­¤Þ¤¹¡£


     FIT_SCRIPT

¤Ï¡¢¥æ¡¼¥¶¤¬ÃæÃǤ·¤¿¸å¤Ë¼Â¹Ô¤¹¤ë¥³¥Þ¥ó¥É¤ò»ØÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï replot ¤Ç¤¹¤¬¡¢plot ¤ä load ¥³¥Þ¥ó¥É¤È¤¹¤ì¤Ð¡¢Åö¤Æ¤Ï¤á¤Î¿Ê¹Ô¾õ ¶·¤Îɽ¼¨¤ò¥«¥¹¥¿¥Þ¥¤¥º¤¹¤ë¤Î¤ËÊØÍø¤Ç¤·¤ç¤¦¡£

64.5 Ê£¿ô¤ÎÅö¤Æ¤Ï¤á (multi-branch)

Ê£¿ôÅö¤Æ¤Ï¤áË¡ (multi-branch fitting) ¤Ç¤Ï¡¢Ê£¿ô¤Î¥Ç¡¼¥¿½¸¹ç¤ò¡¢¶¦Ä̤Π¥Ñ¥é¥á¡¼¥¿¤ò»ý¤ÄÊ£¿ô¤Î 1 ÊÑ¿ô¤Î´Ø¿ô¤Ë¡¢WSSR ¤ÎÁíϤòºÇ¾®²½¤¹¤ë¤³¤È¤Ë¤è ¤Ã¤ÆƱ»þ¤ËÅö¤Æ¤Ï¤á¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£³Æ¥Ç¡¼¥¿½¸¹ç¤ËÂФ¹¤ë´Ø¿ô¤È¥Ñ¥é¥á¡¼ ¥¿ (»Þ) ¤Ï 'µ¿»÷ÊÑ¿ô' ¤ò»È¤¦¤³¤È¤ÇÁªÂò¤Ç¤­¤Þ¤¹¡£Î㤨¤Ð¡¢¥Ç¡¼¥¿¹ÔÈÖ¹æ (-1; '¥Ç¡¼¥¿Îó' ¤ÎÈÖ¹æ) ¤Þ¤¿¤Ï¥Ç¡¼¥¿¥Õ¥¡¥¤¥ëÈÖ¹æ (-2) ¤ò 2 ¤ÄÌܤÎÆÈΩ ÊÑ¿ô¤È¤·¤Þ¤¹¡£

Îã: 2 ¤Ä¤Î»Ø¿ô¸º¿ê·Á z=f(x) ¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤Æ¡¢¤½¤ì¤¾¤ì°Û¤Ê¤ë¥Ç¡¼¥¿½¸¹ç ¤òµ­½Ò¤·¤Æ¤¤¤ë¤¬¡¢¶¦Ä̤·¤¿¸º¿ê»þ´Ö¤ò»ý¤Á¡¢¤½¤Î¥Ñ¥é¥á¡¼¥¿¤ÎÃͤòɾ²Á¤¹¤ë¡£ ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤¬ x:z:s ¤Î·Á¼°¤Ç¤¢¤Ã¤¿¤È¤¹¤ë¤È¡¢¤³¤Î¾ì¹ç°Ê²¼¤Î¤è¤¦¤Ë¤¹¤ì¤Ð¤è¤¤¡£

    f(x,y) = (y==0) ? a*exp(-x/tau) : b*exp(-x/tau)
    fit f(x,y) 'datafile' using  1:-2:2:3  via a, b, tau

¤è¤êÊ£»¨¤ÊÎã¤Ë¤Ä¤¤¤Æ¤Ï¡¢¥Ç¥â¥Õ¥¡¥¤¥ë "fit.dem" ¤Ç»È¤ï¤ì¤ë "hexa.fnc" ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

¤â¤·½¾Â°ÊÑ¿ô¤Î¥¹¥±¡¼¥ë¤Ëº¹¤¬¤¢¤ë¾ì¹ç¡¢Ã±°Ì¤Î½Å¤ßÉÕ¤±¤Ç¤Ï 1 ¤Ä¤Î»Þ¤¬»ÙÇÛ¤·¤Æ¤·¤Þ¤¦²ÄǽÀ­¤¬¤¢¤ë¤Î¤Ç¡¢Å¬Åö¤Ê½Å¤ßÉÕ¤±¤¬É¬Íפˤʤê¤Þ¤¹¡£³Æ»Þ¤ò¥Ð ¥é¥Ð¥é¤ËÅö¤Æ¤Ï¤á¤ë¤Î¤ËÊ£¿ôÅö¤Æ¤Ï¤áË¡¤Î²ò¤ò½é´üÃͤȤ·¤ÆÍѤ¤¤ë¤Î¤Ï¡¢Á´ÂÎ ¤ò¹ç¤ï¤»¤¿²ò¤Î³Æ»Þ¤ËÂФ¹¤ëÁêÂÐŪ¤Ê±Æ¶Á¤Ë´Ø¤¹¤ëɽ¼¨¤òÍ¿¤¨¤ë¤³¤È¤Ë¤Ê¤ë¤Ç ¤·¤ç¤¦¡£

64.6 ½é´üÃÍ (starting values)

ÈóÀþ·ÁÅö¤Æ¤Ï¤á¤Ï¡¢Âç°èŪ¤ÊºÇŬÃÍ (»Äº¹¤Î¼«¾èÏ (SSR) ¤ÎºÇ¾®Ãͤò»ý¤Ä²ò) ¤Ø¤Î¼ý«¤ÏÊݾڤϤ·¤Þ¤»¤ó¤¬¡¢¶É½êŪ¤Ê¶Ë¾®ÃͤòÍ¿¤¨¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤¹¡£¤½¤Î ¥µ¥Ö¥ë¡¼¥Á¥ó¤Ï¤½¤ì¤ò·èÄꤹ¤ëÊýË¡¤ò²¿¤â»ý¤Á¹ç¤ï¤»¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢¤³¤ì¤¬µ¯ ¤³¤Ã¤¿¤«¤É¤¦¤«¤òȽÃǤ¹¤ë¤Î¤Ï¤¢¤Ê¤¿¤ÎÀÕǤ¤È¤Ê¤ê¤Þ¤¹¡£

fit ¤Ï¡¢²ò¤«¤é±ó¤¯¤«¤é»Ï¤á¤ë¤È¼ºÇÔ¤¹¤ë¤«¤âÃΤì¤Þ¤»¤ó¤·¡¢¤·¤Ð¤·¤Ð¤½¤ì ¤Ïµ¯¤³¤êÆÀ¤Þ¤¹¡£±ó¤¯¤È¤¤¤¦¤Î¤Ï¡¢SSR ¤¬Â礭¤¯¡¢¥Ñ¥é¥á¡¼¥¿¤ÎÊѲ½¤ËÂФ·¤Æ ¤½¤ÎÊѲ½¤¬¾®¤µ¤¤¡¢¤¢¤ë¤¤¤Ï¿ôÃÍŪ¤ËÉÔ°ÂÄê¤ÊÎΰè (Î㤨¤Ð¿ôÃͤ¬Â礭¤¹¤®¤Æ ÉâÆ°¾®¿ô¤Î·å¤¢¤Õ¤ì¤òµ¯¤³¤¹) ¤ËÅþ㤷¤Æ¤·¤Þ¤Ã¤Æ¡¢¤½¤Î·ë²Ì "̤ÄêµÁÃÍ (undefined value)" ¤Î¥á¥Ã¥»¡¼¥¸¤« gnuplot ¤ÎÄä»ß¤ò°ú¤­µ¯¤³¤·¤Æ¤·¤Þ¤¦ ¤è¤¦¤Ê¾ì¹ç¤ò°ÕÌ£¤·¤Þ¤¹¡£

Âç°èŪ¤ÊºÇŬÃͤò¸«¤Ä¤±¤ë²ÄǽÀ­¤ò²þÁ±¤¹¤ë¤Ë¤Ï¡¢ºÇ½é¤ÎÃͤò¤½¤Î²ò¤Ë¾¯¤Ê¤¯ ¤È¤â¤Û¤Ü¶á¤¯¤Ë¼è¤ë¤Ù¤­¤Ç¤·¤ç¤¦¡£Î㤨¤Ð¡¢¤â¤·²Äǽ¤Ê¤é¤Ð°ì·åʬ¤ÎÂ礭¤µ¤Î ÈÏ°ÏÆâ¤Ç¡£ºÇ½é¤ÎÃͤ¬²ò¤Ë¶á¤¤¤Û¤É¾¤Î²ò¤Ç½ªÎ»¤·¤Æ¤·¤Þ¤¦²ÄǽÀ­¤ÏÄ㤯¤Ê¤ê ¤Þ¤¹¡£ºÇ½é¤ÎÃͤò¸«¤Ä¤±¤ë°ì¤Ä¤ÎÊýË¡¤Ï¡¢¥Ç¡¼¥¿¤ÈÅö¤Æ¤Ï¤á´Ø¿ô¤òƱ¤¸¥°¥é¥Õ ¤Î¾å¤ËÉÁ²è¤·¤ÆŬÅö¤Ê¶á¤µ¤Ë㤹¤ë¤Þ¤Ç¡¢¥Ñ¥é¥á¡¼¥¿¤ÎÃͤòÊѹ¹¤·¤Æ replot ¤¹¤ë¤³¤È¤ò·«¤êÊÖ¤¹¤³¤È¤Ç¤¹¡£¤½¤ÎÉÁ²è¤Ï¡¢¤è¤¯¤Ê¤¤Åö¤Æ¤Ï¤á¤Î¶Ë¾®ÃͤÇÅö¤Æ ¤Ï¤á¤¬½ªÎ»¤·¤¿¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯¤¹¤ë¤Î¤Ë¤âÍ­ÍѤǤ¹¡£

¤â¤Á¤í¤ó¡¢Å¬ÅÙ¤ËÎɤ¤Åö¤Æ¤Ï¤á¤¬¡¢"¤½¤ì¤è¤ê¤è¤¤" Åö¤Æ¤Ï¤á (¤¢¤ë²þÎɤµ¤ì ¤¿Åö¤Æ¤Ï¤á¤ÎÎɤµ¤Î´ð½à¤Ë¤è¤Ã¤ÆÆÃħÉÕ¤±¤é¤ì¤¿Åý·×³ØŪ¤Ê°ÕÌ£¤Ç¡¢¤¢¤ë¤¤¤Ï ¤½¤Î¥â¥Ç¥ë¤Î¤è¤êŬÀڤʲò¤Ç¤¢¤ë¡¢¤È¤¤¤¦ÊªÍýŪ¤Ê°ÕÌ£¤Ç) ¤¬Â¸ºß¤·¤Ê¤¤¤³¤È ¤Î¾ÚÌÀ¤Ë¤Ï¤Ê¤ê¤Þ¤»¤ó¡£ÌäÂê¤Ë¤è¤Ã¤Æ¤Ï¡¢³Æ¥Ñ¥é¥á¡¼¥¿¤Î°ÕÌ£¤Î¤¢¤ëÈϰϤò¥« ¥Ð¡¼¤¹¤ë¤è¤¦¤ÊÍÍ¡¹¤Ê½é´üÃͤν¸¹ç¤ËÂФ·¤Æ fit ¤¹¤ë¤³¤È¤¬Ë¾¤Þ¤·¤¤¤«¤â ÃΤì¤Þ¤»¤ó¡£

64.7 ¥Ò¥ó¥È (tips)

¤³¤³¤Ç¤Ï¡¢fit ¤òºÇÂç¸Â¤ËÍøÍѤ¹¤ë¤¿¤á¤Ë¤¤¤¯¤Ä¤«³Ð¤¨¤Æ¤ª¤¯¤Ù¤­¥Ò¥ó¥È¤ò ¾Ò²ð¤·¤Þ¤¹¡£¤½¤ì¤é¤ÏÁÈ¿¥Åª¤Ç¤Ï¤Ê¤¤¤Î¤Ç¡¢¤½¤ÎËܼÁ¤¬¤·¤ß¹þ¤à¤Þ¤Ç²¿²ó¤â¤è ¤¯Æɤó¤Ç¤¯¤À¤µ¤¤¡£

fit ¤Î°ú¿ô¤Î via ¤Ë¤Ï¡¢2 ¤Ä¤ÎÂ礭¤¯°Û¤Ê¤ëÌÜŪ¤Î¤¿¤á¤Î 2 ¤Ä¤Î·Á¼°¤¬ ¤¢¤ê¤Þ¤¹¡£via "file" ¤Î·Á¼°¤Ï¡¢¥Ð¥Ã¥Á½èÍý (ÈóÂÐÏ÷¿¤Ç¤Î¼Â¹Ô¤¬²Äǽ) ¤ÇºÇ¤âÎɤ¯»È¤ï¤ì¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤Ç½é´üÃͤòÍ¿¤¨¡¢¤Þ¤¿¤½¤Î¸å¤Ç·ë²Ì¤ò¾¤Î (¤Þ¤¿¤Ï Ʊ¤¸) ¥Ñ¥é¥á¡¼¥¿¥Õ¥¡¥¤¥ë¤Ë¥³¥Ô¡¼¤¹¤ë¤¿¤á¤Ë update ¤ò»È¤¦¤³ ¤È¤â½ÐÍè¤Þ¤¹¡£

via var1, var2, ... ¤Î·Á¼°¤ÏÂÐÏ÷¿¤Î¼Â¹Ô¤ÇÎɤ¯»È¤ï¤ì¡¢¥³¥Þ¥ó¥É¥Ò¥¹¥È ¥ê¤Îµ¡¹½¤¬»È¤Ã¤Æ¥Ñ¥é¥á¡¼¥¿¥ê¥¹¥È¤ÎÊÔ½¸¤ò¹Ô¤¤¡¢Åö¤Æ¤Ï¤á¤ò¼Â¹Ô¤·¤¿¤ê¡¢¤¢ ¤ë¤¤¤Ï¿·¤·¤¤½é´üÃͤòÍ¿¤¨¤Æ¼¡¤Î¼Â¹Ô¤ò¹Ô¤Ê¤Ã¤¿¤ê¤·¤Þ¤¹¡£¤³¤ì¤ÏÆñ¤·¤¤ÌäÂê ¤ËÂФ·¤Æ¤ÏÆäËÍ­ÍѤǡ¢Á´¤Æ¤Î¥Ñ¥é¥á¡¼¥¿¤ËÂФ·¤Æ 1 ÅÙ¤À¤±Åö¤Æ¤Ï¤á¤òľÀÜ ¼Â¹Ô¤·¤Æ¤â¡¢Îɤ¤½é´üÃͤǤʤ±¤ì¤Ð¤¦¤Þ¤¯¤¤¤«¤Ê¤¤¤³¤È¤¬µ¯¤³¤êÆÀ¤ë¤«¤é¤Ç¤¹¡£ ¤½¤ì¤ò¸«¤Ä¤±¤ë¤Ë¤Ï¡¢¤¤¤¯¤Ä¤«¤Î¥Ñ¥é¥á¡¼¥¿¤Î¤ß¤ËÂФ·¤Æ²¿²ó¤«È¿Éü¤ò¹Ô¤Ê¤¤¡¢ ºÇ½ªÅª¤Ë¤ÏÁ´¤Æ¤Î¥Ñ¥é¥á¡¼¥¿¤ËÂФ¹¤ë 1 ÅÙ¤ÎÅö¤Æ¤Ï¤á¤¬¤¦¤Þ¤¯¤¤¤¯¤È¤³¤í¤Ë ½½Ê¬¶á¤¯¤Ê¤ë¤Þ¤Ç¤½¤ì¤ò·«¤êÊÖ¤¹¤³¤È¤Ç¤¹¡£

Åö¤Æ¤Ï¤á¤ò¹Ô¤Ê¤¦´Ø¿ô¤Î¥Ñ¥é¥á¡¼¥¿´Ö¤Ë¶¦Ä̤ΰ͸´Ø·¸¤¬¤Ê¤¤¤³¤È¤Ï³Îǧ¤·¤Æ ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£Î㤨¤Ð¡¢a*exp(x+b) ¤òÅö¤Æ¤Ï¤á¤Ë»È¤Ã¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£¤½ ¤ì¤Ï a*exp(x+b)=a*exp(b)*exp(x) ¤À¤«¤é¤Ç¤¹¡£¤è¤Ã¤Æ¤³¤Î¾ì¹ç¤Ï a*exp(x) ¤Þ¤¿¤Ï exp(x+b) ¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£

µ»½ÑŪ¤Ê¤ªÏÃ: ÀäÂÐÃͤ¬ºÇ¤âÂ礭¤¤¥Ñ¥é¥á¡¼¥¿¤ÈºÇ¤â¾®¤µ¤¤¥Ñ¥é¥á¡¼¥¿¤ÎÈ椬 Â礭¤¤ÄøÅö¤Æ¤Ï¤á¤Î¼ý«¤ÏÃÙ¤¯¤Ê¤ê¤Þ¤¹¡£¤½¤ÎÈ椬¡¢¥Þ¥·¥ó¤ÎÉâÆ°¾®¿ô¤ÎÀºÅÙ ¤ÎµÕ¿ô¤Ë¶á¤¤¤«¡¢¤Þ¤¿¤Ï¤½¤ì°Ê¾å¤Ê¤é¤Ð¡¢¤Û¤Ü¤º¤Ã¤È¼ý«¤·¤Ê¤¤¤«¼ý«¤¹¤ëÁ°¤Ë¼Â¹Ô¤¬ÃæÃǤ¹¤ë¤Ç¤·¤ç¤¦¡£¤è¤Ã¤Æ¤½¤Î¤è¤¦¤Ê¾ì¹ç¤Ï¡¢¤½¤Î´Ø¿ô¤ÎÄêµÁ¤ÇÎ㤨 ¤Ð 'parameter' ¤ò '1e9*parameter' ¤Ë¤¹¤ë¤È¤«¡¢ºÇ½é¤ÎÃͤò 1e9 ¤Ç³ä¤ë¤È ¤«¤·¤Æ¤³¤ì¤òÈò¤±¤ë¤è¤¦¤Ë²þÎɤ¹¤ë¤«¡¢¤Þ¤¿¤Ï set fit prescale ¤Ç¥Ñ¥é¥á ¡¼¥¿¤Î½é´üÃͤ˽¾¤Ã¤Æ¤½¤Î¥¹¥±¡¼¥ëÊÑ´¹¤òÆâÉô¤Ç¤ä¤é¤»¤ëµ¡Ç½¤òÍѤ¤¤ë¤«¡¢¤Î ¤¤¤º¤ì¤«¤¬É¬ÍפǤ·¤ç¤¦¡£

¤â¤·¡¢´Ø¿ô¤ò¡¢Åö¤Æ¤Ï¤á¤ë¥Ñ¥é¥á¡¼¥¿¤ò·¸¿ô¤È¤¹¤ë¡¢Ã±½ã¤Ê´Ø¿ô¤ÎÀþ·Á·ë¹ç¤Ç ½ñ¤±¤ë¤Ê¤é¡¢¤½¤ì¤Ï¤È¤Æ¤â¤¤¤¤¤Î¤ÇÀ§È󤽤¦¤·¤Æ¤¯¤À¤µ¤¤¡£²¿¸Î¤Ê¤é¡¢ÌäÂ꤬ ¤â¤Ï¤äÈóÀþ·Á¤Ç¤Ï¤Ê¤¤¤Î¤Ç¡¢È¿Éü¤Ï¾¯¤Ê¤¤²ó¿ô¤Ç¼ý«¤¹¤ë¤Ç¤·¤ç¤¦¡£¤â¤·¤«¤· ¤¿¤é¤¿¤Ã¤¿°ì²ó¤Ç¤¹¤à¤«¤â¤·¤ì¤Þ¤»¤ó¡£

¼ÂºÝ¤Î¼Â¸³¤Î¹ÖµÁ¤Ç¤Ï¥Ç¡¼¥¿²òÀϤËÂФ¹¤ë¤¤¤¯¤Ä¤«¤Î»Ø¼¨¤¬Í¿¤¨¤é¤ì¡¢¤½¤ì¤Ç ¥Ç¡¼¥¿¤Ø¤ÎºÇ½é¤Î´Ø¿ô¤ÎÅö¤Æ¤Ï¤á¤¬¹Ô¤Ê¤ï¤ì¤Þ¤¹¡£¤â¤·¤«¤¹¤ë¤È¡¢´ðÁÃÍýÏÀ¤Î Ê£¿ô¤Î¦Ì̤ˤҤȤĤº¤ÄÂбþ¤¹¤ëÊ£¿ô²ó¤Î¥×¥í¥»¥¹¤¬É¬Íפ«¤âÃΤì¤Þ¤»¤ó¤¬¡¢ ¤½¤·¤Æ¤½¤ì¤é¤Î´Ø¿ô¤ÎÅö¤Æ¤Ï¤á¤Î¥Ñ¥é¥á¡¼¥¿¤«¤éËÜÅö¤ËÍߤ·¤«¤Ã¤¿¾ðÊó¤ò¼è¤ê ½Ð¤¹¤Ç¤·¤ç¤¦¡£¤·¤«¤·¡¢fit ¤ò»È¤¨¤Ð¡¢µá¤á¤ë¥Ñ¥é¥á¡¼¥¿¤Î»ëÅÀ¤«¤éľÀܥ⠥ǥë´Ø¿ô¤ò½ñ¤¯¤³¤È¤Ë¤è¤ê¡¢¤½¤ì¤Ï¤·¤Ð¤·¤Ð 1 ²ó¤ÇºÑ¤à¤Î¤Ç¤¹¡£»þ¡¹¤Ï¤è¤ê Æñ¤·¤¤Åö¤Æ¤Ï¤áÌäÂê¤Î·×»»¥³¥¹¥È¤¬¤«¤«¤ê¤Þ¤¹¤¬¡¢¥Ç¡¼¥¿ÊÑ´¹¤â¤«¤Ê¤ê¤Î³ä¹ç ¤ÇÈò¤±¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£¤â¤·¤³¤ì¤¬¡¢Åö¤Æ¤Ï¤á´Ø¿ô¤Îñ½ã²½¤Ë´Ø¤·¤Æ¡¢Á°¤Î ÃÊÍî¤ÈÌ·½â¤·¤Æ¤ë¤È»×¤¦¤Ê¤é¡¢¤½¤ì¤ÏÀµ²ò¤Ç¤¹¡£

"singular matrix" ¤Î¥á¥Ã¥»¡¼¥¸¤Ï¡¢¤³¤Î Marquardt-Levenberg ¥¢¥ë¥´¥ê¥º ¥à¤Î¥ë¡¼¥Á¥ó¤¬¡¢¼¡¤ÎÈ¿Éü¤ËÂФ¹¤ë¥Ñ¥é¥á¡¼¥¿¤ÎÃͤη׻»¤¬½ÐÍè¤Ê¤¤¤³¤È¤ò°Õ Ì£¤·¤Þ¤¹¡£¤³¤Î¾ì¹ç¡¢Ê̤ʽé´üÃͤ«¤é»Ï¤á¤ë¤«¡¢´Ø¿ô¤òÊ̤ʷÁ¤Ç½ñ¤­Ä¾¤¹¤«¡¢ ¤è¤ê´Êñ¤Ê´Ø¿ô¤Ë¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

ºÇ¸å¤Ë¡¢Â¾¤ÎÅö¤Æ¤Ï¤á¥Ñ¥Ã¥±¡¼¥¸ (fudgit) ¤Î¥Þ¥Ë¥å¥¢¥ë¤«¤é¡¢¤³¤ì¤é¤Îʸ½ñ ¤òÍ×Ì󤹤ë¤è¤¦¤Ê¤¤¤¤°úÍѤò¾å¤²¤Þ¤¹: "Nonlinear fitting is an art! (Èó Àþ·ÁÅö¤Æ¤Ï¤áË¡¤Ï·Ý½Ñ¤À !)"

65 Help

help¥³¥Þ¥ó¥É¤Ï¡¢ÁȤ߹þ¤ß¥Ø¥ë¥×¤òɽ¼¨¤·¤Þ¤¹¡£¤¢¤ë¹à¤Ë¤Ä¤¤¤Æ¤ÎÀâÌÀ¤ò»Ø Äꤷ¤¿¤¤¤È¤­¤Ë¤Ï¡¢¼¡¤Î½ñ¼°¤ò»È¤Ã¤Æ²¼¤µ¤¤:


       help {<¹àÌÜ̾>}

¤â¤· < ¹àÌÜ̾> ¤¬»ØÄꤵ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢gnuplot ¤Ë¤Ä¤¤¤Æ¤Î´Êñ¤ÊÀâÌÀ ¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£»ØÄꤷ¤¿¹àÌܤˤĤ¤¤Æ¤ÎÀâÌÀ¤¬É½¼¨¤µ¤ì¤¿¸å¡¢¤½¤ì¤ËÂФ¹¤ë ºÙÌܤΥá¥Ë¥å¡¼¤¬É½¼¨¤µ¤ì¡¢¤½¤ÎºÙÌÜ̾¤òÆþÎϤ¹¤ë¤³¤È¤ÇºÙÌܤËÂФ¹¤ë¥Ø¥ë¥× ¤ò³¤±¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤½¤·¤Æ¡¢¤½¤ÎºÙÌܤÎÀâÌÀ¤¬É½¼¨¤µ¤ì¤¿¸å¤Ë¡¢¤µ¤é¤Ê ¤ëºÙÌÜ̾¤ÎÆþÎϤòÍ׵ᤵ¤ì¤ë¤«¡¢¤Þ¤¿¤Ï 1 ¤ÄÁ°¤Î¹àÌܤΥì¥Ù¥ë¤ØÌá¤ê¤Þ¤¹¡£ ¤³¤ì¤ò·«¤êÊÖ¤¹¤È¤ä¤¬¤Æ¡¢gnuplot ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ø¤ÈÌá¤ê¤Þ¤¹¡£

¤Þ¤¿¡¢µ¿ÌäÉä (?) ¤ò¹àÌܤȤ·¤Æ»ØÄꤹ¤ë¤È¡¢¸½ºß¤Î¥ì¥Ù¥ë¤Î¹àÌܤΥꥹ¥È¤¬ ɽ¼¨¤µ¤ì¤Þ¤¹¡£

66 History

¥³¥Þ¥ó¥É history ¤Ï¡¢²áµî¤ËÊÔ½¸¤·¤¿¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÎÍúÎò (history) ¤Î °ìÍ÷¤òɽ¼¨¤·¤¿¤ê¡¢¤½¤Î°ìÉô¤òÊݸ¤·¤¿¤ê¡¢¤½¤Î°ì¤Ä¤ò¼Â¹Ô¤·¤¿¤ê¤·¤Þ¤¹¡£

¶ñÂÎÎã¤Ç»ÈÍÑË¡¤ò¾Ò²ð¤·¤Þ¤¹:


     history               # ÍúÎòÁ´ÂΤòɽ¼¨
     history 5             # ÍúÎòÆâ¤ÎľÁ°¤Î 5 ¤Ä¤òɽ¼¨
     history quiet 5       # ¥¨¥ó¥È¥êÈÖ¹æ¤Ê¤·¤ÇľÁ°¤Î 5 ¤Ä¤òɽ¼¨
     history "hist.gp"     # ÍúÎòÁ´ÂΤò¥Õ¥¡¥¤¥ë hist.gp ¤Ë½ñ¤­½Ð¤¹
     history "hist.gp" append # ÍúÎòÁ´ÂΤò¥Õ¥¡¥¤¥ë hist.gp ¤ËÄɲ乤ë
     history 10 "hist.gp"  # ľÁ°¤Î 10 ¸Ä¤ò¥Õ¥¡¥¤¥ë hist.gp ¤Ë½ÐÎÏ
     history 10 "|head -5 >>diary.gp" # ¥Ñ¥¤¥×¤ÇÍúÎò¤ò 5 ¤Ä½ñ¤­½Ð¤¹
     history ?load         # ÍúÎòÆâ¤Î "load" ¤Ç»Ï¤Þ¤ë¤â¤Î¤¹¤Ù¤Æ¤òɽ¼¨
     history ?"set c"      # ¾å¤ÈƱÍÍ (Ê£¿ô¤Î¸ì¤Ï°úÍÑÉä¤Ç°Ï¤à)
     hi !reread            # "reread" ¤Ç»Ï¤Þ¤ëºÇ¤â¿·¤·¤¤¹Ô¤ò¼Â¹Ô
     hist !"set xr"        # ¾å¤ÈƱÍÍ (Ê£¿ô¤Î¸ì¤Ï°úÍÑÉä¤Ç°Ï¤à)
     hi !hi                # Åö¤Æ¤Æ¤ß¤Æ :-))

popen ´Ø¿ô¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤è¤¦¤Ê¥·¥¹¥Æ¥à (Unix ¤Ê¤É) ¤Ç¤Ï¡¢ÍúÎò¤Î½ÐÎϤò ¥Ñ¥¤¥×·Ðͳ¤Ç¾¤Î³°Éô¥×¥í¥°¥é¥à¤ËÅϤ¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤½¤Î¾ì¹ç¡¢¾å¤ÎÎã¤Î °ì¤Ä¤Ë¤¢¤ë¤è¤¦¤Ë¡¢¥Õ¥¡¥¤¥ë̾¤È¤·¤Æ¥³¥Þ¥ó¥É̾¤ÎÀèƬ¤Ë '| ' ¤ò¤Ä¤±¤¿¤â¤Î ¤ò»È¤¤¤Þ¤¹¡£

67 If

¿·¤·¤¤½ñ¼°:
     if (<condition>) { <command>; <command>
            <commands>
            <commands>
     } else {
            <commands>
     }

°ÊÁ°¤Î½ñ¼°:
     if (<¾ò·ï>) <¥³¥Þ¥ó¥É¹Ô> [; else if (<¾ò·ï>) ...; else ...]

¤³¤Î¥Ð¡¼¥¸¥ç¥ó¤Î gnuplot ¤Ï¡¢if/else ¤Î¥Ö¥í¥Ã¥¯·Á¼°¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ ¤¹¡£¥­¡¼¥ï¡¼¥É if, else ¤Î¸å¤í¤Ë³«»Ï¥«¥Ã¥³ "{" ¤¬Â³¤¯¾ì¹ç¡¢"}" ¤Ç ½ªÎ»¤¹¤ë¥Ö¥í¥Ã¥¯¤Þ¤Ç¤Î¤¹¤Ù¤Æ¤Îʸ (Ê£¿ô¤ÎÆþÎϹԤâ²Ä) ¤Ë¾ò·ïŪ¤Ê¼Â¹Ô¤¬Å¬ ÍѤµ¤ì¤Þ¤¹¡£if ¥³¥Þ¥ó¥É¤ÏÆþ¤ì»Ò¤Ë¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

¸Å¤¤·Á¼°¤Î 1 ¹Ô¤Î if/else ʸ¤â¤Þ¤À¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢¿·¤·¤¤¥Ö¥í¥Ã ¥¯·Á¼°¤Î½ñ¼°¤È¤Ïº®¤¼¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£°Ê²¼»²¾È: if-old (67.1)¡£

67.1 If-old

gnuplot ¥Ð¡¼¥¸¥ç¥ó 4.4 ¤Þ¤Ç¤Ï¡¢if/else ¥³¥Þ¥ó¥É¤ÎÄÌÍÑÈÏ°Ï¤Ï 1 ¹ÔÆâ¤Ëα ¤Þ¤Ã¤Æ¤¤¤Þ¤·¤¿¡£¸½ºß¤ÏÃ楫¥Ã¥³ { } ¤Ç°Ï¤à¤³¤È¤ÇÊ£¿ô¹Ô¤Ë¤¹¤ë¤³¤È¤¬²Äǽ ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¤½¤Î¸Å¤¤·Á¼°¤â»Ä¤µ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢¤½¤ì¤ÏÃ楫¥Ã¥³¤Î¥Ö¥í¥Ã ¥¯Æâ¤Ç»È¤¦¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£

¥­¡¼¥ï¡¼¥É if ¤¬ "{" ¤ò¤È¤â¤Ê¤ï¤Ê¤¤¾ì¹ç¤Ï¡¢< ¾ò·ï> ¤¬¿¿ (¥¼¥í¤Ç¤Ê¤¤) ¤Ê¤é¤Ð < ¥³¥Þ¥ó¥É¹Ô> ¤Î¥³¥Þ¥ó¥É (Ê£¿ô¤â²Ä) ¤¬¼Â¹Ô¤µ¤ì¡¢µ¶ (¥¼¥í) ¤Ê¤é¤Ð ¥¹¥­¥Ã¥×¤µ¤ì¤Þ¤¹¡£¤¤¤º¤ì¤Î¾ì¹ç¤âÆþÎϹԤκǸå¤Ë¤Ê¤ë¤«¡¢else ¤¬¸½¤ì¤ë ¤È¤³¤í¤Þ¤Ç¤½¤ì¤¬¹Ô¤ï¤ì¤Þ¤¹¡£; ¤ò»È¤¦¤ÈƱ¤¸¹Ô¤ËÊ£¿ô¤Î¥³¥Þ¥ó¥ÉÃÖ¤¯¤³¤È ¤¬²Äǽ¤Ç¤¹¤¬¡¢¾ò·ïÉÕ¤­¤Î¥³¥Þ¥ó¥É (if ¤Î¹½Ê¸¼«ÂÎ) ¤Ï¤½¤³¤Ç¤Ï½ª¤é¤Ê¤¤ ¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

Îã:

     pi=3
     if (pi!=acos(-1)) print "?Fixing pi!"; pi=acos(-1); print pi

¤ò¼Â¹Ô¤¹¤ë¤È¡¢
     ?Fixing pi!
     3.14159265358979

¤Èɽ¼¨¤µ¤ì¤Þ¤¹¤¬¡¢
     if (1==2) print "Never see this"; print "Or this either"

¤È¤¹¤ë¤È¡¢²¿¤âɽ¼¨¤µ¤ì¤Þ¤»¤ó¡£

¤½¤Î¾:

     v=0
     v=v+1; if (v%2) print "2" ; else if (v%3) print "3" ; else print "fred"

(²¿ÅÙ¤âºÇ¸å¤Î¹Ô¤ò·«¤êÊÖ¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤ !)

if ¤È reread ¤ò»È¤Ã¤Æ¥ë¡¼¥×¤ò¹½À®¤¹¤ëÎã¤Ï¡¢°Ê²¼»²¾È: reread (79)¡£

68 ·«¤êÊÖ¤· (iteration)

plot, splot, set, unset ¥³¥Þ¥ó¥É¤Ç¤Ï¡¢·«¤êÊÖ¤·Àá¤ò»È¤¦¤³¤È¤â¤Ç ¤­¤Þ¤¹¡£¤³¤ì¤Ï¡¢´ðËÜŪ¤Ê¥³¥Þ¥ó¥É¤òÊ£¿ô²ó¼Â¹Ô¤¹¤ë¸ú²Ì¤ò»ý¤Á¡¢¤½¤Î¤ª¤Î¤ª ¤Î¤Î¼Â¹Ô¤Ç¤Ï·«¤êÊÖ¤·À©¸æÊÑ¿ô¤Ë¤è¤Ã¤Æ¿ô¼°¤ÏºÆɾ²Á¤µ¤ì¤Þ¤¹¡£do ¥³¥Þ¥ó ¥É¤Ç¤Ï¡¢¤É¤ó¤Ê¥³¥Þ¥ó¥ÉÎó¤Ç¤â·«¤êÊÖ¤·¼Â¹Ô¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£·«¤êÊÖ¤· Àá¤Ï¸½ºß¤Ï°Ê²¼¤Î 2 ¤Ä¤Î·Á¼°¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹:


     for [intvar = start:end{:increment}]
     for [stringvar in "A B C D"]

Îã:


     plot for [filename in "A.dat B.dat C.dat"] filename using 1:2 with lines
     plot for [basename in "A B C"] basename.".dat" using 1:2 with lines
     set for [i = 1:10] style line i lc rgb "blue"
     unset for [tag = 100:200] label tag

·«¤êÊÖ¤·¤ÎÆþ¤ì»Ò¤â¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹:


     set for [i=1:9] for [j=1:9] label i*10+j sprintf("%d",i*10+j) at i,j

¤µ¤é¤Ê¤ëÀâÌÀ¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: plot iteration (72.9), do (61)¡£

69 Load

load ¥³¥Þ¥ó¥É¤Ï¡¢»ØÄꤵ¤ì¤¿ÆþÎÏ¥Õ¥¡¥¤¥ë¤Î³Æ¹Ô¤ò¡¢¤½¤ì¤¬ÂÐÏÃŪ¤ËÆþÎÏ ¤µ¤ì¤¿¤«¤Î¤è¤¦¤Ë¼Â¹Ô¤·¤Þ¤¹¡£save ¥³¥Þ¥ó¥É¤Ç¤Ä¤¯¤é¤ì¤¿¥Õ¥¡¥¤¥ë¤Ï¡¢ load ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£Í­¸ú¤Ê¥³¥Þ¥ó¥É¤Î½ñ¤«¤ì¤¿¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë¤ò ¤Ä¤¯¤ì¤Ð¡¢¤½¤ì¤Ï¡¢load¥³¥Þ¥ó¥É¤Ë¤è¤Ã¤Æ¡¢¼Â¹Ô¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ load Ãæ¤Î¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ë¤µ¤é¤Ë load ¤Þ¤¿¤Ï call ¥³¥Þ¥ó¥É¤¬¤¢¤Ã¤Æ ¤â¹½¤¤¤Þ¤»¤ó¡£¥³¥Þ¥ó¥ÉÃæ¤Î¥³¥á¥ó¥È¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: comments (9)¡£ load ¤¹¤ë¤È¤­¤Ë°ú¿ô¤òÍ¿¤¨¤ëÊýË¡¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: call (59)¡£

½ñ¼°:

       load "<ÆþÎÏ¥Õ¥¡¥¤¥ë̾>"

ÆþÎÏ¥Õ¥¡¥¤¥ë̾¤Ï°úÍÑÉä¤Ç°Ï¤Þ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£

load ¥³¥Þ¥ó¥É¤Ï¡¢É¸½àÆþÎϤ«¤é¤Î¥³¥Þ¥ó¥É¤ÎÆþÎϤΤ¿¤á¤Ë¡¢ÆÃÊ̤ʥե¡¥¤ ¥ë̾ "-" ¤òÍÑ°Õ¤·¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ï¡¢gnuplot ¤Î¥³¥Þ¥ó¥É¥Õ¥¡¥¤¥ë¤¬¡¢¤¤ ¤¯¤Ä¤«¤Î¥³¥Þ¥ó¥É¤òɸ½àÆþÎϤ«¤é¼õ¤±ÉÕ¤±¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£¾ÜºÙ¤Ë¤Ä¤¤¤Æ ¤Ï¡¢°Ê²¼»²¾È: batch/interactive (6)¡£

Unix ¤Î¤è¤¦¤Ë popen ´Ø¿ô¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤è¤¦¤Ê¥·¥¹¥Æ¥à¤Ç¤Ï¡¢'< ' ¤Ç»Ï¤Þ¤ë ¥Õ¥¡¥¤¥ë̾¤Ë¤¹¤ë¤³¤È¤Ç¡¢ÆþÎÏ¥Õ¥¡¥¤¥ë¤ò¥Ñ¥¤¥×¤«¤éÆɤ߹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

Îã:

       load 'work.gnu'
       load "func.dat"
       load "< loadfile_generator.sh"

gnuplot ¤Ø¤Î°ú¿ô¤È¤·¤ÆÍ¿¤¨¤é¤ì¤¿¥Õ¥¡¥¤¥ë̾¤Ï¡¢°ÅÌۤΤ¦¤Á¤Ë load ¥³ ¥Þ¥ó¥É¤Ë¤è¤Ã¤Æ¼Â¹Ô¤µ¤ì¤Þ¤¹¡£¤³¤ì¤é¤Ï¡¢»ØÄꤵ¤ì¤¿½ç¤Ë¥í¡¼¥É¤µ¤ì¡¢¤½¤Î¸å gnuplot ¤Ï½ªÎ»¤·¤Þ¤¹¡£

70 Lower

½ñ¼°:
     lower {plot_window_nb}

¥³¥Þ¥ó¥É lower (raise ¤ÎÈ¿ÂÐ) ¤Ï¡¢pm, win, wxt, x11 Åù¤Î gnuplot ¤ÎÂÐÏ÷¿½ÐÎÏ·Á¼°¤Î¼Â¹ÔÃæ¤Ë¡¢ÉÁ²è¥¦¥£¥ó¥É¥¦¤ò²¼ (Çظå) ¤Ë²¼¤²¤Þ ¤¹¡£ÉÁ²è¥¦¥£¥ó¥É¥¦¤ò¡¢¥Ç¥¹¥¯¥È¥Ã¥×¾å¤Î¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤Î z Êý¸þ¤Î ¥¦¥£¥ó¥É¥¦¤Î½Å¤Ê¤ê¤Î²¼¤ËÃÖ¤­¤Þ¤¹¡£

x11 ¤ä wxt ¤Î¤è¤¦¤ËÊ£¿ô¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¾ì¹ç¡¢¥Ç ¥Õ¥©¥ë¥È¤Ç¤Ï¤³¤Î¥³¥Þ¥ó¥É¤Ï¤½¤ì¤é¤ÎÊ£¿ô¤Î¥¦¥£¥ó¥É¥¦¤ò¹ß½ç¤Ë²¼¤²¡¢ºÇ½é¤Ë ºî¤é¤ì¤¿¥¦¥£¥ó¥É¥¦¤ò°ìÈÖ²¼¤Ë¡¢ºÇ¸å¤Ëºî¤é¤ì¤¿¥¦¥£¥ó¥É¥¦¤ò°ìÈÖ¾å¤ËÊÂ¤Ù¤Þ ¤¹¡£¥ª¥×¥·¥ç¥ó°ú¿ô¤ÎÉÁ²èÈֹ椬Ϳ¤¨¤é¤ì¤¿¾ì¹ç¡¢¤½¤ì¤ËÂбþ¤¹¤ëÉÁ²è¥¦¥£¥ó ¥É¥¦¤¬Â¸ºß¤¹¤ì¤Ð¤½¤ì¤Î¤ß¤¬²¼¤²¤é¤ì¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó°ú¿ô¤Ï¡¢Ã±°ì¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦¤Î½ÐÎÏ·Á¼°¡¢¤¹¤Ê¤ï¤Á pm ¤È win ¤Ç¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£

71 Pause

pause ¥³¥Þ¥ó¥É¤Ï¡¢¥³¥Þ¥ó¥É¤Ë³¤¯Ç¤°Õ¤Îʸ»úÎó¤òɽ¼¨¤·¤¿¸å¡¢»ØÄꤵ¤ì ¤¿»þ´Ö¤Þ¤¿¤Ï¡¢²þ¹Ô¥­¡¼¤¬²¡¤µ¤ì¤ë¤Þ¤ÇÂÔ¤Á¤Þ¤¹¡£pause ¥³¥Þ¥ó¥É¤Ï¡¢ load ÍѤΥե¡¥¤¥ë¤È¶¦¤Ë»ÈÍѤ¹¤ë¤È¡¢ÊØÍø¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£

½ñ¼°:

     pause <time> {"<string>"}
     pause mouse {<endcondition>}{, <endcondition>} {"<string>"}

< time> ¤Ï¡¢Ç¤°Õ¤ÎÄê¿ô¤Þ¤¿¤Ï¼°¤Ç¤¹¡£-1 ¤ò»ØÄꤹ¤ë¤È²þ¹Ô¥­¡¼¤¬²¡¤µ¤ì¤ë¤Þ ¤ÇÂÔ¤Á¤Þ¤¹¡£0 ¤ò»ØÄꤹ¤ë¤È°ìÀÚÂÔ¤¿¤º¡¢Àµ¤Î¿ô¤ò»ØÄꤹ¤ë¤È¤½¤ÎÉÿô¤À¤±ÂÔ ¤Á¤Þ¤¹¡£¼Â¹Ô´Ä¶­¤¬Éðʲ¼¤Î»þ´Ö»ØÄê¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¤½¤Î»þ´Ö¤ÏÀ°¿ô¤ÎÉÿô¤Ë´Ý¤á¤é¤ì¤Þ¤¹¡£pause 0 ¤Ï print ¤ÈƱ¤¸¤Ç¤¹¡£

»ÈÍѤ·¤Æ¤¤¤ë½ÐÎÏ·Á¼°¤¬ mousing (¥Þ¥¦¥¹µ¡Ç½) ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¾ì¹ç¡¢ pause mouse ¤Ï¡¢¥Þ¥¦¥¹¥¯¥ê¥Ã¥¯¤¬¤¢¤ë¤« ctrl-C ¤¬²¡¤µ¤ì¤ë¤Þ¤ÇÂԤĤ褦 ¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤½ÐÎÏ·Á¼°¡¢¤Þ¤¿¤Ï¥Þ¥¦¥¹µ¡Ç½¤¬Í­¸ú¤Ë¤Ê¤Ã¤Æ¤Ê¤¤¾ì¹ç pause mouse ¤Ï pause -1 ¤ÈƱ¤¸¤Ç¤¹¡£

°ì¤Ä¡¢¤¢¤ë¤¤¤ÏÊ£¿ô¤Î½ªÎ»¾ò·ï (endcondition) ¤¬ pause mouse ¤Î¸å¤ËÍ¿ ¤¨¤é¤ì¤¿¾ì¹ç¡¢¤½¤Î¤¦¤Á¤Î¤É¤Î°ì¤Ä¤Ç¤â pause ¤Ï½ªÎ»¤·¤Þ¤¹¡£»ØÄê¤Ç¤­¤ë½ª λ¾ò·ï¤Ï¡¢keypress, button1, button2, button3, close, any ¤Î¤¤¤º¤ì¤«¤Ç¤¹¡£pause ¤¬¥­¡¼ÆþÎϤˤè¤Ã¤Æ½ªÎ»¤·¤¿¾ì¹ç¡¢²¡¤µ¤ì¤¿¥­¡¼¤Î ASCII ¥³¡¼¥É¤Ï MOUSE_KEY ¤ËÊݸ¤µ¤ì¡¢Ê¸»ú¤½¤ì¼«¿È¤Ï¡¢1 ʸ»ú¤Îʸ»úÎóÃÍ ¤È¤·¤Æ MOUSE_CHAR ¤ËÊÖ¤µ¤ì¤Þ¤¹¡£keypress ¤¬½ªÎ»¾ò·ï¤Î°ì¤Ä¤Ç¤¢¤ì¤Ð¡¢ ¥Û¥Ã¥È¥­¡¼ (¥­¡¼³ä¤êÅö¤Æ¥³¥Þ¥ó¥É) ¤Ï̵¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£buttons3 ¤¬½ªÎ» ¾ò·ï¤Î°ì¤Ä¤Ç¤¢¤ì¤Ð¡¢³ÈÂ絡ǽ¤Ï̵¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£

¤É¤Î¾ì¹ç¤Ç¤â¥Þ¥¦¥¹¤ÎºÂɸ¤ÏÊÑ¿ô MOUSE_X, MOUSE_Y, MOUSE_X2, MOUSE_Y2 ¤Ë Êݸ¤µ¤ì¤Þ¤¹¡£°Ê²¼»²¾È: mouse variables (18.2)¡£

Ãí°Õ: pause ¥³¥Þ¥ó¥É¤Ï OS ¤Ø¤Î¥³¥Þ¥ó¥É¤Ç¤¢¤êÉÁ²è¤Î°ìÉô¤Ç¤Ï¤Ê¤¤¤Î¤Ç¡¢ °Û¤Ê¤ë½ÐÎÏÁõÃ֤ǤϰۤʤëÆ°ºî¤ò¤¹¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£(¤³¤ì¤Ï¡¢¥Æ¥­¥¹¥È ¤È¥°¥é¥Õ¥£¥Ã¥¯¥¹¤¬¡¢¤É¤Î¤è¤¦¤Ëº®ºß¤¹¤ë¤«¤Ë¤è¤ê¤Þ¤¹¡£)

Îã:

     pause -1    # ²þ¹Ô¥­¡¼¤¬²¡¤µ¤ì¤ë¤Þ¤ÇÂÔ¤Ä
     pause 3     # 3 ÉÃÂÔ¤Ä
     pause -1  "³¤±¤ë¤Ë¤Ï return ¤òÂǤäƤ¯¤À¤µ¤¤"
     pause 10  "¤³¤ì¤ÏÈþ¤·¤¯¤Ê¤¤¤Ç¤¹¤« ? 3 ¼¡¤Î spline ¤Ç¤¹"
     pause mouse "ÁªÂò¤·¤¿¥Ç¡¼¥¿ÅÀ¾å¤ÇǤ°Õ¤Î¥Ü¥¿¥ó¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤"
     pause mouse keypress "Í­¸ú¤Ê¥¦¥£¥ó¥É¥¦Æâ¤Ç A-F ¤Îʸ»ú¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤"
     pause mouse button1,keypress
     pause mouse any "Ǥ°Õ¤Î¥­¡¼¡¢¥Ü¥¿¥ó¤Ç½ªÎ»¤·¤Þ¤¹"

°¡¼ï¤Ç¤¢¤ë "pause mouse key" ¤Ï¡¢Í­¸ú¤ÊÉÁ²è¥¦¥£¥ó¥É¥¦Æâ¤Ç¤ÎǤ°Õ¤Î¥­¡¼ ÆþÎϤˤè¤Ã¤ÆºÆ³«¤µ¤ì¤Þ¤¹¡£ÆÃÊ̤ʥ­¡¼ÆþÎϤޤÇÂԤĤ褦¤Ë¤·¤¿¤¤¾ì¹ç¤Ï¡¢°Ê²¼¤Î¤è¤¦¤Ê reread ¤Ë¤è¤ë¥ë¡¼¥×¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹:


     print "ÉÁ²è¥¦¥£¥ó¥É¥¦Æâ¤Ç Tab ¥­¡¼¤òÂǤĤÈÉüµ¢¤·¤Þ¤¹¡£"
     load "wait_for_tab"

¥Õ¥¡¥¤¥ë "wait_for_tab" ¤Ï°Ê²¼¤Î¤è¤¦¤Ê¤â¤Î¤Ç¤¹:


     pause mouse key
     if (MOUSE_KEY != 9) reread

72 Plot

plot ¤Ï gnuplot ¤Ç¿Þ¤òÉÁ¤¯¤¿¤á¤Î´ðËÜŪ¤Ê¥³¥Þ¥ó¥É¤Ç¤¹¡£ ¤½¤ì¤Ï´Ø¿ô ¤ä¥Ç¡¼¥¿¤ò¼Â¤Ë¿¤¯¤ÎÊýË¡¤Çɽ¼¨¤·¤Þ¤¹¡£plot ¤Ï 2 ¼¡¸µ¤Î´Ø¿ô¤ä¥Ç¡¼¥¿¤ò ÉÁ¤¯¤Î¤Ë»È¤ï¤ì¡¢splot ¤Ï 3 ¼¡¸µ¤Î¶ÊÌ̤ä¥Ç¡¼¥¿¤Î 2 ¼¡¸µÅê±Æ¤òÉÁ¤­¤Þ¤¹¡£ plot ¤È splot ¤Ï¿¤¯¤Î¶¦Ä̤ε¡Ç½¤òÄ󶡤·¤Þ¤¹¤¬¡¢¤½¤Î°ã¤¤¤Ë¤Ä¤¤¤Æ¤Ï °Ê²¼»²¾È: splot (84)¡£ÆäËÃí°Õ¤·¤Æ¤ª¤­¤Þ¤¹¤¬¡¢binary < binary list> ¥ª¥× ¥·¥ç¥ó¤Ï plot, splot ¤ÎξÊý¤ÇÆ°ºî¤·¤Þ¤¹¤¬¡¢Î¾¼Ô¤Ë¤Ï¾®¤µ¤Ê°ã¤¤¤¬¤¢ ¤ê¤Þ¤¹¡£

½ñ¼°:

     plot {<ranges>}
          {<iteration>}
          {<function> | {"<datafile>" {datafile-modifiers}}}
          {axes <axes>} {<title-spec>} {with <style>}
          {, {definitions{,}} <function> ...}

´Ø¿ô < function> ¡¢¤Þ¤¿¤Ï°úÍÑÉä¤Ç°Ï¤Þ¤ì¤¿¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë̾ (< datafile> ) ¤Î¤É¤Á¤é¤«°ìÊý¤òÍ¿¤¨¤Þ¤¹¡£´Ø¿ô¤ÏÄ̾ï¤Ï 1 Ëܤοô¼°¤Ç¤¹¤¬¡¢ÇÞ²ðÊÑ¿ô¥â¡¼ ¥É (parametric) ¤Ë¤ª¤¤¤Æ¤Ï 2 ¤Ä¤Î¿ô¼°¤ÎÁȤǤ¹¡£´Ø¿ô¤Ï¡¢ÁȤ߹þ¤ß´Ø¿ô¡¢ ¥æ¡¼¥¶ÄêµÁ´Ø¿ô¡¢¤¢¤ë¤¤¤Ï¤½¤Î plot ¥³¥Þ¥ó¥É¤Î¾å¤ÇÍ¿¤¨¤ë¤â¤Î¤Î¤¤¤º¤ì¤«¤ò »ÈÍѤǤ­¤Þ¤¹¡£¥³¥ó¥Þ¤Ç¶èÀڤ뤳¤È¤Ç¡¢Ê£¿ô¤Î¥Ç¡¼¥¿¤ä´Ø¿ô¤ò 1 ¤Ä¤Î¥³¥Þ¥ó ¥É¤ÇÉÁ²è¤Ç¤­¤Þ¤¹¡£°Ê²¼»²¾È: data (72.3), functions (72.6)¡£

Îã:

     plot sin(x)
     plot sin(x), cos(x)
     plot f(x) = sin(x*a), a = .2, f(x), a = .4, f(x)
     plot "datafile.1" with lines, "datafile.2" with points
     plot [t=1:10] [-pi:pi*2] tan(t), \
          "data.1" using (tan($2)):($3/$4) smooth csplines \
                   axes x1y2 notitle with lines 5
     plot for [datafile in "spinach.dat broccoli.dat"] datafile

°Ê²¼»²¾È: show plot (82.52)¡£

72.1 ¼´ (axes)

¼´ (axes) ¤Ï¡¢4 ¼ïÎà¤ÎÁȤ¬ÍøÍѤǤ­¤Þ¤¹; ¥­¡¼¥ï¡¼¥É < axes> ¤Ï¡¢ÆÃÄê¤Îľ Àþ¤ò¤É¤Î¼´¤Ë¼ÜÅÙ¤ò¹ç¤ï¤»¤ë¤«¡¢¤È¤¤¤¦¤³¤È¤òÁªÂò¤¹¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£ x1y1 ¤Ï²¼¤Î¼´¤Èº¸¤Î¼´¤ò»ØÄê; x2y2 ¤Ï¾å¤È±¦¤Î¼´¤Î»ØÄê; x1y2 ¤Ï²¼ ¤È±¦¤Î¼´¤Î»ØÄê; x2y1 ¤Ï¾å¤Èº¸¤Î¼´¤Î»ØÄê¤Ç¤¹¡£plot ¥³¥Þ¥ó¥É¤Ç»ØÄꤵ ¤ì¤¿ÈϰϤϡ¢¤³¤ÎºÇ½é¤Î¼´¤ÎÁÈ (²¼¤Èº¸) ¤Ë¤Î¤ßŬÍѤµ¤ì¤Þ¤¹¡£

72.2 Binary

¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë:

°ÊÁ°¤Î gnuplot ¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¡¢¥Ð¥¤¥Ê¥ê·Á¼°¤Î¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ò¼«Æ°Åª¤Ë¸¡½Ð¤¹¤ë¤â¤Î¤â¤¢¤ê¤Þ¤·¤¿¤¬¡¢¸½ºß¤Ï¥Õ¥¡¥¤¥ë̾¤Î¸å¤í¤Ë binary ¤Î¥­¡¼¥ï¡¼¥É¤òÍ¿¤¨¤ë¤³¤È¤¬É¬¿Ü¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¥Õ¥¡¥¤¥ë·Á¼°¤Ë´Ø¤¹¤ë½½Ê¬¾ÜºÙ¤Ê ¾ðÊó¤Ï¡¢¥æ¡¼¥¶¤¬¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤éÍ¿¤¨¤ë¤«¡¢¤Þ¤¿¤Ï¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë filetype ¤Î¥Ð¥¤¥Ê¥ê·Á¼°¤Î¥Õ¥¡¥¤¥ë¤½¤ì¼«¿È¤«¤éÈ´¤­½Ð¤µ¤ì¤ë¤«¤¹¤ëɬÍ× ¤¬¤¢¤ê¤Þ¤¹¡£¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢Â礭¤¯ 2 ¤Ä¤Î·Á¼°¡¢binary matrix ·Á ¼°¤È binary general ·Á¼°¤¬¤¢¤ê¤Þ¤¹¡£

binary matrix ·Á¼°¤Ï¡¢32 ¥Ó¥Ã¥È IEEE µ¬³Ê¤ÎÉâÆ°¾®¿ôÃÍ (float) ¤¬ 2 ¼¡¸µÇÛÎó¤Î·Á¤Çʤӡ¢¤½¤ì¤é¤ÎºÂɸÃͤòɽ¤¹¹Ô¤ÈÎó¤¬Äɲ䵤ì¤Æ¤¤¤Þ¤¹¡£ ASCII matrix ƱÍÍ¡¢using ¥ê¥¹¥È¤Ë¤ª¤¤¤Æ¤Ï¡¢ºÂɸÍѤÎÎó¤ÎÊÂ¤Ó (1 ÎóÌÜ) ¤¬ using ¤Î 1 ÈÖÌܤÎÍ×ÁÇ (x ºÂɸ) ¤ËÂбþ¤·¡¢ºÂɸÍѤιԤÎÊÂ¤Ó (1 ¹ÔÌÜ) ¤¬ using ¤Î 2 ÈÖÌܤÎÍ×ÁÇ (y ºÂɸ) ¤ËÂбþ¤·¡¢ÇÛÎó¤Î³ÆÃͤ¬ using ¤Î 3 ÈÖ ÌܤÎÍ×ÁÇ (z ºÂɸ) ¤ËÂбþ¤·¤Þ¤¹¡£

binary general ·Á¼°¤Ï¡¢Ç¤°Õ¸Ä¤ÎÎó¤Î¥Ç¡¼¥¿¤ò´Þ¤ß¡¢¤½¤ì¤é¤Î¾ðÊó¤Ï¥³¥Þ ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£Î㤨¤Ð array, record, format, using ¤Ê¤É¤Ç¥µ¥¤¥º¤ä·Á¼°¡¢¥Ç¡¼¥¿¤Î¼¡¸µ¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£Â¾¤Ë¤â¡¢¥Õ¥¡¥¤ ¥ë¥Ø¥Ã¥ÀÆɤßÈô¤Ð¤·¤¿¤ê¡¢¥¨¥ó¥Ç¥£¥¢¥ó (endian) ¤òÊѹ¹¤¹¤ë¤¿¤á¤ÎÍ­ÍѤʥ³ ¥Þ¥ó¥É¤¬¤¢¤ê¤Þ¤¹¤·¡¢ÇÛÃÖ¡¢¥Ç¡¼¥¿¤ÎÊÑ´¹¤ò¹Ô¤Ê¤¦¥³¥Þ¥ó¥É¤ÎÁȤ¬¤¢¤ê¤Þ¤¹¡£ ¤½¤ì¤Ï¡¢°ìÍͤËɸËܲ½¤µ¤ì¤¿¥Ç¡¼¥¿¤Î¾ì¹ç¡¢¤½¤ÎºÂɸ¤¬¥Õ¥¡¥¤¥ë¤Ë¤Ï´Þ¤Þ¤ì¤Ê ¤¤¤³¤È¤¬Îɤ¯¤¢¤ë¤«¤é¤Ç¤¹¡£matrix ¥Ð¥¤¥Ê¥ê¤ä ASCII ¥Ç¡¼¥¿¤È°ã¤Ã¤Æ¤¤¤ë¤È ¤³¤í¤Ç¤¹¤¬¡¢general ¥Ð¥¤¥Ê¥ê¤Ï 1,2,3 ¤È¤¤¤Ã¤¿ using ¥ê¥¹¥È¤ÇÀ¸À®¤µ¤ì ¤ëÎóÈÖ¹æ¤ò»È¤ï¤º¡¢¤à¤·¤í 1 ÎóÌܤϥե¡¥¤¥ë¤Î 1 ÎóÌÜ¡¢¤¢¤ë¤¤¤Ï format ¥ê¥¹¥È¤Ç»ØÄꤵ¤ì¤¿¤â¤Î¡¢¤Ë¤Ê¤ê¤Þ¤¹¡£

¤µ¤Þ¤¶¤Þ¤Ê binary ¥ª¥×¥·¥ç¥ó¤ËÂФ¹¤ëÂç°èŪ¤Ê¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤â²Äǽ¤Ç¡¢ ¤½¤ì¤Ï (s)plot < filename> binary ... ¥³¥Þ¥ó¥É¤ËÍ¿¤¨¤ë¥ª¥×¥·¥ç¥ó¤ÈÁ´ ¤¯Æ±¤¸½ñ¼°¤Ç»ØÄê¤Ç¤­¤Þ¤¹¡£¤½¤Î½ñ¼°¤Ï set datafile binary ... ¤Ç¤¹¡£ °ìÈÌŪ¤Êµ¬Â§¤È¤·¤Æ¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥Ñ¥é¥á¡¼¥¿¤Ï¥Õ¥¡¥¤¥ë¤«¤éÈ´¤­½Ð¤µ¤ì¤¿¥Ñ ¥é¥á¡¼¥¿¤Ç¾å½ñ¤­¤µ¤ì¡¢¤½¤ì¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿¶¦Ä̤ʥѥé¥á¡¼¥¿ ¤Ç¾å½ñ¤­¤µ¤ì¤Þ¤¹¡£

Î㤨¤Ð array, record, format, filetype ¤Î binary general ·Á ¼°¤òÆÃÄꤹ¤ë¤è¤¦¤Ê¥­¡¼¥ï¡¼¥É¤¬²¿¤â¤Ä¤¤¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥Ð¥¤¥Ê ¥ê·Á¼°¤Ï binary matrix ¤Ç¤¹¡£

general ¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¤Ï¡¢ÆÃÊ̤ʥե¡¥¤¥ë̾ '-' ¤ò»È¤Ã¤Æ¥³¥Þ¥ó¥É¥é¥¤¥ó ¤«¤éÆþÎϤ¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£¤·¤«¤·¡¢¤³¤ì¤Ï¥­¡¼¥Ü¡¼¥É¤«¤é¤ÎÆþÎϤò°Õ¿Þ¤· ¤¿¤â¤Î¤Ç¤Ï¤Ê¤¯¡¢¥Ñ¥¤¥×¤ò»È¤Ã¤Æ¥×¥í¥°¥é¥à¤Ë¥Ð¥¤¥Ê¥ê·Á¼°¤òÊÑ´¹¤µ¤»¤ë¤¿¤á ¤Î¤â¤Î¤Ç¤¹¡£¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¤Ë¤ÏºÇ¸å¤òɽ¤¹µ­¹æ¤¬¤¢¤ê¤Þ¤»¤ó¤Î¤Ç¡¢gnuplot ¤Ï¥Ñ¥¤¥×¤«¤é¥Ç¡¼¥¿¤òÆɤ߹þ¤à¾ì¹ç¡¢array »ØÄê»Ò¤Ç»ØÄꤷ¤¿¿ô¤ÎÅÀ¿ô¤Ë¤Ê ¤ë¤Þ¤Ç¥Ç¡¼¥¿¤òÆɤ߹þ¤ß³¤±¤Þ¤¹¡£¾ÜºÙ¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È:binary matrix (84.1.1), binary general (72.2.1)¡£

index ¥­¡¼¥ï¡¼¥É¤Ï¡¢¥Õ¥¡¥¤¥ë¥Õ¥©¡¼¥Þ¥Ã¥È¤¬ 1 ¤Ä¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ä¤­ 1 ¤Ä ¤Î¶ÊÌ̤·¤«µö¤µ¤Ê¤¤¤¿¤á¡¢¥µ¥Ý¡¼¥È¤µ¤ì¤Þ¤»¤ó¡£every ¤ä using ¥Õ¥£¥ë¥¿ ¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Þ¤¹¡£using ¤Ï¡¢¥Ç¡¼¥¿¤¬¤¢¤¿¤«¤â¾å¤Î 3 ¤ÄÁȤηÁ¤ÇÆÉ¤Þ¤ì ¤¿¤«¤Î¤è¤¦¤ËƯ¤­¤Þ¤¹¡£

¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤Î splot ¤Î¥Ç¥â¡£

72.2.1 General

general ¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¤Ï¡¢¤½¤Î·Á¼°¤Ë´Ø¤¹¤ë¾ðÊó¤¬É¬¤º¤·¤â¥Õ¥¡¥¤¥ëÆâ¤Ë¤Ï ¤Ê¤¯¤Æ¤âÎɤ¯¡¢¥Õ¥¡¥¤¥ë¤Î·Á¼°¤Ë´Ø¤¹¤ë¾ÜºÙ¤Ê¾ðÊó¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤éÍ¿¤¨ ¤ë¤³¤È¤Ç¡¢¤½¤Î¥Ç¡¼¥¿¤òÆɤ߹þ¤à¤³¤È¤¬²Äǽ¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤Î¥ª¥×¥·¥ç¥ó¤Î½ñ ¼°¤Ï°ì»þŪ¤Ê¥æ¡¼¥¶¤Ë¤Ï¤ä¤äÆñ²ò¤Ç¤¹¤¬¡¢general ¥Ð¥¤¥Ê¥ê¤ÏÆÃ¤Ë gnuplot ¤ò»È¤¤¡¢Â¿¤¯¤Î¥Ç¡¼¥¿¤òÁ÷¤ë¤è¤¦¤Ê¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ë¼è¤Ã¤Æ¤ÏÍ­ÍѤǤ¹¡£

½ñ¼°:

     plot '<file_name>' {binary <binary list>} ...
     splot '<file_name>' {binary <binary list>} ...

general ¥Ð¥¤¥Ê¥ê·Á¼°¤Ï¡¢¥Õ¥¡¥¤¥ë¹½Â¤¤Ë´Ø¤¹¤ë¾ðÊó¤Ë´ØÏ¢¤¹¤ë¥­¡¼¥ï¡¼¥É¡¢ ¤¹¤Ê¤ï¤Á array, record, format, filetype ¤Ê¤É¤ò < binary list> Æâ¤ËÍ¿¤¨¤ë¤³¤È¤ÇÍ­¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¤Ï matrix ¥Ð¥¤¥Ê¥ê·Á¼°¤È¸«¤Ê¤µ¤ì¤Þ¤¹¡£(¾ÜºÙ¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È: binary matrix (84.1.1)¡£)

¥Ð¥¤¥Ê¥ê·Á¼°¤Ë´Ø¤¹¤ë¾ðÊ󤬼«Æ°Åª¤Ë¥Õ¥¡¥¤¥ë¤«¤éÆɤ߼è¤ë¤³¤È¤¬¤Ç¤­¤ë¤è¤¦ ¤Êɸ½àŪ¤Ê¥Õ¥¡¥¤¥ë·Á¼°¤â¤¤¤¯¤Ä¤«¤¢¤ê¤Þ¤¹ (¤½¤Î°ìÍ÷¤ò¸«¤ë¤Ë¤Ï¡¢gnuplot ¤ÎÂÐÏòèÌ̤«¤é show datafile binary ¤·¤Æ¤¯¤À¤µ¤¤)¡£¤½¤ì°Ê³°¤Î¾ì¹ç¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó¡¢¤¢¤ë¤¤¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÃͤòÀßÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥­¡¼¥ï ¡¼¥É¤Ë´Ø¤·¤Æ¤Ï°Ê²¼¤ÇÀâÌÀ¤·¤Þ¤¹¡£

< binary list> ¤ËÍ¿¤¨¤ë¥­¡¼¥ï¡¼¥É filetype ¤Ï¡¢¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤à¤Î¤Ë »ÈÍѤµ¤ì¤ë¥ë¡¼¥Á¥ó¡¢¤¹¤Ê¤ï¤Á¥Ç¡¼¥¿¤Î·Á¼°¤Î°·¤¤¤òÀ©¸æ¤·¤Þ¤¹¡£¥µ¥Ý¡¼¥È¤· ¤Æ¤¤¤ë filetype ¤Î°ìÍ÷¤ò¸«¤ë¤Ë¤Ï¡¢show datafile binary filetypes ¤È ¤·¤Æ¤¯¤À¤µ¤¤¡£filetype ¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¤Îµ¬Â§¤Ï¡¢splot ÍÑ¤Ë binary ¥­¡¼¥ï¡¼¥É¤¬Ã±ÆȤÇÍ¿¤¨¤é¤ì¤¿¾ì¹ç¤Ï¸ÅŵŪ¤Ê gnuplot ¥Ð¥¤¥Ê¥ê·Á¼°¤À¤È¸« ¤Ê¤µ¤ì¡¢¤½¤Î¾Á´¤Æ¤Î¾õ¶·¡¢¤¹¤Ê¤ï¤Á plot ÍѤ«¤Þ¤¿¤Ï¾¯¤Ê¤¯¤È¤â°ì¤Ä¤Î < binary list> ¥­¡¼¥ï¡¼¥É¤¬Í¿¤¨¤é¤ì¤¿¤è¤¦¤Ê¾ì¹ç¤Ï¡¢raw ¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë ¤È¤ß¤Ê¤µ¤ì¡¢¤½¤Î¥­¡¼¥ï¡¼¥É¤Ë¤è¤Ã¤Æ¥Ð¥¤¥Ê¥ê·Á¼°¤¬»ØÄꤵ¤ì¤Þ¤¹¡£

general ¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Ï 2 ¤Ä¤Î´ðËÜŪ¤Ê¥¯¥é¥¹¤Ëʬ¤«¤ì¤Þ¤¹¤¬¡¢ ¤½¤ì¤¬¤É¤Î¤è¤¦¤Ë°·¤ï¤ì¤ë¤Î¤«¤Ë¤è¤Ã¤ÆξÊý¤Î¥¯¥é¥¹¤ËÆþ¤ë¾ì¹ç¤â¤¢¤ê¤Þ¤¹¡£ °ì¤Ä¤Î¥¯¥é¥¹¤Ï¡¢¥Ç¡¼¥¿¤Ï°ìÍͤ˥µ¥ó¥×¥ê¥ó¥°¤µ¤ì¤Æ¤¤¤ë¤È¸«¤Ê¤µ¤ì¡¢ÅÀ¤ÎºÂ ɸ¤ÏɬÁ³Åª¤Ë¤½¤³¤«¤éÀ¸À®¤µ¤ì¤Þ¤¹¡£¤³¤Î¥¯¥é¥¹¤Ç¤Ï < binary list> ¥­¡¼¥ï ¡¼¥É¤òÍѤ¤¤ÆÁ´¤Æ¤ÎÀ©¸æ¤¬¹Ô¤Ê¤ï¤ì¤Þ¤¹¡£¤½¤·¤Æ¡¢¤³¤Î¥¯¥é¥¹¤Ç¤ÎÀßÄê¤ÎÍ¥Àè ½ç°Ì¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¥Ñ¥é¥á¡¼¥¿¤¬¥Õ¥¡¥¤¥ëÆâ¤Î¥Ñ¥é¥á¡¼¥¿¤ò¾å½ñ¤­¤·¡¢¤½ ¤ì¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤ò¾å½ñ¤­¤·¤Þ¤¹¡£¤â¤¦°ì¤Ä¤Î¥¯¥é¥¹¤Ï¡¢ºÂɸ¾ðÊ󤬥ե¡ ¥¤¥ëÆâ¤Ë´Þ¤Þ¤ì¤¿Ê£¿ô¤Î¥Õ¥¡¥¤¥ë¤ÎÁȤΤ¿¤á¤Î¤â¤Î¡¢¤¢¤ë¤¤¤Ï gnuplot ¥Ð¥¤ ¥Ê¥ê¤Î¤è¤¦¤ÊÈó°ìÍͤÊɸËܲ½¤ò´Þ¤ßÆÀ¤ë°ì¤Ä¤Î¥Õ¥¡¥¤¥ë¤Î¤¿¤á¤Î¤â¤Î¤Ç¤¹¡£

gnuplot ¥Ð¥¤¥Ê¥ê¤Î¤è¤¦¤ÊÆüì¤Ê¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë°Ê³°¤Ç¤Ï¡¢°ìÈ̤˥Х¤¥Ê¥ê¥Ç¡¼¥¿¤Ï³µÇ°¾å¤Ï ASCII ¥Ç¡¼¥¿¤ÈƱÍͤ˹ͤ¨¤é¤ì¤Þ¤¹¡£³ÆÅÀ¤Ï¾ðÊó¤ÎÎó¤ò»ý¤Ã ¤Æ¤¤¤Æ¡¢¤½¤ì¤Ï using ¤Ë¤è¤Ã¤Æ·ë¤Ó¤Ä¤±¤é¤ì¤ë < using list> ¤ÇÁªÂò¤µ¤ì ¤Þ¤¹¡£format ʸ»úÎ󤬲¿¤â»ØÄꤵ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¡¢gnuplot ¤Ï¥Ð¥¤¥Ê¥êÊÑ ¿ô¤Î¿ô¤ò < using list> ¤ÇÍ¿¤¨¤é¤ì¤ëºÇÂç¤ÎÎóÈÖ¹æ¤ËÅù¤·¤¯¼è¤ê¤Þ¤¹¡£Î㤨 ¤Ð using 1:3 ¤Î¾ì¹ç¤Ï 3 Î󤺤ĥǡ¼¥¿¤¬Æɤ߼è¤é¤ì¡¢2 ÈÖÌܤΤâ¤Î¤Ï̵»ë ¤µ¤ì¤Þ¤¹¡£³ÆÉÁ²è¥¹¥¿¥¤¥ë¤Ë¤Ï¤½¤Îŵ·¿Åª¤Ê¥Ñ¥é¥á¡¼¥¿¤Î¸Ä¿ô¤¬¤¢¤ê¡¢¤½¤ì¤Ë ´ð¤Å¤¯ < using list> ¤¬¥Ç¥Õ¥©¥ë¥È¤È¤·¤ÆÁªÂò¤µ¤ì¤Þ¤¹¡£Î㤨¤Ð with image ¤Ç¤Ï ¥Ç¥Õ¥©¥ë¥È¤Ç using 1 ¤¬¡¢with rgbimage ¤Ç¤Ï¥Ç¥Õ ¥©¥ë¥È¤Ç using 1:2:3 ¤¬»È¤ï¤ì¤Þ¤¹¡£using ¤Ç ÅÀ/Àþ/index ¤òɽ¤¹ÆÃÊÌ ¤Êʸ»ú¤Ï¡¢°ìÈ̤ˤϥХ¤¥Ê¥ê¥Ç¡¼¥¿¤Ç¤Ï»È¤¦¤Ù¤­¤Ç¤Ï¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À ¤µ¤¤¡£¤³¤ì¤òÀ©¸æ¤¹¤ë < binary list> ¤Î¥­¡¼¥ï¡¼¥É¤¬¤¢¤ê¤Þ¤¹¡£

72.2.2 Array

¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤ÎɸËܤÎÇÛÎó¤ÎÂ礭¤µ¤òÀßÄꤷ¤Þ¤¹¡£ºÂɸ¤Ï gnuplot ¤¬À¸ À®¤·¤Æ¤¯¤ì¤Þ¤¹¡£³ÆÊý¸þ¤Î¼¡¸µ¤òɽ¤¹¿ô¤ò»ØÄꤷ¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£Î㤨¤Ð array=(10,20) ¤Ï¡¢2 ¼¡¸µ¤ÇºÇ½é¤Î¼¡¸µÊý¸þ (x) ¤Ë¤Ï 10 ÅÀ¡¢2 ÈÖÌܤμ¡ ¸µÊý¸þ (y) ¤Ë¤Ï 20 ÅÀ¤ÎɸËܲ½¥Ç¡¼¥¿¤¬¤¢¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£¥Õ¥¡¥¤¥ë¤Î ½ªÎ»¤Þ¤Ç¥Ç¡¼¥¿¤¬Â³¤¯¤³¤È¤ò¼¨¤¹¤Î¤ËÉé¤ÎÃͤò»È¤¨¤Þ¤¹¡£¥Ç¡¼¥¿¼¡¸µ¤¬ 1 ¤Î ¾ì¹ç¤Ï¡¢¥«¥Ã¥³¤Ï¾Êά¤Ç¤­¤Þ¤¹¡£Ê£¿ô¤Î¥Ç¡¼¥¿¤Î¥µ¥¤¥º»ØÄê¤òʬΥ¤¹¤ë¤Î¤Ë¡¢ ¥³¥í¥ó¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£Î㤨¤Ð array=25:35 ¤Ï 2 ¤Ä¤Î 1 ¼¡¸µ¥Ç¡¼ ¥¿¤¬¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ë¤¢¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£
     Ãí°Õ:  gnuplot version 4.2 ¤Ç¤Ï array=(128,128) ¤È¤¤¤¦½ñ¼°¤Ç¤Ï¤Ê
            ¤¯¡¢array=128x128 ¤È¤¤¤¦½ñ¼°¤ò»ÈÍѤ·¤Æ¤¤¤Þ¤·¤¿¡£¸Å¤¤½ñ¼°
            ¤Ï¿ä¾©¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¤¬¡¢¤¢¤Ê¤¿¤Î gnuplot ¤¬¸åÊý¸ß´¹À­¤ò¥µ
            ¥Ý¡¼¥È¤¹¤ë¤è¤¦¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤Æ¤¤¤ì¤Ð°ì±þº£¤Ç¤â»È¤¨¤Þ¤¹¡£

72.2.3 Record

¤³¤Î¥­¡¼¥ï¡¼¥É¤Ï array ¤ÈƱ¤¸½ñ¼°¤Ç¡¢Æ±¤¸µ¡Ç½¤òÄ󶡤·¤Þ¤¹¡£¤·¤«¤· record ¤Ï gnuplot ¤ËºÂɸ¾ðÊó¤ò¼«Æ°À¸À®¤µ¤»¤Þ¤»¤ó¡£¤³¤ì¤Ï¡¢¤½¤Î¤è¤¦¤Ê ºÂɸ¾ðÊ󤬡¢¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î¤¢¤ëÎó¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¤Î¤¿¤á¤Î¤â ¤Î¤Ç¤¹¡£

72.2.4 Skip

¤³¤Î¥­¡¼¥ï¡¼¥É¤Ï¡¢¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤Î¤¢¤ë¶è²è¤Î¥¹¥­¥Ã¥×¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£ Î㤨¤Ð¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤¬¥Ç¡¼¥¿Îΰè¤Î³«»Ï°ÌÃÖ¤ÎÁ°¤Ë 1024 ¥Ð¥¤¥È¤Î¥Ø¥Ã¥À¤ò »ý¤Ä¤è¤¦¤Ê¾ì¹ç¤Ë¤Ï¡¢°Ê²¼¤Î¤è¤¦¤Ë¤·¤¿¤¤¤È»×¤¦¤Ç¤·¤ç¤¦:
     plot '<file_name>' binary skip=1024 ...

¥Õ¥¡¥¤¥ë¤ËÊ£¿ô¤Î¥ì¥³¡¼¥É¤¬¤¢¤ë¾ì¹ç¡¢¤½¤Î¤½¤ì¤¾¤ì¤ËÂФ¹¤ëÀèƬ¤Î¤º¤é¤·°Ì ÃÖ¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£Î㤨¤Ð¡¢ºÇ½é¤Î¥ì¥³¡¼¥É¤ÎÁ°¤Î 512 ¥Ð¥¤¥È¤ò ¥¹¥­¥Ã¥×¤·¡¢2 ÈÖÌÜ¡¢3 ÈÖÌܤΥ쥳¡¼¥É¤ÎÁ°¤Î 256 ¥Ð¥¤¥È¤ò¥¹¥­¥Ã¥×¤¹¤ë¤Ë ¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹:
     plot '<file_name> binary record=356:356:356 skip=512:256:256 ...

72.2.5 Format

¥Ç¥Õ¥©¥ë¥È¤Î¥Ð¥¤¥Ê¥ê·Á¼°¤Ï¡¢Ã±ÀºÅÙÉâÆ°¾®¿ô (float) ¤¬°ì¤Ä¡¢¤Ç¤¹¡£¤½¤ì ¤ò¤è¤ê½ÀÆð¤ËÀßÄꤹ¤ë¤¿¤á¤Ë¡¢¤³¤Î format ¤ÇÊÑ¿ô¤Î¥µ¥¤¥º¤Ë´Ø¤¹¤ë¾ÜºÙ¤Ê¾ð Êó¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£Î㤨¤Ð format="%uchar%int%float" ¤Ï¡¢ºÇ½é¤Î using Îó¤È¤·¤ÆÉä¹æ¤Ê¤·Ê¸»ú·¿ÊÑ¿ô (unsigned char) ¤ò¡¢2 ÈÖÌܤÎÎó¤ÏÉä¹æ¤Ä¤­À° ¿ô (int) ¤ò¡¢3 ÈÖÌܤÎÎó¤ÏñÀºÅÙÉâÆ°¾®¿ô (float) ¤ò»ØÄꤷ¤Æ¤¤¤Þ¤¹¡£¤â¤· ¥µ¥¤¥º»ØÄê»Ò¤Î¿ô¤¬ºÇÂçÎó¿ô¤è¤ê¾®¤µ¤¤¾ì¹ç¤Ï¡¢»Ä¤ê¤ÎÎó¤ÎÊÑ¿ô¥µ¥¤¥º¤Ï°ÅÌÛ ¤Î¤¦¤Á¤ËºÇ¸å¤ËÍ¿¤¨¤¿ÊÑ¿ô¥µ¥¤¥º¤ËÅù¤·¤¯¼è¤é¤ì¤Þ¤¹¡£

¤µ¤é¤Ë using »ØÄêƱÍÍ¡¢* ʸ»ú¤¬¤Ä¤¤¤¿Æɤ߼ΤƤëÎó¤ò½ñ¼°¤Ë»ØÄꤹ¤ë ¤³¤È¤â¤Ç¤­¤Þ¤¹¤·¡¢·«¤êÊÖ¤·¥Õ¥£¡¼¥ë¥É¤Ø¤Î²ó¿ô»ØÄê¤Ë¤è¤Ã¤Æ°ÅÌۤ竤êÊÖ¤· ¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£Î㤨¤Ð¡¢format="%*2int%3float" ¤Ï¡¢3 ¤Ä¤Î ¼Â¿ô¥Ç¡¼¥¿¤òÆɤàÁ°¤Ë¡¢2 ¤Ä¤ÎÀ°¿ô¥Ç¡¼¥¿¤òÆɤ߼ΤƤޤ¹¡£»ÈÍѤǤ­¤ëÊÑ¿ô¥µ ¥¤¥º¤Î°ìÍ÷¤Ï¡¢show datafile binary datasizes ¤Ç¸«¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤½¤ì¤é¤Ï¡¢¤½¤ì¤¾¤ì¤Î¥³¥ó¥Ñ¥¤¥ë¤Ë¤è¤Ã¤Æ¤½¤Î¥Ð¥¤¥È¥µ¥¤¥º¤È¤È¤â¤Ë¥Þ¥·¥ó¤Ë °Í¸¤¹¤ëÊÑ¿ô̾¤Î¥°¥ë¡¼¥×¤È¡¢¥Þ¥·¥ó¤Ë°Í¸¤·¤Ê¤¤ÊÑ¿ô̾¤Î¥°¥ë¡¼¥×¤Ëʬ¤«¤ì ¤Æ¤¤¤Þ¤¹¡£

72.2.6 Endian

¥Õ¥¡¥¤¥ë¤Î¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¤Î¥¨¥ó¥Ç¥£¥¢¥ó¤Ï¡¢gnuplot ¤¬Æ°ºî¤¹¤ë¥×¥é¥Ã¥È¥Û ¡¼¥à¤Î¥¨¥ó¥Ç¥£¥¢¥ó¤È¤Ï°Û¤Ê¤ë¾ì¹ç¤âÎɤ¯¤¢¤ê¤Þ¤¹¡£¤¤¤¯¤Ä¤«¤Î»ØÄê¤Ç gnuplot ¤¬¥Ð¥¤¥È¤ò¤É¤Î¤è¤¦¤Ë°·¤¦¤«¤òÀ©¸æ¤Ç¤­¤Þ¤¹¡£Î㤨¤Ð endian=little ¤Ï¡¢¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤ò¡¢¤½¤Î¥Ð¥¤¥È¤ÎʤӤ¬¾®¤µ¤¤·å¤«¤é Â礭¤¤·å¤Øʤó¤Ç¤¤¤ë¤È¸«¤Ê¤µ¤ì¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó¤Ï°Ê²¼¤Î¤â¤Î¤¬»È¤¨¤Þ¤¹¡£


             little:  ¾®¤µ¤¤·å¤«¤éÂ礭¤Ê·å¤ØʤÖ
                big:  Â礭¤Ê·å¤«¤é¾®¤µ¤Ê·å¤ØʤÖ
            default:  compiler ¤ÈƱ¤¸¥¨¥ó¥Ç¥£¥¢¥ó¤È¸«¤Ê¤¹
        swap (swab):  ¥¨¥ó¥Ç¥£¥¢¥ó¤òÊѹ¹¤¹¤ë (¤ª¤«¤·¤¤¤è¤¦¤Ê¤é¤³¤ì¤ò
                      »È¤Ã¤Æ¤ß¤Æ¤¯¤À¤µ¤¤)

gnuplot ¤Ï¡¢¥³¥ó¥Ñ¥¤¥ë»þ¤Ë¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ì¤Ð¡¢"middle" (¤ä "pdp") ¥¨¥ó¥Ç¥£¥¢¥ó¤â¥µ¥Ý¡¼¥È¤Ç¤­¤Þ¤¹¡£

72.2.7 Filetype

gnuplot ¤Ï¡¢¤¤¤¯¤Ä¤«É¸½àŪ¤Ê¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë·Á¼°¤Ë¤Ä¤¤¤Æ¤ÏɬÍפʾðÊó¤ò ¤½¤Î¥Õ¥¡¥¤¥ë¤«¤éÈ´¤­½Ð¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£Î㤨¤Ð "format=edf" ¤Ï ESRF ¥Ø ¥Ã¥À¡¼¥Õ¥¡¥¤¥ë·Á¼°¤Î¥Õ¥¡¥¤¥ë¤È¤·¤ÆÆɤ߹þ¤ß¤Þ¤¹¡£¸½ºß¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¥Õ ¥¡¥¤¥ë·Á¼°¤Ë¤Ä¤¤¤Æ¤Ï¡¢show datafile binary filetypes ¤Ç¸«¤Æ¤¯¤À¤µ¤¤¡£

ÆÃÊ̤ʥե¡¥¤¥ë·Á¼°¤È¤·¤Æ auto ¤¬¤¢¤ê¡¢¤³¤Î¾ì¹ç gnuplot ¤Ï¥Ð¥¤¥Ê¥ê¥Õ ¥¡¥¤¥ë¤Î³ÈÄ¥»Ò¤¬¡¢¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë·Á¼°¤Îɸ½àŪ¤Ê³ÈÄ¥»Ò¤Ç¤¢¤ë¤«¤ò¥Á¥§ ¥Ã¥¯¤·¤Þ¤¹¡£

¥³¥Þ¥ó¥É¥é¥¤¥ó¥­¡¼¥ï¡¼¥É¤Ï¥Õ¥¡¥¤¥ë¤«¤éÆɤ߼è¤ëÀßÄê¤ò¾å½ñ¤­¤¹¤ë¤Î¤Ë»È¤ï ¤ì¡¢¥Õ¥¡¥¤¥ë¤«¤éÆɤ߼è¤ëÀßÄê¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤ò¾å½ñ¤­¤·¤Þ¤¹ (¾ÜºÙ¤Ï °Ê²¼»²¾È: set datafile binary (82.16.6))¡£

72.2.7.1 Avs

avs ¤Ï¡¢¼«Æ°Åª¤Ëǧ¼±¤µ¤ì¤ë²èÁü¥¤¥á¡¼¥¸¤ËÂФ¹¤ë¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤Î·¿¤Î °ì¤Ä¤Ç¤¹¡£AVS ¤ÏÈó¾ïñ½ã¤Ê¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó´Ö¤Ç¤ä¤ê¤È¤ê ¤¹¤ë¤Î¤ËºÇ¤âŬ¤·¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ï¡¢2 ¤Ä¤Î long (xwidth ¤È ywidth) ¤È¡¢ ¤½¤Î¸å³¤¯¥Ô¥¯¥»¥ë¤ÎÎ󤫤éÀ®¤ê¡¢¤½¤Î³Æ¥Ô¥¯¥»¥ë¤Ï alpha/red/green/blue ¤Î 4 ¥Ð¥¤¥È¤«¤éÀ®¤ê¤Þ¤¹¡£

72.2.7.2 Edf

edf ¤Ï¡¢¼«Æ°Åª¤Ëǧ¼±¤µ¤ì¤ë²èÁü¥¤¥á¡¼¥¸¤ËÂФ¹¤ë¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤Î·¿¤Î °ì¤Ä¤Ç¤¹¡£EDF ¤Ï ESRF ¥Ç¡¼¥¿¥Õ¥©¡¼¥Þ¥Ã¥È (ESRF Data Format) ¤ò°ÕÌ£¤·¤Æ ¤¤¤Æ¡¢¤½¤ì¤Ï edf ¤È ehf ¤ÎξÊý¤Î·Á¼°¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹ (¸å¼Ô¤Ï ESRF Header Format)¡£²èÁü¤Î»ÈÍѤ˴ؤ¹¤ë¾Ü¤·¤¤¾ðÊó¤Ï°Ê²¼¤Ç¸«¤Ä¤«¤ë¤Ç¤·¤ç¤¦:


 http://www.edfplus.info/specs

72.2.7.3 Png

gnuplot ¤¬ png/gif/jpeg ½ÐÎÏÍÑ¤Ë libgd ¥é¥¤¥Ö¥é¥ê¤ò»È¤¦¤è¤¦¤Ë¥¤¥ó¥¹¥È ¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤ì¤é¤Î²èÁü·Á¼°¤ò¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤È¤·¤ÆÆɤ߹þ¤à¤³ ¤È¤â¤Ç¤­¤Þ¤¹¡£°Ê²¼¤Î¤è¤¦¤ÊÌÀ¼¨Åª¤Ê¥³¥Þ¥ó¥É
     plot 'file.png' binary filetype=png

¤ò»È¤¦¤³¤È¤â¤Ç¤­¤Þ¤¹¤·¡¢¤¢¤é¤«¤¸¤á°Ê²¼¤Î¤è¤¦¤ËÀßÄꤷ¤Æ¡¢³ÈÄ¥»Ò¤«¤é¼«Æ°Åª¤Ë²èÁü·Á¼°¤ò¼«Æ°Åª¤Ëǧ¼±¤µ¤»¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£
     set datafile binary filetype=auto

72.2.8 Keywords

°Ê²¼¤Î¥­¡¼¥ï¡¼¥É (keyword) ¤Ï¡¢¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤«¤éºÂɸ¤òÀ¸À®¤¹¤ë¤È¤­ ¤Ë¤Î¤ßŬÍѤµ¤ì¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢binary array, matrix, image ¤Î¸Ä¡¹¤ÎÍ×ÁǤò ÆÃÄê¤Î x,y,z ¤Î°ÌÃ֤ؤÎÇÛÃÖ¤ÎÀ©¸æ¤Î¤¿¤á¤Î¤â¤Î¤Ç¤¹¡£

72.2.8.1 Scan

gnuplot ¤¬¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤ò¤É¤Î¤è¤¦¤ËÁöºº¤¹¤ë¤«¡¢¤È¤¤¤¦¤³¤È¤È¼ÂºÝ¤ÎÉÁ ²è¤Ç¸«¤é¤ì¤ë¼´¤ÎÊý¸þ¤È¤Î´Ö¤Î´Ø·¸¤Ë¤Ä¤¤¤Æ¤Ï¿¤¯¤Îº®Í𤬵¯¤³¤êÆÀ¤Þ¤¹¡£¤½ ¤Îº®Íð¤ò¸º¤é¤¹¤Ë¤Ï¡¢gnuplot ¤Ï¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤ò "¾ï¤Ë" ÅÀ/Àþ/ÌÌ¡¢¤Þ¤¿ ¤Ï®¤¤/ÉáÄÌ/ÃÙ¤¤¡¢¤ÈÁöºº¤¹¤ë¤È¹Í¤¨¤ë¤È¤¤¤¤¤Ç¤·¤ç¤¦¡£¤³¤Î¥­¡¼¥ï¡¼¥É¤Ï gnuplot ¤Ë¡¢¤½¤ÎÁöºº¤ÎÊý¸þ¤òÉÁ²èÆâ¤Î¤É¤ÎºÂɸÊý¸þ (x/y/z) ¤Ë³ä¤êÅö¤Æ¤ë ¤«¤ò»ØÄꤷ¤Þ¤¹¡£»ØÄê¤Ï 2 ¤Ä¡¢¤Þ¤¿¤Ï 3 ¤Ä¤Îʸ»ú¤ÎʤӤÇɽ¸½¤·¡¢ºÇ½é¤Îʸ »ú¤¬ÅÀ¤Ë¡¢¼¡¤Îʸ»ú¤¬Àþ¤Ë¡¢3 ¤ÄÌܤÎʸ»ú¤¬Ì̤ËÂбþ¤·¤Þ¤¹¡£Î㤨¤Ð¡¢ scan=yx ¤Ï¡¢ºÇ¤â®¤¤Áöºº (ÅÀ¤ÎÁªÂò) ¤Ï y Êý¸þ¤ËÂбþ¤·¡¢ÉáÄ̤ή¤µ¤Î Áöºº (Àþ¤ÎÁªÂò) ¤¬ x Êý¸þ¤ËÂбþ¤¹¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£

ÉÁ²è¥â¡¼¥É¤¬ plot ¤Î¾ì¹ç¡¢»ØÄê¤Ë¤Ï x ¤È y ¤Î 2 ¤Ä¤Îʸ»ú¤ò»È¤¦¤³¤È¤¬ ¤Ç¤­¡¢splot ¤ËÂФ·¤Æ¤Ï x, y, z ¤Î 3 ¤Ä¤Îʸ»ú¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

³ä¤êÅö¤Æ¤Ë´Ø¤·¤Æ¤Ï¡¢ÅÀ/Àþ/Ì̤«¤éľ¸òºÂɸÊý¸þ¤Ø¤Î¤ß¤ËÀ©¸Â¤¹¤ëÆâÉô»ö¾ð¤Ï Ê̤ˤ¢¤ê¤Þ¤»¤ó¡£¤³¤ÎÍýͳ¤Ç¡¢±ßÃìºÂɸ¤Ø¤Î³ä¤êÅö¤Æ¤Î¤¿¤á¤Î»ØÄê»Ò¤âÍÑ°Õ¤µ ¤ì¤Æ¤¤¤Æ¡¢¤½¤ì¤é¤Ïľ¸òºÂɸ¤Î x, y, z ¤ËÎà»÷¤·¤¿·Á¤Ç t (³ÑÅÙ), r, z ¤È ¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

72.2.8.2 Transpose

scan=yx¡¢¤Þ¤¿¤Ï scan=yxz ¤ÈƱ¤¸¤Ç¤¹¡£

72.2.8.3 Dx, dy, dz

gnuplot ¤¬ºÂɸ¤òÀ¸À®¤¹¤ë¾ì¹ç¡¢¤½¤Î´Ö³Ö¤Ï¤³¤ì¤é¤Î¥­¡¼¥ï¡¼¥É¤Ç»ØÄꤵ¤ì¤¿ ¤â¤Î¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£Î㤨¤Ð dx=10 dy=20 ¤Ï x Êý¸þ¤Ë 10¡¢y Êý¸þ¤Ë 20 ¤Î´Ö³Ö¤ÇɸËܲ½¤µ¤ì¤¿¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£dy ¤Ï dx ¤¬¤Ê¤±¤ì¤Ð»È¤¨¤Þ¤» ¤ó¡£Æ±ÍÍ¤Ë dz ¤Ï dy ¤¬¤Ê¤±¤ì¤Ð»È¤¨¤Þ¤»¤ó¡£¤â¤·¥Ç¡¼¥¿¤Î¼¡¸µ¤¬»ØÄꤷ ¤¿¥­¡¼¥ï¡¼¥É¤Î¼¡¸µ¤è¤ê¤âÂ礭¤¤¾ì¹ç¡¢»Ä¤ê¤Î¼¡¸µÊý¸þ¤Î´Ö³Ö¤Ï¡¢»ØÄꤵ¤ì¤¿ ºÇ¤â¹â¤¤¼¡¸µ¤Î¤â¤Î¤ÈƱ¤¸Ãͤ¬»ÈÍѤµ¤ì¤Þ¤¹¡£Î㤨¤Ð²èÁü¤¬¥Õ¥¡¥¤¥ë¤«¤éÆÉ¤ß ¹þ¤Þ¤ì¡¢dx=3.5 ¤Î¤ß»ØÄꤵ¤ì¤¿¾ì¹ç¡¢gnuplot ¤Ï x Êý¸þ¤Î´Ö³Ö¤â y Êý¸þ ¤Î´Ö³Ö¤â 3.5 ¤ò»ÈÍѤ·¤Þ¤¹¡£

°Ê²¼¤Î¥­¡¼¥ï¡¼¥É¤âºÂɸ¤ÎÀ¸À®»þ¤Ë¤Î¤ßŬÍѤµ¤ì¤Þ¤¹¡£¤·¤«¤·¡¢°Ê²¼¤Î¤â¤Î¤Ïmatrix ¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤Ë¤â»È¤ï¤ì¤Þ¤¹¡£

72.2.8.4 Flipx, flipy, flipz

¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ÎÁöººÊý¸þ¤¬ gnuplot ¤ÎÁöººÊý¸þ¤È°ìÃפ·¤Ê¤¤¤³¤È ¤¬¤¿¤Þ¤Ë¤¢¤ê¤Þ¤¹¡£¤³¤ì¤é¤Î¥­¡¼¥ï¡¼¥É¤Ï¡¢¤½¤ì¤¾¤ì x, y, z Êý¸þ¤Î¥Ç¡¼¥¿ ¤ÎÁöººÊý¸þ¤òµÕ¸þ¤­¤Ë¤·¤Þ¤¹¡£

72.2.8.5 Origin

gnuplot ¤ÏžÃÖ (transpose) ¤äȿž (flip) ¤Ë¤ª¤¤¤ÆºÂɸ¤òÀ¸À®¤¹¤ë¾ì¹ç¡¢ ¾ï¤ËÇÛÎó¤Îº¸²¼¤ÎÅÀ¤¬¸¶ÅÀ¤Ë¤Ê¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢¥Ç¡¼¥¿¤¬¡¢Å¾ÃÖ¤ä ȿž¤Î¹Ô¤Ê¤ï¤ì¤¿¸å¤Îľ¸òºÂɸ·Ï¤ÎÂè 1 ¾Ý¸Â¤ËÍè¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£

ÇÛÎó¤ò¥°¥é¥Õ¤Î¤½¤Î¾¤Î¾ì½ê¤ËÇÛÃÖ¤·¤¿¤¤¾ì¹ç¡¢origin ¥­¡¼¥ï¡¼¥É¤Ç»ØÄê ¤·¤¿¾ì½ê¤Ë gnuplot ¤ÏÇÛÎó¤Îº¸²¼¤ÎÅÀ¤ò¹ç¤ï¤»¤Þ¤¹¡£¤½¤Î»ØÄê¤Ï¡¢plot ¤Ç ¤Ï 2 ¤Ä¤ÎºÂɸ¤ÎÁÈ¡¢splot ¤Ç¤Ï 3 ¤Ä¤ÎºÂɸ¤ÎÁȤò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£Î㤨 ¤Ð origin=(100,100):(100,200) ¤Ï¡¢°ì¤Ä¤Î¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤ë 2 ¤Ä¤Î¥Ç ¡¼¥¿¤ËÂФ¹¤ë»ØÄê¤Ç¡¢2 ¼¡¸µ¤ÎÉÁ²è¤ËÂФ¹¤ë»ØÄê¤Ç¤¹¡£2 ¤ÄÌܤÎÎã¤È¤·¤Æ origin=(0,0,3.5) ¤ò¤¢¤²¤ë¤È¡¢¤³¤ì¤Ï 3 ¼¡¸µÉÁ²èÍѤλØÄê¤Ç¤¹¡£

72.2.8.6 Center

origin ¤È»÷¤Æ¤¤¤Þ¤¹¤¬¡¢¤³¤Î¥­¡¼¥ï¡¼¥É¤Ï¡¢ÇÛÎó¤ÎÃæ¿´¤¬¤³¤Î¥­¡¼¥ï¡¼¥É ¤Ç»ØÄꤷ¤¿ÅÀ¤Ë¤Ê¤ë¤è¤¦¤ËÇÛÃÖ¤·¤Þ¤¹¡£Î㤨¤Ð center=(0,0) ¤Î¤è¤¦¤Ë¤·¤Þ ¤¹¡£ÇÛÎó¤Î¥µ¥¤¥º¤¬ Inf ¤Î¤È¤­¤Ï center ¤ÏŬÍѤµ¤ì¤Þ¤»¤ó¡£

72.2.8.7 Rotate

žÃÖ (transpose) ¤Èȿž (flip) ¥³¥Þ¥ó¥É¤ÏºÂɸ¤ÎÀ¸À®¤ÈºÂɸ¼´¤ÎÊý¸þ¤Ë¤¢ ¤ë¼ï¤Î½ÀÆðÀ­¤òÍ¿¤¨¤Æ¤¯¤ì¤Þ¤¹¡£¤·¤«¤·¡¢³ÑÅ٤˴ؤ¹¤ë´°Á´¤ÊÀ©¸æ¤Ï¡¢2 ¼¡¸µ ¤Î²óž³Ñ¤òµ­½Ò¤·¤¿²óž³Ñ¥Ù¥¯¥È¥ë¤òÍ¿¤¨¤ë¤³¤È¤Ë¤è¤ê¹Ô¤Ê¤¦¤³¤È¤¬²Äǽ¤Ë¤Ê ¤ê¤Þ¤¹¡£

¥­¡¼¥ï¡¼¥É rotate ¤Ï, plot, splot ¤ÎξÊý¤Ç¡¢2 ¼¡¸µÌ̤ËÂФ·¤ÆŬÍÑ ¤µ¤ì¤Þ¤¹¡£²óž¤ÏºÂɸʿÌ̤ÎÀµ¤Î³ÑÅ٤˴ؤ·¤Æ¹Ô¤Ê¤ï¤ì¤Þ¤¹¡£

³ÑÅ٤ϡ¢¥é¥¸¥¢¥óñ°Ì¤Ç¤¹¤¬¡¢pi ¤ä degrees ¤ÎÇÜ¿ô¤È¤·¤Æ¤Î¥é¥¸¥¢¥ó¤Ç¤âɽ ¸½¤Ç¤­¤Þ¤¹¡£Î㤨¤Ð¡¢rotate=1.5708, rotate=0.5pi, rotate=90deg ¤Ï ¤¹¤Ù¤ÆƱ¤¸°ÕÌ£¤Ç¤¹¡£

origin ¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢²óž¤ÏÊ¿¹Ô°ÜÆ°¤ÎÁ°¤Ëº¸²¼¤ÎÅÀ¤òÃæ¿´¤Ë¤·¤Æ¹Ô ¤Ê¤ï¤ì¤Þ¤¹¡£¤½¤ì°Ê³°¤Ç¤Ï²óž¤ÏÇÛÎó¤ÎÃæ¿´ (center) ¤Ë´Ø¤·¤Æ¹Ô¤Ê¤ï¤ì¤Þ ¤¹¡£

72.2.8.8 Perpendicular

splot ¤Ë´Ø¤·¤Æ²óž¥Ù¥¯¥È¥ë¤ÎÀßÄ꤬¡¢¥Ù¥¯¥È¥ë¤òɽ¸½¤¹¤ë 3 ¤Ä¤Î¿ô»ú¤Î ÁȤò»ØÄꤹ¤ë¤³¤È¤Ç¼ÂÁõ¤µ¤ì¤Æ¤¤¤Æ¡¢¤³¤Î¥Ù¥¯¥È¥ë¤Ï 2 ¼¡¸µ¤Î xy Ê¿Ì̤ËÂÐ ¤·¤Æ¸þ¤­ÉÕ¤±¤é¤ì¤¿Ë¡Àþ¥Ù¥¯¥È¥ë (perpendicular) ¤òɽ¤·¤Æ¤¤¤Þ¤¹¡£¤â¤Á¤í ¤ó¤½¤Î¥Ç¥Õ¥©¥ë¥È¤Ï (0,0,1) ¤Ç¤¹¡£rotate ¤È perpendicular ¤ÎξÊý¤ò»ØÄê ¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢3 ¼¡¸µ¶õ´ÖÆâ¤Ç̵¿ô¤ÎÊý¸þ¤Ø¥Ç¡¼¥¿¤ò¸þ¤­ÉÕ¤±¤é¤ì¤ë¤³¤È¤Ë ¤Ê¤ê¤Þ¤¹¡£

¤Þ¤ººÇ½é¤Ë 2 ¼¡¸µ¤Î²óž¤¬¹Ô¤Ê¤ï¤ì¡¢¤½¤Î¼¡¤Ë 3 ¼¡¸µ¤Î²óž¤¬¹Ô¤Ê¤ï¤ì¤Þ¤¹¡£ ¤Ä¤Þ¤ê¡¢R' ¤ò¤¢¤ë³Ñ¤Ë¤è¤ë 2 x 2 ¤Î²óž¹ÔÎó¤È¤·¡¢P ¤ò (0,0,1) ¤ò (xp,yp,zp) ¤Ø»Ò¸áÀþÊý¸þ¤Ë²óž¤µ¤»¤ë 3 x 3 ¤Î¹ÔÎó¤È¤·¡¢R' ¤òº¸¾å¤ÎÉôʬ ¹ÔÎó¤È¤·¤Æ»ý¤Á 3,3 À®Ê¬¤¬ 1 ¤Ç¤½¤Î¾¤ÎÀ®Ê¬¤¬ 0 ¤Ç¤¢¤ë¤è¤¦¤Ê¹ÔÎó (¤Ä¤Þ ¤ê z ¼´¼þ¤ê¤Î²óž¹ÔÎó) ¤È¤¹¤ì¤Ð¡¢¤³¤ÎÊÑ´¹¤òɽ¤¹¹ÔÎó¤Ë¤è¤ë´Ø·¸¼°¤Ï v' = P R v ¤È¤Ê¤ê¤Þ¤¹¡£¤³¤³¤Ç¡¢v ¤Ï¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤«¤éÆɤ߹þ¤Þ¤ì¤¿ 3 x 1 ¤Î°ÌÃÖ¥Ù¥¯¥È¥ë¤Ç¤¹¡£¥Õ¥¡¥¤¥ë¤Î¥Ç¡¼¥¿¤¬ 3 ¼¡¸µÅª¤Ê¤â¤Î¤Ç¤Ê¤¤¾ì¹ç ¤Ï¡¢ÏÀÍýŪ¤Ê¥ë¡¼¥ë¤¬Å¬ÍѤµ¤ì¤Æ 3 ¼¡¸µ¶õ´ÖÆâ¤Î¥Ç¡¼¥¿¤È¸«¤Ê¤µ¤ì¤Þ¤¹ (Îã ¤¨¤Ð¡¢Ä̾ï¤Ï z ºÂɸ¤Ï 0 ¤È¤µ¤ì¡¢xy Ê¿ÌÌÆâ¤Î 2 ¼¡¸µ¥Ç¡¼¥¿¤È¸«¤Ê¤µ¤ì¤Þ¤¹)¡£

72.3 ¥Ç¡¼¥¿ (data)

¥Õ¥¡¥¤¥ë¤ËǼ¤á¤é¤ì¤¿Î¥»¶Åª¤Ê¥Ç¡¼¥¿¤Ï¡¢plot ¥³¥Þ¥ó¥É¥é¥¤¥ó¾å¤Ç¡¢¤½¤Î ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë̾ (< datafile> ) ¤òñ°ì°úÍÑÉä¤Þ¤¿¤ÏÆó½Å°úÍÑÉä¤Ç°Ï¤ó¤Ç»ØÄê ¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æɽ¼¨¤Ç¤­¤Þ¤¹¡£

½ñ¼°:

     plot '<file_name>' {binary <binary list>}
                        {{nonuniform} matrix}
                        {index <index list> | index "<name>"}
                        {every <every list>}
                        {thru <thru expression>}
                        {skip <number-of-lines>}
                        {using <using list>}
                        {smooth <option>}
                        {volatile} {noautoscale}

½¤Àµ»Ò¤Î binary, index, every, skip, using, smooth ¤Ï¡¢¤½ ¤ì¤¾¤ì¤Ëʬ¤±¤ÆÀâÌÀ¤·¤Þ¤¹¡£´Êñ¤Ë¸À¤¦¤È¡¢binary ¤Ï¥Ç¡¼¥¿Îó¤ò¥Ð¥¤¥Ê¥ê ¥Õ¥¡¥¤¥ë¤«¤é¼èÆÀ¤Ç¤­¤ë¤è¤¦¤Ë¤· (¥Ç¥Õ¥©¥ë¥È¤Ï ASCII ¥Õ¥¡¥¤¥ë)¡¢index ¤Ï¥Þ¥ë¥Á¥Ç¡¼¥¿½¸¹ç¥Õ¥¡¥¤¥ë¤«¤é¤É¤Î¥Ç¡¼¥¿½¸¹ç¤òɽ¼¨¤¹¤ë¤Î¤«¤òÁª¤Ó¡¢ every ¤¬¡¢°ì¤Ä¤Î¥Ç¡¼¥¿½¸¹ç¤«¤é¤É¤ÎÅÀ¤òɽ¼¨¤¹¤ë¤Î¤«¤òÁª¤Ó¡¢using ¤Ï °ì¹Ô¤«¤é¤É¤ÎÎó¤ò²ò¼á¤¹¤ë¤Î¤«¤ò·èÄꤷ (thru ¤Ï¡¢using ¤ÎÆÃÊ̤ʾì¹ç ¤Ç¤¢¤ë)¡¢¤½¤·¤Æ smooth ¤¬¡¢Ã±½ã¤ÊÊä´Ö¤È¶á»÷¤ò¹Ô¤¤¤Þ¤¹¡£(splot ¤Ï¡¢ ¤è¤¯»÷¤¿½ñ¼°¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢smooth ¥ª¥×¥·¥ç¥ó¤È thru ¥ª¥×¥·¥ç¥ó ¤Ï¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤»¤ó)

¥­¡¼¥ï¡¼¥É noautoscale ¤Ï¡¢¼«Æ°Åª¤Ë¼´¤ÎÈϰϤ¬·èÄꤵ¤ì¤ëµ¡Ç½¤¬Í­¸ú¤Ç ¤¢¤ë¾ì¹ç¤Ë¡¢¤³¤ÎÉÁ²è¤ò¹½À®¤¹¤ë¥Ç¡¼¥¿ÅÀ¤Ë¤Ä¤¤¤Æ¤Ï¡¢¤½¤ì¤ò̵»ë¤µ¤»¤ë (¼« Æ°½Ì¼Üµ¡Ç½¤Î·×»»Âоݤ«¤é³°¤¹) ¤è¤¦¤Ë¤·¤Þ¤¹¡£

ASCII ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë:

¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Ï¡¢°ì¹Ô¤Ë¤Ä¤­¾¯¤Ê¤¯¤È¤â°ì¤Ä¤Î¥Ç¡¼¥¿ÅÀ¤ò´Þ¤àɬÍפ¬¤¢¤ê¤Þ ¤¹ (using ¤Ï°ì¹Ô¤«¤é°ì¤Ä¤Î¥Ç¡¼¥¿¥Ý¥¤¥ó¥È¤òÁª¤Ö¤³¤È¤¬¤Ç¤­¤Þ¤¹)¡£# (VMS ¤Ç¤Ï !) ¤Ç»Ï¤Þ¤ë¹Ô¤Ï¡¢¥³¥á¥ó¥È¤È¤·¤Æ°·¤ï¤ì¡¢Ìµ»ë¤µ¤ì¤Þ¤¹¡£³Æ¥Ç ¡¼¥¿ÅÀ¤Ï¡¢(x,y) ¤ÎÁȤòɽ¤·¤Þ¤¹¡£¥¨¥é¡¼¥Ð¡¼¡¢¤Þ¤¿¤ÏÀÞ¤ìÀþɽ¼¨ÉÕ¥¨¥é¡¼¥Ð ¡¼¤Î plot ¤Ç¤Ï (°Ê²¼»²¾È: set style errorbars (53),set style errorlines (56))¡¢³Æ¥Ç¡¼¥¿ÅÀ¤Ï¡¢(x,y,ydelta), (x,y,ylow,yhigh), (x,y,xdelta), (x,y,xlow,xhigh), (x,y,xlow,xhigh,ylow,yhigh) ¤Î¤¤¤º¤ì¤« ¤ò°ÕÌ£¤·¤Þ¤¹¡£

¤É¤ó¤Ê¾ì¹ç¤Ç¤â¡¢½ñ¼°¤Î»ØÄê»Ò¤¬ using ¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÍ¿¤¨¤é¤ì¤Æ¤¤ ¤Ê¤±¤ì¤Ð¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î³Æ¹Ô¤Î¿ô»ú¤Ï¡¢¥Û¥ï¥¤¥È¥¹¥Ú¡¼¥¹ (°ì¤Ä¤Þ¤¿¤ÏÊ£ ¿ô¤Î¶õÇò¤«¥¿¥Ö) ¤Ë¤è¤Ã¤Æ¶èÀÚ¤é¤ì¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤³¤Î¥Û¥ï¥¤¥È¥¹¥Ú ¡¼¥¹¤Ï¡¢³Æ¹Ô¤òÎó¤Î¹àÌܤ˶èÀÚ¤ê¤Þ¤¹¡£¤¿¤À¤·¡¢Æó½Å°úÍÑÉä¤Ç°Ï¤Þ¤ì¤¿¥Û¥ï¥¤ ¥È¥¹¥Ú¡¼¥¹¤ÏÎó¤Î´ªÄê¤Ç¤Ï̵»ë¤µ¤ì¡¢¤è¤Ã¤Æ¼¡¤Î¤è¤¦¤Ê¥Ç¡¼¥¿¹Ô¤Ï 3 Îó¡¢¤È ¸«¤Ê¤µ¤ì¤Þ¤¹:

     1.0 "second column" 3.0

¥Ç¡¼¥¿¤Ï¡¢»Ø¿ôÉô¤Ë e, E ¤Îʸ»ú¤ò¤Ä¤±¤¿»Ø¿ôɽµ­¤Ç½ñ¤«¤ì¤Æ¤¤¤Æ¤â¹½¤¤¤Þ¤» ¤ó¡£¥³¥Þ¥ó¥É set datafile fortran ¤¬Í­¸ú¤Ê¾ì¹ç¤Ï¡¢fortran ¤Î»Ø¿ô»ØÄê »Ò d, D, q, Q ¤â»È¤¨¤Þ¤¹¡£

ɬÍפǤ¢¤ë¤Î¤Ï¤¿¤À°ì¤Ä¤ÎÎó (y ¤ÎÃÍ) ¤Î¤ß¤Ç¤¹¡£¤â¤· x ¤ÎÃͤ¬¾Êά¤µ¤ì¤¿ ¤é¡¢gnuplot ¤Ï¤½¤ì¤ò 0 ¤Ç»Ï¤Þ¤ëÀ°¿ôÃͤȤ·¤ÆÍÑ°Õ¤·¤Þ¤¹¡£

¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Ë¤ª¤¤¤Æ¡¢¥Ö¥é¥ó¥¯¹Ô (¶õÇò¤È²þ¹Ô¡¢Éüµ¢°Ê³°¤Ëʸ»ú¤ò´Þ¤Þ¤Ê¤¤¹Ô) ¤Ï½ÅÍפǤ¹¡£

1 ¹Ô¤Î¥Ö¥é¥ó¥¯¹Ô¤Ï¡¢plot ¤ËÉÔϢ³¤ò»Ø¼¨¤·¤Þ¤¹; ¥Ö¥é¥ó¥¯¹Ô¤Ë¤è¤Ã¤Æ¶è ÀÚ¤é¤ì¤¿ÅÀ¤ÏÀþ¤Ç·ë¤Ð¤ì¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó (line style ¤Ç½ñ¤«¤ì¤Æ¤¤¤ë¾ì ¹ç¤Ë¤Ï)¡£

2 ¹Ô¤Î¥Ö¥é¥ó¥¯¹Ô¤Ï¡¢ÊÌ¡¹¤Î¥Ç¡¼¥¿½¸¹ç´Ö¤Î¶èÀÚ¤ê¤ò¼¨¤·¤Þ¤¹¡£°Ê²¼»²¾È:index (72.3.3)¡£

¤â¤· autoscale ¤Î¾õÂ֤Ǥ¢¤ì¤Ð (°Ê²¼»²¾È: set autoscale (82.3))¡¢¼´¤ÏÁ´¤Æ¤Î ¥Ç¡¼¥¿¥Ý¥¤¥ó¥È¤ò´Þ¤à¤è¤¦¤Ë¼«Æ°Åª¤Ë°ú¤­¿­¤Ð¤µ¤ì¤Æ¡¢ÌÜÀ¹¤ê¤¬½ñ¤«¤ì¤ë¾õÂÖ ¤Ê¤é¤ÐÁ´¤Æ¤ÎÌÜÀ¹¤ê¤¬¥Þ¡¼¥¯¤µ¤ì¤Þ¤¹¡£¤³¤ì¤Ï¡¢2 ¤Ä¤Î·ë²Ì¤ò°ú¤­µ¯¤³¤·¤Þ¤¹: i) splot ¤Ç¤Ï¡¢¶ÊÌ̤γѤÏÄìÌ̤γѤ˰ìÃפ·¤Æ¤¤¤Ê¤¤¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£¤³ ¤Î¾ì¹ç¡¢½Ä¤ÎÀþ¤Ï½ñ¤«¤ì¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£ii) 2 ¼ïÎà¤Î¼´¤Ç¤Î¡¢Æ±¤¸ x ¤ÎÈϰϤΥǡ¼¥¿¤Îɽ¼¨¤ÎºÝ¡¢¤â¤· x2 ¤Î¼´¤ËÂФ¹¤ëÌÜÀ¹¤ê¤¬½ñ¤«¤ì¤Æ¤¤¤Ê¤¤¾ì ¹ç¤Ï¡¢x ºÂɸ¤¬¤¢¤Ã¤Æ¤¤¤Ê¤¤¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ï x ¼´ (x1) ¤ÏÁ´¤Æ¤ÎÌÜ À¹¤ê¤Ë¤Þ¤Ç¼«Æ°Åª¤Ë°ú¤­±ä¤Ð¤µ¤ì¤ë¤Î¤ËÂФ·¡¢x2 ¼´¤Ï¤½¤¦¤Ç¤Ï¤Ê¤¤¤«¤é¤Ç¤¹¡£ ¼¡¤ÎÎã¤Ç¤½¤ÎÌäÂê¤ò¸«¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹:


     reset; plot '-', '-' axes x2y1
     1 1
     19 19
     e
     1 1
     19 19
     e

¤³¤ì¤òÈò¤±¤ë¤Ë¤Ï¡¢set autoscale ¥³¥Þ¥ó¥É¤Î fixmin/fixmax ¥ª¥×¥· ¥ç¥ó¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤ì¤Ï¡¢¼¡¤ÎÌÜÀ¹¤ê¤Î¹ï¤ß¤Ë¹ç¤¦¤è¤¦¤Ë¼´¤ÎÈÏ°Ï ¤ò¼«Æ°Åª¤Ë³ÈÄ¥¤¹¤ëµ¡Ç½¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£

¥é¥Ù¥ë¤ÎºÂɸ¤Èʸ»úÎó¤â¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤«¤éÆɤ߹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹ (°Ê²¼»²¾È: labels (42))¡£

72.3.1 Every

¥­¡¼¥ï¡¼¥É every ¤Ï¡¢ÉÁ²è¤¹¤ë¥Ç¡¼¥¿¤ò¥Ç¡¼¥¿½¸¹ç¤«¤é¼þ´üŪ¤Ë¥µ¥ó¥×¥ê ¥ó¥°¤¹¤ë¤³¤È¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£

¤³¤³¤Ç¤Ï ¡Ö¥Ý¥¤¥ó¥È¡×¤Ï¥Õ¥¡¥¤¥ëÃæ¤Î 1 ¤Ä¤Î¹Ô¤Ë¤è¤Ã¤ÆÄêµÁ¤µ¤ì¤ë¥Ç¡¼¥¿¤È ¤·¡¢¤³¤³¤Ç¤Î¡Ö¥Ö¥í¥Ã¥¯¡×¤Ï¡Ö¥Ç¡¼¥¿¡¦¥Ö¥í¥Ã¥¯¡×(°Ê²¼»²¾È: glossary (16)) ¤ÈƱ¤¸¤â¤Î¤ò°ÕÌ£¤¹¤ë¤³¤È¤È¤·¤Þ¤¹¡£

½ñ¼°:

        plot 'file' every {<¥Ý¥¤¥ó¥ÈÁýʬ>}
                          {:{<¥Ö¥í¥Ã¥¯Áýʬ>}
                            {:{<³«»Ï¥Ý¥¤¥ó¥È>}
                              {:{<³«»Ï¥Ö¥í¥Ã¥¯>}
                                {:{<½ªÎ»¥Ý¥¤¥ó¥È>}
                                  {:<½ªÎ»¥Ö¥í¥Ã¥¯>}}}}}

ÉÁ²è¤¹¤ë¥Ç¡¼¥¿¥Ý¥¤¥ó¥È¤Ï¡¢< ³«»Ï¥Ý¥¤¥ó¥È> ¤«¤é < ½ªÎ»¥Ý¥¤¥ó¥È> ¤Þ¤Ç < ¥Ý ¥¤¥ó¥ÈÁýʬ> ¤ÎÁý²Ã¤ÇÁª¤Ó¡¢¥Ö¥í¥Ã¥¯¤Ï < ³«»Ï¥Ö¥í¥Ã¥¯> ¤«¤é < ½ªÎ»¥Ö¥í¥Ã¥¯> ¤Þ¤Ç < ¥Ö¥í¥Ã¥¯Áýʬ> ¤ÎÁý²Ã¤ÇÁª¤Ó¤Þ¤¹¡£

³Æ¥Ö¥í¥Ã¥¯¤ÎºÇ½é¤Î¥Ç¡¼¥¿¤Ï¡¢¥Õ¥¡¥¤¥ëÃæ¤ÎºÇ½é¤Î¥Ö¥í¥Ã¥¯¤ÈƱ¤¸¤è¤¦¤Ë¡¢ ¡Ö0 È֡פȿô¤¨¤Þ¤¹¡£

¥×¥í¥Ã¥È¤Ç¤­¤Ê¤¤¾ðÊó¤ò´Þ¤à¹Ô¤â¥«¥¦¥ó¥È¤¹¤ë¤³¤È¤ËÃí°Õ¤·¤Æ²¼¤µ¤¤¡£

¤¤¤¯¤Ä¤«¤Î¿ô»ú¤Ï¾Êά¤Ç¤­¤Þ¤¹; Áýʬ¤Î¥Ç¥Õ¥©¥ë¥È¤Ï 1 ¡¢³«»Ï¤ÎÃͤϺǽé¤Î ¥Ý¥¤¥ó¥È¤«ºÇ½é¤Î¥Ö¥í¥Ã¥¯¡¢¤½¤·¤Æ½ªÎ»¤ÎÃͤϺǸå¤Î¥Ý¥¤¥ó¥È¤«ºÇ¸å¤Î¥Ö¥í¥Ã ¥¯¤ËÀßÄꤷ¤Þ¤¹¡£every ¤Î¥ª¥×¥·¥ç¥ó¤¬ ':' ¤Ç½ª¤ï¤ë¤Î¤Ïµö¤µ¤ì¤Æ¤¤¤Þ¤» ¤ó¡£every ¤ò»ØÄꤷ¤Ê¤±¤ì¤Ð¡¢Á´¤Æ¤Î¹Ô¤ÎÁ´¤Æ¤Î¥Ý¥¤¥ó¥È¤ò¥×¥í¥Ã¥È¤·¤Þ¤¹¡£

Îã:

      every :::3::3   # 4 ÈÖÌܤΥ֥í¥Ã¥¯¤À¤±Áª¤Ó¤Þ¤¹ (0 ÈÖ¤¬ºÇ½é)
      every :::::9    # ºÇ½é¤Î 10 ¥Ö¥í¥Ã¥¯¤òÁª¤Ó¤Þ¤¹
      every 2:2       # 1 ¤Ä¤ª¤­¤Î¥Ö¥í¥Ã¥¯¤Ç 1 ¤Ä¤ª¤­¤Î¥Ý¥¤¥ó¥È¤òÁª¤Ó
                      # ¤Þ¤¹
      every ::5::15   # ¤½¤ì¤¾¤ì¤Î¥Ö¥í¥Ã¥¯¤Ç¥Ý¥¤¥ó¥È 5 ¤«¤é 15 ¤Þ¤Ç¤ò
                      # Áª¤Ó¤Þ¤¹

»²¾È:

ñ½ã¤Ê plot ¥Ç¥â (simple.dem)

,

Èó¥Ñ¥é¥á¡¼¥¿¥â¡¼¥É¤Ç¤Î splot ¥Ç¥â

,

¥Ñ¥é¥á¡¼¥¿¥â¡¼¥É¤Ç¤Î splot ¥Ç¥â

¡£

72.3.2 ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ÎÎã (example)

¼¡¤ÎÎã¤Ï¡¢¥Õ¥¡¥¤¥ë "population.dat" Ãæ¤Î¥Ç¡¼¥¿¤ÈÍýÏÀ¶ÊÀþ¤ò¿Þ¤Ë¤¹¤ë¤â¤Î ¤Ç¤¹¡£


     pop(x) = 103*exp((1965-x)/10)
     set xrange [1960:1990]
     plot 'population.dat', pop(x)

¥Õ¥¡¥¤¥ë "population.dat" ¤Ï¼¡¤Î¤è¤¦¤Ê¥Õ¥¡¥¤¥ë¤Ç¤¹¡£


     # Gnu population in Antarctica since 1965
        1965   103
        1970   55
        1975   34
        1980   24
        1985   10

binary ¤ÎÎã:


     # 2 ¤Ä¤Î float ¤ÎÃͤòÁªÂò¤· (2 ¤ÄÌܤÎÃͤÏ̵°ÕÌ£)¡¢°ìÊý¤òÆɤ߼Τơ¢
     # °ì¤Ä¤ª¤­¤Î float Ãͤò̵¸Â¤ËŤ¯Â³¤¯ 1 ¼¡¸µ¥Ç¡¼¥¿¤È¤·¤Æ»ÈÍÑ
     plot '<file_name>' binary format="%float%*float" using 1:2 with lines


     # ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤«¤éºÂɸ¤òÀ¸À®¤¹¤ë¤Î¤ËɬÍפʾðÊó¤ò¤¹¤Ù¤Æ¤½¤Î¥Ø¥Ã
     # ¥À¤Ë´Þ¤ó¤Ç¤¤¤ë EDF ¥Õ¥¡¥¤¥ë¤Î¾ì¹ç
     plot '<file_name>' binary filetype=edf with image
     plot '<file_name>.edf' binary filetype=auto with image


     # 3 ¤Ä¤ÎÉä¹æ¤Ê¤·Ê¸»ú·¿À°¿ôÃÍ (unsigned char) ¤òÀ¸¤Î RGB ²èÁü¤Î¿§
     # À®Ê¬¤È¤·¤ÆÁªÂò¤·¡¢y Êý¸þ¤Ïȿž¤µ¤»²èÁü¤ÎÊý¸þ¤òºÂɸʿÌ̾å¤ÇÊѹ¹
     # ¤¹¤ë (º¸¾å¤¬¸¶ÅÀ¤Ë¤Ê¤ë¤è¤¦¤Ë)¡£¥Ô¥¯¥»¥ë¤Î´Ö³Ö¤â»ØÄꤷ¡¢¥Õ¥¡¥¤
     # ¥ë¤Ë¤Ï 2 ¤Ä¤Î²èÁü¤¬´Þ¤Þ¤ì¤Æ¤¤¤Æ¡¢¤½¤Î¤¦¤Á°ì¤Ä¤Ï origin ¤ÇÊ¿¹Ô
     # °ÜÆ°¤¹¤ë¡£
     plot '<file_name>' binary array=(512,1024):(1024,512) format='%uchar' \
          dx=2:1 dy=1:2 origin=(0,0):(1024,1024) flipy u 1:2:3 w rgbimage


     # 4 ¤Ä¤ÎÊ̤Υǡ¼¥¿¤«¤é¤Ê¤ê¡¢ºÂɸ¾ðÊó¤â¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤Æ¤¤
     # ¤ë¡£¥Õ¥¡¥¤¥ë¤Ï gnuplot ¤¬¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë¥·¥¹¥Æ¥à¤È¤Ï°Û¤Ê¤ë¥¨¥ó
     # ¥Ç¥£¥¢¥ó¤ÇÀ¸À®¤µ¤ì¤Æ¤¤¤ë¡£
     splot '<file_name>' binary record=30:30:29:26 endian=swap u 1:2:3


     # Ʊ¤¸ÆþÎÏ¥Õ¥¡¥¤¥ë¤Ç¡¢º£²ó¤Ï 1 ÈÖÌÜ¤È 3 ÈÖÌܤΥ쥳¡¼¥É¤ò¥¹¥­¥Ã¥×
     splot '<file_name>' binary record=30:26 skip=360:348 endian=swap u 1:2:3

°Ê²¼»²¾È: binary matrix (84.1.1)¡£

72.3.3 Index

¥­¡¼¥ï¡¼¥É index ¤Ï¡¢ÉÁ²èÍѤËÊ£¿ô¤Î¥Ç¡¼¥¿½¸¹ç¤ò»ý¤Ä¥Õ¥¡¥¤¥ë¤«¤é¡¢Æà Äê¤Î¥Ç¡¼¥¿½¸¹ç¤òÁªÂò¤¹¤ë¤³¤È¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£

½ñ¼°:

     plot 'file' index { <m>{:<n>{:<p>}} | "<name>" }

¥Ç¡¼¥¿½¸¹ç¤Ï 2 ¹Ô¤Î¶õÇò¤ÇʬΥ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£index < m> ¤Ï < m> ÈÖÌܤν¸ ¹ç¤À¤±¤òÁªÂò¤·¤Þ¤¹; index < m> :< n> ¤Ï < m> ¤«¤é < n> ¤Þ¤Ç¤Î¥Ç¡¼¥¿½¸¹ç¤Î ÁªÂò; index < m> :< n> :< p> ¤Ï¡¢< m> , < m> +< p> , < m> +2< p> , ¤Ê¤É¡¢< p> ¤ª¤­¤Î ½¸¹ç¤òÁªÂò¤·¡¢½¸¹ç < n> ¤Ç½ªÎ»¤·¤Þ¤¹¡£C ¸À¸ì¤Îź»ú (index) ¤ÎÉÕ¤±Êý¤Ë½¾ ¤¤¡¢index 0 ¤Ï¤½¤Î¥Õ¥¡¥¤¥ë¤ÎºÇ½é¤Î¥Ç¡¼¥¿½¸¹ç¤ò°ÕÌ£¤·¤Þ¤¹¡£Â礭¤¹¤®¤ë index ¤Î»ØÄê¤Ë¤Ï¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£< p> ¤ò»ØÄꤷ¡¢< n> ¤ò¶õÍó ¤Ë¤·¤¿¾ì¹ç¡¢< p> Ëè¤Î¥Ç¡¼¥¿¤ò¥Õ¥¡¥¤¥ë¤ÎºÇ¸å¤Þ¤ÇÆɤ߹þ¤ß¤Þ¤¹¡£index ¤ò »ØÄꤷ¤Ê¤¤¾ì¹ç¤Ï¡¢¥Õ¥¡¥¤¥ë¤Î¥Ç¡¼¥¿Á´ÂΤòñ°ì¤Î¥Ç¡¼¥¿½¸¹ç¤È¤·¤ÆÉÁ²è¤·¤Þ ¤¹¡£

Îã:

     plot 'file' index 4:5

¥Õ¥¡¥¤¥ë¤Î³ÆÅÀ¤ËÂФ·¤Æ¡¢¤½¤ì¤¬´Þ¤Þ¤ì¤ë¥Ç¡¼¥¿½¸¹ç¤Î index Ãͤϡ¢µ¿»÷Îó column(-2) ¤ÇÍøÍѤǤ­¤Þ¤¹¡£¤³¤ì¤Ï¡¢°Ê²¼¤Ë¸«¤ë¤è¤¦¤Ë¡¢¤½¤Î¥Õ¥¡¥¤¥ëÆâ¤Î¸Ä¡¹¤Î¥Ç¡¼¥¿½¸¹ç¤ò¶èÊ̤¹¤ëÊ̤ÎÊýË¡¤òÄ󶡤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢ÉÁ²èÍÑ¤Ë 1 ¤Ä¤Î¥Ç¡¼¥¿½¸¹ç¤ÎÁªÂò¤·¤«¤·¤Ê¤¤¾ì¹ç¤Ï index ¥³¥Þ¥ó¥É¤è¤ê¤âÉԳ湥¤Ç¤¹ ¤¬¡¢¸Ä¡¹¤Î¥Ç¡¼¥¿½¸¹ç¤Ë°Û¤Ê¤ë°À­¤ò³ä¤êÅö¤Æ¤¿¤¤¾ì¹ç¤Ë¤Ï¤È¤Æ¤âÊØÍø¤Ç¤¹¡£ °Ê²¼»²¾È: pseudocolumns (72.3.8.2), lc variable (17.1.2)¡£

Îã:

     plot 'file' using 1:(column(-2)==4 ? $2 : NaN)        # ¤È¤Æ¤âÉԳ湥
     plot 'file' using 1:2:(column(-2)) linecolor variable # ¤È¤Æ¤âÊØÍø !

index '< name> ' ¤Ï¡¢¥Ç¡¼¥¿½¸¹ç¤ò̾Á° '< name> ' ¤ÇÁªÂò¤·¤Þ¤¹¡£Ì¾Á°¤Ï¥³ ¥á¥ó¥È¹Ô¤Ë½ñ¤¤¤Æ¥Ç¡¼¥¿½¸¹ç¤Ë³ä¤êÅö¤Æ¤Þ¤¹¡£¥³¥á¥ó¥Èʸ»ú¤È¤½¤ì¤Ë³¤¯¶õÇò ¤ò¤½¤Î¥³¥á¥ó¥È¹Ô¤«¤é¼è¤ê½ü¤¤¤Æ¡¢¤½¤Î·ë²Ì¤¬ < name> ¤«¤é»Ï¤Þ¤Ã¤Æ¤¤¤ì¤Ð¡¢ ¤½¤ì¤Ë³¤¯¥Ç¡¼¥¿½¸¹ç¤Ë < name> ¤È¤¤¤¦Ì¾Á°¤¬¤Ä¤±¤é¤ì¤Æ¡¢¤½¤ì¤ò»ØÄê¤Ç¤­¤Þ ¤¹¡£

Îã:

     plot 'file' index 'Population'

< name> ¤Ç»Ï¤Þ¤ë¤¹¤Ù¤Æ¤Î¥³¥á¥ó¥È¤¬¤½¤ì¤Ë³¤¯¥Ç¡¼¥¿½¸¹ç¤Î̾Á°¤Ë¤Ê¤ë¤³¤È ¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ÌäÂê¤òÈò¤±¤ë¤¿¤á¤Ë¡¢Î㤨¤Ð '== Popolation ==' ¤ä '[Population]' ¤Ê¤É¤Î̿̾ˡ¤òÁªÂò¤¹¤ë¤ÈÊØÍø¤Ç¤·¤ç¤¦¡£

72.3.4 Skip

¥­¡¼¥ï¡¼¥É skip ¤Ï¡¢¥×¥í¥°¥é¥à¤Ë¥Æ¥­¥¹¥È¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë (¥Ð¥¤¥Ê¥ê¥Ç¡¼ ¥¿¤ÏÉÔ²Ä) ¤ÎÀèƬ¤Î¿ô¹Ô¤ò¥¹¥­¥Ã¥×¤µ¤»¤Þ¤¹¡£¥¹¥­¥Ã¥×¤¹¤ë¹Ô¤Ï¡¢every ¥­ ¡¼¥ï¡¼¥É½èÍý¤Ç¤Î¹Ô¿ô¤Ë¤Ï¥«¥¦¥ó¥È¤·¤Þ¤»¤ó¡£every ::N ¤Ï¤½¤Î¥Õ¥¡¥¤¥ëÆ⠤Τ¹¤Ù¤Æ¤Î¥Ç¡¼¥¿¥Ö¥í¥Ã¥¯¤ÎÀèƬ¤ò¥¹¥­¥Ã¥×¤·¤Þ¤¹¤¬¡¢skip N ¤Ï¤½¤Î¥Õ¥¡ ¥¤¥ë¤ÎÀèƬÉôʬ¤Î¹Ô¤Î¤ß¤ò¥¹¥­¥Ã¥×¤¹¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£¥Ð¥¤¥Ê¥ê¥Ç ¡¼¥¿¥Õ¥¡¥¤¥ë¤ËŬÍѤµ¤ì¤ëƱÍͤΥª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È:binary skip (72.2.4)¡£

72.3.5 Smooth

gnuplot ¤Ï¡¢¥Ç¡¼¥¿¤ÎÊä´Ö¤È¶á»÷¤ò¹Ô¤¦ÈÆÍÑŪ¤Ê¥ë¡¼¥Á¥ó¤ò¤¤¤¯¤Ä¤«»ý¤Ã ¤Æ¤¤¤Þ¤¹¡£¤³¤ì smooth ¥ª¥×¥·¥ç¥ó¤ÎÃæ¤Ë¥°¥ë¡¼¥×²½¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤è¤ê ÀöÎý¤µ¤ì¤¿¥Ç¡¼¥¿½èÍý¤ò¤·¤¿¤±¤ì¤Ð¡¢³°Éô¤Ë¤ª¤¤¤Æ¥Ç¡¼¥¿¤ÎÁ°½èÍý¤ò¤¹¤ë¤«¡¢ ¤Þ¤¿¤ÏŬÀڤʥâ¥Ç¥ë¤Ç fit ¤ò»È¤¦¤Î¤¬¤¤¤¤¤Ç¤·¤ç¤¦¡£

½ñ¼°:

     smooth {unique | frequency | cumulative | cnormal | kdensity | unwrap
                    | csplines | acsplines | mcsplines | bezier | sbezier}

unique, frequency, cumulative, cnormal ¤Ï¡¢¥Ç¡¼¥¿¤òñĴ¤Ë·¤¨ ¤¿¸å¤Ç¤½¤ì¤é¤ò plot ¤·¤Þ¤¹¡£unwrap ¤Ï¡¢Ï¢Â³¤¹¤ëÅÀ¤Î y ¤ÎÃͤ¬¦Ð¤è¤êÂç ¤­¤Ê¥¸¥ã¥ó¥×¤ò¤·¤Ê¤¤¤è¤¦¤ÊÁàºî¤ò¤·¤Þ¤¹¡£Â¾¤Î¥ë¡¼¥Á¥ó¤Ï¤¤¤º¤ì¤â¡¢¥Ç¡¼¥¿ ¤Îξü¤ÎÅÀ¤Î´Ö¤ò·ë¤Ö¡¢¤¢¤ëϢ³¶ÊÀþ¤Î·¸¿ô¤ò·èÄꤹ¤ë¤¿¤á¤Ë¥Ç¡¼¥¿¤ò»È¤¤¤Þ ¤¹¡£¤³¤Î¶ÊÀþ¤Ï¡¢´Ø¿ô¤È¤·¤ÆƱ¤¸ÊýË¡¤ÇÉÁ²è¤µ¤ì¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢¤½¤ì¤é¤ÎÃÍ ¤Ï x ºÂɸ¤Ë±è¤¦Æ±¤¸Éý¤Î¶è´Ö¤´¤È¤ËÁª¤Ð¤ì (°Ê²¼»²¾È: set samples (82.64))¡¢¤½ ¤ì¤é¤ÎÅÀ¤òÀþʬ¤Ç¤Ä¤Ê¤°¤³¤È¤Ë¤è¤ê (¤â¤· line style ¤¬Áª¤Ð¤ì¤Æ¤¤¤ë¤Î¤Ê¤é ¤Ð) ÉÁ²è¤µ¤ì¤Þ¤¹¡£

¤â¤· autoscale ¤Î¾õÂ֤Ǥ¢¤ì¤Ð¡¢ÉÁ²èÈϰϤϥ°¥é¥Õ¤Î¶­³¦Àþ¤ÎÃæ¤Ë¶ÊÀþ¤¬ ¼ý¤Þ¤ë¤è¤¦¤Ë·×»»¤µ¤ì¤Þ¤¹¡£

¤â¤· autoscale ¤Î¾õÂ֤Ǥʤ¯¡¢smooth ¤Î¥ª¥×¥·¥ç¥ó¤¬ acsplines ¤« csplines ¤Ç¤¢¤ì¤Ð¡¢À¸À®¤¹¤ë¶ÊÀþ¤ÎɸËܲ½¤Ï¡¢ÆþÎϥǡ¼¥¿¤ò´Þ¤à¤è¤¦¤Ê x ¤ÎÈϰϤȡ¢set xrange ¤Ê¤É¤ÇÄêµÁ¤µ¤ì¤ë¸ÇÄꤵ¤ì¤¿²£ºÂɸ¤ÎÈϰϤζ¦ÄÌÉô ʬ¤Î¾å¤Ç¹Ô¤Ê¤ï¤ì¤Þ¤¹¡£

ÁªÂò¤µ¤ì¤¿¥ª¥×¥·¥ç¥ó¤òŬÍѤ¹¤ë¤Î¤Ë¥Ç¡¼¥¿¤ÎÅÀ¿ô¤¬¾¯¤Ê¤¹¤®¤ë¾ì¹ç¤Ï¡¢¥¨ ¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤½¤ÎºÇ¾®¤Î¥Ç¡¼¥¿¿ô¤Ï unique ¤È frequency ¤Ç¤Ï 1 ¤Ä¡¢acsplines ¤Ç¤Ï 4 ¤Ä¡¢Â¾¤Î¥ª¥×¥·¥ç¥ó¤Ç¤Ï 3 ¤Ä ¤Ç¤¹¡£

smooth ¥ª¥×¥·¥ç¥ó¤Ï¡¢´Ø¿ô¤ÎÉÁ²è¤Î¤È¤­¤Ë¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£

72.3.5.1 Acsplines

acsplines ¥ª¥×¥·¥ç¥ó¤Ï¡Ö¼«Á³¤Ê³ê¤é¤«¤Ê¥¹¥×¥é¥¤¥ó¡×¤Ç¥Ç¡¼¥¿¤ò¶á»÷¤·¤Þ ¤¹¡£¥Ç¡¼¥¿¤¬ x ¤Ë´Ø¤·¤ÆñĴ¤Ë¤µ¤ì¤¿¸å (°Ê²¼»²¾È: smooth unique (72.3.5.6))¡¢1 ¤Ä¤Î¶ÊÀþ¤¬¡¢¤¤¤¯¤Ä¤«¤Î 3 ¼¡Â¿¹à¼°¤Î°ìÉôʬ¤Ë¤è¤ê¶èʬŪ¤Ë¹½À®¤µ¤ì¤Þ¤¹¡£ ¤½¤ì¤é¤Î 3 ¼¡¼°¤Î·¸¿ô¤Ï¡¢¤¤¤¯¤Ä¤«¤Î¥Ç¡¼¥¿¥Ý¥¤¥ó¥È¤Î½Å¤ßÉÕ¤±¤Ë¤è¤Ã¤Æµá ¤á¤é¤ì¤Þ¤¹¡£½Å¤ß¤Ï¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î 3 ÎóÌܤËÍ¿¤¨¤Þ¤¹¡£¤½¤Î¥Ç¥Õ¥©¥ë¥È ¤ÎÃͤϡ¢using ¤Î 3 ÈÖÌܤιàÌܤˤè¤Ã¤ÆÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£Î㤨¤Ð ¼¡¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£
     plot 'data-file' using 1:2:(1.0) smooth acsplines

À­¼Á¾å¡¢½Å¤ß¤ÎÀäÂÐŪ¤ÊÂ礭¤µ¤Ï¡¢¶ÊÀþ¤ò¹½À®¤¹¤ë¤Î¤Ë»È¤ï¤ì¤ë¶èʬ¤Î¿ô¤ò·è Äꤷ¤Þ¤¹¡£¤â¤·½Å¤ß¤¬Â礭¤±¤ì¤Ð¡¢¸Ä¡¹¤Î¥Ç¡¼¥¿¤Î±Æ¶Á¤ÏÂ礭¤¯¤Ê¤ê¡¢¤½¤·¤Æ ¤½¤Î¶ÊÀþ¤Ï¡¢ÎÙ¤ê¹ç¤¦ÅÀƱ»Ö¤ò¼«Á³ 3 ¼¡¥¹¥×¥é¥¤¥ó¤Ç¤Ä¤Ê¤¤¤ÇÆÀ¤é¤ì¤ë¤â¤Î ¤Ë¶á¤Å¤­¤Þ¤¹¡£¤â¤·½Å¤ß¤¬¾®¤µ¤±¤ì¤Ð¡¢¤½¤Î¶ÊÀþ¤Ï¤è¤ê¾¯¤Ê¤¤¶èʬ¤Ç¹½À®¤µ¤ì¡¢ ¤½¤ì¤Ë¤è¤Ã¤Æ¤è¤êÊ¿³êŪ¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ÎºÇ¤â¶Ëü¤Ê¾ì¹ç¤Ï¤¿¤À 1 ¤Ä¤Î¶èʬ ¤«¤é¤Ê¤ë¾ì¹ç¤Ç¤¢¤ê¡¢¤½¤ì¤ÏÁ´¤Æ¤Î¥Ç¡¼¥¿¤Ë½Å¤ß¤ÎÉÕ¤­Àþ·ÁºÇ¾® 2 ¾è¶á»÷¤Ë ¤è¤Ã¤Æºî¤é¤ì¤Þ¤¹¡£¸íº¹¤ÎΩ¾ì¤«¤é¸À¤¨¤Ð¡¢Ê¿³ê¤µ¤Î½Å¤ß¤Ï¡¢¤½¤Î¶ÊÀþ¤ËÂФ¹ ¤ë¡ÖÊ¿³ê²½°ø»Ò¡×¤Ë¤è¤Ã¤Æʬ³ä¤µ¤ì¤¿³ÆÅÀ¤Ø¤Î¡¢Åý·×Ū¤Ê½Å¤ß¤È¸«¤ë¤³¤È¤¬¤Ç ¤­¤Þ¤¹¡£¤½¤ì¤Ë¤è¤ê¡¢¤½¤Î¥Õ¥¡¥¤¥ëÃæ¤Î (ɸ½àŪ¤Ê) ¸íº¹¤ÏÊ¿³ê¤µ¤Î½Å¤ß¤È¤· ¤Æ»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

Îã:

     sw(x,S)=1/(x*x*S)
     plot 'data_file' using 1:2:(sw($3,100)) smooth acsplines

72.3.5.2 Bezier

bezier ¥ª¥×¥·¥ç¥ó¤Ï¡¢n ¼¡ (¥Ç¡¼¥¿ÅÀ¤Î¸Ä¿ô) ¤Î¥Ù¥¸¥§¶ÊÀþ¤Ç¥Ç¡¼¥¿¤ò¶á »÷¤·¤Þ¤¹¡£¤³¤Î¶ÊÀþ¤Ïξü¤ÎÅÀ¤ò¤Ä¤Ê¤®¤Þ¤¹¡£

72.3.5.3 Csplines

csplines ¥ª¥×¥·¥ç¥ó¤Ï¥Ç¡¼¥¿¤òñĴ¤Ë·¤¨¤¿¸å¤Ç (°Ê²¼»²¾È:smooth unique (72.3.5.6)) ¼«Á³ 3 ¼¡¥¹¥×¥é¥¤¥ó¶ÊÀþ¤Ç°ú¤­Â³¤¯ÅÀ¤ò¤Ä¤Ê¤®¤Þ¤¹¡£

72.3.5.4 Mcsplines

mcsplines ¥ª¥×¥·¥ç¥ó¤Ï¡¢Ê¿³ê²½¤µ¤ì¤¿´Ø¿ô¤¬¸µ¤ÎÅÀ¤ÎñĴÀ­¤ÈÆÌÀ­¤òÊݸ ¤¹¤ë¤è¤¦¤Ê 3 ¼¡¥¹¥×¥é¥¤¥ó¶ÊÀþ¤Ç°ú¤­Â³¤¯ÅÀ¤ò¤Ä¤Ê¤®¤Þ¤¹¡£ FN Fritsch & RE Carlson (1980) "Monotone Piecewise Cubic Interpolation", SIAM Journal on Numerical Analysis 17: 238-246.

72.3.5.5 Sbezier

sbezier ¥ª¥×¥·¥ç¥ó¤Ï¡¢ºÇ½é¤Ë¥Ç¡¼¥¿¤òñĴ¤Ë·¤¨ (°Ê²¼»²¾È: unique (72.3.5.6)) ¤½¤·¤Æ bezier ¥¢¥ë¥´¥ê¥º¥à¤òŬÍѤ·¤Þ¤¹¡£

72.3.5.6 Unique

unique ¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Ç¡¼¥¿¤ò x Êý¸þ¤ËñĴ¤Ë¤·¤Þ¤¹¡£Æ±¤¸ x ¤ò»ý¤Ä¥Ç ¡¼¥¿ÅÀ¤Ï y ¤ÎÃͤòÊ¿¶Ñ¤·¤Æ°ì¤Ä¤ÎÅÀ¤ÇÃÖ¤­´¹¤¨¤Þ¤¹¡£¤½¤·¤Æ¤½¤Î·ë²Ì¤È¤·¤Æ ÆÀ¤é¤ì¤ëÅÀ¤òÀþʬ¤Ç·ë¤Ó¤Þ¤¹¡£

72.3.5.7 Unwrap

unwrap ¥ª¥×¥·¥ç¥ó¤Ï¡¢2 ¤Ä¤Î³¤¯ÅÀ¤¬¦Ð¤ò±Û¤¨¤ë°ã¤¤¤¬½Ð¤Ê¤¤¤è¤¦¤Ë¥Ç¡¼ ¥¿¤ò½¤Àµ¤·¤Þ¤¹: y ¤ÎÃͤ¬¤½¤ÎÈϰϤò±Û¤¨¤ë¤è¤¦¤ÊÅÀ¤ËÂФ·¤Æ¤Ï¡¢Á°¤ÎÅÀ¤È¤Î º¹¤¬¦Ð¤ÎÈϰϤ˼ý¤Þ¤ë¤è¤¦¤Ë 2¦Ð¤ÎÀ°¿ôÇܤò²Ã¤¨¤Þ¤¹¡£¤³¤ÎÁàºî¤Ï¡¢´¬¤­Ìᤷ ¤ò»ý¤Ä·Ï¤ÎÃͤò»þ´ÖŪ¤ËϢ³¤Ë¤µ¤»¤ë¤Î¤ËÍ­ÍѤǤ¹¡£

72.3.5.8 Frequency

¥ª¥×¥·¥ç¥ó frequency ¤Ï¡¢¥Ç¡¼¥¿¤ò x ¤Ë´Ø¤·¤ÆñĴ¤Ë¤·¤Þ¤¹¡£x ºÂɸ¤¬Æ± ¤¸ÅÀ¤Ï¡¢¤½¤ì¤é¤Î y ¤ÎÃͤιç·×¤ò y ¤ÎÃͤȤ·¤Æ»ý¤Ä°ì¤Ä¤ÎÅÀ¤ËÃÖ¤­´¹¤¨¤é¤ì ¤Þ¤¹¡£·ë²Ì¤È¤·¤Æ¤½¤ì¤é¤ÎÅÀ¤Ï¿¿¤Ã¤¹¤°¤ÊÀþʬ¤Ç·ë¤Ð¤ì¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ °Ê²¼¤â»²¾È¡£

smooth.dem

72.3.5.9 Cumulative

¥ª¥×¥·¥ç¥ó cumulative ¤Ï¡¢¥Ç¡¼¥¿¤ò x ¤Ë´Ø¤·¤ÆñĴ¤Ë¤·¤Þ¤¹¡£x ºÂɸ¤¬ Ʊ¤¸ÅÀ¤Ï¡¢¤½¤ì°Ê²¼¤Î x ¤ÎÃͤò»ý¤Ä¤¹¤Ù¤Æ¤ÎÅÀ (¤¹¤Ê¤ï¤Á¸½ºß¤Î¥Ç¡¼¥¿ÅÀ¤Îº¸Â¦¤ÎÅÀ) ¤ËÂФ¹¤ë y ¤ÎÃͤÎÎßÀÑŪ¤Ê¹ç·×¤ò y ¤ÎÃͤȤ·¤Æ»ý¤Ä°ì¤Ä¤ÎÅÀ¤ËÃÖ ¤­´¹¤¨¤é¤ì¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥Ç¡¼¥¿¤«¤éÎßÀÑʬÉÛ´Ø¿ô¤òÆÀ¤ë¤Î¤ËÍøÍѤǤ­¤Þ¤¹¡£ °Ê²¼¤â»²¾È¡£

smooth.dem

72.3.5.10 Cnormal

¥ª¥×¥·¥ç¥ó cnormal ¤Ï¡¢x ¤Ë´Ø¤·¤ÆñĴ¤Ç¡¢y ¤ÎÃÍ¤Ï [0:1] ¤ËÀµµ¬²½¤µ¤ì ¤¿¥Ç¡¼¥¿¤òÀ¸À®¤·¤Þ¤¹¡£Æ±¤¸ x ¤ÎÃͤò»ý¤ÄÅÀ¤¬Ê£¿ô¤¢¤ë¾ì¹ç¤Ï¡¢¤½¤ì¤è¤ê¾® ¤µ¤¤ x ¤ÎÃͤò»ý¤Ä¤¹¤Ù¤Æ¤Î¥Ç¡¼¥¿ÅÀ (¤¹¤Ê¤ï¤Á¸½ºß¤Î¥Ç¡¼¥¿ÅÀ¤è¤ê¤âº¸¤Ë¤¢ ¤ëÅÀ) ¤ÎÎßÀÑϤò¡¢¤¹¤Ù¤Æ¤Î y ¤ÎÃͤÎϤdzä¤Ã¤¿Ãͤò y ¤ÎÃͤȤ·¤Æ»ý¤Ä¤è¤¦ ¤Ê°ìÅÀ¤Î¥Ç¡¼¥¿¤ËÃÖ¤­ÊѤ¨¤é¤ì¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥Ç¡¼¥¿¤«¤éÀµµ¬²½¤µ¤ì¤¿ÎßÀÑʬ ÉÛ´Ø¿ô¤òÆÀ¤ë¤Î¤Ë»È¤¨¤Þ¤¹ (ÆäËɸËÜÅÀ¿ô¤Î°Û¤Ê¤ë¥Ç¡¼¥¿½¸¹ç¤òÈæ³Ó¤¹¤ë¤Î¤Ë Í­ÍѤǤ¹)¡£ °Ê²¼¤â»²¾È¡£

smooth.dem

72.3.5.11 Kdensity

¥ª¥×¥·¥ç¥ó kdensity ¤Ï¡¢¥¬¥¦¥¹³Ë¤òÍѤ¤¤¿¡¢¥é¥ó¥À¥àÁªÂòÅÀ¤Î³ËÌ©ÅÙɾ²Á (¤½¤ì¤Ï³ê¤é¤«¤Ê¥Ò¥¹¥È¥°¥é¥à¤Ë¤Ê¤ê¤Þ¤¹) ¤òÉÁ²è¤¹¤ëÊýË¡¤Î°ì¤Ä¤Ç¤¹¡£¥¬¥¦ ¥¹³Ë¤¬Âè 1 Îó¤Î³ÆÅÀ¤Î°ÌÃÖ¤ËÃÖ¤«¤ì¡¢¤³¤ì¤é¤Î¥¬¥¦¥¹³Ë¤¹¤Ù¤Æ¤ÎϤ¬´Ø¿ô¤È ¤·¤ÆÉÁ²è¤µ¤ì¤Þ¤¹¡£2 ÎóÌܤÎÃͤϡ¢¥¬¥¦¥¹³Ë¤Î½Å¤ß¤È¤·¤Æ»ÈÍѤµ¤ì¤Þ¤¹¡£(Àµ µ¬²½¤µ¤ì¤¿¥Ò¥¹¥È¥°¥é¥à¤òÆÀ¤ë¤Ë¤Ï¡¢¤³¤ì¤ò 1/(ÅÀ¤Î¸Ä¿ô) ¤È¤¹¤Ù¤­¤Ç¤¹¡£) 3 ÎóÌܤÎÃͤ¬¤¢¤ì¤Ð¡¢¤½¤ì¤Ï¥¬¥¦¥¹³Ë¤Î¥Ð¥ó¥ÉÉý¤È¤·¤Æ»ÈÍѤµ¤ì¤Þ¤¹¡£2 Îó¤· ¤«»ØÄꤷ¤Ê¤¤¡¢¤¢¤ë¤¤¤Ï 3 ÎóÌܤÎÃͤ¬ 0 °Ê²¼¤Ç¤¢¤ì¤Ð¡¢gnuplot ¤ÏÆþÎϥǡ¼¥¿¤¬Àµµ¬Ê¬ÉۤǤ¢¤ë¾ì¹ç¤ËºÇŬ¤È¤Ê¤ë¤è¤¦¤Ê¥Ð¥ó¥ÉÉý¤ò·×»»¤·¤Þ¤¹¡£(¤³¤ì¤Ï Ä̾ï¤Ï¤È¤Æ¤âÊݼéŪ¤Ç¡¢¤¹¤Ê¤ï¤ÁÉý¹­¤¤¥Ð¥ó¥ÉÉý¤Ç¤¹¡£)

72.3.6 ÆÃÊ̤ʥե¡¥¤¥ë̾ (special-filenames)

ÆÃÊ̤ʰÕÌ£¤ò»ý¤Ä¥Õ¥¡¥¤¥ë̾¤È¤·¤Æ¡¢¼¡¤Î¤â¤Î¤¬¤¢¤ê¤Þ¤¹: '', '-', '+', '++'

¶õ¤Î¥Õ¥¡¥¤¥ë̾ '' ¤Ï¡¢Æ±¤¸ plot ¥³¥Þ¥ó¥É¾å¤Ç¡¢Ä¾Á°¤ÎÆþÎÏ¥Õ¥¡¥¤¥ë¤òºÆ¤Ó »ÈÍѤ¹¤ë¤³¤È¤ò gnuplot ¤Ë»Ø¼¨¤·¤Þ¤¹¡£¤è¤Ã¤Æ¡¢Æ±¤¸ÆþÎÏ¥Õ¥¡¥¤¥ë¤Î 2 ¤Ä¤Î ¥Ç¡¼¥¿Îó¤òÉÁ²è¤¹¤ë¤Ë¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹:


     plot 'filename' using 1:2, '' using 1:3

'+' ¤È '++' ¤È¤¤¤¦ÆÃÊ̤ʥե¡¥¤¥ë̾¤Ï¡¢using »ØÄê¤ÎÁ´ÂΤÈÉÁ²è¥¹¥¿¥¤¥ë ¤Ë¥¤¥ó¥é¥¤¥ó´Ø¿ô¤ò»È¤¨¤ë¤è¤¦¤Ë¤¹¤ë¤¿¤á¤Î»ÅÁȤߤǤ¹¡£Ä̾´Ø¿ôÉÁ²è¤Ï¥µ ¥ó¥×¥ëÅÀËè¤Ëñ°ì¤Î y (¤Þ¤¿¤Ï z) ¤ÎÃͤ·¤«»ý¤Æ¤Þ¤»¤ó¡£¤·¤«¤·µ¿»÷¥Õ¥¡¥¤¥ë '+' ¤Ï¤½¤ì¤¬¤¢¤¿¤«¤â¼ÂºÝ¤ÎÆþÎÏ¥Õ¥¡¥¤¥ë¤Ç¤¢¤ë¤è¤¦¤Ë¡¢using »ØÄê¤Ë¤è¤ë 1 ÎóÌܤÎÃͤòɸËÜÅÀ¤È¤·¤Æ°·¤¤¡¢¤µ¤é¤ËÄɲäÎÎó¤ÎÃͤò»ØÄꤹ¤ë¤³¤È¤â²Äǽ¤Ç ¤¹¡£ÊÖ¤µ¤ì¤ëɸËÜÅÀ¤Î¿ô¤Ï¡¢set samples ¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¡£ Îã:


     plot '+' using ($1):(sin($1)):(sin($1)**2) with filledcurves

ƱÍͤˡ¢µ¿»÷¥Õ¥¡¥¤¥ë '++' ¤Ï¡¢x Êý¸þ¤Ï set samples ¤ÇÀ©¸æ¤µ¤ì¤ëÅÀ¤Î ¿ô¡¢y Êý¸þ¤Ï set isosamples ¤ÇÀ©¸æ¤µ¤ì¤ëÅÀ¤Î¿ô¤Î¡¢É¸½àŪ¤Ê [x,y] ºÂ ɸ¤Î³Ê»Ò¤òÀ¸À®¤¹¤ë 2 Îó¤Î¥Ç¡¼¥¿¤òÊÖ¤·¤Þ¤¹¡£ÇÞ²ðÊÑ¿ô¥â¡¼¥É¤Ç¤Ï¥µ¥ó¥×¥ë ÅÀ¤Ï x ¤È y ¤Ë´Ø¤·¤Æ¤Ç¤Ï¤Ê¤¯¡¢u ¤È v ¤Ë´Ø¤·¤Æ¼è¤é¤ì¤Þ¤¹¡£'++' ¤ÎÉÁ²è¤Î Á°¤Ë¡¢xrange ¤È yrange (¤Þ¤¿¤Ï urange ¤È vrange) ¤òÀßÄꤹ¤ëɬÍפ¬¤¢¤ê ¤Þ¤¹¡£Îã:


     splot '++' using 1:2:(sin($1)*sin($2)) with pm3d
     plot '++' using 1:2:(sin($1)*sin($2)) with image

'-' ¤È¤¤¤¦ÆÃÊ̤ʥե¡¥¤¥ë̾¤Ï¡¢¥Ç¡¼¥¿¤¬¥¤¥ó¥é¥¤¥ó¤Ç¤¢¤ë¤³¤È¤ò»Ø¼¨¤· ¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢¥Ç¡¼¥¿¤ò¥³¥Þ¥ó¥É¤Î¸å¤Ë³¤±¤Æ»ØÄꤷ¤Þ¤¹¡£¤³¤Î¤È¤­¤Ï¥Ç ¡¼¥¿¤Î¤ß¤¬¥³¥Þ¥ó¥É¤Ë³¤­ÆÀ¤Þ¤¹¡£¤è¤Ã¤Æ¡¢plot ¥³¥Þ¥ó¥É¤ËÂФ¹¤ë¥Õ¥£¥ë ¥¿¡¼¡¢¥¿¥¤¥È¥ë¡¢¥é¥¤¥ó¥¹¥¿¥¤¥ë¤È¤¤¤Ã¤¿¥ª¥×¥·¥ç¥ó¤Ï¡¢plot ¤Î¥³¥Þ¥ó¥É ¥é¥¤¥ó¤ÎÊý¤Ë½ñ¤«¤Ê¤¤¤È¤¤¤±¤Þ¤»¤ó¡£¤³¤ì¤Ï¡¢unix ¥·¥§¥ë¥¹¥¯¥ê¥×¥È¤Ë¤ª¤± ¤ë < < (¥Ò¥¢¥É¥­¥å¥á¥ó¥È)¡¢¤¢¤ë¤¤¤Ï VMS DCL ¤Ë¤ª¤±¤ë $DECK ¤ÈƱÍͤǤ¹¡£ ¤½¤Î¥Ç¡¼¥¿¤Ï¡¢¤½¤ì¤é¤¬¥Õ¥¡¥¤¥ë¤«¤éÆɤ߹þ¤Þ¤ì¤¿¤«¤Î¤è¤¦¤Ë¡¢1 ¹Ô¤Ë¤Ä¤­ 1 ¤Ä¤º¤Ä¤Î¥Ç¡¼¥¿ÅÀ¤¬ÆþÎϤµ¤ì¤Þ¤¹¡£¤½¤·¤Æ¥Ç¡¼¥¿¤Î½ª¤ê¤Ï¡¢1 ÎóÌܤλϤá¤Ë ʸ»ú "e" ¤òÃÖ¤¯¤³¤È¤Ç»Ø¼¨¤·¤Þ¤¹¡£using ¥ª¥×¥·¥ç¥ó¤ò¤³¤ì¤é¤Î¥Ç¡¼¥¿¤Ë ŬÍѤ¹¤ë¤³¤È¤Ï²Äǽ¤Ç¤¹¡£¤¢¤ë´Ø¿ô¤òÄ̤·¥Ç¡¼¥¿¤ò¥Õ¥£¥ë¥¿¡¼¤¹¤ë¤³¤È¤Ë»È¤¦ ¤Î¤Ï°ÕÌ£¤¬¤¢¤ë¤Ç¤·¤ç¤¦¤¬¡¢Îó¤òÁª¤Ö¤Î¤Ë»È¤¦¤³¤È¤Ï¿ʬ°ÕÌ£¤¬¤Ê¤¤¤Ç¤·¤ç¤¦¡£

'-' ¤Ï¡¢¥Ç¡¼¥¿¤È¥³¥Þ¥ó¥É¤ò°ì½ï¤Ë»ý¤Ä¤³¤È¤¬Í­ÍѤǤ¢¤ë¾ì¹ç¤Î¤¿¤á¤Ë¤¢ ¤ê¤Þ¤¹¡£Î㤨¤Ð¡¢gnuplot ¤¬¤¢¤ë¥Õ¥í¥ó¥È¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î¥µ¥Ö¥×¥í¥» ¥¹¤È¤·¤Æµ¯Æ°¤µ¤ì¤ë¾ì¹ç¤Ê¤É¤¬¤³¤ì¤Ë¤¢¤¿¤ê¤Þ¤¹¡£Îã¤È¤·¤Æ¡¢¥Ç¥â¥ó¥¹¥È¥ì ¡¼¥·¥ç¥ó¤Ç¤³¤Îµ¡Ç½¤ò»È¤¦¤â¤Î¤¬¤¢¤ë¤Ç¤·¤ç¤¦¡£index ¤ä every ¤Î¤è¤¦ ¤Ê plot ¤Î¥ª¥×¥·¥ç¥ó¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤ë¤È¡¢¤½¤ì¤é¤Ï¤¢¤Ê¤¿¤Ë»È¤ï¤ì¤ë¤³ ¤È¤Î¤Ê¤¤¥Ç¡¼¥¿¤òÆþÎϤ¹¤ë»ö¤ò¶¯Íפ·¤Þ¤¹¡£¼¡¤ÎÎã¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£


     plot '-' index 0, '-' index 1
     2
     4
     6


     10
     12
     14
     e
     2
     4
     6


     10
     12
     14
     e

¤³¤ì¤Ï¡¢¼ÂºÝ¤ËÆ°ºî¤·¤Þ¤¹¤¬¡¢


     plot '-' , '-'
     2
     4
     6
     e
     10
     12
     14
     e

¤È¥¿¥¤¥×¤¹¤ëÊý¤¬³Ú¤Ç¤·¤ç¤¦¡£

¤â¤·¡¢replot ¥³¥Þ¥ó¥É¤Ç '-' ¤ò»È¤¦¤Ê¤é¡¢¤¢¤Ê¤¿¤Ï 1 Åٰʾå¥Ç¡¼¥¿¤òÆþÎϤ¹¤ëɬÍפ¬¤¢¤ë¤Ç¤·¤ç¤¦¡£°Ê²¼»²¾È: replot (78), refresh (77)¡£

¶õ¤Î¥Õ¥¡¥¤¥ë̾ ('') ¤Ï¡¢Ä¾Á°¤Î¥Õ¥¡¥¤¥ë̾¤¬ºÆ¤Ó»È¤ï¤ì¤ë¤³¤È¤ò»Ø¼¨¤·¤Þ ¤¹¡£¤³¤ì¤Ï¡¢


     plot '¤¢¤ë/¤È¤Æ¤â/Ť¤/¥Õ¥¡¥¤¥ë̾' using 1:2, '' using 1:3, '' using 1:4

¤Î¤è¤¦¤Ê¤È¤­¤ËÊØÍø¤Ç¤¹¡£(¤â¤·Æ±¤¸ plot ¥³¥Þ¥ó¥É¾å¤Ç¡¢'-' ¤È '' ¤Î ξÊý¤ò»ÈÍѤ¹¤ë¤È¡¢¾å¤ÎÎã¤Ë¤¢¤ë¤è¤¦¤Ë¡¢¥¤¥ó¥é¥¤¥ó¥Ç¡¼¥¿¤Î 2 ¤Ä¤Î½¸¹ç¤ò Í¿¤¨¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£)

popen ´Ø¿ô¤ò»ý¤Ã¤Æ¤¤¤ë¥·¥¹¥Æ¥à¾å¤Ç¤Ï¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Ï¡¢'< ' ¤Ç»Ï¤Þ¤ë¥Õ ¥¡¥¤¥ë̾¤Ë¤è¤Ã¤Æ¡¢¥·¥§¥ë¥³¥Þ¥ó¥É¤«¤é¥Ñ¥¤¥×ÆþÎϤ¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£Î㤨 ¤Ð


     pop(x) = 103*exp(-x/10)
     plot "< awk '{print $1-1965, $2}' population.dat", pop(x)

¤Ï¡¢ºÇ½é¤Î¿Í¸ý¤ÎÎã¤ÈƱ¤¸¾ðÊó¤òÉÁ²è¤·¤Þ¤¹¡£¤¿¤À¤·¡¢x ºÂɸ¤Ï 1965 ǯ¤« ¤é¤Î·Ð²áǯ¤òɽ¤¹¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ÎÎã¤ò¼Â¹Ô¤¹¤ë¤È¤­¤Ï¡¢¾å¤Î¥Ç¡¼¥¿¥Õ ¥¡¥¤¥ë¤Î¥³¥á¥ó¥È¹Ô¤ò¤¹¤Ù¤Æºï½ü¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¤¬¡¢¤Þ¤¿¤Ï¾å¤Î¥³¥Þ ¥ó¥É¤ÎºÇ½é¤ÎÉôʬ¤ò¼¡¤Î¤è¤¦¤ËÊѤ¨¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹ (¥³¥ó¥Þ¤Ë³¤¯Éôʬ):


     plot "< awk '$0 !~ /^#/ {print $1-1965, $2}' population.dat"

¤³¤Î¥¢¥×¥í¡¼¥Á¤ÏºÇ¤â½ÀÆðÀ­¤¬¤¢¤ê¤Þ¤¹¤¬¡¢using ¤¢¤ë¤¤¤Ï thru ¥­¡¼ ¥ï¡¼¥É¤òÍѤ¤¤¿Ã±½ã¤Ê¥Õ¥£¥ë¥¿¥ê¥ó¥°¤Ç¹Ô¤¦¤³¤È¤â²Äǽ¤Ç¤¹¡£

fdopen() ´Ø¿ô¤ò»ý¤Ä¥·¥¹¥Æ¥à¤Ç¤Ï¡¢¥Ç¡¼¥¿¤ò¡¢¥Õ¥¡¥¤¥ë¤«¥Ñ¥¤¥×¤Ë·ë¤Ó¤Ä¤± ¤é¤ì¤¿Ç¤°Õ¤Î¥Õ¥¡¥¤¥ë¥Ç¥¹¥¯¥ê¥×¥¿¤«¤éÆɤ߹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£n ÈÖ¤Î¥Õ ¥¡¥¤¥ë¥Ç¥¹¥¯¥ê¥×¥¿¤«¤éÆɤ߹þ¤à¤Ë¤Ï¡¢'< &n' ¤È¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤ì¤Ë¤è¤ê¡¢ 1 ²ó¤Î POSIX shell ¤«¤é¤Î¸Æ¤Ó½Ð¤·¤ÎÃæ¤Ç¡¢Ê£¿ô¤Î¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤«¤é¤Î¥Ñ ¥¤¥×ÆþÎϤ¬Íưפ˹Ԥ¨¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹:


     $ gnuplot -p -e "plot '<&3', '<&4'" 3<data-3 4<data-4
     $ ./gnuplot 5< <(myprogram -with -options)
     gnuplot> plot '<&5'

72.3.7 Thru

thru ´Ø¿ô¤ÏÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤È¤Î¸ß´¹À­¤Î¤¿¤á¤ËÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

½ñ¼°:

     plot 'file' thru f(x)

¤³¤ì¤Ï¼¡¤ÈƱÍͤǤ¹:


     plot 'file' using 1:(f($2))

¸å¼Ô¤ÎÊý¤¬¤è¤êÊ£»¨¤Ë¸«¤¨¤Þ¤¹¤¬¡¢¤³¤ÎÊý¤¬½ÀÆðÀ­¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£¤µ¤é¤Ë ¼«Á³¤Ê


     plot 'file' thru f(y)

¤âÆ°ºî¤·¤Þ¤¹ (¤¹¤Ê¤ï¤Á¡¢y ¤ò¥À¥ß¡¼ÊÑ¿ô¤È¤·¤Æ»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹)¡£

thru ¤Ï splot ¤È fit ¤Ç¤âÄ̤ê¤Þ¤¹¤¬¡¢²¿¤Î¸ú²Ì¤â»ý¤Á¤Þ¤»¤ó¡£

72.3.8 Using

ºÇ¤â¤è¤¯»È¤ï¤ì¤ë¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î½¤¾þ»Ò¤Ï using ¤Ç¡¢¤³¤ì¤ÏÆþÎÏ¥Õ¥¡¥¤ ¥ë¤Î¤É¤Î¹Ô¤òÉÁ²è¤¹¤ë¤Î¤«¤ò»Ø¼¨¤·¤Þ¤¹¡£

½ñ¼°:

     plot 'file' using <entry> {:<entry> {:<entry> ...}} {'format'}

format ¤ò»ØÄꤹ¤ë¤È¡¢¤½¤ì¤ò C ¥é¥¤¥Ö¥é¥ê´Ø¿ô 'scanf' ¤ËŬÍѤ·¤Æ¥Ç¡¼¥¿ ¥Õ¥¡¥¤¥ë¤Î³Æ¹Ô¤òÆɤߤޤ¹¡£¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¢³Æ¹Ô¤Ï¥Û¥ï¥¤¥È¥¹¥Ú¡¼¥¹ (¥¹¥Ú ¡¼¥¹¤ä¥¿¥Ö) ¤Ç¶èÀÚ¤é¤ì¤¿¥Ç¡¼¥¿¤ÎÎó (¥Õ¥£¡¼¥ë¥É) ¤«¤é¤Ê¤ë¤È¤ß¤Ê¤·¤Þ¤¹¤¬ °Ê²¼¤â»²¾È: datafile separator (82.16.4)¡£

³Æ < entry> ¤Ï¡¢ÆþÎÏ¥Õ¥¡¥¤¥ë¤Î°ì¤Ä¤Î¥Õ¥£¡¼¥ë¥É¤òÁªÂò¤¹¤ë¤¿¤á¤Îñ¤Ê¤ëÎó ¤ÎÈֹ椫¡¢°ì¤Ä¤Î¥Ç¡¼¥¿½¸¹ç¤ÎºÇ½é¤Î¹Ô¤ÎÎó¤Î¥é¥Ù¥ë¤Ë°ìÃפ¹¤ëʸ»úÎó¡¢¥«¥Ã ¥³¤Ç°Ï¤Þ¤ì¤¿¿ô¼°¡¢xticlabels(2) ¤Î¤è¤¦¤Ë¥«¥Ã¥³¤Ç°Ï¤Þ¤Ê¤¤ÆÃÊ̤ʴؿô¡¢¤Î ¤¤¤º¤ì¤«¤Ç¤¹¡£

¤½¤Î¥¨¥ó¥È¥ê¤¬¥«¥Ã¥³¤Ç°Ï¤Þ¤ì¤¿¿ô¼°¤Î¾ì¹ç¡¢N ÎóÌܤÎÃͤò»ØÄꤹ¤ë¤Î¤Ë´Ø¿ô column(N) ¤ò»ÈÍѤǤ­¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢column(1) ¤ÏÆɤ߹þ¤Þ¤ì¤¿ºÇ½é¤Î¹àÌܤò »²¾È¤·¡¢column(2) ¤Ï¼¡¤Î¹àÌÜ¡¢¤È¤¤¤Ã¤¿¶ñ¹ç¤Ç¤¹¡£column(1), column(2), ... ¤Îάµ­¤È¤·¤Æ¡¢ÆÃÊ̤ʵ­¹æ $1, $2, ... ¤ò»ÈÍѤǤ­¤Þ¤¹¡£´Ø¿ô valid(N) ¤Ç¡¢N ÈÖÌܤÎÎó¤¬Í­¸ú¤Ê¿ô»ú¤Ç¤¢¤ë¤«¤É¤¦¤«¥Æ¥¹¥È¤Ç¤­¤Þ¤¹¡£ ÆþÎÏ¥Õ¥¡¥¤¥ë¤ÎºÇ½é¤Î¹Ô¤Î³ÆÎó¤Ë¡¢¥Ç¡¼¥¿¤ÎÃͤǤϤʤ¯¥é¥Ù¥ë¤ò»ý¤Ã¤Æ¤¤¤ë¾ì ¹ç¡¢¤³¤Î¥é¥Ù¥ë¤òÆþÎÏÎó¤ÎÆÃÄê¤ä plot ¥¿¥¤¥È¥ë¤Ë»ÈÍѤǤ­¤Þ¤¹¡£´Ø¿ô column() ¤Ï¡¢ÎóÈÖ¹æ°Ê³°¤Ë¥é¥Ù¥ë¤ÇÆþÎÏÎó¤òÁªÂò¤Ç¤­¤Þ¤¹¡£Î㤨¤Ð¡¢¥Ç¡¼¥¿ ¥Õ¥¡¥¤¥ë¤¬°Ê²¼¤Î¤è¤¦¤Ê¾ì¹ç:

     Height    Weight    Age
     val1      val1      val1
     ...       ...       ...

°Ê²¼¤Î plot ¥³¥Þ¥ó¥É¤ÏƱ¤¸°ÕÌ£¤Ë¤Ê¤ê¤Þ¤¹:
     plot 'datafile' using 3:1, '' using 3:2
     plot 'datafile' using (column("Age")):(column(1)), \
                  '' using (column("Age")):(column(2))
     plot 'datafile' using "Age":"Height", '' using "Age":"Weight"

»ØÄêʸ»úÎ󤬴°Á´¤Ë°ìÃפ¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤·¡¢Âçʸ»ú¾®Ê¸»ú¤â¶èÊ̤·¤Þ¤¹¡£ Îó¤Î¥é¥Ù¥ë¤ò plot ¥¿¥¤¥È¥ë¤Ë»È¤¦¤Ë¤Ï¡¢set key autotitle columnhead ¤È¤·¤Æ¤¯¤À¤µ¤¤¡£

ÆþÎϥǡ¼¥¿¥Õ¥¡¥¤¥ë¤Î 1...N ¤È¤¤¤¦¼ÂºÝ¤ÎÎó¤Ë²Ã¤¨¤Æ¡¢gnuplot ¤Ï´ÉÍý¾ðÊó ¤ò»ý¤Ä¤¤¤¯¤Ä¤«¤Î "µ¿»÷Îó" ¤òÄ󶡤·¤Þ¤¹¡£Î㤨¤Ð¡¢$0 ¤Þ¤¿¤Ï column(0) ¤Ï¡¢ ¥Ç¡¼¥¿½¸¹çÆâ¤Î¤½¤Î¥Ç¡¼¥¿¹Ô¤Î¹ÔÈÖ¹æ¤òÊÖ¤·¤Þ¤¹¡£°Ê²¼»²¾È:pseudocolumns (72.3.8.2)¡£

< entry> ¤Ë²¿¤â½ñ¤«¤Ê¤±¤ì¤Ð¡¢¤½¤Î¥¨¥ó¥È¥ê¤Î¥ê¥¹¥È¤Î½ç¤Ë¥Ç¥Õ¥©¥ë¥È¤ÎÃͤ¬ »È¤ï¤ì¤Þ¤¹¡£Î㤨¤Ð using ::4 ¤Ï¡¢using 1:2:4 ¤È²ò¼á¤µ¤ì¤Þ¤¹¡£

using ¤Ë¤¿¤À°ì¤Ä¤Î¥¨¥ó¥È¥ê¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢¤½¤Î < entry> ¤Ï y ¤ÎÃÍ¤È ¤·¤Æ»È¤ï¤ì¡¢¥Ç¡¼¥¿ÅÀ¤ÎÈÖ¹æ (µ¿»÷Îó $0) ¤¬ x ¤È¤·¤Æ»È¤ï¤ì¤Þ¤¹¡£Î㤨¤Ð "plot 'file' using 1" ¤Ï "plot 'file' using 0:1" ¤ÈƱ¤¸°ÕÌ£¤Ç¤¹¡£ using ¤Ë 2 ¤Ä¤Î¥¨¥ó¥È¥ê¤òÍ¿¤¨¤¿¾ì¹ç¡¢¤½¤ì¤é¤Ï x, y ¤È¤·¤Æ»È¤ï¤ì¤Þ¤¹¡£ ¤µ¤é¤Ë¥¨¥ó¥È¥ê¤òÄɲ䷤ơ¢ÆþÎϤ«¤é¤Î¥Ç¡¼¥¿¤òÍøÍѤ¹¤ë¤è¤¦¤ÊÉÁ²è¥¹¥¿¥¤¥ë ¤Î¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: set style (82.66), fit (64)¡£

'scanf' ´Ø¿ô¤Ç¤Ï¿§¡¹¤Ê¥Ç¡¼¥¿·Á¼°¤Î¿ôÃÍÆþÎϤ¬»È¤¨¤Þ¤¹¤¬¡¢gnuplot ¤ÏÁ´ ¤Æ¤ÎÆþÎϥǡ¼¥¿¤òÇÜÀºÅÙÉâÆ°¾®¿ô¤È¤ß¤Ê¤·¤Þ¤¹¤«¤é¡¢gnuplot ¤Ç¤Ï %lf ¤¬ËܼÁŪ¤ËÍ£°ì¤Î¿ôÃÍÆþÎÏ»ØÄê¡¢¤È¤¤¤¦¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ ½ñ¼°Ê¸»úÎó¤Ë¤Ï¡¢¾¯¤Ê¤¯¤È¤â°ì¤Ä¡¢¤½¤·¤Æ 7 ¤Ä°Ê²¼¤Î¡¢¤½¤Î¤è¤¦¤ÊÆþÎÏ»ØÄê»Ò¤òÆþ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ 'scanf' ¤Ï¿ô¤È¿ô¤Î´Ö¤Ë¥Û¥ï¥¤¥È¥¹¥Ú¡¼¥¹¡¢¤¹¤Ê¤ï¤Á¶õÇò¡¢¥¿¥Ö (" \ t")¡¢²þ¹Ô (" \ n")¡¢¤Þ¤¿¤Ï²þ¥Ú¡¼¥¸ (" \ f") ¤¬¤¢¤ë¤È´üÂÔ¤·¤Þ¤¹¡£¤½¤ì°Ê³°¤ÎÆþÎϤÏÌÀ¼¨Åª¤Ë¥¹¥­¥Ã¥×¤µ¤ì¤ë¤Ù¤­¤Ç¤¹¡£

" \ t", " \ n", " \ f" ¤ò»È¤¦¤È¤­¤Ï¥·¥ó¥°¥ë¥¯¥©¡¼¥È¤è¤ê¤à¤·¤í¥À¥Ö¥ë¥¯¥©¡¼¥È¤ò »È¤¦¤Ù¤­¤Ç¤¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

72.3.8.1 Using ¤ÎÎã (using_examples)

¼¡¤ÎÎã¤Ï¡¢1 ÈÖÌܤΥǡ¼¥¿¤ËÂФ¹¤ë 2 ÈÖÌÜ¤È 3 ÈÖÌܤÎϤÎÃͤò plot ¤·¤Þ¤¹¡£ ½ñ¼°Ê¸»úÎó¤Ï¡¢³ÆÎó¥Ç¡¼¥¿¤¬¥¹¥Ú¡¼¥¹¶èÀÚ¤ê¤Ç¤Ê¤¯¡¢¥«¥ó¥Þ¶èÀÚ¤ê¤Ç¤¢¤ë¤³¤È¤ò»Ø¼¨¤·¤Æ¤¤¤Þ¤¹¤¬¡¢Æ±¤¸¤³¤È¤¬ set datafile separator "," ¤ò»ØÄꤹ¤ë¤³¤È¤Ç¤â²Äǽ¤Ç¤¹¡£
     plot 'file' using 1:($2+$3) '%lf,%lf,%lf'

¼¡¤ÎÎã¤Ï¡¢¤è¤êÊ£»¨¤Ê½ñ¼°»ØÄê¤Ç¥Ç¡¼¥¿¤ò¥Õ¥¡¥¤¥ë "MyData" ¤«¤éÆɤ߹þ¤ß ¤Þ¤¹¡£

     plot 'MyData' using "%*lf%lf%*20[^\n]%lf"

¤³¤Î½ñ¼°»ØÄê¤Î°ÕÌ£¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹:


     %*lf        ¿ôÃͤò̵»ë
     %lf         ÇÜÀºÅÙÉâÆ°¾®¿ô¤òÆɤ߹þ¤à (¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï x ¤ÎÃÍ)
     %*20[^\n]   20 ¸Ä¤Î²þ¹Ô°Ê³°¤Îʸ»ú¤ò̵»ë
     %lf         ÇÜÀºÅÙÉâÆ°¾®¿ô¤òÆɤ߹þ¤à (¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï y ¤ÎÃÍ)

3 ¹à±é»»»Ò ?: ¤ò»È¤Ã¤Æ¥Ç¡¼¥¿¤ò¥Õ¥£¥ë¥¿¤¹¤ë°ì¤Ä¤Î·ÝÅö¤ò¾Ò²ð¤·¤Þ¤¹¡£


     plot 'file' using 1:($3>10 ? $2 : 1/0)

¤³¤ì¤Ï¡¢1 ÎóÌܤΥǡ¼¥¿¤ËÂФ·¤Æ¡¢3 ÎóÌܤΥǡ¼¥¿¤¬ 10 °Ê¾å¤Ç¤¢¤ë¤è¤¦¤Ê2 ÎóÌܤΥǡ¼¥¿¤ò plot ¤·¤Þ¤¹¡£1/0 ¤Ï̤ÄêµÁÃͤǤ¢¤ê¡¢gnuplot ¤Ï̤Äê µÁ¤ÎÅÀ¤ò̵»ë¤¹¤ë¤Î¤Ç¡¢¤è¤Ã¤ÆŬÀڤǤʤ¤ÅÀ¤Ï±£¤µ¤ì¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤Þ¤¿¤Ï¡¢¤¢¤é¤«¤¸¤áÄêµÁ¤µ¤ì¤Æ¤¤¤ëÃÍ NaN ¤ò»È¤Ã¤Æ¤âƱ¤¸¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

¥«¥Ã¥³¤Ç»Ï¤Þ¤Ã¤Æ¤¤¤Ê¤¤¸Â¤ê¤ÏÄê¿ô¼°¤òÎóÈÖ¹æ¤È¤·¤Æ»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ Î㤨¤Ð using 0+(Ê£»¨¤Ê¼°) ¤ÎÍͤʤ³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤½¤·¤Æ¡¢¤½¤Î¿ô¼°¤Ï¡¢ ¥«¥Ã¥³¤Ç¥¹¥¿¡¼¥È¤·¤Æ¤¤¤Ê¤±¤ì¤Ð¿ô¼°¤ÎÃͤ¬°ìÅÙɾ²Á¤µ¤ì¡¢¥«¥Ã¥³¤Ç¥¹¥¿¡¼¥È ¤·¤Æ¤¤¤ì¤Ð¸Ä¡¹¤Î¥Ç¡¼¥¿ÅÀ¤òÆɤ߹þ¤à¤¿¤á¤Ë¤½¤ÎÃͤ¬°ìÅÙɾ²Á¤µ¤ì¤ë¡¢¤È¤¤¤¦ ÅÀ¤¬½ÅÍפǤ¹¡£

»þ·ÏÎó¥Õ¥©¡¼¥Þ¥Ã¥È¥Ç¡¼¥¿¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤Î»þ´Ö¤Î¥Ç¡¼¥¿¤ÏÊ£¿ô¤ÎÎó¤Ë ÅϤ餻¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤½¤Î¾ì¹ç¡¢Â¾¤Î¥Ç¡¼¥¿¤Î³«»Ï°ÌÃÖ¤ò·×»»¤¹¤ë¤È¤­¡¢ »þ´Ö¤Î¥Ç¡¼¥¿¤Ë¶õÇò¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£Î㤨¤Ð¡¢¥Ç¡¼¥¿ ¹Ô¤ÎºÇ½é¤ÎÍ×ÁǤ¬¥¹¥Ú¡¼¥¹¤¬Ëä¤á¹þ¤Þ¤ì¤¿»þ´Ö¥Ç¡¼¥¿¤Ç¤¢¤ë¤Ê¤é¤Ð¡¢y ¤ÎÃÍ¤Ï 3 ÎóÌܤÎÃͤȤ·¤Æ»ØÄꤵ¤ì¤ë¤Ù¤­¤Ç¤¹¡£

plot 'file' ¤È plot 'file' using 1:2¡¢¤½¤·¤Æ plot 'file' using ($1):($2) ¤Ë¤ÏÈù̯¤Ê°ã¤¤¤¬¤¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ ¤¤¡£1) file ¤¬ 1 Îó¤È 2 Îó¤Î¥Ç¡¼¥¿¤ò»ý¤Ä¹Ô¤ò¤½¤ì¤¾¤ì´Þ¤ó¤Ç¤¤¤ë¤È¤¹¤ë ¤È¡¢¥Ç¡¼¥¿¤¬ 1 Îó¤Î¤ß¤Î¹Ô¤ËÂФ·¤Æ¤Ï¡¢ºÇ½é¤Î¤â¤Î¤Ï x ¤ÎÃͤòºî¤ê½Ð¤·¡¢2 ÈÖÌܤΤâ¤Î¤Ï¤½¤Î¹Ô¤Ï̵»ë¤·¡¢3 ÈÖÌܤΤâ¤Î¤Ï¤½¤ì¤ò̤ÄêµÁ¤ÎÃͤȤ·¤ÆÊݸ¤· ¤Þ¤¹ (ÀÞ¤ìÀþ¤Ç plot ¤·¤Æ¤¤¤ë¾ì¹ç (plot with lines)¡¢¤½¤Î̤ÄêµÁ¤ÎÅÀ¤òÄÌ ²á¤¹¤ëÀþ¤ò·ë¤Ð¤Ê¤¤¤è¤¦¤Ë)¡£2) 1 ÎóÌܤËʸ»úÎó¤ò´Þ¤ó¤Ç¤¤¤ë¤è¤¦¤Ê¹Ô¤¬¤¢¤ë ¾ì¹ç¡¢ºÇ½é¤Î¤â¤Î¤Ï¥¨¥é¡¼¤È¤·¤Æ plot ¤òÃæ»ß¤·¤Þ¤¹¤¬¡¢2 ÈÖÌÜ¤È 3 ÈÖÌܤΠ¤â¤Î¤Ï¤½¤ÎÉÔÍפʹԤòÆɤߤȤФ·¤Þ¤¹¡£

¼ÂºÝ¡¢ºÇ½é¤Ëñ¤Ë


     plot 'file' using 1:2

¤È»ØÄꤹ¤ë¤³¤È¤Ç¡¢ÂçÄñ¤Î¾ì¹ç¤É¤ó¤Ê¤Ë¥´¥ß¤Î¥Ç¡¼¥¿¤ò´Þ¤à¹Ô¤ò»ý¤Ä¥Õ¥¡¥¤¥ë ¤ò¤â plot ¤¹¤ë¤³¤È¤¬²Äǽ¤Ë¤Ê¤ê¤Þ¤¹¡£¤·¤«¤·¡¢¤É¤¦¤·¤Æ¤â¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Ë ʸ»úÎó¤ò»Ä¤·¤Æ¤ª¤­¤¿¤¤¤Ê¤é¤Ð¡¢¤½¤Î¥Æ¥­¥¹¥È¹Ô¤ÎÂè°ìÎó¤Ë¥³¥á¥ó¥Èʸ»ú (#) ¤òÃÖ¤¯Êý¤¬¤è¤ê°ÂÁ´¤Ç¤·¤ç¤¦¡£

72.3.8.2 µ¿»÷Îó (pseudocolumns)

plot ʸ¤Î using ¹àÌÜÆâ¤Î¼°¤Ç¤Ï¡¢ÆþÎÏ¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤ë¼ÂºÝ¤Î¥Ç¡¼¥¿ÃÍ ¤Ë²Ã¤¨¤Æ´ÉÍý¾ðÊó¤â»²¾È¤Ç¤­¡¢¤³¤ì¤é¤Ï "µ¿»÷Îó" (pseudocolumns) ¤Ë´Þ¤Þ¤ì ¤Æ¤¤¤Þ¤¹¡£
     column(0)   ¥Ç¡¼¥¿½¸¹çÆâ¤Ç¤Î³ÆÅÀ¤Î½çÈÖ¡£½çÈÖ¤Ï 0 ¤«¤é»Ï¤Þ¤ê¡¢2
                 ¹Ô¤Î¥Ö¥é¥ó¥¯¹Ô¤Ç¥ê¥»¥Ã¥È¤µ¤ì¤Þ¤¹¡£Î¬µ­ $0 ¤â»ÈÍѲġ£
     column(-1)  ¤³¤ÎÈÖ¹æ¤Ï 0 ¤«¤é»Ï¤Þ¤ê¡¢1 ¹Ô¤Î¥Ö¥é¥ó¥¯¹Ô¤Ç¥ê¥»¥Ã¥È
                 ¤µ¤ì¤Þ¤¹¡£¤³¤ì¤Ï¡¢¹ÔÎ󡢤ޤ¿¤Ï³Ê»Ò¾õ¥Ç¡¼¥¿Æâ¤Î¥Ç¡¼¥¿
                 ¹Ô¤ËÂбþ¤·¤Þ¤¹¡£
     column(-2)  Ê£¿ô¤Î¥Ç¡¼¥¿½¸¹ç¤ò»ý¤Ä¥Õ¥¡¥¤¥ëÆâ¤Î¡¢¸½ºß¤Î¥Ç¡¼¥¿½¸¹ç
                 ¤Î index Èֹ档°Ê²¼»²¾È: `index`¡£

72.3.8.3 Xticlabels

¼´¤Î¹ï¤ß¤Î¸«½Ð¤· (ticlabel) ¤Ïʸ»úÎó´Ø¿ô¤Ë¤è¤Ã¤Æºî¤ë¤³¤È¤â¤Ç¤­¡¢¤½¤ì¤Ï Ä̾ï¤Ï°ú¿ô¤È¤·¤Æ¥Ç¡¼¥¿Î󤫤é¼èÆÀ¤·¤Þ¤¹¡£ºÇ¤âñ½ã¤Ê·Á¼°¤Ï¡¢¥Ç¡¼¥¿Îó¼«¿È ¤Îʸ»úÎó¤È¤·¤Æ¤ÎÍøÍѤǡ¢xticlabels(N) ¤Ï xticlabels(stringcolumn(N)) ¤Î¾Êά·Á¤È¤·¤Æ»È¤¨¤Þ¤¹¡£°Ê²¼¤ÎÎã¤Ï 3 ÎóÌܤÎÍ×ÁǤò x ¼´¤Î¹ï¤ß¤Î¸«½Ð¤·¤È¤·¤Æ»ÈÍѤ·¤Þ¤¹¡£


     plot 'datafile' using <xcol>:<ycol>:xticlabels(3) with <plotstyle>

¼´¤ÎÌÜÀ¹¤ê¤Î¸«½Ð¤·¤Ï¡¢Ç¤°Õ¤ÎÉÁ²è¼´ x,x2,y,y2,z ÍѤËÀ¸À®¤Ç¤­¤Þ¤¹¡£ ticlabels(< labelcol> ) »ØÄê¤Ï¡¢using »ØÄê¤ÎÃæ¤Ç¡¢¤½¤Î¥Ç¡¼¥¿¤ÎºÂɸ»Ø Ä꤬Á´¤ÆºÑ¤ó¤À¸å¤Ë¹Ô¤¦É¬Íפ¬¤¢¤ê¤Þ¤¹¡£Í­¸ú¤Ê X,Y[,Z] ºÂɸ¤ÎÁȤò»ý¤Ä³Æ ¥Ç¡¼¥¿ÅÀ¤ËÂФ·¤Æ¡¢xticlabels() ¤ËÍ¿¤¨¤ëʸ»úÎóÃͤϡ¢¤½¤ì¤ËÂбþ¤¹¤ëÅÀ¤Î x ºÂɸ¤ÈƱ¤¸¾ì½ê¤Î x ¼´¤Î¸«½Ð¤·¤Î¥ê¥¹¥È¤ËÄɲ䵤ì¤Þ¤¹¡£xticlabels() ¤Ï xtic() ¤È¾Êά¤¹¤ë¤³¤È¤â¤Ç¤­¡¢Â¾¤Î¼´¤Ë´Ø¤·¤Æ¤âƱÍͤǤ¹¡£

Îã:


     splot "data" using 2:4:6:xtic(1):ytic(3):ztic(6)

¤³¤ÎÎã¤Ç¤Ï¡¢x ¼´¡¢y ¼´¤Î¸«½Ð¤·¤Ï x,y ºÂɸÃͤȤÏÊ̤ÎÎ󤫤é¼è¤ê½Ð¤µ¤ì¤Þ ¤¹¤¬¡¢z ¼´¤Î¸«½Ð¤·¤Ï¡¢Âбþ¤¹¤ëÅÀ¤Î z ºÂɸÃͤ«¤éÀ¸À®¤µ¤ì¤Þ¤¹¡£

Îã:


     plot "data" using 1:2:xtic( $3 > 10. ? "A" : "B" )

¤³¤ÎÎã¤Ï¡¢x ¼´¤Î¸«½Ð¤·¤ÎÀ¸À®¤Ëʸ»úÎóÃÍ´Ø¿ô¤ò»ÈÍѤ·¤¿¤â¤Î¤Ç¡¢¥Ç¡¼¥¿¥Õ¥¡ ¥¤¥ë¤Î³ÆÅÀ¤Î x ¼´¤Î¹ï¤ß¤Î¸«½Ð¤·¤Ï¡¢3 ÎóÌܤÎÃͤˤè¤Ã¤Æ "A" ¤« "B" ¤«¤Î ¤¤¤º¤ì¤«¤È¤Ê¤ê¤Þ¤¹¡£

72.3.8.4 X2ticlabels

°Ê²¼»²¾È: plot using xticlabels (72.3.8.3)¡£

72.3.8.5 Yticlabels

°Ê²¼»²¾È: plot using xticlabels (72.3.8.3)¡£

72.3.8.6 Y2ticlabels

°Ê²¼»²¾È: plot using xticlabels (72.3.8.3)¡£

72.3.8.7 Zticlabels

°Ê²¼»²¾È: plot using xticlabels (72.3.8.3)¡£

72.3.9 Volatile

plot ¥³¥Þ¥ó¥É¤Î¥­¡¼¥ï¡¼¥É volatile ¤Ï¡¢ÆþÎÏ¥¹¥È¥ê¡¼¥à¤«¥Õ¥¡¥¤¥ë¤«¤é °ÊÁ°¤ËÆɤ߹þ¤ó¤À¥Ç¡¼¥¿¤¬¡¢ºÆÆɤ߹þ¤ß»þ¤Ë¤ÏÍ­¸ú¤Ç¤Ï¤Ê¤¤¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢replot ¥³¥Þ¥ó¥É¤ÎÂå¤ï¤ê¤Ë¡¢²Äǽ¤Ê¸Â¤ê refresh ¥³¥Þ¥ó¥É ¤ò»È¤¦¤è¤¦ gnuplot ¤Ë»Ø¼¨¤·¤Þ¤¹¡£°Ê²¼»²¾È: refresh (77)¡£

72.4 Errorbars

¥¨¥é¡¼¥Ð¡¼¤Ï¡¢1 ¤«¤é 4 ¸Ä¤ÎÄɲ䵤줿¥Ç¡¼¥¿¤òÆɤà (¤Þ¤¿¤Ï¥¨¥ó¥È¥ê¤ò using ¤ÇÄɲÃÁªÂò¤¹¤ë) ¤³¤È¤Ë¤è¤ê¡¢2 ¼¡¸µ¥Ç¡¼¥¿¤ÎÉÁ²è¤Ë¤ª¤¤¤Æ¼Â¸½¤µ¤ì ¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤éÄɲ䵤ì¤ëÃͤϡ¢¤½¤ì¤¾¤ì¤Î¥¨¥é¡¼¥Ð¡¼¥¹¥¿¥¤¥ë¤Ç°Û¤Ê¤Ã¤¿ ·Á¤Ç»È¤ï¤ì¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢gnuplot ¤Ï¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î³Æ¹Ô¤Ë°Ê²¼¤Î¤è¤¦¤Ê 3 ¤Ä¡¢4 ¤Ä¡¢¤¢¤ë¤¤¤Ï 6 ¤Ä¤ÎÎ󤬤¢¤ë¤³¤È¤ò´üÂÔ¤·¤Æ¤¤¤Þ¤¹:


     (x, y, ydelta),
     (x, y, ylow, yhigh),
     (x, y, xdelta),
     (x, y, xlow, xhigh),
     (x, y, xdelta, ydelta),
     (x, y, xlow, xhigh, ylow, yhigh)

x ºÂɸ¤Ïɬ¤º»ØÄꤷ¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£³Æ¿ôÃͤò½ñ¤¯½ç½ø¤â¾å¤Çµó¤²¤¿Ä̤ê¤Ç ¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£¤¿¤À¡¢using ½¤¾þ»Ò¤ò»È¤¨¤Ð¤½¤Î½ç½ø¤òÁàºî¤Ç¤­¤Þ¤¹¤·¡¢ ·ç¤±¤Æ¤¤¤ëÎó¤ÎÃͤâÊ䤦¤³¤È¤Ï²Äǽ¤Ç¤¹¤¬¡£Î㤨¤Ð¡¢


     plot 'file' with errorbars
     plot 'file' using 1:2:(sqrt($1)) with xerrorbars
     plot 'file' using 1:2:($1-$3):($1+$3):4:5 with xyerrorbars

ºÇ¸å¤ÎÎã¤Ï¡¢ÁêÂÐŪ¤Ê x ¤Î¸íº¹¤ÈÀäÂÐŪ¤Ê y ¤Î¸íº¹¡¢¤È¤¤¤¦¡¢¥µ¥Ý¡¼¥È¤µ¤ì¤Æ ¤¤¤Ê¤¤ÁȤΥե¡¥¤¥ë¤ËÂФ¹¤ë¤â¤Î¤Ç¤¹¡£using ¥¨¥ó¥È¥ê¤¬ÁêÂÐŪ¤Ê x ¤Î¸íº¹ ¤«¤éÀäÂÐŪ¤Ê x ¤ÎºÇ¾®ÃͤȺÇÂçÃͤòÀ¸À®¤·¤Æ¤¤¤Þ¤¹¡£

y ¤Î¥¨¥é¡¼¥Ð¡¼¤Ï¡¢(x, ylow) ¤«¤é (x, yhigh) ¤Ø¤Î±ôľ¤ÊÀþ¤È¤·¤ÆÉÁ¤«¤ì¤Þ¤¹¡£ ylow ¤È yhigh ¤ÎÂå¤ï¤ê¤Ë ydelta ¤¬»ØÄꤵ¤ì¤¿¤È¤­¤Ï¡¢ylow = y - ydelta, yhigh = y + ydelta ¤È¤Ê¤ê¤Þ¤¹¡£¤¢¤ë¹Ô¤Ë¥Ç¡¼¥¿¤¬ 2 ¤Ä¤·¤«¤Ê¤±¤ì¤Ð¡¢ylow ¤È yhight ¤Ï¤È¤â¤Ë y ¤È¤Ê¤ê¤Þ¤¹¡£x ¥¨¥é¡¼¥Ð¡¼¤ÏƱÍͤ˷׻»¤µ¤ì¤¿¿åÊ¿Àþ¤Ç¤¹¡£ ¥Ç¡¼¥¿¤Î³ÆÅÀ¤ò·ë¤ÖÀÞ¤ìÀþ¤ò°ú¤­¤¿¤¤¾ì¹ç¤Ï¡¢with errorbars ¤È with lines ¤ò »ØÄꤷ¤Æ¡¢Æ±¤¸¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ò 2 ²ó plot ¤·¤Æ²¼¤µ¤¤ (¤¿¤À¤·¡¢¥­¡¼¤ÎÃæ¤Ë 2 ¤Ä¤Î¥¨¥ó¥È¥ê¤òºî¤é¤Ê¤¤¤è¤¦¤Ë¡¢¤½¤Î°ìÊý¤Ë¤Ï notitle ¥ª¥×¥·¥ç¥ó¤ò»È¤¦ ¤³¤È¤ò˺¤ì¤Ê¤¤¤Ç²¼¤µ¤¤)¡£Â¾¤ÎÁªÂò»è¤È¤·¤Æ¡¢errorlines ¥³¥Þ¥ó¥É¤â¤¢¤ê¤Þ¤¹ (°Ê²¼»²¾È: errorlines (72.5))¡£

¥¨¥é¡¼¥Ð¡¼¤Ë¤Ï¡¢¤â¤· set bars ¤ò»È¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢¤½¤Î¤½¤ì¤¾¤ì¤Îü¤Ë¿âľ¤Ê Àþʬ¤¬¤Ä¤­¤Þ¤¹ (¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set bars (82.4))¡£

¼«Æ°ÈÏ°Ï»ØÄ꤬ͭ¸ú¤Ç¤¢¤ì¤Ð¡¢¤½¤ÎÉÁ²èÈϰϤϥ¨¥é¡¼¥Ð¡¼¤â´Þ¤à¤è¤¦¤ËÄ´À° ¤µ¤ì¤Þ¤¹¡£

°Ê²¼¤â»²¾È

¥¨¥é¡¼¥Ð¡¼¤Î¥Ç¥â

¹¹¤Ê¤ë¾ðÊó¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È: plot using (72.3.8), plot with (72.11), set style (82.66)¡£

72.5 Errorlines

¸íº¹Àþ (errorbar) ¤òȼ¤¦ÀþÉÁ²è¤Ï¡¢2 ¼¡¸µ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ÎÉÁ²è¤Ç¥µ¥Ý¡¼¥È ¤µ¤ì¤Æ¤¤¤Æ¡¢¤½¤ì¤Ï 1 ¸Ä¤«¤é 4 ¸Ä¤ÎÄɲäΠ(¤Þ¤¿¤Ï using ¤Ç»ØÄꤹ¤ë) Îó¥Ç¡¼¥¿¤òÍ¿¤¨¤ë¤³¤È¤Ç¹Ô¤Ê¤ï¤ì¤Þ¤¹¡£¤³¤ì¤é¤ÎÄɲ䵤ì¤ëÃͤϡ¢ÍÍ¡¹¤Ê errorline ¥¹¥¿¥¤¥ë¤Î¤½¤ì¤¾¤ì¤Ç°Û¤Ê¤Ã¤¿·Á¤Ç»È¤ï¤ì¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Î¾õÂ֤Ǥϡ¢gnuplot ¤Ï¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î³Æ¹Ô¤Ë 3 ¸Ä¡¢4 ¸Ä¡¢ 6 ¸Ä¤Î¤¤¤º¤ì¤«¤Î¸Ä¿ô¤Î¥Ç¡¼¥¿¤¬¤¢¤ë¤³¤È¤ò´üÂÔ¤·¡¢¤½¤ì¤¾¤ì°Ê²¼¤Î¤¤¤º¤ì¤«¤ËÂбþ¤·¤Þ¤¹¡£


     (x, y, ydelta),
     (x, y, ylow, yhigh),
     (x, y, xdelta),
     (x, y, xlow, xhigh),
     (x, y, xdelta, ydelta),
     (x, y, xlow, xhigh, ylow, yhigh)

x ºÂɸ¤Ï»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤·¡¢¥Ç¡¼¥¿¤Î½çÈÖ¤â¾å¤Î·Á¼°¤Ç¤¢¤ëɬÍפ¬¤¢ ¤ê¤Þ¤¹¤¬¡¢using ½¤¾þ»Ò¤Ç¤½¤Î½çÈÖ¤òÁàºî¤·¤¿¤ê¡¢·ç¤±¤Æ¤¤¤ëÎó¤ËÂФ¹¤ëÃÍ ¤òÍ¿¤¨¤¿¤ê¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£Î㤨¤Ð


     plot 'file' with errorlines
     plot 'file' using 1:2:(sqrt($1)) with xerrorlines
     plot 'file' using 1:2:($1-$3):($1+$3):4:5 with xyerrorlines

ºÇ¸å¤ÎÎã¤Ï¡¢ÁêÂÐŪ¤Ê x ¤Î¸íº¹¤ÈÀäÂÐŪ¤Ê y ¤Î¸íº¹¡¢¤È¤¤¤¦¥µ¥Ý¡¼¥È¤µ¤ì¤Æ ¤¤¤Ê¤¤Áȹ礻¤Î¥Ç¡¼¥¿¤Î¥Õ¥¡¥¤¥ë¤ËÂФ¹¤ë¤â¤Î¤Ç¡¢using ¤ÇÁêÂÐŪ¤Ê¸íº¹¤« ¤éÀäÂÐŪ¤Ê x ¤ÎºÇ¾®ÃͤȺÇÂçÃͤòÀ¸À®¤·¤Æ¤¤¤Þ¤¹¡£

y ¸íº¹Àþ¤Ï (x, ylow) ¤«¤é (x, yhigh) ¤ØÉÁ²è¤µ¤ì¤ë½ÄÀþ¤Ç¤¹¡£ylow, yhigh Âå¤ï¤ê¤Ë ydelta ¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¤Ï¡¢ylow = y - ydelta, yhigh = y + ydelta ¤È°·¤ï¤ì¤Þ¤¹¡£¤¢¤ë¹Ô¤Ë 2 ¤Ä¤Î¥Ç¡¼¥¿¤·¤«¤Ê¤¤¾ì¹ç¡¢yhigh, ylow ¤ÏξÊý¤È ¤â y ¤Ë¤Ê¤ê¤Þ¤¹¡£x ¸íº¹Àþ¤ÏƱÍͤÎÊýË¡¤Ç·×»»¤µ¤ì¤ë¿åÊ¿Àþ¤Ç¤¹¡£

¸íº¹Àþ¤Ë¤Ï¡¢set bars ¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¤½¤Îξü¤Ç¿âľ¤Ë¸ò¤ï¤ë Àþʬ¤¬ÉÕ¤­¤Þ¤¹ (¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set bars (82.4))¡£

¼«Æ°½Ì¼Ü (autoscaling) ¤¬ ON ¤Î¾ì¹ç¡¢ÉÁ²èÈÏ°Ï¤Ï¸íº¹Àþ¤¬Æþ¤ë¤è¤¦¤ËÄ´À° ¤µ¤ì¤Þ¤¹¡£

¹¹¤Ê¤ë¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: plot using (72.3.8), plot with (72.11), set style (82.66)¡£

72.6 ´Ø¿ôÉÁ²è (functions)

¥³¥Þ¥ó¥É plot, splot ¤Ç¤Ï¡¢¥Õ¥¡¥¤¥ë¤«¤éÆɤ߹þ¤ó¤À¥Ç¡¼¥¿¤ÎÉÁ²è¤À¤± ¤Ç¤Ê¤¯¡¢ÁȤ߹þ¤ß´Ø¿ô¤ä¥æ¡¼¥¶ÄêµÁ´Ø¿ô¤òÉÁ²è¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£´Ø¿ô¤ÎÃÍ ¤Ï¡¢ÆÈΩ¤Ê¼´¤ÎÄ̾ï¤ÎÈϰϤËÅϤäƥǡ¼¥¿¥µ¥ó¥×¥ë¤ò¼è¤ë¤³¤È¤Çɾ²Á¤·¤Þ¤¹¡£ °Ê²¼»²¾È: set samples (82.64), set isosamples (82.29)¡£

Îã:

     approx(ang) = ang - ang**3 / (3*2)
     plot sin(x) title "sin(x)", approx(x) title "approximation"

´Ø¿ô¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÉÁ²è¥¹¥¿¥¤¥ë¤òÀßÄꤹ¤ëÊýË¡¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È:set style function (82.66.5)¡£ÁȤ߹þ¤ß´Ø¿ô¤Î¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È:expressions functions (14.1)¡£¼«Á°¤Ç´Ø¿ô¤òÄêµÁ¤¹¤ëÊýË¡¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È:user-defined (14.5)¡£

72.7 ÇÞ²ðÊÑ¿ô¥â¡¼¥ÉÉÁ²è (parametric)

ÇÞ²ðÊÑ¿ô¥â¡¼¥É (set parametric) ¤Ç¤Ï¡¢plot ¤Ç¤Ï 2 ¤Ä¤Î¿ô¼°¤ÎÁȤò¡¢ splot ¤Ç¤Ï 3 ¤Ä¤Î¿ô¼°¤ÎÁȤòÍ¿¤¨¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

Îã:

     plot sin(t),t**2
     splot cos(u)*cos(v),cos(u)*sin(v),sin(u)

¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ÏÁ°¤ÈƱ¤¸¤è¤¦¤ËÉÁ²è¤µ¤ì¤Þ¤¹¡£¤¿¤À¤·¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤¬ ÉÁ²è¤Î¤¿¤á¤ËÍ¿¤¨¤é¤ì¤ëÁ°¤Ë¡¢Ç¤°Õ¤ÎÇÞ²ðÊÑ¿ô´Ø¿ô¤¬Àè¤Ë´°Á´¤Ë»ØÄꤵ¤ì¤¿ ¾ì¹ç¤ò½ü¤¤¤Æ¤Ç¤¹¡£¸À¤¤´¹¤¨¤ë¤È¡¢x ¤ÎÇÞ²ðÊÑ¿ô´Ø¿ô (¾å¤ÎÎã¤Ç¤Ï sin(t)) ¤È y ¤ÎÇÞ²ðÊÑ¿ô´Ø¿ô (¾å¤ÎÎã¤Ç¤Ï t**2) ¤È¤Î´Ö¤Ë¡¢Â¾¤Î½¤¾þ»Ò¤ä¥Ç¡¼¥¿ ´Ø¿ô¤ò¤Ï¤µ¤ß¤³¤ó¤Ç¤Ï¤¤¤±¤Þ¤»¤ó¡£¤½¤Î¤è¤¦¤Ê¤³¤È¤ò¤¹¤ë¤È¡¢¹½Ê¸¥¨¥é¡¼¤Ë¤Ê ¤ê¡¢ÇÞ²ðÊÑ¿ô´Ø¿ô¤¬´°Á´¤Ë¤Ï»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¡¢¤Èɽ¼¨¤µ¤ì¤Þ¤¹¡£

with ¤ä title ¤Î¤è¤¦¤Ê¾¤Î½¤¾þ»Ò¤Ï¡¢ÇÞ²ðÊÑ¿ô´Ø¿ô¤Î»ØÄ꤬´°Î»¤·¤¿ ¸å¤Ë»ØÄꤷ¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£


     plot sin(t),t**2 title 'Parametric example' with linespoints

°Ê²¼¤â»²¾È

ÇÞ²ðÊÑ¿ô¥â¡¼¥É¤Î¥Ç¥â¡£

72.8 ÈÏ°Ï (ranges)

plot ¥³¥Þ¥ó¥É¤ÎºÇ½é¤ËÃÖ¤¯¥ª¥×¥·¥ç¥ó¤Î¼´¤ÎÈÏ°Ï (range) ¤Ï¡¢É½¼¨¤¹¤ë¥°¥é ¥Õ¤ÎÈϰϤò»ØÄꤷ¤Þ¤¹¡£¤½¤ÎÈϰϤϡ¢¤½¤ì°ÊÁ°¤Î¤É¤Î set range ¤Ë¤è¤ëÈÏ°Ï»ØÄê¤è¤ê¤âÍ¥À褷¤Æ°·¤¤¤Þ¤¹¡£

½ñ¼°:

     [{<dummy-var>=}{{<min>}:{<max>}}]
     [{{<min>}:{<max>}}]

ºÇ½é¤ÎÈÏ°Ï»ØÄê¤ÏÆÈΩÊÑ¿ô¤ÎÈÏ°Ï (xrange ¤Þ¤¿¤Ï¥Ñ¥é¥á¥È¥ê¥Ã¥¯¥â¡¼¥É¤Ç ¤Ï trange) ¤Ç¡¢2 ÈÖÌܤΤâ¤Î¤Ï½¾Â°ÊÑ¿ô¤ÎÈÏ°Ï yrange (¥Ñ¥é¥á¥È¥ê¥Ã¥¯¥â¡¼¥É¤Ç¤Ï xrange) ¤È¤Ê¤ê¤Þ¤¹¡£< dummy-var> ¤Ë¤ÏÆÈΩÊÑ¿ô¤Î¿·¤·¤¤ÊÌ̾¤ò »ØÄꤷ¤Þ¤¹ (¥Ç¥Õ¥©¥ë¥È¤ÎÊÑ¿ô̾¤Ï set dummy ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹)¡£< min> , < max> ¤Ë¤ÏÄê¿ô¼°¡¢¤¢¤ë¤¤¤Ï * ¤ò½ñ¤¯¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¥Ñ¥é¥á¥È¥ê¥Ã¥¯¥â¡¼¥É¤Ç¤Ê¤±¤ì¤Ð¡¢Í¿¤¨¤é¤ì¤ë¤Ù¤­ÈÏ°Ï»ØÄê¤Ï xrange, yrange ¤Î½ç¤Ë¤Ê¤ê¤Þ¤¹¡£

¥Ñ¥é¥á¥È¥ê¥Ã¥¯¥â¡¼¥É¤Ç¤Ï¡¢plot ¥³¥Þ¥ó¥É¤ËÂФ·¤Æ¤Ï¤½¤Î½ç½ø¤Ï trange, xrange, yrange ¤Ë¤Ê¤ê¤Þ¤¹¡£°Ê²¼¤Î plot ¥³¥Þ¥ó¥É¤Ï¡¢trange ¤ò[-pi:pi], xrange ¤ò [-1.3:1.3], yrange ¤ò [-1:1] ¤ËÀßÄꤹ¤ëÎã¤Ç¤¹¡£


     plot [-pi:pi] [-1.3:1.3] [-1:1] sin(t),t**2

x2 ¤ÎÈÏ°Ï¤È y2 ¤ÎÈϰϤϤ³¤³¤Ç¤Ï»ØÄê¤Ç¤­¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤½¤ì¤Ë¤Ï set x2range ¤ä set y2range ¤¬»È¤ï¤ì¤Þ¤¹¡£

ÈϰϤÏŬÀڤʥ⡼¥É¤ËÂФ·¤Æ¡¢¾å¤Ë¼¨¤·¤¿½ç½ø¤Ç²ò¼á¤µ¤ì¤Þ¤¹¡£É¬ÍפÊÈÏ°Ï»Ø Ä꤬°ìÅÙÁ´¤Æ»ØÄꤵ¤ì¤ë¤È¡¢ºÆ¤Ó»ØÄꤷľ¤¹¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢É¬Íפʤ¤Éô ʬ¤òÁ´¤¯»ØÄꤷ¤Ê¤¤¤è¤¦¤Ë¤Ï¤Ç¤­¤Þ¤»¤ó¡£¤½¤ÎÂå¤ï¤ê¡¢¤½¤³¤Ë¶õ¤ÎÈÏ°Ï»ØÄê [] ¤òÃÖ¤­¤Þ¤¹¡£

* ¤Ï¡¢min (ºÇ¾®ÃÍ) ¤ä max (ºÇÂçÃÍ) ¤Ë¼«Æ°ÈÏ°Ï»ØÄê (autoscale) ¤Îµ¡Ç½ ¤ò»È¤¦¤³¤È¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£°Ê²¼¤â»²¾È: set autoscale (82.3)¡£

plot ¤ä splot ¤Î¥³¥Þ¥ó¥É¹Ô¤Ç»ØÄꤵ¤ì¤¿ÈϰϤϤ½¤Î¥°¥é¥Õ¤Ë¤Î¤ß±Æ¶Á¤ò µÚ¤Ü¤·¤Þ¤¹¡£¤è¤Ã¤Æ¡¢¤½¤Î¸å¤Î¥°¥é¥Õ¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÈϰϤòÊѹ¹¤¹¤ë¤Ë¤Ï¡¢ set xrange ¤ä set yrange ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

»þ´Ö¥Ç¡¼¥¿¤ËÂФ·¤Æ¤Ï¡¢ÈϰϤϥ¯¥©¡¼¥È¤Ç°Ï¤ó¤Ç»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹ (¥Ç ¡¼¥¿¥Õ¥¡¥¤¥ë¤Ë¸½¤ï¤ì¤ë»þ´Ö¥Ç¡¼¥¿¤ÈƱ¤¸·Á¼°¤Î)¡£gnuplot ¤Ï¤½¤ÎÈϰϤò Æɤߤ³¤à¤Î¤Ë»þ´Ö½ñ¼°Ê¸»úÎó (timefmt) ¤ò»ÈÍѤ·¤Þ¤¹¡£¾Ü¤·¤¯¤Ï°Ê²¼»²¾È:set timefmt (82.75)¡£

Îã:

°Ê²¼¤Ï¸½ºß¤ÎÈϰϤò»ÈÍѤ·¤Þ¤¹:

     plot cos(x)

°Ê²¼¤Ï x ¤ÎÈϰϤΤߤλØÄê¤Ç¤¹:

     plot [-10:30] sin(pi*x)/(pi*x)

°Ê²¼¤Ï¾å¤ÈƱ¤¸¤Ç¤¹¤¬¡¢²¾ÊÑ¿ô¤È¤·¤Æ t ¤ò»È¤¤¤Þ¤¹:

     plot [t = -10 :30]  sin(pi*t)/(pi*t)

°Ê²¼¤Ï x ¤È y ¤ÎξÊý¤ÎÈϰϤλØÄê¤Ç¤¹:

     plot [-pi:pi] [-3:3]  tan(x), 1/x

°Ê²¼¤Ï¡¢y ¤ÎÈϰϤΤߤλØÄê¤Ç¡¢Î¾Êý¤Î¼´¤Î¼«Æ°ÈÏ°Ï»ØÄ굡ǽ¤ò̵¸ú¤Ë¤·¤Þ¤¹:

     plot [ ] [-2:sin(5)*-8] sin(x)**besj0(x)

°Ê²¼¤Ï x ¤ÎºÇÂçÃÍ¤È y ¤ÎºÇ¾®ÃͤΤߤλØÄê¤Ç¤¹¡£

     plot [:200] [-pi:]  exp(sin(x))

°Ê²¼¤Ï x ¤ÎÈϰϤò»þ·ÏÎó¥Ç¡¼¥¿¤È¤·¤Æ»ØÄꤷ¤Æ¤¤¤Þ¤¹:

     set timefmt "%d/%m/%y %H:%M"
     plot ["1/6/93 12:00":"5/6/93 12:00"] 'timedata.dat'

72.9 ·«¤êÊÖ¤· (iteration)

¿¤¯¤ÎƱÅù¤Î¥Õ¥¡¥¤¥ë¤ä´Ø¿ô¤òƱ»þ¤ËÉÁ²è¤¹¤ë¾ì¹ç¤Ï¡¢¤½¤ì¤¾¤ì¤Î plot ¥³¥Þ ¥ó¥É¤Î·«¤êÊÖ¤· (iteration) ¤Ç¤½¤ì¤ò¹Ô¤¦¤Î¤¬ÊØÍø¤Ç¤¹¡£

½ñ¼°:

     plot for [<variable> = <start> : <end> {:<increment>}]
     plot for [<variable> in "string of words"]

·«¤êÊÖ¤·¤ÎŬÍÑÈÏ°Ï (scope) ¤Ï¡¢¼¡¤Î¥³¥ó¥Þ (,) ¤«¥³¥Þ¥ó¥É¤Î½ª¤ï¤ê¡¢¤Î¤¤ ¤º¤ì¤«Àè¤Ë¸½¤ì¤¿¤È¤³¤í¤Þ¤Ç¤Ç¤¹¡£·«¤êÊÖ¤·¤ÏÆþ¤ì»Ò (nest) ¤Ë¤¹¤ë¤³¤È¤Ï¤Ç ¤­¤Þ¤»¤ó¡£

·«¤êÊÖ¤·Ê¸¤¬¥³¥ó¥Þ¤Þ¤Ç¤Ê¤Î¤Ç¡¢°Ê²¼¤Ï°ì¤Ä¤Î¶ÊÀþ sin(3x) ¤òÉÁ²è¤·¤Þ¤¹¡£

     plot for [i=1:3] j=i, sin(j*x)

j ¤Î¸å¤Ë¥³¥ó¥Þ¤¬¤Ê¤¤¤Î¤Ç¡¢°Ê²¼¤Ï 3 ¤Ä¤Î¶ÊÀþ¤òÉÁ²è¤·¤Þ¤¹¡£
     plot for [i=1:3] j=i sin(j*x)

Îã:

     plot for [dataset in "apples bananas"] dataset."dat" title dataset

¤³¤ÎÎã¤Ç¤Ï¡¢·«¤êÊÖ¤·¤Ï¥Õ¥¡¥¤¥ë̾¤ÈÂбþ¤¹¤ë¥¿¥¤¥È¥ë¤ÎÀ¸À®¤ÎξÊý¤Ç»È¤ï¤ì ¤Æ¤¤¤Þ¤¹¡£

Îã:

     file(n) = sprintf("dataset_%d.dat",n)
     splot for [i=1:10] file(i) title sprintf("dataset %d",i)

¤³¤ÎÎã¤Ï¡¢¥Õ¥¡¥¤¥ë̾¤ÇÀ¸À®¤µ¤ì¤ëʸ»úÎóÃÍ´Ø¿ô¤òÄêµÁ¤·¡¢¤½¤Î¤è¤¦¤Ê 10 ¸Ä ¤Î¥Õ¥¡¥¤¥ë¤òƱ»þ¤ËÉÁ²è¤·¤Þ¤¹¡£·«¤êÊÖ¤·¤ÎÊÑ¿ô (¤³¤ÎÎã¤Ç¤Ï 'i') ¤Ï°ì¤Ä¤Î À°¿ô¤È¤·¤Æ°·¤ï¤ì¡¢¤½¤ì¤ò 2 Åٰʾå»ÈÍѤǤ­¤Þ¤¹¡£

Îã:

     set key left
     plot for [n=1:4] x**n sprintf("%d",n)

¤³¤ÎÎã¤Ï¡¢´Ø¿ô¤ÎÁȤòÉÁ²è¤·¤Þ¤¹¡£

Îã:

     list = "apple banana cabbage daikon eggplant"
     item(n) = word(list,n)
     plot for [i=1:words(list)] item(i).".dat" title item(i)
     list = "new stuff"
     replot

¤³¤ÎÎã¤Ç¤Ï¡¢¥ê¥¹¥È¤Ë½¾¤Ã¤Æ³Æ¥¹¥Æ¥Ã¥×¤¬¿Ê¹Ô¤·¡¢¤½¤Î³Æ¹àÌܤËÂФ·¤Æ°ì¤Ä¤Î ÉÁ²è¤¬¹Ô¤ï¤ì¤Þ¤¹¡£¤³¤Î³Æ¹àÌܤÏưŪ¤Ë¼èÆÀ¤µ¤ì¤Þ¤¹¤Î¤Ç¡¢¤½¤Î¥ê¥¹¥È¤òÊѹ¹ ¤·¡¢¤½¤Î¤Þ¤Þ replot ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

Îã:

     list = "apple banana cabbage daikon eggplant"
     plot for [i in list] i.".dat" title i
     list = "new stuff"
     replot

¤³¤ÎÎã¤Ï¡¢À°¿ô¤Î·«¤êÊÖ¤·ÊÑ¿ô¤Ç¤Ï¤Ê¤¯¡¢Ê¸»úÎó¤Î·«¤êÊÖ¤·ÊÑ¿ô·Á¼°¤òÍѤ¤¤Æ ¤¤¤ë¤³¤È°Ê³°¤ÏÁ°¤ÎÎã¤ÈÁ´¤¯Æ±¤¸¤Ç¤¹¡£

72.10 Title

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï³Æ¶ÊÀþ¤Ï¡¢Âбþ¤¹¤ë´Ø¿ô¤ä¥Õ¥¡¥¤¥ë̾¤Ç¥­¡¼¤ÎÃæ¤Ë°ìÍ÷ɽ¼¨¤µ ¤ì¤Þ¤¹¤¬¡¢plot ¤Î¥ª¥×¥·¥ç¥ó title ¤ò»È¤¦¤³¤È¤Ç¡¢ÌÀ¼¨Åª¤Ê¥¿¥¤¥È¥ë¤òÍ¿ ¤¨¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

½ñ¼°:

     title <text> | notitle [<ignored text>]
     title columnheader | title columnheader(N)

¤³¤³¤Ç < text> ¤Ï¡¢°úÍÑÉä¤Ç°Ï¤Þ¤ì¤¿Ê¸»úÎ󤫡¢Ê¸»úÎó¤Èɾ²Á¤µ¤ì¤ë¼°¤Î¤¤¤º ¤ì¤«¤Ç¤¹¡£°úÍÑÉä¤Ï¥­¡¼¤Ë¤Ïɽ¼¨¤µ¤ì¤Þ¤»¤ó¡£

ÆþÎϥǡ¼¥¿¤ÎÎó¤ÎºÇ½é¤Î¹àÌÜ (¤¹¤Ê¤ï¤ÁÎó¤ÎÀèƬ) ¤òʸ»úÎó¥Õ¥£¡¼¥ë¥É¤È²ò¼á ¤·¡¢¤½¤ì¤ò¥­¡¼¥¿¥¤¥È¥ë¤È¤·¤ÆÍøÍѤ¹¤ë¥ª¥×¥·¥ç¥ó¤â¤¢¤ê¤Þ¤¹¡£°Ê²¼»²¾È:datastrings (11)¡£¤³¤ì¤Ï¡¢set key autotitle columnhead ¤ò»ØÄꤹ¤ì¤Ð¥Ç¥Õ ¥©¥ë¥È¤ÎµóÆ°¤È¤Ê¤ê¤Þ¤¹¡£

¶ÊÀþ¥¿¥¤¥È¥ë¤È¥µ¥ó¥×¥ë¤ÏͽÌó¸ì notitle ¤ò»È¤¦¤³¤È¤Ç¥­¡¼¤«¤éºï½ü¤Ç¤­ ¤Þ¤¹¡£²¿¤â¤Ê¤¤¥¿¥¤¥È¥ë (title '') ¤Ï notitle ¤ÈƱ¤¸°ÕÌ£¤ò»ý¤Á¤Þ¤¹¡£ ¥µ¥ó¥×¥ë¤À¤±¤¬Íߤ·¤¤¤È¤­¤Ï¡¢°ì¤Ä°Ê¾å¤Î¶õÇò¤ò¥¿¥¤¥È¥ë¤Î¸å¤í¤ËÆþ¤ì¤Æ¤¯¤À¤µ¤¤ (tilte ' ')¡£notilte ¤Î¸å¤í¤Ëʸ»úÎó¤ò¤Ä¤±¤¿¾ì¹ç¡¢¤½¤Îʸ»úÎó ¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£

key autotitles ¤¬ÀßÄꤵ¤ì¤Æ (¥Ç¥Õ¥©¥ë¥È)¡¢¤«¤Ä title ¤â notitle ¤â»ØÄꤵ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¡¢¶ÊÀþ¤Î¥¿¥¤¥È¥ë¤Ï plot ¥³¥Þ¥ó¥É¾å¤Ë¤¢¤ë´Ø¿ô̾ ¤«¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë̾¤Ë¤Ê¤ê¤Þ¤¹¡£¥Õ¥¡¥¤¥ë̾¤Î¾ì¹ç¤Ï¡¢»ØÄꤵ¤ì¤ëǤ°Õ¤Î¥Ç¡¼ ¥¿¥Õ¥¡¥¤¥ë½¤¾þ»Ò¤â¤½¤Î¥Ç¥Õ¥©¥ë¥È¥¿¥¤¥È¥ë¤Ë´Þ¤Þ¤ì¤Þ¤¹¡£

°ÌÃ֤䥿¥¤¥È¥ë¤Î°ÌÃÖ·¤¨¤Ê¤É¤Î¥­¡¼¤Î¥ì¥¤¥¢¥¦¥È¤Ï¡¢set key ¤ÇÀ©¸æ¤Ç¤­ ¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set key (82.30)¡£

Îã:

°Ê²¼¤Ï y=x ¤ò¥¿¥¤¥È¥ë 'x' ¤Çɽ¼¨¤·¤Þ¤¹:

     plot x

°Ê²¼¤Ï¡¢x ¤Î 2 ¾è¤ò¥¿¥¤¥È¥ë "x^2" ¤Ç¡¢¥Õ¥¡¥¤¥ë "data.1" ¤ò¥¿¥¤¥È¥ë"measured data" ¤Çɽ¼¨¤·¤Þ¤¹:

     plot x**2 title "x^2", 'data.1' t "measured data"

°Ê²¼¤Ï¡¢¶ËºÂɸ¥°¥é¥Õ¤Î¼þ¤ê¤Ë±ß·Á¤Î¶­³¦¤ò½ñ¤­¡¢¥¿¥¤¥È¥ë¤Ê¤·¤Çɽ¼¨¤·¤Þ¤¹:

     set polar; plot my_function(t), 1 notitle

°Ê²¼¤Ï¡¢¥Õ¥¡¥¤¥ë¤Î³ÆÎó¤Ë¥¿¥¤¥È¥ë¤ò´Þ¤àÊ£¿ôÎó¤Î¥Ç¡¼¥¿¤òÉÁ²è¤·¤Þ¤¹:

     plot for [i=1:4] 'data' using i title columnhead

72.11 With

´Ø¿ô¤ä¥Ç¡¼¥¿¤Îɽ¼¨¤Ë¤Ï¤¿¤¯¤µ¤ó¤Î¥¹¥¿¥¤¥ë¤Î¤¦¤Á¤Î°ì¤Ä¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¥­¡¼¥ï¡¼¥É with ¤¬¤½¤ÎÁªÂò¤Î¤¿¤á¤ËÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

½ñ¼°:

     with <style> { {linestyle | ls <line_style>}
                    | {{linetype  | lt <line_type>}
                       {linewidth | lw <line_width>}
                       {linecolor | lc <colorspec>}
                       {pointtype | pt <point_type>}
                       {pointsize | ps <point_size>}
                       {fill | fs <fillstyle>}
                       {nohidden3d} {nocontours} {nosurface}
                       {palette}}
                  }

¤³¤³¤Ç¡¢< style> ¤Ï°Ê²¼¤Î¤¤¤º¤ì¤«:


    lines        dots       steps     errorbars     xerrorbar    xyerrorlines
    points       impulses   fsteps    errorlines    xerrorlines  yerrorbars
    linespoints  labels     histeps   financebars   xyerrorbars  yerrorlines
                                      vectors

¤Þ¤¿¤Ï¡¢
     boxes            candlesticks   image      circles
     boxerrorbars     filledcurves   rgbimage   ellipses
     boxxyerrorbars   histograms     rgbalpha   pm3d
     boxplot

ºÇ½é¤Î¥°¥ë¡¼¥×¤Î¥¹¥¿¥¤¥ë¤Ï¡¢Àþ¡¢ÅÀ¡¢Ê¸»ú¤Î°À­¤ò»ý¤Á¡¢Âè 2 ¤Î¥°¥ë¡¼¥× ¤Î¥¹¥¿¥¤¥ë¤Ï¡¢¤µ¤é¤ËÅɤêÄÙ¤·Â°À­¤â»ý¤Ã¤Æ¤¤¤Þ¤¹¡£°Ê²¼»²¾È: fillstyle (82.66.4)¡£ ¤µ¤é¤Ë¥µ¥Ö¥¹¥¿¥¤¥ë¤ò»ý¤Ä¥¹¥¿¥¤¥ë¤â¤¢¤ê¤Þ¤¹¡£¸Ä¡¹¤Î¥¹¥¿¥¤¥ë¤Î¾ÜºÙ¤Ë¤Ä¤¤ ¤Æ¤Ï¡¢°Ê²¼»²¾È: plotting styles (II)¡£

¥Ç¥Õ¥©¥ë¥È¤Î¥¹¥¿¥¤¥ë¤Ï¡¢set style function ¤È set style data ¤ÇÁª Âò¤Ç¤­¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¤½¤ì¤¾¤ì¤Î´Ø¿ô¤ä¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Ï¡¢»È¤¦¤³¤È¤¬¤Ç¤­¤ë·¿¤Î ºÇÂç¿ô¤Ë㤹¤ë¤Þ¤Ç°Û¤Ê¤ëÀþ¼ï¡¢ÅÀ¼ï¤ò»È¤¤¤Þ¤¹¡£¤¹¤Ù¤Æ¤ÎüËöÍѥɥ饤¥Ð¤Ï ºÇÄã 6 ¤Ä¤Î°Û¤Ê¤ëÅÀ¼ï¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Æ¡¢¤â¤·¤¿¤¯¤µ¤óÍ׵ᤵ¤ì¤¿¾ì¹ç¡¢ ¤½¤ì¤é¤ò½ç¤ËºÆÍøÍѤ·¤Æ¤¤¤­¤Þ¤¹¡£»ÈÍÑÃæ¤Î½ÐÎÏ·Á¼°¤Ç¤ÎÀþ¼ï¡¢ÅÀ¼ï¤Î½¸¹çÁ´ ÂΤò¸«¤¿¤±¤ì¤Ð¡¢test ¤È¤·¤Æ¤¯¤À¤µ¤¤¡£

°ì¤Ä¤ÎÉÁ²è¤ÇÀþ¼ï¤äÅÀ¼ï¤òÁª¤Ó¤¿¤¤¤Ê¤é¤Ð¡¢< line_type> ¤ä < point_type> ¤ò »ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£¤³¤ì¤é¤ÎÃͤϡ¢¤½¤ÎÉÁ²è¤Ç»È¤ï¤ì¤ëÀþ¼ï¤äÅÀ¼ï¤ò»ØÄꤹ¤ë Àµ¤ÎÀ°Äê¿ô (¤Þ¤¿¤Ï¿ô¼°) ¤Ç¤¹¡£»ÈÍѤ¹¤ëüËö¤Ç»È¤¨¤ëÀþ¼ï¡¢ÅÀ¼ï¤òɽ¼¨¤¹¤ë ¤Ë¤Ï test ¥³¥Þ¥ó¥É¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£

ÉÁ²è¤ÎÀþ¤ÎÉý¤äÅÀ¤ÎÂ礭¤µ¤Ï < line_width> ¤ä < point_size> ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£ ¤³¤ì¤é¤Ï¤½¤Î³Æ¡¹¤ÎüËö¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃͤËÂФ¹¤ëÁêÂÐŪ¤ÊÃͤȤ·¤Æ»ØÄꤷ¤Þ ¤¹¡£ÅÀ¤ÎÂ礭¤µ¤ÏÁ´ÂΤËÄÌÍѤ¹¤ë¤è¤¦¤ËÊѹ¹¤Ç¤­¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È:set pointsize (82.56)¡£¤·¤«¤·¡¢¤³¤³¤Ç¥»¥Ã¥È¤µ¤ì¤ë < point_size> ¤È¡¢ set pointsize ¤Ç¥»¥Ã¥È¤µ¤ì¤ëÂ礭¤µ¤Ï¡¢¤¤¤º¤ì¤â¥Ç¥Õ¥©¥ë¥È¤Î¥Ý¥¤¥ó¥È¥µ ¥¤¥º¤Ë³Ý¤±¤é¤ì¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£¤¹¤Ê¤ï¤Á¡¢¤½¤ì¤é¤Î¸ú²Ì¤ÏÎßÀÑ¤Ï ¤·¤Þ¤»¤ó¡£Î㤨¤Ð¡¢set pointsize 2; plot x w p ps 3 ¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î ¥µ¥¤¥º¤Î 3 ÇܤǤ¢¤Ã¤Æ¡¢6 ÇܤǤϤ¢¤ê¤Þ¤»¤ó¡£

¥é¥¤¥ó¥¹¥¿¥¤¥ë¤Î°ìÉôʬ¡¢¤¢¤ë¤¤¤Ï³Æ plot ¤Ë¤ª¤¤¤Æ pointsize variable ¤È¤¤¤¦»ØÄê¤â²Äǽ¤Ç¤¹¡£¤³¤Î¾ì¹ç¡¢ÆþÎϤˤÏÄɲäΠ1 Îó¤¬Í׵ᤵ¤ì¤Þ¤¹¡£Îã ¤¨¤Ð 2D ÉÁ²è¤Ç¤Ï 3 Îó¡¢3D ÉÁ²è¤Ç¤Ï 4 Îó¤Î¥Ç¡¼¥¿¤¬É¬Íפˤʤê¤Þ¤¹¡£¸Ä¡¹ ¤ÎÅÀ¤Î¥µ¥¤¥º¤Ï¡¢Á´ÂΤòÄ̤·¤Æ¤Î pointsize ¤Ë¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤«¤é¤ÎÆþÎÏ ¤Ë¤è¤ëÃͤò¤«¤±¤¿¤â¤Î¤È¤·¤Æ·èÄꤵ¤ì¤Þ¤¹¡£

set style line ¤ò»È¤Ã¤ÆÀþ¼ï/ÀþÉý¡¢ÅÀ¼ï/ÅÀÉý¤ÎÁȤòÄêµÁ¤¹¤ì¤Ð¡¢¤½¤Î¥¹ ¥¿¥¤¥ë¤ÎÈÖ¹æ¤ò < line_style> ¤Ë¥»¥Ã¥È¤¹¤ë¤³¤È¤Ç¤½¤ì¤é¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ ¤¹¡£

gnuplot ¤¬ pm3d ¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤è¤¦¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤Ê¤é¤Ð¡¢ splots ¤Ë¤ª¤¤¤Æ lines, points, dots ¤Î¿§¤ò³ê¤é¤«¤ËÊѲ½¤µ¤»¤ë¤¿¤á¤ÎÆà Ê̤ʥ­¡¼¥ï¡¼¥É palette ¤¬»È¤¨¤Þ¤¹¡£¤½¤Î¿§¤Ï¡¢¥³¥Þ¥ó¥É set palette ¤Ç¤¢¤é¤«¤¸¤áÀßÄꤵ¤ì¤¿³ê¤é¤«¤ËÊѲ½¤¹¤ë¥«¥é¡¼¥Ñ¥ì¥Ã¥È¤«¤éÁªÂò¤·¤Þ¤¹¡£¿§ ¤ÎÃͤϡ¢ÅÀ¤Î z ºÂɸ¤ÎÃͤ«¡¢¤Þ¤¿¤Ï using ¤Ç 4 ÈÖÌܤΥѥé¥á¡¼¥¿¤È¤·¤Æ »ØÄꤵ¤ì¤ë¿§ºÂɸ¤ËÂбþ¤·¤Þ¤¹¡£2 ¼¡¸µ¡¢3 ¼¡¸µ¤ÎÉÁ²è (plot ¤È splot ¥³¥Þ¥ó¥É) ¤ÎξÊý¤Ç¡¢¥Ñ¥ì¥Ã¥È¿§¤ò¾®¿ôÃͤ«¤Þ¤¿¤Ï¥«¥é¡¼¥Ü¥Ã¥¯¥¹¤ÎÈϰϤØÂÐ ±þ¤Å¤±¤é¤ì¤¿ÃͤΤ¤¤º¤ì¤«¤Ç»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¥Ñ¥ì¥Ã¥È¿§¤ÎÃͤϡ¢ using »ØÄê¤ÇÌÀ¼¨Åª¤Ë»ØÄꤵ¤ì¤¿ÆþÎÏÎ󤫤éÆɤ߹þ¤à¤³¤È¤â²Äǽ¤Ç¤¹¡£ °Ê²¼»²¾È: colors (17), set palette (82.54), linetype (82.32)¡£

¥­¡¼¥ï¡¼¥É nohidden3d ¤Ï¡¢splot ¥³¥Þ¥ó¥É¤ÇÀ¸À®¤µ¤ì¤ëÉÁ²è¤Ë¤Î¤ßŬÍÑ ¤µ¤ì¤Þ¤¹¡£Ä̾¥°¥í¡¼¥Ð¥ë¤Ê¥ª¥×¥·¥ç¥ó set hidden3d ¤Ï¥°¥é¥Õ¾å¤ÎÁ´¤Æ ¤ÎÉÁ²è¤ËŬÍѤµ¤ì¤Þ¤¹¤¬¡¢³Æ¡¹¤ÎÉÁ²è¤Ë nohidden3d ¥ª¥×¥·¥ç¥ó¤ò¤Ä¤±¤ë¤³ ¤È¤Ç¡¢¤½¤ì¤ò hidden3d ¤Î½èÍý¤«¤é½ü³°¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£nohidden3d ¤¬¥Þ¡¼¥¯¤µ¤ì¤¿¶ÊḬ̀ʳ°¤Î¸Ä¡¹¤ÎÉÁ²èÍ×ÁÇ (Àþʬ¡¢ÅÀ¡¢¥é¥Ù¥ëÅù) ¤Ï¡¢Ä̾ï¤Ï ¾¤Î²¿¤é¤«¤ÎÉÁ²èÍ×ÁǤDZ£¤µ¤ì¤Æ¤·¤Þ¤¦¾ì¹ç¤âÁ´¤ÆÉÁ²è¤µ¤ì¤Þ¤¹¡£

ƱÍͤˡ¢¥­¡¼¥ï¡¼¥É nocontours ¤Ï¡¢¥°¥í¡¼¥Ð¥ë¤Ë set contour »ØÄ꤬ Í­¸ú¤Ê¾ì¹ç¤Ç¤â¡¢¸ÄÊ̤Πplot ¤ËÂФ¹¤ëÅù¹âÀþÉÁ²èµ¡Ç½¤ò¥ª¥Õ¤Ë¤·¤Þ¤¹¡£

ƱÍͤˡ¢¥­¡¼¥ï¡¼¥É nosurface ¤Ï¡¢¥°¥í¡¼¥Ð¥ë¤Ë set surface »ØÄ꤬ͭ ¸ú¤Ê¾ì¹ç¤Ç¤â¡¢¸ÄÊ̤Πplot ¤ËÂФ¹¤ë 3 ¼¡¸µ¶ÊÌÌÉÁ²è¤ò¥ª¥Õ¤Ë¤·¤Þ¤¹¡£

¥­¡¼¥ï¡¼¥É¤Ï°Å¼¨¤¹¤ë¤è¤¦¤Ê·Á¤Ç¾Êά²Äǽ¤Ç¤¹¡£

linewidth, pointsize, palette ¥ª¥×¥·¥ç¥ó¤ÏÁ´¤Æ¤ÎüËöÁõÃ֤ǥµ¥Ý¡¼ ¥È¤µ¤ì¤Æ¤¤¤ë¤ï¤±¤Ç¤Ï¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

Îã:

°Ê²¼¤Ï¡¢sin(x) ¤ò±ôľÀþ¤ÇÉÁ²è¤·¤Þ¤¹:

     plot sin(x) with impulses

°Ê²¼¤Ï¡¢x ¤òÅÀ¤ÇÉÁ²è¤·¡¢x**2 ¤ò¥Ç¥Õ¥©¥ë¥È¤ÎÊý¼°¤ÇÉÁ²è¤·¤Þ¤¹:

     plot x w points, x**2

°Ê²¼¤Ï¡¢tan(x) ¤ò´Ø¿ô¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÊý¼°¤Ç¡¢"data.1" ¤òÀÞ¤ìÀþ¤ÇÉÁ²è¤·¤Þ¤¹:

     plot [ ] [-2:5] tan(x), 'data.1' with l

°Ê²¼¤Ï¡¢"leastsq.dat" ¤ò±ôľÀþ¤ÇÉÁ²è¤·¤Þ¤¹:

     plot 'leastsq.dat' w i

°Ê²¼¤Ï¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë "population" ¤ò¶ë·Á¤ÇÉÁ²è¤·¤Þ¤¹:

     plot 'population' with boxes

°Ê²¼¤Ï¡¢"exper.dat" ¤ò¥¨¥é¡¼¥Ð¡¼ÉÕ¤­¤ÎÀÞ¤ìÀþ¤ÇÉÁ²è¤·¤Þ¤¹ (¥¨¥é¡¼¥Ð¡¼¤Ï3 Î󡢤¢¤ë¤¤¤Ï 4 Îó¤Î¥Ç¡¼¥¿¤òɬÍפȤ·¤Þ¤¹):

     plot 'exper.dat' w lines, 'exper.dat' notitle w errorbars

¤â¤¦°ì¤Ä¤Î "exper.dat" ¤Î¥¨¥é¡¼¥Ð¡¼ÉÕ¤­¤ÎÀÞ¤ìÀþ (errorlines) ¤Ç¤ÎÉÁ²è ÊýË¡ (¥¨¥é¡¼¥Ð¡¼¤Ï 3 Î󡢤¢¤ë¤¤¤Ï 4 Îó¤Î¥Ç¡¼¥¿¤¬É¬Í×):

     plot 'exper.dat' w errorlines

°Ê²¼¤Ï¡¢sin(x) ¤È cos(x) ¤ò¥Þ¡¼¥«¡¼ÉÕ¤­¤ÎÀÞ¤ìÀþ¤ÇÉÁ²è¤·¤Þ¤¹¡£ÀÞ¤ìÀþ¤Ï Ʊ¤¸Àþ¼ï¤Ç¤¹¤¬¡¢¥Þ¡¼¥«¡¼¤Ï°Û¤Ê¤Ã¤¿¤â¤Î¤ò»È¤¤¤Þ¤¹:

     plot sin(x) with linesp lt 1 pt 3, cos(x) with linesp lt 1 pt 4

°Ê²¼¤Ï¡¢"data" ¤òÅÀ¼ï 3 ¤Ç¡¢ÅÀ¤ÎÂ礭¤µ¤òÄ̾ï¤Î 2 ÇܤÇÉÁ²è¤·¤Þ¤¹:

     plot 'data' with points pointtype 3 pointsize 2

°Ê²¼¤Ï¡¢"data" ¤òÉÁ²è¤·¤Þ¤¹¤¬¡¢4 ÎóÌܤ«¤éÆɤó¤À¥Ç¡¼¥¿¤ò pointsize ¤ÎÃͤȤ·¤Æ»ÈÍѤ·¤Þ¤¹:

     plot 'data' using 1:2:4 with points pt 5 pointsize variable

°Ê²¼¤Ï¡¢2 ¤Ä¤Î¥Ç¡¼¥¿½¸¹ç¤ËÂФ·¤Æ¡¢Éý¤Î¤ß°Û¤Ê¤ëÀþ¤òÍѤ¤¤ÆÉÁ²è¤·¤Þ¤¹:

     plot 'd1' t "good" w l lt 2 lw 3, 'd2' t "bad" w l lt 2 lw 1

°Ê²¼¤Ï¡¢x*x ¤Î¶ÊÀþ¤ÎÆâÉô¤ÎÅɤê¤Ä¤Ö¤·¤È¿§¤ÎÂÓ¤òÉÁ²è¤·¤Þ¤¹:

     plot x*x with filledcurve closed, 40 with filledcurve y1=10

°Ê²¼¤Ï¡¢x*x ¤Î¶ÊÀþ¤È¿§¤ÎÈ¢¤òÉÁ²è¤·¤Þ¤¹:

     plot x*x, (x>=-5 && x<=5 ? 40 : 1/0) with filledcurve y1=10 lt 8

°Ê²¼¤Ï¡¢³ê¤é¤«¤ËÊѲ½¤¹¤ë¿§¤ÎÀþ¤Ç¶ÊÌ̤òÉÁ²è¤·¤Þ¤¹:

     splot x*x-y*y with line palette

°Ê²¼¤Ï¡¢2 ¤Ä¤Î¿§¤Î¤Ä¤¤¤¿¶ÊÌ̤ò¡¢°Û¤Ê¤ë¹â¤µ¤Çɽ¼¨¤·¤Þ¤¹:

     splot x*x-y*y with pm3d, x*x+y*y with pm3d at t

73 Print

print ¥³¥Þ¥ó¥É¤Ï < ¼°> ¤ÎÃͤò²èÌ̤Ëɽ¼¨¤·¤Þ¤¹¡£¤³¤ì¤Ï pause 0 ¤ÈƱ ¤¸¤Ç¤¹¡£< ¼°> ¤Ï¡¢¿ô¤òÀ¸À®¤¹¤ë gnuplot ¤Î¿ô¼°¤«¡¢¤Þ¤¿¤Ïʸ»úÎó¤Ç¤¹¡£

½ñ¼°:

       print <¼°> {, <¼°>, ...}

°Ê²¼»²¾È: expressions (14)¡£½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ï set print ¤ÇÀßÄê¤Ç¤­¤Þ¤¹¡£

74 Pwd

pwd ¥³¥Þ¥ó¥É¤Ï¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Î̾Á°¤ò²èÌ̤Ëɽ¼¨¤·¤Þ¤¹¡£

¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤òʸ»úÎóÊÑ¿ô¤ËÊݸ¤·¤¿¤ê¡¢Ê¸»ú¼°¤ÎÃæ¤Ç»È¤¤¤¿¤¤¾ì¹ç ¤Ï¡¢ÊÑ¿ô GPVAL_PWD ¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£°Ê²¼»²¾È:show variables all (82.80)¡£

75 Quit

exit ¤È quit ¤Îξ¥³¥Þ¥ó¥É¤È END-OF-FILE ʸ»ú¤Ï¡¢gnuplot ¤ò½ªÎ» ¤µ¤»¤Þ¤¹¡£¤³¤ì¤é¤Î¥³¥Þ¥ó¥É¤Ï¡¢½ÐÎÏÁõÃÖ¤ò (clear ¥³¥Þ¥ó¥É¤ÈƱÍͤË) ¥¯¥ê¥¢¤·¤Æ¤«¤é½ªÎ»¤µ¤»¤Þ¤¹¡£

76 Raise

½ñ¼°:
     raise {plot_window_nb}

¥³¥Þ¥ó¥É raise (lower ¤ÎÈ¿ÂÐ) ¤Ï¡¢pm, win, wxt, x11 Åù¤Î gnuplot ¤ÎÂÐÏ÷¿½ÐÎÏ·Á¼°¤Î¼Â¹ÔÃæ¤Ë¡¢ÉÁ²è¥¦¥£¥ó¥É¥¦¤ò¾å (Á°ÌÌ) ¤Ë¾å¤²¤Þ ¤¹¡£ÉÁ²è¥¦¥£¥ó¥É¥¦¤ò¡¢¥Ç¥¹¥¯¥È¥Ã¥×¾å¤Î¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤Î z Êý¸þ¤Î ¥¦¥£¥ó¥É¥¦¤Î½Å¤Ê¤ê¤ÎÁ° (¾å) ¤ËÃÖ¤­¤Þ¤¹¡£

x11 ¤ä wxt ¤Î¤è¤¦¤ËÊ£¿ô¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¾ì¹ç¡¢¥Ç ¥Õ¥©¥ë¥È¤Ç¤Ï¤³¤Î¥³¥Þ¥ó¥É¤Ï¤½¤ì¤é¤ÎÊ£¿ô¤Î¥¦¥£¥ó¥É¥¦¤ò¹ß½ç¤Ë¾å¤²¡¢ºÇ½é¤Ë ºî¤é¤ì¤¿¥¦¥£¥ó¥É¥¦¤ò°ìÈÖ²¼¤Ë¡¢ºÇ¸å¤Ëºî¤é¤ì¤¿¥¦¥£¥ó¥É¥¦¤ò°ìÈÖ¾å¤ËÊÂ¤Ù¤Þ ¤¹¡£¥ª¥×¥·¥ç¥ó°ú¿ô¤ÎÉÁ²èÈֹ椬Ϳ¤¨¤é¤ì¤¿¾ì¹ç¡¢¤½¤ì¤ËÂбþ¤¹¤ëÉÁ²è¥¦¥£¥ó ¥É¥¦¤¬Â¸ºß¤¹¤ì¤Ð¤½¤ì¤Î¤ß¤¬¾å¤²¤é¤ì¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó°ú¿ô¤Ï¡¢Ã±°ì¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦¤Î½ÐÎÏ·Á¼°¡¢¤¹¤Ê¤ï¤Á pm ¤È win ¤Ç¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£

¥¦¥£¥ó¥É¥¦¤¬ X11 ¤ÇÁ°Ì̤˽Фʤ¤¾ì¹ç¡¢¤â¤·¤«¤¹¤ë¤ÈÉÁ²è¥¦¥£¥ó¥É¥¦¤Ï¡¢°Û ¤Ê¤ë X11 ¥»¥Ã¥·¥ç¥ó¤ÇÆ°ºî¤·¤Æ¤¤¤ë (Î㤨¤Ð telnet ¤ä ssh ¥»¥Ã¥·¥ç¥ó¤Ê¤É ¤Ë¤è¤Ã¤Æ) ¤«¡¢¤Þ¤¿¤ÏÁ°Ì̤˽Ф¹¤³¤È¤¬¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤ÎÀßÄê¤Ë¤è¤Ã¤Æ Ëɳ²¤µ¤ì¤Æ¤¤¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£

77 Refresh

¥³¥Þ¥ó¥É refresh ¤Ï¡¢replot ¤Ë»÷¤Æ¤¤¤Þ¤¹¤¬¡¢¼ç¤Ë 2 ¤Ä¤ÎÅÀ¤Ç°ã¤¤¤¬ ¤¢¤ê¤Þ¤¹¡£refresh ¤Ï¡¢´û¤ËÆɤ߹þ¤ó¤À¥Ç¡¼¥¿¤òÍѤ¤¤Æ¡¢¸½ºß¤ÎÉÁ²è¤òºÆÀ° ·Á¤·ºÆÉÁ²è¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢refresh ¤ò (µ¿»÷¥Ç¥Ð¥¤¥¹ '-' ¤«¤é¤Î) ¥¤¥ó ¥é¥¤¥ó¥Ç¡¼¥¿¤ÎÉÁ²è¡¢¤ª¤è¤ÓÆâÍƤ¬ÊѲ½¤·¤¦¤ë¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤«¤é¤ÎÉÁ²è¤Ë»È ¤¨¤ë¤È¤¤¤¦¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£¤¿¤À¤·¡¢¥³¥Þ¥ó¥É refresh ¤Ï¡¢´û¤Ë¸ºß¤¹ ¤ëÉÁ²è¤Ë¿·¤·¤¤¥Ç¡¼¥¿¤òÄɲ乤ë¤Î¤Ë¤Ï»È¤¨¤Þ¤»¤ó¡£

¥Þ¥¦¥¹Áàºî¡¢Æä˥º¡¼¥à¥¤¥ó¤È¥º¡¼¥à¥¢¥¦¥È¤Ç¤Ï¡¢Å¬Àڤʾì¹ç¤Ï replot ¤Î Âå¤ï¤ê¤Ë¤à¤·¤í refresh ¤ò»ÈÍѤ·¤Þ¤¹¡£Îã:


     plot 'datafile' volatile with lines, '-' with labels
     100 200 "Special point"
     e
     # ¿§¤ó¤Ê¥Þ¥¦¥¹Áàºî¤ò¤³¤³¤Ç¼Â¹Ô
     set title "Zoomed in view"
     set term post
     set output 'zoom.ps'
     refresh

78 Replot

replot ¥³¥Þ¥ó¥É¤ò°ú¿ô¤Ê¤·¤Ç¼Â¹Ô¤¹¤ë¤È¡¢ºÇ¸å¤Ë¼Â¹Ô¤·¤¿ plot ¤Þ¤¿¤Ï splot ¥³¥Þ¥ó¥É¤òºÆ¼Â¹Ô¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢¤¢¤ë¥×¥í¥Ã¥È¤ò°Û¤Ê¤ë set ¥ª ¥×¥·¥ç¥ó¤Ç¤ß¤¿¤ê¡¢Æ±¤¸¥×¥í¥Ã¥È¤ò°Û¤Ê¤ëÁõÃ֤˽ÐÎϤ·¤¿¤ê¤¹¤ë¤È¤­¤ËÊØÍø ¤Ç¤·¤ç¤¦¡£

replot ¥³¥Þ¥ó¥É¤ËÂФ¹¤ë°ú¿ô¤ÏºÇ¸å¤Ë¼Â¹Ô¤·¤¿ plot ¤Þ¤¿¤Ï splot ¥³¥Þ¥ó¥É¤Î°ú¿ô¤Ë (°ÅÌۤΠ',' ¤È¶¦¤Ë) Äɲ䵤졢¤½¤ì¤«¤éºÆ¼Â¹Ô¤µ¤ì¤Þ¤¹¡£ replot ¤Ï¡¢ÈÏ°Ï (range) ¤ò½ü¤¤¤Æ¤Ï¡¢plot ¤ä splot ¤ÈƱ¤¸°ú¿ô¤ò ¤È¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤è¤Ã¤Æ¡¢Ä¾Á°¤Î¥³¥Þ¥ó¥É¤¬ splot ¤Ç¤Ï¤Ê¤¯ plot ¤Î¾ì¹ç¤Ï¡¢´Ø¿ô¤ò¤â¤¦°ì¤Ä¤Î¼´¹ï¤Ç¥×¥í¥Ã¥È¤¹¤ë¤Î¤Ë replot ¤ò»È¤¦¤³¤È¤¬ ¤Ç¤­¤Þ¤¹¡£

Ãí°Õ:


     plot '-' ; ... ; replot

¤È¤¤¤¦»È¤¤Êý¤Ï¿ä¾©¤µ¤ì¤Þ¤»¤ó¡£¤½¤ì¤Ï¡¢¤³¤ì¤¬¤¢¤Ê¤¿¤ËºÆ¤ÓƱ¤¸¥Ç¡¼¥¿¤¹¤Ù ¤Æ¤ÎÆþÎϤòÍ׵᤹¤ë¤³¤È¤Ë¤Ê¤ë¤«¤é¤Ç¤¹¡£¤¿¤¤¤Æ¤¤¤Î¾ì¹ç¡¢Âå¤ï¤ê¤Ë¥³¥Þ¥ó¥É refresh ¤ò»È¤¨¤Þ¤¹¡£¤³¤ì¤Ï¡¢°ÊÁ°¤ËÆɤ߹þ¤ó¤À¥Ç¡¼¥¿¤ò»È¤Ã¤Æ¥°¥é¥Õ¤òºÆÉÁ²è¤·¤Þ¤¹¡£

replot ¥³¥Þ¥ó¥É¤Ï multiplot ¥â¡¼¥É¤Ç¤ÏƯ¤­¤Þ¤»¤ó¡£¤½¤ì¤Ï¡¢¤½¤ì¤¬ ²èÌÌÁ´ÂΤˤǤϤʤ¯Ä¾Á°¤Î¥×¥í¥Ã¥È¤Î¤ß¤òºÆ¼Â¹Ô¤¹¤ë¤â¤Î¤À¤«¤é¤Ç¤¹¡£

ºÇ¸å¤Ë¼Â¹Ô¤·¤¿ plot (splot) ¥³¥Þ¥ó¥É¤ÎÆâÍƤò½¤Àµ¤¹¤ëÊýË¡¤Ë¤Ä¤¤¤Æ¤Ï °Ê²¼¤â»²¾È: command-line-editing (8)¡£

ľÁ°¤ÎÉÁ²è¥³¥Þ¥ó¥É¤ÎÁ´ÂΤòɽ¼¨¤µ¤»¤ë¤³¤È¤ä¡¢¤½¤ì¤ò history ¤ÎÃæ¤Ë ¥³¥Ô¡¼¤¹¤ëÊýË¡¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼¤â»²¾È: show plot (82.52)¡£

79 Reread

reread ¥³¥Þ¥ó¥É¤Ï¡¢load ¥³¥Þ¥ó¥É¤Þ¤¿¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤¿ gnuplot ¤Î¥³¥Þ¥ó¥É¥Õ¥¡¥¤¥ë¤ò¡¢¤½¤Î¼¡¤Î¥³¥Þ¥ó¥É¤¬Æɤޤì¤ëÁ°¤Ë¡¢³« »ÏÅÀ¤ËºÆÀßÄꤷ¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥³¥Þ¥ó¥É¥Õ¥¡¥¤¥ë¤ÎºÇ½é¤«¤é reread ¥³¥Þ ¥ó¥É¤Þ¤Ç¤Î¥³¥Þ¥ó¥É¤Î̵¸Â¥ë¡¼¥×¤òËܼÁŪ¤Ë¼ÂÁõ¤·¤Æ¤¤¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ (¤·¤«¤·¡¢¤³¤ì¤Ï²¿¤â°­¤¤¤³¤È¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£reread ¤Ï if ¤ÈÁÈ¤ß¹ç ¤ï¤»¤ë¤³¤È¤Ç¤È¤Æ¤âÍ­ÍѤʥ³¥Þ¥ó¥É¤È¤Ê¤ê¤Þ¤¹¡£) ɸ½àÆþÎϤ«¤é¤ÎÆþÎϤξì¹ç¤Ï¡¢reread ¥³¥Þ¥ó¥É¤Ï²¿¤â±Æ¶Á¤òÍ¿¤¨¤Þ¤»¤ó¡£

Îã:

¥Õ¥¡¥¤¥ë "looper" ¤¬¼¡¤Î¤è¤¦¤Ê¥Õ¥¡¥¤¥ë¤Ç

     a=a+1
     plot sin(x*a)
     pause -1
     if(a<5) reread

¤½¤·¤Æ¡¢gnuplot ¤«¤é¼¡¤Î¤è¤¦¤Ë¼Â¹Ô¤¹¤ë¤È¤·¤Þ¤¹¡£
     a=0
     load 'looper'

¤¹¤ë¤È¡¢pause ¤Î¥á¥Ã¥»¡¼¥¸¤Çʬ³ä¤µ¤ì¤¿ 5 ²ó¤Î¥×¥í¥Ã¥È¤¬¹Ô¤ï¤ì¤ë¤³¤È¤Ë ¤Ê¤ê¤Þ¤¹¡£

¥Õ¥¡¥¤¥ë "data" ¤¬¡¢³Æ¹Ô¤Ë¡¢0 ¤«¤é 10 ¤Þ¤Ç¤ÎÈÏ°Ï (yrange) ¤Î 6 ¤Ä¤Î¥Ç ¡¼¥¿ ¤ò»ý¤Á¡¢ºÇ½é¤¬ x ºÂɸ¤Ç¡¢¤½¤Î¾¤Ï 5 ¤Ä¤Î°Û¤Ê¤ë´Ø¿ô¤Î¡¢¤½¤Î x ¤Ç¤Î ÃͤǤ¢¤ë¤È¤·¤Þ¤¹¡£¤½¤·¤Æ¡¢¥Õ¥¡¥¤¥ë "plotter" ¤¬

     c_p = c_p+1
     plot "$0" using 1:c_p with lines linetype c_p
     if(c_p <  n_p) reread

¤Ç¡¢gnuplot ¤«¤é¼¡¤Î¤è¤¦¤Ë¼Â¹Ô¤¹¤ë¤È¤·¤Þ¤¹¡£
     n_p=6
     c_p=1
     unset key
     set yrange [0:10]
     set multiplot
     call 'plotter' 'data'
     unset multiplot

¤¹¤ë¤È¡¢5 ¤Ä¤Î¥×¥í¥Ã¥È¤ò¹ç¤ï¤»¤¿ 1 ¤Ä¤Î¥°¥é¥Õ¤¬¤Ç¤­¤Þ¤¹¡£yrange ¤Ï¡¢ multiplot ¥â¡¼¥É¤ÇºÇ½é¤Î¤â¤Î¤Ë³¤±¤Æ½ñ¤«¤ì¤ë 5 ¤Ä¤Î¥°¥é¥Õ¤¬¡¢Æ±¤¸¼´¤ò »ý¤Ä¤è¤¦¤Ë¡¢ÌÀ¼¨Åª¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£Àþ¼ï¤â»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ ¤»¤ó¡£¤µ¤â¤Ê¤¤¤È¡¢Á´¤Æ¤Î¥°¥é¥Õ¤¬Æ±¤¸Àþ¼ï¤Ç½ñ¤«¤ì¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ ¥¢¥Ë¥á¡¼¥·¥ç¥ó¤Î¥µ¥ó¥×¥ë¤È¤·¤Æ¡¢demo ¥Ç¥£¥ì¥¯¥È¥ê¤Î animate.dem ¤â»²¾È ¤·¤Æ¤¯¤À¤µ¤¤¡£

80 Reset

¥³¥Þ¥ó¥É reset ¤Ï set ¥³¥Þ¥ó¥É¤ÇÄêµÁ¤Ç¤­¤ë¡¢¥°¥é¥Õ¤Ë´Ø¤¹¤ëÁ´¤Æ¤Î¥ª ¥×¥·¥ç¥ó¤ò¥Ç¥Õ¥©¥ë¥È¤ÎÃͤËÀßÄꤷ¤Þ¤¹¡£¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢Î㤨¤Ð¥³¥Þ¥ó¥É¥Õ ¥¡¥¤¥ë¤ÎºÇ¸å¤Ë¥°¥é¥Õ¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤ËÉüµ¢¤¹¤ë¡¢¤¢¤ë¤¤¤Ï¥³¥Þ¥ó¥É¥Õ¥¡ ¥¤¥ëÆâ¤Ç¤¿¤¯¤µ¤ó¤ÎÀßÄê¤ò¹Ô¤Ê¤Ã¤¿¾ì¹ç¤Ë¸µ¤Î¾õÂÖ¤ËÌ᤹¤È¤­¤Ê¤É¤ËÊØÍø¤Ç¤¹¡£ ÍÍ¡¹¤Ê¥ª¥×¥·¥ç¥ó¤Î¼è¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÃͤòÃΤë¤Ë¤Ï¡¢set ¥³¥Þ¥ó¥É¤Î·ë²Ì¤ò »²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

°Ê²¼¤Î¤â¤Î¤Ï¡¢reset ¤Î±Æ¶Á¤ò¼õ¤±¤Þ¤»¤ó¡£

    `set term` `set output` `set loadpath` `set fontpath` `set linetype`
    `set encoding` `set decimalsign` `set locale` `set psdir`

reset errors ¤Ï¡¢¥¨¥é¡¼¾õÂÖÊÑ¿ô GPVAL_ERRNO ¤È GPVAL_ERRMSG ¤Î¤ß¤ò¥¯ ¥ê¥¢¤·¤Þ¤¹¡£

reset bind ¤Ï¡¢¥­¡¼ÄêµÁ¤ò¥Ç¥Õ¥©¥ë¥È¤Î¾õÂÖ¤ËÉüµ¢¤·¤Þ¤¹¡£

81 Save

save ¥³¥Þ¥ó¥É¤Ï¡¢¥æ¡¼¥¶ÄêµÁ´Ø¿ô¡¢ÊÑ¿ô¡¢set term ¤Î¾õÂÖ¡¢set ¤ÇÀß Äꤹ¤ëÁ´¤Æ¤Î¥ª¥×¥·¥ç¥ó¤Î¤¤¤º¤ì¤«¤«¡¢¤¢¤ë¤¤¤Ï¤³¤ì¤é¤¹¤Ù¤Æ¤È¡¢¤½¤ì¤Ë²Ã¤¨ ¤ÆºÇ¸å¤Ë¼Â¹Ô¤·¤¿ plot (¤Þ¤¿¤Ï splot) ¥³¥Þ¥ó¥É¤ò¡¢»ØÄꤷ¤¿¥Õ¥¡¥¤¥ë ¤ËÊݸ¤·¤Þ¤¹¡£

½ñ¼°:

       save  {<¥ª¥×¥·¥ç¥ó>} '<¥Õ¥¡¥¤¥ë̾>'

¤³¤³¤Ç¡¢< ¥ª¥×¥·¥ç¥ó> ¤Ï¡¢functions, variables, terminal, set ¤Î¤¤¤º¤ì¤«¤Ç¤¹¡£¤É¤ì¤â»ØÄꤵ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë¤Ï¡¢gnuplot ¤Ï¡¢¥æ¡¼¥¶Äê µÁ´Ø¿ô¡¢ÊÑ¿ô¡¢set ¤ÇÀßÄꤹ¤ë¥ª¥×¥·¥ç¥ó¡¢ºÇ¸å¤Ë¼Â¹Ô¤·¤¿ plot (¤Þ¤¿¤Ï splot) ¥³¥Þ¥ó¥É¤ÎÁ´¤Æ¤òÊݸ¤·¤Þ¤¹¡£

save ¤Ï¡¢¥Æ¥­¥¹¥È·Á¼°¤Ç½ÐÎϤ·¤Þ¤¹¡£¤Þ¤¿¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ï load ¥³¥Þ ¥ó¥É¤ÇÆɤ߹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£set ¥ª¥×¥·¥ç¥óÉÕ¤­¡¢¤Þ¤¿¤Ï²¿¤â¥ª¥×¥·¥ç ¥ó¤ò¤Ä¤±¤º¤Ë save ¤ò¼Â¹Ô¤·¤¿¾ì¹ç¡¢terminal ¤ÎÁªÂò¤È output ¤Î¥Õ ¥¡¥¤¥ë̾¤Ï¥³¥á¥ó¥Èµ­¹æ¤Ä¤­¤Ç½ñ¤­½Ð¤µ¤ì¤Þ¤¹¡£¤³¤ì¤Ï¤½¤Î½ÐÎÏ¥Õ¥¡¥¤¥ë¤ò ¾¤Î´Ä¶­¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿ gnuplot ¾å¤ÇÆ°¤«¤¹¾ì¹ç¤Ë¡¢½¤Àµ¤Ê¤·¤Ë»È¤¨ ¤ë¤è¤¦¤Ë¤¹¤ë¡¢¤¢¤ë¤¤¤Ï¤¦¤Ã¤«¤ê¥Õ¥¡¥¤¥ë¤ò¾å½ñ¤­¤·¤Æ¤·¤Þ¤Ã¤¿¤ê¤¹¤ë´í¸±À­ ¤òÈò¤±¤ë¡¢¤È¤¤¤Ã¤¿°ÕÌ£¤¬¤¢¤ê¤Þ¤¹¡£

save terminal ¤Ï¡¢terminal ¤Î¾õÂÖ¤ò¡¢¥³¥á¥ó¥Èµ­¹æ¤ò¤Ä¤±¤º¤Ë½ñ¤­½Ð ¤·¤Þ¤¹¡£¤³¤ì¤Ï¼ç¤Ë¡¢¤Á¤ç¤Ã¤È¤Î´Ö¤À¤± terminal ¤ÎÀßÄê¤òÆþ¤ìÂؤ¨¡¢¤½¤Î ¸åÊݸ¤·¤Æ¤ª¤¤¤¿ terminal ¤Î¾õÂÖ¤òÆɤ߹þ¤à¤³¤È¤Ç°ÊÁ°¤Î terminal ¤ÎÀßÄê¤ËÌ᤹¾ì¹ç¤Ê¤É¤ËÌòΩ¤Á¤Þ¤¹¡£¤¿¤À¡¢Ã±°ì¤Î gnuplot ¥»¥Ã¥·¥ç¥ó¤Ç¤Ï¡¢¸½ ºß¤Î terminal ¤òÊݸ/Éü¸µ¤¹¤ë¾¤ÎÊýË¡¤Ç¤¢¤ë¥³¥Þ¥ó¥É set term push ¤È set term pop ¤ò»È¤¦Êý¤¬¤à¤·¤í¤¤¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£°Ê²¼»²¾È:set term (82.69)¡£

¥Õ¥¡¥¤¥ë̾¤Ï°úÍÑÉä¤Ë°Ï¤ï¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£

ÆÃÊ̤ʥե¡¥¤¥ë̾ "-" ¤Ë¤è¤ê save ¥³¥Þ¥ó¥É¤Ëɸ½à½ÐÎϤ˽ÐÎϤµ¤»¤ë¤³¤È ¤¬¤Ç¤­¤Þ¤¹¡£popen ´Ø¿ô¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤è¤¦¤Ê¥·¥¹¥Æ¥à (Unix ¤Ê¤É) ¤Ç¤Ï¡¢ save ¤Î½ÐÎϤò¥Ñ¥¤¥×·Ðͳ¤Ç¾¤Î³°Éô¥×¥í¥°¥é¥à¤ËÅϤ¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤½¤Î ¾ì¹ç¡¢¥Õ¥¡¥¤¥ë̾¤È¤·¤Æ¥³¥Þ¥ó¥É̾¤ÎÀèƬ¤Ë '| ' ¤ò¤Ä¤±¤¿¤â¤Î¤ò»È¤¤¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢gnuplot ¤È¥Ñ¥¤¥×¤òÄ̤·¤ÆÄÌ¿®¤¹¤ë¥×¥í¥°¥é¥à¤Ë¡¢gnuplot ¤ÎÆâ ÉôÀßÄê¤Ë´Ø¤¹¤ë¼óÈø°ì´Ó¤·¤¿¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤òÄ󶡤·¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: batch/interactive (6)¡£

Îã:

     save 'work.gnu'
     save functions 'func.dat'
     save var 'var.dat'
     save set 'options.dat'
     save term 'myterm.gnu'
     save '-'
     save '|grep title >t.gp'

82 Set-show

set ¥³¥Þ¥ó¥É¤Ï¼Â¤Ë¿¤¯¤Î¥ª¥×¥·¥ç¥ó¤òÀßÄꤹ¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£¤·¤«¤·¡¢ plot, splot, replot ¥³¥Þ¥ó¥É¤¬Í¿¤¨¤é¤ì¤ë¤Þ¤Ç²¿¤âɽ¼¨¤·¤Þ¤»¤ó¡£

show ¥³¥Þ¥ó¥É¤Ï¤½¤ì¤é¤ÎÀßÄêÃͤòɽ¼¨¤·¤Þ¤¹¡£show all ¤Ç¤½¤ì¤éÁ´¤Æ ¤òɽ¼¨¤·¤Þ¤¹¡£

set ¥³¥Þ¥ó¥É¤ÇÊѹ¹¤µ¤ì¤¿¥ª¥×¥·¥ç¥ó¤Ï¡¢¤½¤ì¤ËÂбþ¤¹¤ë unset ¥³¥Þ¥ó ¥É¤ò¼Â¹Ô¤¹¤ë¤³¤È¤Ç¥Ç¥Õ¥©¥ë¥È¤Î¾õÂÖ¤ËÌ᤹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£°Ê²¼¤â»²¾È:reset (80)¡£¤³¤ì¤ÏÁ´¤Æ¤Î¥Ñ¥é¥á¡¼¥¿¤ÎÀßÄê¤ò¥Ç¥Õ¥©¥ë¥È¤ÎÃͤËÌᤷ¤Þ¤¹¡£

¤â¤·ÊÑ¿ô¤¬Æü»þ¤Î¥Ç¡¼¥¿¤ò´Þ¤à¤Ê¤é¤Ð¡¢show ¤Ï¡¢set timefmt ¤Ë¤è¤Ã¤Æ ¸½ºßÀßÄꤵ¤ì¤Æ¤¤¤ë½ñ¼°¤Ë½¾¤Ã¤Æɽ¼¨¤·¤Þ¤¹¡£¤½¤ì¤ÏÊÑ¿ô¤¬ºÇ½é¤ËÀßÄꤵ¤ì¤Æ ¤¤¤Æ¤½¤Î½ñ¼°¤¬¸ú²Ì¤ò»ý¤¿¤Ê¤«¤Ã¤¿¤È¤·¤Æ¤â¤Ç¤¹¡£ set ¤È unset ¥³¥Þ¥ó¥É¤Ë¤Ï·«¤êÊÖ¤·Àá¤âÍøÍѤǤ­¤Þ¤¹¡£°Ê²¼»²¾È:iteration (68)¡£

82.1 Angles

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï gnuplot ¤Ï¶ËºÂɸ¥°¥é¥Õ¤ÎÆÈΩÊÑ¿ô¤Îñ°Ì¤Ï¥é¥¸¥¢¥ó¤ò²¾Äê ¤·¤Þ¤¹¡£set polar ¤ÎÁ°¤Ë set angles degrees ¤ò»ØÄꤹ¤ë¤È¡¢¤½¤Îñ°Ì ¤ÏÅ٤ˤʤꡢ¥Ç¥Õ¥©¥ë¥È¤ÎÈÏ°Ï¤Ï [0:360] ¤È¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤Ï¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë ¤ÎÉÁ²è¤ÇÆäËÊØÍø¤Ç¤·¤ç¤¦¡£³ÑÅÙ¤ÎÀßÄê¤Ï¡¢set mapping ¥³¥Þ¥ó¥É¤òÀßÄꤹ ¤ë¤³¤È¤Ë¤è¤ê 3 ¼¡¸µ¤Ç¤âÍ­¸ú¤Ç¤¹¡£

½ñ¼°:

     set angles {degrees | radians}
     show angles

set grid polar ¤Ç»ØÄꤵ¤ì¤ë³ÑÅ٤⡢set angles ¤Ç»ØÄꤷ¤¿Ã±°Ì¤ÇÆɤޤì ɽ¼¨¤µ¤ì¤Þ¤¹¡£

set angles ¤ÏÁȤ߹þ¤ß´Ø¿ô sin(x), cos(x), tan(x) ¤Î°ú¿ô¤ä asin(x), acos(x), atan8x), atan2(x), arg(x) ¤Î½ÐÎϤˤâ±Æ¶Á¤òÍ¿¤¨¤Þ¤¹¡£ÁжÊÀþ´Ø ¿ô¤ä¡¢¥Ù¥Ã¥»¥ë´Ø¿ô¤Î°ú¿ô¤Ë¤Ï±Æ¶Á¤òÍ¿¤¨¤Þ¤»¤ó¡£¤·¤«¤·¡¢Ê£ÁÇ¿ô¤ò°ú¿ô¤È¤¹ ¤ëµÕÁжÊÀþ´Ø¿ô¤Î½ÐÎϤˤϱƶÁ¤¬½Ð¤Þ¤¹¡£¤½¤ì¤é¤Î´Ø¿ô¤¬»È¤ï¤ì¤ë¤È¤­¤Ï¡¢ set angles radians ¤ÏÆþ½ÐÎϤΰú¿ô¤Î´Ö¤Ë°ì´ÓÀ­¤ò»ý¤Ã¤¿´ÉÍý¤ò¼Â¸½¤·¤Æ ¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£


     x={1.0,0.1}
     set angles radians
     y=sinh(x)
     print y         #{1.16933, 0.154051} ¤Èɽ¼¨
     print asinh(y)  #{1.0, 0.1} ¤Èɽ¼¨

¤·¤«¤·¡¢
     set angles degrees
     y=sinh(x)
     print y         #{1.16933, 0.154051} ¤Èɽ¼¨
     print asinh(y)  #{57.29578, 5.729578} ¤Èɽ¼¨

°Ê²¼¤â»²¾È

poldat.dem: set angles ¤òÍѤ¤¤¿¶ËºÂɸÉÁ²è¤Î¥Ç¥â

82.2 Arrow

set arrow ¥³¥Þ¥ó¥É¤ò»È¤¦¤³¤È¤Ë¤è¤ê¡¢¥°¥é¥Õ¾å¤ÎǤ°Õ¤Î°ÌÃÖ¤ËÌð°õ¤òɽ¼¨ ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

½ñ¼°:

     set arrow {<tag>} {from <position>} {to|rto <position>}
               { {arrowstyle | as <arrow_style>}
                 | { {nohead | head | backhead | heads}
                     {size <length>,<angle>{,<backangle>}}
                     {filled | empty | nofilled}
                     {front | back}
                     { {linestyle | ls <line_style>}
                       | {linetype | lt <line_type>}
                         {linewidth | lw <line_width} } } }


     unset arrow {<tag>}
     show arrow {<tag>}

¥¿¥° < tag> ¤Ï³ÆÌð°õ¤ò¼±Ê̤¹¤ëÀ°¿ô¤Ç¤¹¡£¥¿¥°¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¤Ï¡¢¤½¤Î»þ ÅÀ¤Ç̤»ÈÍѤκǤ⾮¤µ¤¤¿ô¤¬¼«Æ°Åª¤Ë³ä¤êÅö¤Æ¤é¤ì¤Þ¤¹¡£¥¿¥°¤ò»È¤¦¤³¤È¤Ç¡¢ ÆÃÄê¤ÎÌð°õ¤òÊѹ¹¤·¤¿¤ê¡¢ºï½ü¤·¤¿¤ê¤Ç¤­¤Þ¤¹¡£´û¤Ë¸ºß¤¹¤ëÌð°õ¤Î°À­¤òÊÑ ¹¹¤¹¤ë¾ì¹ç¤Ï¡¢¥¿¥°¤òÌÀ¼¨¤·¤¿ set arrow ¥³¥Þ¥ó¥É¤ÇÊѹ¹²Õ½ê¤ò»ØÄꤷ¤Æ ¤¯¤À¤µ¤¤¡£

< position> ¤Ï x,y ¤¢¤ë¤¤¤Ï x,y,z ¤Ç»ØÄꤷ¤Þ¤¹¡£¤½¤·¤Æ¤½¤ÎÁ°¤ËºÂɸ·Ï¤ò ÁªÂò¤¹¤ë¤¿¤á¤Ë first, second, graph, screen, character ¤òÃÖ ¤¯¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ºÂɸ¤ò»ØÄꤷ¤Ê¤±¤ì¤Ð¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 0 ¤È¸«¤Ê¤µ¤ì¤Þ¤¹¡£ Ìð°õ¤ÎüÅÀ¤Ï¡¢5 ¤Ä¤ÎºÂɸ·Ï¡¢¤¹¤Ê¤ï¤Á first ¤« second ¤Î¼´¡¢¤¢¤ë¤¤ ¤Ï graph, screen, character ¤Î¤¦¤Á¤Î 1 ¤Ä¤òÁªÂò¤·¤Æ»ØÄê¤Ç¤­¤Þ¤¹¡£ ¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: coordinates (10)¡£"from" ¤Î¾ì½ê¤ÎºÂɸ·Ï»ØÄê»Ò¤Ï¡¢"to" ¤Î¾ì½ê¤Ë±Æ¶Á¤òµÚ¤Ü¤¹¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£¥°¥é¥Õ¤ÎÏȤò¤Ï¤ß½Ð¤ëÌð°õ¤ò½ñ¤¯¤³ ¤È¤â¤Ç¤­¤Þ¤¹¤¬¡¢½ÐÎÏüËö¤Ë¤è¤Ã¤Æ¤Ï¥¨¥é¡¼¤òÀ¸¤º¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£½ªÅÀ¤¬ "to" ¤ÎÂå¤ï¤ê¤Ë "rto" ¤Ç»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢»ÏÅÀ¤«¤é¤ÎÁêÂÐŪ¤Ê°ÌÃÖ¤ËÉÁ ¤«¤ì¤Þ¤¹¡£¤³¤Î¾ì¹ç¡¢Àþ·Á¼´ (ÈóÂпô¼´)¡¢¤ª¤è¤Ó graph, screen ºÂɸ¤Ë ÂФ·¤Æ¤Ï¡¢»ÏÅÀ¤È½ªÅÀ¤Îµ÷Î¥¤¬Í¿¤¨¤é¤ì¤¿ÁêÂÐŪ¤ÊÃͤËÂбþ¤·¤Þ¤¹¡£°ìÊý¡¢ÂÐ ¿ô¼´¤ËÂФ·¤Æ¤Ï¡¢Í¿¤¨¤é¤ì¤¿ÁêÂÐŪ¤ÊÃͤϡ¢»ÏÅÀ¤«¤é½ªÅÀ¤Ø¤ÎÇÜ¿ô¤ËÂбþ¤·¤Þ ¤¹¡£¤è¤Ã¤Æ¡¢Âпô¼´¤Î¾ì¹ç¡¢ÁêÂÐŪ¤ÊÃͤȤ·¤Æ 0 ¤äÉé¤ÎÃͤòÍ¿¤¨¤ë¤³¤È¤Ïµö ¤µ¤ì¤Þ¤»¤ó¡£

nohead ¤ò»ØÄꤹ¤ë¤³¤È¤Ç¡¢ÌðÀè¤Î¤Ê¤¤Ì𡢤¹¤Ê¤ï¤ÁÀþʬ¤ò½ñ¤¯¤³¤È¤â¤Ç¤­ ¤Þ¤¹¡£¤³¤ì¤ÏÉÁ²è¤Î¾å¤ËÀþʬ¤òÉÁ¤¯Ê̤ÊÊýË¡¤òÍ¿¤¨¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 1 ¤Ä¤ÎÌð¤Ï 1 ¤Ä¤ÎÌðÀè¤ò¤½¤Î½ªÃ¼¤Ë»ý¤Ã¤Æ¤¤¤Þ¤¹¡£backhead ¤Ï»ÏÅÀ¤ËÌðÀè¤ò ÉÁ¤­¡¢heads ¤ÏÀþʬ¤Îξü¤ËÌðÀè¤òÉÁ¤­¤Þ¤¹¡£Á´¤Æ¤Î½ÐÎÏ·Á¼°¤¬Î¾Ã¼¤ÎÌðÀè ¤ÎÉÁ²è¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤ï¤±¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£

ÌðÀè¤ÎÂ礭¤µ¤Ï size < length> ,< angle> ¤Þ¤¿¤Ï size < length> ,< angle> ,< backangle> ¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¡£< length> ¤ÏÌðÀè ¤Î³Æ»Þ¤ÎŤµ¤Ç¡¢< angle> ¤ÏÌðÀè¤Î»Þ¤ÈÌð¼´¤¬¤Ê¤¹³ÑÅÙ (ñ°Ì¤ÏÅÙ) ¤Ç¤¹¡£ < length> ¤Îñ°Ì¤Ï x ¼´¤ÈƱ¤¸¤Ç¤¹¤¬¡¢¤½¤ì¤Ï < length> ¤ÎÁ°¤Ë first, second, graph, screen, character ¤ò¤Ä¤±¤ë¤³¤È¤ÇÊѹ¹¤Ç ¤­¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: coordinates (10)¡£< backangle> ¤Ï¡¢filled ¤« ¤Þ¤¿¤Ï empty ¤¬¤È¤â¤Ë»È¤ï¤ì¤¿¾ì¹ç¤Î¤ß¸úÎϤò»ý¤Á¡¢¤½¤Î¾ì¹ç¡¢ < backangle> ¤ÏÌðÀè¤Î¸å¤í¤ÎÉôʬ¤ÎÌ𼴤ȤÎÀÚ¤ê³Ñ (< angle> ¤ÈƱ¤¸Êý¸þ; ñ°Ì¤ÏÅÙ) ¤Ë¤Ê¤ê¤Þ¤¹¡£½ÐÎÏ·Á¼° fig ¤Ï¡¢À©¸Â¤µ¤ì¤¿ÀÚ¤ê³Ñ´Ø¿ô¤ò»ý¤Ã¤Æ ¤¤¤Æ¡¢¤½¤ì¤Ï 3 ¤Ä¤Î°Û¤Ê¤ë·Á¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Æ¡¢¤½¤ì¤Ï 2 ¤Ä¤ÎïçÃͤǷèÄê ¤·¤Þ¤¹: 70 ÅṲ̀Ëþ¤Î¾ì¹ç¡¢ÌðÀè¤Ï¤Ø¤³¤ó¤ÀÀÚ¤ê³Ñ¤ò»ý¤Á¡¢110 ÅÙ¤òĶ¤¨¤ë¾ì ¹ç¡¢¸å¤í¤ÎÉôʬ¤ËÀí¤Ã¤¿³Ñ¤ò»ý¤Á¡¢¤½¤Î´Ö¤Î³Ñ¤Ç¤Ï¡¢ÌðÀè¤Î¸å¤í¤ÏľÀþ¤Ë¤Ê¤ê ¤Þ¤¹¡£

filled ¤ò»ØÄꤹ¤ë¤È¡¢Åɤê¤Ä¤Ö¤µ¤ì¤¿ÌðÀè¤òºî¤ê¤Þ¤¹ (heads ¤¬»È¤ï¤ì ¤Æ¤¤¤ë¾ì¹ç)¡£Åɤê¤Ä¤Ö¤·¤Ï¡¢Â¿³Ñ·Á¤ÎÅɤê¤Ä¤Ö¤·¤¬¹Ô¤¨¤ë¤è¤¦¤Ê½ÐÎÏ·Á¼°¤Ç ¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Æ¡¢¤½¤Î¥ê¥¹¥È¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: pm3d (82.53)¡£Â¾¤Î½ÐÎÏ·Á ¼°¤Ç¤ÏÌðÀè¤ÏÊĤ¸¤é¤ì¤Þ¤¹¤¬Åɤê¤Ä¤Ö¤µ¤ì¤Þ¤»¤ó¡£¤½¤ì¤ÈƱ¤¸¸ú²Ì (ÊĤ¸¤é¤ë ¤¬Åɤé¤ì¤Ê¤¤) ¤Ï¡¢empty ¤ò»ØÄꤷ¤Æ¤âÆÀ¤é¤ì¤Þ¤¹¡£¤Þ¤¿¡¢metafont, metapost, latex, tgif ¤Î¤è¤¦¤Ë¡¢Ìð¤ò¤½¤ì¤é¼«¿È¤ÎÆȼ«¤Î¥ë¡¼¥Á¥ó¤Ç ÉÁ¤¯¤è¤¦¤Ê½ÐÎÏ·Á¼°¤Ç¤Ï¡¢ÌðÀè¤ÎÅɤê¤Ä¤Ö¤·¤äÌðÀè¤ÎÏÈÀþÉÁ¤­¤Ï¤â¤Á¤í¤ó¥µ¥Ý ¡¼¥È¤µ¤ì¤Þ¤»¤ó¡£

Àþ¼ï¤Ï¥æ¡¼¥¶¤ÎÄêµÁ¤·¤¿¥é¥¤¥ó¥¹¥¿¥¤¥ë¤Î¥ê¥¹¥È¤«¤éÁª¤Ö¤³¤È¤â¤Ç¤­¤Þ¤¹¤· (°Ê²¼»²¾È: set style line (82.66.7))¡¢ÍÑ°Õ¤µ¤ì¤Æ¤¤¤ë < line_type> ¤ÎÃÍ (¥Ç¥Õ¥© ¥ë¥È¤Î¥é¥¤¥ó¥¹¥¿¥¤¥ë¤Î¥ê¥¹¥È¤ÎÈÖ¹æ) ¤½¤·¤Æ < linewidth> (¥Ç¥Õ¥©¥ë¥È¤ÎÉý ¤ÎÇÜ¿ô) ¤ò»È¤Ã¤Æ¤³¤³¤ÇÄêµÁ¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

¤·¤«¤·¡¢¥æ¡¼¥¶¡¼ÄêµÁºÑ¤Î¥é¥¤¥ó¥¹¥¿¥¤¥ë¤¬ÁªÂò¤µ¤ì¤¿¾ì¹ç¡¢¤½¤Î°À­ (Àþ¼ï¡¢ Éý) ¤Ï¡¢Ã±¤Ë¾¤Î set arrow ¥³¥Þ¥ó¥É¤ÇŬÅö¤ÊÈÖ¹æ¤ä lt, lw ¤Ê¤É¤ò »ØÄꤷ¤Æ¤â¡¢Êѹ¹¤Ï¤Ç¤­¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ²¼¤µ¤¤¡£

front ¤ò»ØÄꤹ¤ë¤È¡¢Ìð¤Ï¥°¥é¥Õ¤Î¥Ç¡¼¥¿¤Î¾å¤ËÉÁ¤«¤ì¤Þ¤¹¡£back ¤¬»Ø Äꤵ¤ì¤¿¾ì¹ç (¥Ç¥Õ¥©¥ë¥È) ¤ÏÌð¤Ï¥°¥é¥Õ¤Î¥Ç¡¼¥¿¤Î²¼¤ËÉÁ¤«¤ì¤Þ¤¹¡£front ¤ò»È¤¨¤Ð¡¢Ì©½¸¤·¤¿¥Ç¡¼¥¿¤ÇÌ𤬸«¤¨¤Ê¤¯¤Ê¤ë¤³¤È¤òËɤ°¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

Îã:

¸¶ÅÀ¤«¤é (1,2) ¤Ø¤ÎÌð°õ¤ò¥æ¡¼¥¶ÄêµÁºÑ¤Î¥¹¥¿¥¤¥ë 5 ¤ÇÉÁ¤¯¤Ë¤Ï:

     set arrow to 1,2 ls 5

ÉÁ²èÎΰè¤Îº¸²¼³Ñ¤«¤é (-5,5,3) ¤Ø¥¿¥°ÈÖ¹æ 3 ¤ÎÌð°õ¤òÉÁ¤¯¤Ë¤Ï:

     set arrow 3 from graph 0,0 to -5,5,3

Ìð°õ¤Îü¤ò 1,1,1 ¤ËÊѹ¹¤·¡¢ÌðÀè¤ò³°¤·¤ÆÉý¤ò 2 ¤Ë¤¹¤ë¤Ë¤Ï:

     set arrow 3 to 1,1,1 nohead lw 2

x=3 ¤Î½ê¤Ø¥°¥é¥Õ¤Î²¼¤«¤é¾å¤Þ¤Ç±ôľÀþ¤òÉÁ¤¯¤Ë¤Ï:

     set arrow from 3, graph 0 to 3, graph 1 nohead

T »ú·¿¤ÎÌðÀè¤òξü¤Ë»ý¤Ä±ôľÊý¸þ¤ÎÌð¤òÉÁ¤¯¤Ë¤Ï:

     set arrow 3 from 0,-5 to 0,5 heads size screen 0.1,90

»ÏÅÀ¤«¤é¤ÎÁêÂÐŪ¤Êµ÷Î¥¤ò¥°¥é¥ÕºÂɸ¤ÇÍ¿¤¨¤ÆÌð¤òÉÁ¤¯¤Ë¤Ï:

     set arrow from 0,-5 rto graph 0.1,0.1

x ¤ÎÂпô¼´¤ËÁêÂÐŪ¤Ê½ªÅÀ¤ò»ØÄꤷ¤ÆÌð¤òÉÁ¤¯¾ì¹ç:

     set logscale x
     set arrow from 100,-5 rto 10,10

¤³¤ì¤Ï 100,-5 ¤«¤é 1000,5 ¤Þ¤Ç¤ÎÌð¤òÉÁ¤­¤Þ¤¹¡£Àþ·Á¼´ (y) ¤ËÂФ·¤Æ¤ÏÁê ÂÐŪ¤ÊºÂɸ 10 ¤¬ "º¹ 10" ¤ò°ÕÌ£¤¹¤ë¤Î¤ËÂФ·¡¢Âпô¼´ (x) ¤ËÂФ·¤Æ¤ÏÁêÂРŪ¤ÊºÂɸ 10 ¤Ï "ÇÜ¿ô 10" ¤È¤·¤ÆƯ¤­¤Þ¤¹¡£

2 ÈÖ¤ÎÌð°õ¤ò¾Ã¤¹¤Ë¤Ï:

     unset arrow 2

Á´¤Æ¤ÎÌð°õ¤ò¾Ã¤¹¤Ë¤Ï:

     unset arrow

Á´¤Æ¤ÎÌð°õ¤Î¾ðÊó¤ò (¥¿¥°¤Î½ç¤Ë) ¸«¤ë¤Ë¤Ï:

     show arrow

Ìð°õ¤Î¥Ç¥â

82.3 Autoscale

¼«Æ°½Ì¼Üµ¡Ç½ (autoscale) ¤Ï x, y, z ¤Î³Æ¼´¤ËÂФ·¤ÆÆÈΩ¤Ë¡¢¤Þ¤¿¤Ï°ì³ç¤· ¤Æ»ØÄê¤Ç¤­¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤ÏÁ´¤Æ¤Î¼´¤ËÂФ·¤Æ¼«Æ°½Ì¼ÜÀßÄê¤ò¹Ô¤¤¤Þ¤¹¡£ ¿Þ¤ÎÃæ¤Î°ìÉô¤ÎÉÁ²è (plot) ¤ÎÁȤΤߤò¸µ¤Ë autoscale ¤·¤¿¤¤¾ì¹ç¤Ï¡¢¤½ ¤ÎÂоݤǤʤ¤ plot ¤Ë¥Õ¥é¥° noautoscale ¤ò¤Ä¤±¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ °Ê²¼»²¾È: datafile (72.3)¡£

½ñ¼°:

     set autoscale {<axes>{|min|max|fixmin|fixmax|fix} | fix | keepfix}
     unset autoscale {<axes>}
     show autoscale

¤³¤³¤Ç¡¢< axes> (¼´) ¤Ï x, y, z, cb, x2, y2, xy ¤Î¤¤¤º¤ì ¤«¤Ç¤¹¡£min ¤Þ¤¿¤Ï max ¤ò¼´¤ËÄɲûØÄꤹ¤ë¤È (xy ¤Ç¤Ï»È¤¨¤Þ¤»¤ó¤¬) ¤½¤ì¤Ï gnuplot ¤Ë¤½¤Î¼´¤ÎºÇ¾®ÃÍ¡¢¤Þ¤¿¤ÏºÇÂçÃͤΤߤò¼«Æ°½Ì¼Ü¤µ¤»¤ë¤³ ¤È¤Ë¤Ê¤ê¤Þ¤¹¡£¼´¤â²¿¤â»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤ÏÁ´¤Æ¤Î¼´¤¬ÂоݤȤʤê¤Þ¤¹¡£

fixmin ¤ä fixmax ¤ä fix ¤òÄɲûØÄꤹ¤ë¤È¡¢Åù´Ö³Ö¤ÎÌÜÀ¹¤ê¤Î¼«Æ°½Ì ¼Ü»þ¤Î¡¢¼¡¤ÎÌÜÀ¹¤ê°ÌÃ֤ޤǤÎÈϰϤμ«Æ°³ÈÂç¤ò gnuplot ¤Ë¹Ô¤ï¤»¤Ê¤¤¤è¤¦ ¤Ë¤·¤Þ¤¹¡£set autoscale fix ¤Ï¤³¤ì¤òÁ´¤Æ¤Î¼´¤ËÂФ·¤ÆÀßÄꤷ¤Þ¤¹¡£¥³¥Þ ¥ó¥É set autoscale keepfix ¤Ï¡¢Ä¾Á°¤Î fix ¤ÎÀßÄê¤ò°Ý»ý¤·¤¿¤Þ¤ÞÁ´¤Æ ¤Î¼´¤ò¼«Æ°½Ì¼Ü¤Ë¤·¤Þ¤¹¡£

¼«Æ°½Ì¼Üµ¡Ç½¤ò»È¤¦¤È¤­¤Ï¡¢ÉÁ²èÈϰϤϼ«Æ°Åª¤Ë³ä¤ê½Ð¤µ¤ì¡¢½¾Â°ÊÑ¿ô¼´(plot ¤Î¤È¤­¤Ï y ¼´¡¢splot ¤Î¤È¤­¤Ï z ¼´) ¤Ï¡¢´Ø¿ô¤ä¥Ç¡¼¥¿¤ÎÃͰ褬 ¼ý¤Þ¤ë¤è¤¦¤ËÀßÄꤵ¤ì¤Þ¤¹¡£

½¾Â°ÊÑ¿ô¼´ (y ¤Þ¤¿¤Ï z) ¤Î¼«Æ°½Ì¼Üµ¡Ç½¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¡¢¸½ºß¤Î y ¤ä z ¤ÎÉÁ²èÈϰϤ¬¤½¤Î¤Þ¤Þ»È¤ï¤ì¤Þ¤¹¡£

ÆÈΩÊÑ¿ô¼´ (plot ¤Î¤È¤­¤Ï x ¼´¡¢splot ¤Î¤È¤­¤Ï x,y ¼´) ¤Î¼«Æ°½Ì¼Ü µ¡Ç½¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢ÉÁ²è¤µ¤ì¤ëÁ´¤Æ¤Î¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ÎÅÀ¤¬¼ý¤Þ¤ë ¤è¤¦¤ËÄêµÁ°è¤ò¤È¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤¬ 1 ¤Ä¤â»ØÄꤵ¤ì¤Æ¤¤ ¤Ê¤¤¾ì¹ç¤Ï¡¢¼«Æ°½Ì¼Üµ¡Ç½¤Ï¤Ê¤ó¤Î¸ú²Ì¤â¤¢¤ê¤Þ¤»¤ó¡£¤Ä¤Þ¤ê¡¢´Ø¿ô¤Î¤ß¤¬ »ØÄꤵ¤ì¤Æ¤¤¤Æ¥Ç¡¼¥¿¡¼¥Õ¥¡¥¤¥ë¤ò»È¤ï¤Ê¤¤¾ì¹ç¤Ï¡¢x ¼´¤ÎÉÁ²èÈÏ°Ï (z = f(x,y) ¤òÉÁ²è¤·¤Æ¤¤¤ë¤È¤­¤Ï y ¼´¤â) ¤Ï±Æ¶Á¤ò¤¦¤±¤Þ¤»¤ó¡£

ÈϰϤ˴ؤ¹¤ë¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È: set xrange (82.95)¡£

ÇÞ²ðÊÑ¿ô¥â¡¼¥É (parametric) ¤Ç¤â¼«Æ°½Ì¼Üµ¡Ç½¤ÏÍ­¸ú¤Ç¤¹ (°Ê²¼»²¾È:set parametric (82.51))¡£¤³¤Î¾ì¹ç¡¢¤è¤ê¿¤¯¤Î½¾Â°ÊÑ¿ô¤¬¤¢¤ë¤Î¤Ç¡¢x, y, z ³Æ¼´¤Ë´Ø¤·¤Æ¡¢¤è¤ê¿¤¯¤ÎÀ©¸æ¤¬¹Ô¤ï¤ì¤Þ¤¹¡£ÇÞ²ðÊÑ¿ô¥â¡¼¥É¤Ç¤ÎÆÈΩÊÑ¿ô (²¾ ÊÑ¿ô) ¤Ï plot ¤Ç¤Ï t ¤Ç splot ¤Ç¤Ï u, v ¤Ç¤¹¡£¤½¤·¤ÆÇÞ²ðÊÑ¿ô¥â¡¼¥É ¤Ç¤Ï¡¢¼«Æ°½Ì¼Üµ¡Ç½¤Ï (t, u, v, x, y, z) ¤ÎÁ´¤Æ¤ÎÉÁ²èÈϰϤòÀ©¸æ¤·¡¢x, y, z ¤ÎÈϰϤμ«Æ°ÀßÄê¤ò´°Á´¤Ë¹Ô¤¤¤Þ¤¹¡£

¼«Æ°½Ì¼Üµ¡Ç½¤Ï¡¢¶ËºÂɸ¥â¡¼¥É (polar mode) ¤Ç¤â plot ¤ÎÇÞ²ðÊÑ¿ô¥â¡¼¥É ¤ÈƱÍͤ˵¡Ç½¤·¤Þ¤¹¤¬¡¢¶ËºÂɸ¥â¡¼¥É¤Ç¤Ï set dummy ¤ÇÆÈΩÊÑ¿ô¤ò t ¤«¤é Êѹ¹¤¹¤ë¤Ç¤­¤ë (°Ê²¼»²¾È: set dummy (82.19)) ¤È¤¤¤¦³ÈÄ¥¤¬¤¢¤ê¤Þ¤¹¡£

ÌÜÀ¹¤ê¤¬ÂèÆó¤Î¼´¤Ëɽ¼¨¤µ¤ì¡¢¤·¤«¤â¤³¤ì¤é¤Î¼´¤ËÂФ¹¤ëÉÁ²è¤¬¹Ô¤ï¤ì¤Ê¤«¤Ã ¤¿¾ì¹ç¤Ë¤Ï¡¢x2range ¤È y2range ¤Ï xrange ¤È yrange ¤ÎÃͤò¼õ¤±·Ñ¤®¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢xrange ¤È yrange ¤¬À°¿ô¸Ä¤ÎÌÜÀ¹¤êÉý¤Ë¼«Æ°½Ì¼Ü¤µ¤ì¤ë¡ÖÁ°¡×¤Ë¹Ô¤ï ¤ì¤Þ¤¹¤Î¤Ç¡¢¾ì¹ç¤Ë¤è¤Ã¤Æͽ´ü¤·¤Ê¤¤·ë²Ì¤ò¤â¤¿¤é¤¹²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£¤½¤ì ¤òÈò¤±¤ë¤¿¤á¤Ë fixmin, fixmax ¥ª¥×¥·¥ç¥ó¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

Îã:

°Ê²¼¤Ï y ¼´¤Î¼«Æ°½Ì¼Üµ¡Ç½¤ò»ØÄꤷ¤Þ¤¹ (¾¤Î¼´¤Ë¤Ï±Æ¶Á¤òÍ¿¤¨¤Þ¤»¤ó):

     set autoscale y

°Ê²¼¤Ï y ¼´¤ÎºÇ¾®ÃͤËÂФ·¤Æ¤Î¤ß¼«Æ°½Ì¼Üµ¡Ç½¤ò»ØÄꤷ¤Þ¤¹ (y ¼´¤ÎºÇÂçÃÍ¡¢¤ª¤è¤Ó¾¤Î¼´¤Ë¤Ï±Æ¶Á¤òÍ¿¤¨¤Þ¤»¤ó):

     set autoscale ymin

°Ê²¼¤Ï x2 ¼´¤ÎÎÙ¤ÎÌÜÀ¹¤ê¤Ø¤Î¼«Æ°ÈϰϳÈÂ絡ǽ¤ò̵¸ú¤Ë¤·¡¢¤è¤Ã¤ÆÉÁ²è¥Ç¡¼¥¿Æâ¡¢¤Þ¤¿¤Ï´Ø¿ô¤ËÂФ¹¤ëÃúÅÙ¤ÎÉÁ²èÈϰϤò°Ý»ý¤·¤Þ¤¹:

     set autoscale x2fixmin
     set autoscale x2fixmax

°Ê²¼¤Ï x, y ξ¼´¤Î¼«Æ°½Ì¼Üµ¡Ç½¤ò»ØÄꤷ¤Þ¤¹:

     set autoscale xy

°Ê²¼¤Ï x, y, z, x2, y2 Á´¼´¤Î¼«Æ°½Ì¼Üµ¡Ç½¤ò»ØÄꤷ¤Þ¤¹:

     set autoscale

°Ê²¼¤Ï x, y, z, x2, y2 Á´¼´¤Î¼«Æ°½Ì¼Üµ¡Ç½¤ò¶Ø»ß¤·¤Þ¤¹:

     unset autoscale

°Ê²¼¤Ï z ¼´¤Î¤ß¤Ë¤Ä¤¤¤Æ¼«Æ°½Ì¼Üµ¡Ç½¤ò¶Ø»ß¤·¤Þ¤¹:

     unset autoscale z

82.3.1 ÇÞ²ðÊÑ¿ô¥â¡¼¥É (parametric)

ÇÞ²ðÊÑ¿ôɽ¼¨¥â¡¼¥É (set parametric) ¤Ë¤ª¤¤¤Æ¤Ï¡¢xrange ¤â yrange ¤È ƱÍͤ˽̼ܤòÊѤ¨¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢ÇÞ²ðÊÑ¿ô¥â¡¼¥É¤Ë¤ª¤¤¤Æ¤Ï¡¢ x ¼´Êý¸þ¤â¼«Æ°Åª¤Ë½Ì¼Ü¤¬Ä´À°¤µ¤ì¡¢ÉÁ¤³¤¦¤È¤·¤Æ¤¤¤ëÇÞ²ðÊÑ¿ôɽ¼¨¤Î´Ø¿ô¤¬ ¼ý¤Þ¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£¤â¤Á¤í¤ó¡¢y ¼´Êý¸þ¤âÇÞ²ðÊÑ¿ô¥â¡¼¥É¤Ç¤Ê¤¤»þƱÍÍ¤Ë ¼«Æ°Åª¤Ë½Ì¼Ü¤òÊѤ¨¤Þ¤¹¡£x ¼´¤Ë¤Ä¤¤¤Æ¼«Æ°½Ì¼Üµ¡Ç½¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç ¤Ï¡¢¸½ºß¤Î x ¤ÎÈϰϤ¬»È¤ï¤ì¤Þ¤¹¡£

¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ÏÇÞ²ðÊÑ¿ô¥â¡¼¥É¤Ç¤â¤½¤¦¤Ç¤Ê¤¤¾õÂ֤ǤâƱÍͤËÉÁ²è¤µ¤ì ¤Þ¤¹¡£¤·¤«¤·¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤È´Ø¿ô¤¬º®ºß¤·¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢°ã¤¤¤¬¤¢ ¤ê¤Þ¤¹: ÇÞ²ðÊÑ¿ô¥â¡¼¥É¤Ç¤Ê¤±¤ì¤Ð¡¢x ¤Î¼«Æ°½Ì¼Üµ¡Ç½¤Ï¡¢´Ø¿ô¤ÎÈϰϤò ¥Ç¡¼¥¿¤ÎÉÁ²èÈϰϤ˹ç¤ï¤»¤Þ¤¹¡£¤·¤«¤·ÇÞ²ðÊÑ¿ô¥â¡¼¥É¤Ç¤Ï¥Ç¡¼¥¿¤ÎÈÏ°Ï ¤Ï´Ø¿ô¤ÎÈϰϤ˱ƶÁ¤·¤Þ¤»¤ó¡£

¤½¤ì¤Ë¤Ï¡¢ÊÒ¼êÍî¤Á¤Ë¤Ê¤é¤Ê¤¤¤è¤¦¤Ë set autoscale t ¤È¤¤¤¦¥³¥Þ¥ó¥É ¤âÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤·¤«¤·¤½¤Î¸ú²Ì¤ÏÈó¾ï¤Ë¾®¤µ¤¤¤â¤Î¤Ç¤¹¡£¼«Æ°½Ì¼Ü µ¡Ç½¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¤È¡¢gnuplot ¤¬ t ¤ÎÈϰϤ¬Ìµ¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¦¤È ȽÃǤ·¤¿¾ì¹ç¤ËÈϰϤò¾¯¤·Ä´À°¤·¤Þ¤¹¡£¼«Æ°½Ì¼Üµ¡Ç½¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤È ¤³¤Î¤è¤¦¤Ê¤È¤­¤Ë¤Ï¥¨¥é¡¼¤È¤Ê¤ê¤Þ¤¹¡£¤³¤Î¤è¤¦¤ÊÆ°ºî¤Ï¼Â¤Ï¤¢¤Þ¤ê°ÕÌ£¤¬ ¤Ê¤¯¡¢¤è¤Ã¤Æ set autoscale t ¤È¤¤¤¦¥³¥Þ¥ó¥É¤Ï¸ºß°ÕµÁ¤Ëµ¿Ì䤬¤¢¤ê ¤Þ¤¹¡£

splot ¤Ç¤Ï¾åµ­¤ÎȯÁۤθµ¤Ë³ÈÄ¥¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¼«Æ°½Ì¼Üµ¡Ç½¤¬ÀßÄꤵ¤ì ¤Æ¤¤¤ë¾ì¹ç¡¢x, y, z ¤Î³ÆÉÁ²èÈϰϤϷ׻»·ë²Ì¤¬¼ý¤Þ¤ë¤è¤¦¤ËÀßÄꤵ¤ì½Ì¼Ü Ä´À°¤µ¤ì¤Þ¤¹¡£

82.3.2 ¶ËºÂɸ¥â¡¼¥É (polar)

¶ËºÂɸ¥â¡¼¥É (set polar) ¤Ç¤Ï¡¢xrange ¤È yrange ¤Ï¼«Æ°½Ì¼Ü¥â¡¼¥É¤Ç¤Ï ¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£Æ°·Â¼´¤ÎÈÏ°ÏÀ©¸ÂÍÑ¤Ë set rrange ¤ò»ÈÍѤ·¤¿¾ì¹ç¡¢xrange ¤È yrange ¤Ï¤½¤ì¤Ë¹ç¤¦¤è¤¦¤Ë¼«Æ°Åª¤ËÄ´À°¤µ¤ì¤Þ¤¹¡£¤·¤«¤·¡¢¤µ¤é¤Ë¤½¤ì¤ò Ä´À°¤·¤¿¤±¤ì¤Ð¡¢¤½¤Î¸å¤ËÌÀ¼¨Åª¤Ë xrange ¤ä yrange ¥³¥Þ¥ó¥É¤ò»È¤¦¤³¤È¤¬ ¤Ç¤­¤Þ¤¹¡£°Ê²¼»²¾È: set rrange (82.62)¡£trange ¤Ï¼«Æ°ÈÏ°ÏÀßÄ꤬¤Ê¤µ¤ì¤Þ¤¹¡£ ¤â¤·¡¢trange ¤¬¤¢¤ë¾Ý¸Â (»Íʬ±ß) ¤Ë¼ý¤Þ¤ë¤Ê¤é¤Ð¡¢¼«Æ°½Ì¼Üµ¡Ç½¤Ë¤è¤ê¤½ ¤Î¾Ý¸Â¤Î¤ß¤ÎÉÁ²è¤¬¹Ô¤ï¤ì¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

1 ¤Ä¡¢¤¢¤ë¤¤¤Ï 2 ¤Ä¤ÎÈϰϤÏÌÀ¼¨Åª¤ËÀßÄꤷ¤Æ¤½¤Î¾¤Î¤â¤Î¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¤Ï ͽ´ü¤·¤Ê¤¤·ë²Ì¤ò°ú¤­µ¯¤³¤¹¤«¤âÃΤì¤Þ¤»¤ó¡£ °Ê²¼¤â»²¾È

¶ËºÂɸ¤Î¥Ç¥â¡£

82.4 Bars

¥³¥Þ¥ó¥É set bars ¤Ï¸íº¹¥°¥é¥Õ (errorbar) ¤Îξü¡¢¤ª¤è¤Ó boxplot ¤Ë ¤Ä¤¯È¢¤Ò¤²¤Îξü¤Î¥Þ¡¼¥¯¤òÀ©¸æ¤·¤Þ¤¹¡£

½ñ¼°:

     set bars {small | large | fullwidth | <size>} {front | back}
     unset bars
     show bars

small ¤Ï 0.0, large ¤Ï 1.0 ¤ÈƱ¤¸¤Ç¤¹¡£¥µ¥¤¥º¤ò»ØÄꤷ¤Ê¤±¤ì¤Ð¥Ç¥Õ¥© ¥ë¥È¤ÎÃÍ¤Ï 1.0 ¤Ç¤¹¡£

¥­¡¼¥ï¡¼¥É fullwidth ¤Ï¡¢errorbar ¤òȼ¤¦ boxplots ¤È histograms ¤Ë¤Î ¤ß´ØÏ¢¤·¤Þ¤¹¡£¤³¤ì¤Ï errorbar ¤Îξü¤ÎÉý¤ò¡¢Âбþ¤¹¤ëÈ¢¤ÎÉý¤ÈƱ¤¸¤ËÀßÄê ¤·¤Þ¤¹¤¬¡¢È¢¤ÎÉý¼«ÂΤòÊѹ¹¤¹¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£

¥­¡¼¥ï¡¼¥É front, back ¤Ï¡¢ÅɤêÄÙ¤·Ä¹Êý·Á¤Î¤Ä¤¤¤¿ errorbar ¤Î¤ß¤Ë ´ØÏ¢¤·¤Þ¤¹ (boxes, candlesticks, histograms)¡£

82.5 Bind

¸½ºß¤Î¥Û¥Ã¥È¥­¡¼¤Î³ä¤êÅö¤Æ (binding) ¤òɽ¼¨¤·¤Þ¤¹¡£°Ê²¼»²¾È: bind (18.1)¡£

82.6 Bmargin

¥³¥Þ¥ó¥É set bmargin ¤Ï¡¢²¼Éô¤Î;Çò¤Î¥µ¥¤¥º¤òÀßÄꤷ¤Þ¤¹¡£¾ÜºÙ¤Ï °Ê²¼»²¾È: set margin (82.39)¡£

82.7 Border

set border ¤È unset border ¤Ï plot ¤ä splot ¤Ç¤Î¥°¥é¥Õ¤ÎÏȤΠɽ¼¨¤òÀ©¸æ¤·¤Þ¤¹¡£ÏȤÏɬ¤º¤·¤â¼´¤È¤Ï°ìÃפ·¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ plot ¤Ç¤ÏÂçÄñ°ìÃפ·¤Þ¤¹¤¬¡¢splot ¤Ç¤ÏÂçÄñ°ìÃפ·¤Æ¤¤¤Þ¤»¤ó¡£

½ñ¼°:

     set border {<integer>} {front | back} {linewidth | lw <line_width>}
                {{linestyle | ls <line_style>} | {linetype | lt <line_type>}}
     unset border
     show border

set view 56,103 ¤Î¤è¤¦¤ËǤ°Õ¤ÎÊý¸þ¤Çɽ¼¨¤µ¤ì¤¦¤ë splot ¤Ç¤Ï¡¢ x-y Ê¿Ì̾å¤Î 4 ¤Ä¤Î³Ñ¤Ï ¼êÁ° (front), ¸å¤í (back) , º¸ (left), ±¦ (right) ¤Î¤è¤¦¤Ë¸Æ¤Ð¤ì¤Þ¤¹¡£¤â¤Á¤í¤ó¤³¤ÎƱ¤¸ 4 ¤Ä¤Î³Ñ¤ÏÅ·°æ¤ÎÌ̤ˤ⠤¢¤ê¤Þ¤¹¡£¤è¤Ã¤Æ¡¢Î㤨¤Ð x-y Ê¿Ì̾å¤Î¸å¤í¤È±¦¤Î³Ñ¤ò¤Ä¤Ê¤°¶­³¦¤ò "Äì¤Î±¦¸å¤í (bottom right back)" ¤È¸À¤¤¡¢Äì¤ÈÅ·°æ¤Î¼êÁ°¤Î³Ñ¤ò¤Ä¤Ê¤°¶­ ³¦¤ò "±ôľ¼êÁ° (front vertical)" ¤È¸Æ¤Ö¤³¤È¤Ë¤·¤Þ¤¹ (¤³¤Î̿̾ˡ¤Ï¡¢ÆÉ ¼Ô¤¬²¼¤Îɽ¤òÍý²ò¤¹¤ë¤¿¤á¤À¤±¤Ë»È¤ï¤ì¤Þ¤¹)¡£

ÏȤϡ¢12 ¥Ó¥Ã¥È¤ÎÀ°¿ô¤ËÉä¹æ²½¤µ¤ì¤Æ¤¤¤Þ¤¹: ²¼°Ì 4 ¥Ó¥Ã¥È¤Ï plot ¤ËÂÐ ¤¹¤ë³°ÏÈ¡¢splot ¤ËÂФ·¤Æ¤ÏÄìÌ̤γ°ÏÈ¡¢¼¡¤Î 4 ¥Ó¥Ã¥È¤Ï splot ¤Î±ôľ¤Ê ³°ÏÈ¡¢¤½¤·¤Æ¾å°Ì 4 ¥Ó¥Ã¥È¤Ï splot ¤ÎÅ·°æÌ̤γ°ÏȤòÀ©¸æ¤·¤Þ¤¹¡£¤½¤Î < À°¿ô> Ãͤϼ¡¤Îɽ¤ÎÂбþ¤¹¤ë¹àÌܤοô»ú¤ÎϤˤʤê¤Þ¤¹:

¥°¥é¥Õ¶­³¦¤ÎÉä¹æ²½
¥Ó¥Ã¥È plot splot
1 ²¼ Äì¤Îº¸¼êÁ°
2 º¸ Äì¤Îº¸¸å¤í
4 ¾å Äì¤Î±¦¼êÁ°
8 ±¦ Äì¤Î±¦¸å¤í
16 ¸ú²Ì¤Ê¤· ±ôľº¸
32 ¸ú²Ì¤Ê¤· ±ôľ¸å¤í
64 ¸ú²Ì¤Ê¤· ±ôľ±¦
128 ¸ú²Ì¤Ê¤· ±ôľ¤Î¼êÁ°
256 ¸ú²Ì¤Ê¤· Å·°æ¤Îº¸¸å¤í
512 ¸ú²Ì¤Ê¤· Å·°æ¤Î±¦¸å¤í
1024 ¸ú²Ì¤Ê¤· Å·°æ¤Îº¸¼êÁ°
2048 ¸ú²Ì¤Ê¤· Å·°æ¤Î±¦¼êÁ°

¥Ó¥Ã¥È¤Ï°ì¤Ä°ì¤Ä¡¢¤¢¤ë¤¤¤Ï¤¤¤¯¤Ä¤«¤ò¤Þ¤È¤á¤Æ°ì½ï¤Ë¤³¤Î¥³¥Þ¥ó¥É¤ÇÉÕ²Ã¤Ç ¤­¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤ÎÃÍ¤Ï 31 ¤Ç¡¢¤³¤ì¤Ï plot ¤Ç¤Ï 4 Êý¸þ¤Î³°ÏÈÁ´¤Æ¡¢splot ¤Ç¤ÏÄìÌ̤ÎÏÈÀþÁ´Éô¤È z ¼´¤òÉÁ¤¯¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£

2 ¼¡¸µÉÁ²è¤Ç¤Ï¶­³¦¤Ï¤¹¤Ù¤Æ¤ÎÉÁ²èÍ×ÁǤΰìÈÖ¾å¤ËÉÁ¤«¤ì¤Þ¤¹ (front)¡£ ¤â¤·¶­³¦¤òÉÁ²èÍ×ÁǤβ¼¤ËÉÁ¤«¤»¤¿¤¤¾ì¹ç¤Ï¡¢set border back ¤È¤·¤Æ¤¯¤À ¤µ¤¤¡£

< line_style> , < line_type> , < line_width> ¤ò»ØÄꤷ¤Æ¡¢ÏÈÀþ¤ÎÉÁ²è¤Ë¤½¤ì ¤é¤òÈ¿±Ç¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹ (¸½ºß¤Î½ÐÎÏÁõÃÖ¤¬¥µ¥Ý¡¼¥È¤¹¤ë¤â¤Î¤Ë¸ÂÄê ¤µ¤ì¤Þ¤¹)¡£

plot ¤Ç¤Ï¡¢Âè 2 ¼´¤òÍ­¸ú¤Ë¤¹¤ë¤³¤È¤Ç¡¢²¼¤Èº¸°Ê³°¤Î¶­³¦¤ËÌÜÀ¹¤ê¤òÉÁ¤¯¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: xtics (82.96)¡£

"unset surface; set contour base" ¤Ê¤É¤Ë¤è¤Ã¤Æ splot ¤ÇÄìÌÌ¤Ë¤Î¤ß ÉÁ²è¤¹¤ë¾ì¹ç¡¢±ôľÀþ¤äÅ·°æ¤Ï¤½¤ì¤é¤¬»ØÄꤵ¤ì¤Æ¤¤¤Æ¤âÉÁ²è¤µ¤ì¤Þ¤»¤ó¡£

set grid ¤Î¥ª¥×¥·¥ç¥ó 'back', 'front', 'layerdefault' ¤Ç¤â¡¢ÉÁ²è½ÐÎÏ ¤Î¶­³¦Àþ¤ò½ñ¤¯½çÈÖ¤òÀ©¸æ¤Ç¤­¤Þ¤¹¡£

Îã:

°Ê²¼¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤ÎÏÈÀþ¤òÉÁ¤­¤Þ¤¹:

     set border

°Ê²¼¤Ï¡¢plot ¤Ç¤Ïº¸¤È²¼¡¢splot ¤Ç¤ÏÄìÌ̤κ¸¼êÁ°¤Èº¸¸å¤í¤ÎÏÈÀþ¤òÉÁ¤­¤Þ¤¹:

     set border 3

°Ê²¼¤Ï¡¢splot ¤Ç¼þ¤ê¤Ë´°Á´¤ÊÈ¢¤òÉÁ¤­¤Þ¤¹:

     set border 4095

°Ê²¼¤Ï¡¢¼êÁ°¤Î±ôľÌ̤ÈÅ·°æ¤Î¤Ê¤¤È¢¤òÉÁ¤­¤Þ¤¹:

     set border 127+256+512 # ¤Þ¤¿¤Ï set border 1023-128

°Ê²¼¤Ï¡¢plot ¤ËÂФ·¤Æ¾å¤È±¦ÏÈÀþ¤Î¤ß¤òÉÁ¤­¡¢¤½¤ì¤é¤ò¼´¤È¤·¤ÆÌÜÀ¹¤ê¤Å¤±¤·¤Þ¤¹:

     unset xtics; unset ytics; set x2tics; set y2tics; set border 12

82.8 Boxwidth

¥³¥Þ¥ó¥É set boxwidth ¤Ï boxes, boxerrorbars, boxplot, candlesticks, histograms ¥¹¥¿¥¤¥ë¤Ë¤ª¤±¤ëËÀ¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÉý¤òÀßÄê ¤¹¤ë¤¿¤á¤Ë»È¤¤¤Þ¤¹¡£

½ñ¼°:

     set boxwidth {<width>} {absolute|relative}
     show boxwidth

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢ÎÙ¤ê¹ç¤¦ËÀ¤¬Àܤ¹¤ë¤è¤¦¤Ë³Æ¡¹¤ÎËÀ¤ÎÉý¤¬¹­¤²¤é¤ì¤Þ¤¹¡£¤½ ¤ì¤È¤Ï°Û¤Ê¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÉý¤òÀßÄꤹ¤ë¤Ë¤Ï set boxwidth ¥³¥Þ¥ó¥É¤ò»ÈÍÑ ¤·¤Þ¤¹¡£relative ¤Î¾ì¹ç¤ÎÉý¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤ÎÉý¤ËÂФ¹¤ëÈæ¤Ç¤¢¤ë¤È²ò¼á ¤µ¤ì¤Þ¤¹¡£

½¤¾þ»Ò relative ¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢ËÀ¤ÎÉý (boxwidth) ¤È¤·¤Æ»ØÄꤵ ¤ì¤¿ÌÀ¼¨Åª¤ÊÃͤϡ¢¸½ºß¤Î x ¼´¤Îñ°Ì¤Ç¤Î¿ô»ú (absolute) ¤Ç¤¢¤ë¤È²ò¼á ¤µ¤ì¤Þ¤¹¡£x ¼´¤¬Âпô¼´ (°Ê²¼»²¾È: set log (82.36)) ¤Ç¤¢¤ë¾ì¹ç¡¢boxwidth ¤ÎÃÍ ¤Ï¼ÂºÝ¤Ë¤Ï x=1 ¤Ç¤Î¤ß "ÀäÂÐŪ" ¤È¤Ê¤ê¡¢¤½¤ÎʪÍýŪ¤ÊŤµ¤¬¼´Á´ÂΤòÄ̤¸ ¤ÆÊÝ»ý¤µ¤ì¤Þ¤¹ (¤¹¤Ê¤ï¤Á¡¢ËÀ¤Ï x ºÂɸ¤ÎÁý²Ã¤Ë¤È¤â¤Ê¤Ã¤Æ¶¹¤¯¤Ê¤Ã¤¿¤ê¤Ï ¤·¤Þ¤»¤ó)¡£Âпô¼´¤Î x ¼´¤ÎÈϰϤ¬ x=1 ¤«¤éÎ¥¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢Å¬ÀÚ¤ÊÉý¤ò ¸«½Ð¤¹¤Ë¤Ï²¿ÅÙ¤«»î¤·¤Æ¤ß¤ëɬÍפ¬¤¢¤ë¤«¤âÃΤì¤Þ¤»¤ó¡£

¥Ç¥Õ¥©¥ë¥È¤ÎÃͤϡ¢boxes ¤ä boxerrorbars ¥¹¥¿¥¤¥ë¤ÎÉý»ØÄêÍѤÎÄɲäΠ¥Ç¡¼¥¿Îó¤ÎÌÀ¼¨Åª¤ÊÃͤ¬¤¢¤ì¤Ð¤½¤ì¤Ë¤è¤Ã¤ÆÃÖ¤­´¹¤¨¤é¤ì¤Þ¤¹¡£4 Îó¤Î¥Ç¡¼¥¿ ¤Î¾ì¹ç¡¢Âè 4 ÎóÌܤÎÃͤ¬ËÀ¤ÎÉý¤È¤·¤Æ»È¤ï¤ì¤Þ¤¹¡£¤¿¤À¤·¡¢¤½¤ÎÉý¤¬ -2.0 ¤Î¾ì¹ç¤Ë¤ÏËÀ¤ÎÉý¤Ï¼«Æ°·×»»¤µ¤ì¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: style boxes (27),style boxerrorbars (26)¡£

ËÀ¤ÎÉý¤ò¼«Æ°Åª¤Ë¥»¥Ã¥È¤¹¤ë¤Ë¤Ï

     set boxwidth

¤È¤¹¤ë¡¢¤¢¤ë¤¤¤Ï 4 Îó¤Î¥Ç¡¼¥¿¤ËÂФ·¤Æ¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

     set boxwidth -2

plot ¤Î¥­¡¼¥ï¡¼¥É using ¤ò»È¤Ã¤Æ¤âƱ¤¸¸ú²Ì¤òÆÀ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹:

     plot 'file' using 1:2:3:4:(-2)

ËÀ¤ÎÉý¤ò¼«Æ°Åª¤ÊÃͤÎȾʬ¤Ë¤¹¤ë¤Ë¤Ï

     set boxwidth 0.5 relative

ËÀ¤ÎÉý¤òÀäÂÐŪ¤ÊÃÍ 2 ¤Ë¤¹¤ë¤Ë¤Ï

     set boxwidth 2 absolute

82.9 Clabel

gnuplot ¤Ï¡¢clabel ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë»þ¤Ë¤Ï¡¢³Æ¡¹¤ÎÅù¹âÀþ¤Î¥ì¥Ù¥ë¤ËÂÐ ¤·¤Æ»È¤¦Àþ¼ï¤òÊѲ½¤µ¤»¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤¬Í­¸ú¤Ç¤¢¤ë¾ì¹ç (¥Ç¥Õ¥© ¥ë ¥È)¡¢ËÞÎã¤Ë¤è¤Ã¤Æ³Æ¡¹¤ÎÀþ¼ï¤ò¡¢¤½¤ì¤¬É½¤¹ z ¤Î¥ì¥Ù¥ë¤È¤È¤â¤Ëɽ¼¨¤µ¤ì¤Þ ¤¹¡£

½ñ¼°:

     set clabel {'<format>'}
     unset clabel
     show clabel

½ñ¼°Ê¸»úÎó¤Î¥Ç¥Õ¥©¥ë¥È¤Ï %8.3g ¤Ç¡¢¾®¿ôÉôʬ¤Ï 3 ·åɽ¼¨¤µ¤ì¤Þ¤¹¡£¤â¤· key ¤¬¤½¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃͤ«¤éÊѹ¹¤µ¤ì¤Æ¤¤¤ì¤Ð¡¢¤½¤ÎÇÛÃÖ¤ÏÉÔ½½Ê¬¤Ê¤â¤Î ¤Ë¤Ê¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£

ºÇ½é¤ÎÅù¹âÀþ¤ÎÀþ¼ï¡¢¤Þ¤¿¤Ï clabel ¤¬Ìµ¸ú¤Ç¤¢¤ë¾ì¹ç¤ÎÍ£°ì¤Ä¤ÎÅù¹âÀþ¤Î Àþ¼ï¤Ï¡¢(¶ÊÌ̤ÎÀþ¼ï +1) ¤Ë¤Ê¤ê¤Þ¤¹¡£Åù¹âÀþ¤ÎÅÀ¤Ï¶ÊÌ̤ÎÅÀ¤ÈƱ¤¸¤â¤Î¤Ë ¤Ê¤ê¤Þ¤¹¡£

°Ê²¼»²¾È: set contour (82.14)¡£

82.10 Clip

gnuplot ¤Ï¥°¥é¥Õ¤Îü¤ÎÊÕ¤ê¤Î¥Ç¡¼¥¿ÅÀ¤äÀþ¤ò¥¯¥ê¥Ã¥Ô¥ó¥°¤¹¤ë¤³¤È¤¬¤Ç¤­ ¤Þ¤¹¡£

½ñ¼°:

       set clip <clip-type>
       unset clip <clip-type>
       show clip

gnuplot ¤ÏÅÀ¤äÀþ¤ËÂФ¹¤ë¥¯¥ê¥Ã¥×·¿ (clip-type) ¤È¤·¤Æ¡¢points, one, two ¤Î 3 ¼ïÎà¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£¤¢¤ëÉÁ²è¤ËÂФ·¤Æ¡¢¤³¤ì¤é¤Î ¥¯¥ê¥Ã¥×·¿¤ÏǤ°Õ¤ÎÁȤ߹礻¤ÇÀßÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£pm3d ¤Î¿§ÃÏ¿Þ¤ä ¥«¥é¡¼¶ÊÌ̤ÇÅɤê¤Ä¤Ö¤µ¤ì¤¿»Í³Ñ·Á¤Ï¤³¤Î¥³¥Þ¥ó¥É¤Ç¤ÏÀ©¸æ¤Ç¤­¤Þ¤»¤ó¤¬¡¢ set pm3d clip1in ¤ä set pm3d clip4in ¤Ë¤è¤Ã¤Æ²Äǽ¤Ç¤¢¤ë¤³¤È¤ËÃí°Õ ¤·¤Æ¤¯¤À¤µ¤¤¡£

¥¯¥ê¥Ã¥×·¿ points ¤òÀßÄꤹ¤ë¤È¡¢ÉÁ²èÎΰèÆâ¤Ë¤Ï¤¢¤ë¤±¤ì¤É¶­³¦Àþ¤ËÈó ¾ï¤Ë¶á¤¤¤è¤¦¤ÊÅÀ¤ò¥¯¥ê¥Ã¥×¤¹¤ë (¼ÂºÝ¤Ë¤ÏÉÁ²è¤·¤Ê¤¤¤À¤±¤Ç¤¹¤¬) ¤è¤¦¤Ë gnuplot ¤Ë»Ø¼¨¤·¤Þ¤¹¡£¤³¤ì¤ÏÅÀ¤È¤·¤ÆÂ礭¤Ê¥Þ¡¼¥¯¤ò»ÈÍѤ·¤¿¤È¤­¤Ë¡¢ ¤½¤Î¥Þ¡¼¥¯¤¬¶­³¦Àþ¤«¤é¤Ï¤ß½Ð¤µ¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¸ú²Ì¤¬¤¢¤ê¤Þ¤¹¡£points ¤ò¥¯¥ê¥Ã¥×¤·¤Ê¤¤¾ì¹ç¡¢¶­³¦Àþ¤ÎÊÕ¤ê¤ÎÅÀ¤¬±ø¤¯¸«¤¨¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¤½¤Î¾ì¹ç¡¢x ¤ä y ¤ÎÉÁ²èÈÏ°Ï (xrange, yrange) ¤òÄ´À°¤·¤Æ¤ß¤Æ²¼¤µ¤¤¡£

¥¯¥ê¥Ã¥×·¿ one ¤òÀßÄꤹ¤ë¤È¡¢°ìü¤Î¤ß¤¬ÉÁ²èÎΰè¤Ë¤¢¤ë¤è¤¦¤ÊÀþʬ¤â ÉÁ²è¤¹¤ë¤è¤¦¤Ë gnuplot ¤Ë»Ø¼¨¤·¤Þ¤¹¡£¤³¤ÎºÝ¡¢ÉÁ²èÎΰèÆâ¤Ë¤¢¤ëÉôʬ ¤Î¤ß¤¬¼ÂºÝ¤ËÉÁ²è¤µ¤ì¤ëÈϰϤǤ¹¡£ÀßÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢¤³¤Î¤è¤¦¤ÊÀþʬ¤Ï ÉÁ²èÂоݤȤʤ餺¡¢¤É¤ÎÉôʬ¤âÉÁ²è¤µ¤ì¤Þ¤»¤ó¡£

ξü¤Ï¶¦¤ËÉÁ²èÈϰϤË̵¤¤¤¬ÉÁ²èÎΰè¤òÄ̲᤹¤ë¤È¤¤¤¦Àþʬ¤â¤¢¤ê¤Þ¤¹¡£ ¥¯¥ê¥Ã¥×·¿ two ¤òÀßÄꤹ¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢¤³¤Î¤è¤¦¤ÊÀþʬ¤ÎÉÁ²èÎΰè¤Î Éôʬ¤òÉÁ²è¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¤É¤Î¤è¤¦¤Ê¾õ¶·¤Ç¤â¡¢ÉÁ²èÈϰϤγ°¤ËÀþ¤¬°ú¤«¤ì¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢noclip points, clip one, noclip two ¤È¤Ê¤Ã¤Æ ¤¤¤Þ¤¹¡£

Á´¤Æ¤Î¥¯¥ê¥Ã¥×·¿¤ÎÀßÄê¾õ¶·¤ò¸«¤ë¤Ë¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹:

       show clip

²áµî¤Î¥Ð¡¼¥¸¥ç¥ó¤È¤Î¸ß´¹À­¤Î¤¿¤á°Ê²¼¤Î½ñ¼°¤â»ÈÍѲÄǽ¤Ç¤¹:

      set clip
      unset clip

set clip ¤Ï set clip points ¤ÈƱµÁ¤Ç¤¹¡£unset clip ¤Ï 3 ¼ï¤Î ¥¯¥ê¥Ã¥×·¿Á´¤Æ¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£

82.11 Cntrparam

set cntrparam ¤ÏÅù¹âÀþ¤ÎÀ¸À®ÊýË¡¡¢¤ª¤è¤Ó¤½¤ì¤ò³ê¤é¤«¤ËÉÁ²è¤¹¤ëÊýË¡¤ò À©¸æ¤·¤Þ¤¹¡£show contour ¤Ï¸½ºß¤Î contour ¤ÎÀßÄê¤À¤±¤Ç¤Ê¤¯ cntrparam ¤ÎÀßÄê¤ò¤âɽ¼¨¤·¤Þ¤¹¡£

½ñ¼°:

     set cntrparam { { linear
                     | cubicspline
                     | bspline
                     | points <n>
                     | order <n>
                     | levels { auto {<n>} | <n>
                                | discrete <z1> {,<z2>{,<z3>...}}
                                | incremental <start>, <incr> {,<end>}
                              }
                     }
                   }
     show contour

¤³¤Î¥³¥Þ¥ó¥É¤Ï 2 ¤Ä¤Îµ¡Ç½¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£°ì¤Ä¤ÏÅù¹âÀþ¾å¤ÎÅÀ (¥Ç¡¼¥¿ÅÀ ¤ÎÀþ·ÁÊä´Ö¡¢¤¢¤ë¤¤¤Ï´Ø¿ô¤ÎɸËܲ½ (isosample) ¤Ë¤è¤ëÅÀ) ¤Ç¤Î z ¤ÎÃͤÎÀß Äê¤Ç¡¢¤â¤¦°ì¤Ä¤Ï¡¢¤½¤Î¤è¤¦¤Ë·èÄꤵ¤ì¤¿ z ¤¬Åù¤·¤¤ÅÀƱ»Î¤òÅù¹âÀþ¤Ç·ë¤Ö ÊýË¡¤ÎÀ©¸æ¤Ç¤¹¡£< n> ¤ÏÀ°¿ô·¿¤ÎÄê¿ô¼°¡¢< z1> , < z2> ... ¤ÏǤ°Õ¤ÎÄê¿ô¼°¤Ç ¤¹¡£³Æ¥ª¥×¥·¥ç¥óÊÑ¿ô¤Î°ÕÌ£¤Ï¼¡¤ÎÄ̤ê¤Ç¤¹:

linear, cubicspline, bspline -- ¶á»÷ (Êä´Ö) ÊýË¡¤ò»ØÄꤷ¤Þ¤¹¡£ linear ¤Ê¤é¤Ð¡¢Åù¹âÀþ¤Ï¶ÊÌ̤«¤éÆÀ¤é¤ì¤¿Ãͤò¶èʬŪ¤ËľÀþ¤Ç·ë¤Ó¤Þ¤¹¡£ cubicspline (3 ¼¡¥¹¥×¥é¥¤¥ó) ¤Ê¤é¤Ð¡¢¶èʬŪ¤ÊľÀþ¤Ï¤¤¤¯¤Ö¤ó¤Ê¤á¤é¤« ¤ÊÅù¹âÀþ¤¬ÆÀ¤é¤ì¤ë¤è¤¦¤ËÊä´Ö¤µ¤ì¤Þ¤¹¤¬¡¢Â¿¾¯ÇÈÂǤIJÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£ bspline (B-spline) ¤Ï¡¢¤è¤ê³ê¤é¤«¤Ê¶ÊÀþ¤òÉÁ¤¯¤³¤È¤¬Êݾڤµ¤ì¤Þ¤¹¤¬¡¢ ¤³¤ì¤Ï z ¤ÎÅù¤·¤¤ÅÀ¤Î°ÌÃÖ¤ò¶á»÷¤·¤Æ¤¤¤ë¤À¤±¤Ç¤¹¡£

points -- ºÇ½ªÅª¤Ë¤Ï¡¢Á´¤Æ¤ÎÉÁ²è¤Ï¡¢¶èʬŪ¤ÊľÀþ¤Ç¹Ô¤ï¤ì¤Þ¤¹¡£¤³¤³ ¤Ç»ØÄꤹ¤ë¿ô¤Ï¡¢bspline ¤Þ¤¿¤Ï cubicspline ¤Ç¤Î¶á»÷¤Ë»È¤ï¤ì¤ëÀþʬ ¤Î¿ô¤òÀ©¸æ¤·¤Þ¤¹¡£¼ÂºÝ¤Ë¤Ï cubicspline ¤È bspline ¤Î¶è´Ö (¶ÊÀþÀþʬ) ¤Î ¿ô¤Ï points ¤ÈÀþʬ¤Î¿ô¤ÎÀѤËÅù¤·¤¯¤Ê¤ê¤Þ¤¹¡£

order -- bspline ¶á»÷¤Î¼¡¿ô¤Ç¤¹¡£¤³¤Î¼¡¿ô¤¬Â礭¤¯¤Ê¤ë¤Ë¤Ä¤ì¤Æ¡¢Åù¹â Àþ¤Ï¤Ê¤á¤é¤«¤Ë¤Ê¤ê¤Þ¤¹ (¤â¤Á¤í¤ó¡¢¹â¼¡¤Î bspline ¶ÊÀþ¤Ë¤Ê¤ë¤Û¤É¡¢¸µ¤Î ¶èʬŪľÀþ¤«¤é¤ÏÎ¥¤ì¤Æ¤¤¤­¤Þ¤¹)¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï bspline ¥â¡¼¥É¤Ç¤Î ¤ßÍ­¸ú¤Ç¤¹¡£»ØÄê¤Ç¤­¤ëÃͤϡ¢2 (ľÀþ) ¤«¤é 10 ¤Þ¤Ç¤ÎÀ°¿ô¤Ç¤¹¡£

levels -- Åù¹âÀþ¤Î¥ì¥Ù¥ë¤Î¿ô¤Ï¡¢auto (¥Ç¥Õ¥©¥ë¥È), discrete, incremental ¤ÈÅù¹âÀþ¤Î¥ì¥Ù¥ë¿ô < n> ¤ÇÀ©¸æ¤·¤Þ¤¹¡£

auto ¤Ç¤Ï¡¢< n> ¤Ï²¾¤Î¥ì¥Ù¥ë¤Î¿ô¤Ç¤¢¤ê¡¢¼ÂºÝ¤Î¥ì¥Ù¥ë¤Î¿ô¤Ï¡¢´Êñ¤Ê¥é ¥Ù¥ë¤òÀ¸À®¤¹¤ë¤è¤¦¤ËÄ´Àᤵ¤ì¤Þ¤¹¡£¶ÊÌ̤Πz ºÂɸ¤¬ zmin ¤«¤é zman ¤ÎÈÏ °Ï¤Ë¤¢¤ë¤È¤­¡¢Åù¹âÀþ¤Ï¤½¤Î´Ö¤Î dz ¤ÎÀ°¿ôÇܤˤʤë¤è¤¦¤ËÀ¸À®¤µ¤ì¤Þ¤¹¡£¤³ ¤³¤Ç¡¢dz ¤Ï 10 ¤Î¤¢¤ë¤Ù¤­¾è¤Î 1, 2, 5 ÇÜ¡¢¤Î¤¤¤º¤ì¤«¤Ç¤¹ (2 ¤Ä¤ÎÌÜÀ¹¤ê ¤Î´Ö¤òÃúÅÙ³ä¤êÀÚ¤ë¤è¤¦¤Ë)¡£

levels discrete ¤Ç¤Ï¡¢Åù¹âÀþ¤Ï»ØÄꤵ¤ì¤¿ z = < z1> , < z2> ... ¤ËÂФ·¤Æ À¸À®¤µ¤ì¤Þ¤¹¡£»ØÄꤷ¤¿¸Ä¿ô¤¬Åù¹âÀþ¤Î¥ì¥Ù¥ë¤Î¸Ä¿ô¤È¤Ê¤ê¤Þ¤¹¡£discrete ¥â¡¼¥É¤Ç¤Ï¡¢set cntrparams levels < n> ¤È¤¤¤¦»ØÄê¤Ï¾ï¤Ë̵»ë¤µ¤ì¤Þ¤¹¡£

incremental ¤Ç¤Ï¡¢Åù¹âÀþ¤Ï z = < start> ¤«¤é»Ï¤Þ¤ê¡¢< increment> ¤º¤Ä Áý¤¨¤Æ¹Ô¤­¸Â³¦¤Î¸Ä¿ô¤Ë㤹¤ë¤Þ¤Ç½ñ¤«¤ì¤Þ¤¹¡£< end> ¤Ï¤½¤ÎÅù¹âÀþ¤Î¿ô¤ò·è Äꤹ¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¤¬¡¢¤³¤ì¤Ï¸å¤Î set cntrparam levels < n> ¤Ë¤è¤Ã¤Æ ¾ï¤ËÊѹ¹¤µ¤ì¤Þ¤¹¡£z ¼´¤¬Âпô¼´¤Î¾ì¹ç¡¢set ztics ¤Î¾ì¹ç¤ÈƱÍͤˡ¢ < increment> ¤ÏÇÜ¿ô¤È¤·¤Æ²ò¼á¤µ¤ì¤Þ¤¹¡£

¥³¥Þ¥ó¥É set cntrparam ¤¬°ú¿ô¤Ê¤·¤Ë¸Æ¤Ð¤ì¤¿¾ì¹ç¤Ï¡¢¼¡¤Î¥Ç¥Õ¥©¥ë¥È¤Î Ãͤ¬»È¤ï¤ì¤Þ¤¹: linear, 5 points, order 4, 5 auto levels

Îã:

     set cntrparam bspline
     set cntrparam points 7
     set cntrparam order 10

°Ê²¼¤Ï¥ì¥Ù¥ë¤Î´ð½à¤¬¹ç¤¨¤Ð 5 ¸Ä¤Î¥ì¥Ù¥ë¤¬¤Ë¼«Æ°Åª¤ËÁªÂò¤µ¤ì¤Þ¤¹:

     set cntrparam levels auto 5

°Ê²¼¤Ï .1, .37, .9 ¤Ë¥ì¥Ù¥ë¤òÀßÄꤷ¤Þ¤¹:

     set cntrparam levels discrete .1,1/exp(1),.9

°Ê²¼¤Ï 0 ¤«¤é 4 ¤Þ¤Ç¡¢1 ¤º¤ÄÁý¤ä¤¹¥ì¥Ù¥ë¤òÀßÄꤷ¤Þ¤¹:

     set cntrparam levels incremental  0,1,4

°Ê²¼¤Ï¥ì¥Ù¥ë¤Î¿ô¤ò 10 ¤ËÀßÄꤷ¤Þ¤¹ (Áý²Ã¤ÎºÇ¸å¤ÎÃÍ (end) ¤Þ¤¿¤Ï¼«Æ°¤Ç ÀßÄꤵ¤ì¤ë¥ì¥Ù¥ë¤Î¿ô¤ÏÊѹ¹¤µ¤ì¤Þ¤¹):

     set cntrparam levels 10

°Ê²¼¤Ï¥ì¥Ù¥ë¤Î¿ô¤ÏÊÝ»ý¤·¤¿¤Þ¤Þ¥ì¥Ù¥ë¤Î³«»ÏÃͤÈÁýʬÃͤòÀßÄꤷ¤Þ¤¹:

     set cntrparam levels incremental 100,50

Åù¹âÀþ¤òÉÁ¤¯¾ì½ê¤ÎÀ©¸æ¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È: set contour (82.14)¡£Åù¹âÀþ¤Î¥é ¥Ù¥ë¤Î½ñ¼°¤ÈÀþ¼ï¤ÎÀ©¸æ¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È: set clabel (82.9)¡£

°Ê²¼¤â»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

Åù¹âÀþ¤Î¥Ç¥â (contours.dem)

¤ª¤è¤Ó

¥æ¡¼¥¶ÄêµÁ¥ì¥Ù¥ë¤ÎÅù¹âÀþ¤Î¥Ç¥â (discrete.dem).

82.12 ¥«¥é¡¼¥Ü¥Ã¥¯¥¹ (colorbox)

¿§¤Î°ìÍ÷ɽ¡¢¤¹¤Ê¤ï¤Á pm3d ¤Î palette ¤Î min_z ¤«¤é max_z ¤Þ¤Ç¤Î³ê ¤é¤«¤Ê¿§¤Î¸ûÇۤϡ¢unset colorbox ¤¬»È¤ï¤ì¤Æ¤¤¤Ê¤¤¸Â¤ê¥«¥é¡¼¥Ü¥Ã¥¯¥¹ (colorbox) ¤ËÉÁ¤«¤ì¤Þ¤¹¡£


     set colorbox
     set colorbox {
                { vertical | horizontal }
                { default | user }
                { origin x, y }
                { size x, y }
                { front | back }
                { noborder | bdefault | border [line style] }
              }
     show colorbox
     unset colorbox

¥«¥é¡¼¥Ü¥Ã¥¯¥¹¤Î°ÌÃ֤ϡ¢default ¤Þ¤¿¤Ï user ¤Ç»ØÄê¤Ç¤­¡¢¸å¼Ô¤Î¾ì¹ç ¤½¤Î°ÌÃÖ¤äÂ礭¤µ¤ò origin ¤ä size ¥³¥Þ¥ó¥É¤ÇÀßÄꤷ¤Þ¤¹¡£¥«¥é¡¼¥Ü¥Ã ¥¯¥¹¤Ï¡¢¥°¥é¥Õ¤ä¶ÊÌ̤θå (front) ¤¢¤ë¤¤¤ÏÀè (back) ¤ËÉÁ²è¤µ¤»¤ë¤³ ¤È¤â¤Ç¤­¤Þ¤¹¡£

¿§¸ûÇÛ¤ÎÊý¸þ¤Ï¡¢¥ª¥×¥·¥ç¥ó vertical ¤È horizontal ¤ÇÀÚÂؤ¨¤ë¤³¤È¤¬ ²Äǽ¤Ç¤¹¡£

origin x, y ¤È size x, y ¤Ï user ¥ª¥×¥·¥ç¥ó¤È¤ÎÁȤǤΤ߻ÈÍѤµ¤ì ¤Þ¤¹¡£x, y ¤ÎÃͤϡ¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥¹¥¯¥ê¡¼¥óºÂɸ¤È²ò¼á¤µ¤ì¤Þ¤¹¤¬¡¢¤³¤ì ¤Ï 3 ¼¡¸µÉÁ²èÍѤΤ«¤·¤³¤Þ¤Ã¤¿¥ª¥×¥·¥ç¥ó¤Ë²á¤®¤Þ¤»¤ó¡£set view map ¤Ë ¤è¤ë splot ¤ò´Þ¤à 2 ¼¡¸µÉÁ²è¤Ç¤Ï¡¢Ç¤°Õ¤ÎºÂɸ·Ï¤Ç¤Î»ØÄ꤬²Äǽ¤Ç¤¹¡£Î㤨 ¤Ð°Ê²¼¤ò»î¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤:

   set colorbox horiz user origin .1,.02 size .8,.04

¤³¤ì¤Ï¿åÊ¿Êý¸þ¤Î¿§¸ûÇÛ¤ò¥°¥é¥Õ¤Î²¼¤ÎÊÕ¤ê¤ËÉÁ²è¤·¤Þ¤¹¡£

border ¤Ï¶­³¦ÉÁ²è¤ò ON ¤Ë¤·¤Þ¤¹ (¥Ç¥Õ¥©¥ë¥È) ¤·¡¢noborder ¤Ï¶­³¦ÉÁ ²è¤ò OFF ¤Ë¤·¤Þ¤¹¡£border ¤Î¸å¤í¤ËÀµ¤ÎÀ°¿ô¤òÍ¿¤¨¤ë¤È¡¢¤½¤ì¤ò¶­³¦¤òÉÁ ²è¤¹¤ë»þ¤Î line style ¤Î¥¿¥°¤È¤·¤Æ»È¤¤¤Þ¤¹¡£Î㤨¤Ð:

   set style line 2604 linetype -1 linewidth .4
   set colorbox border 2604

¤Ï line style 2604¡¢¤¹¤Ê¤ï¤ÁºÙ¤¤Àþ¤Î¥Ç¥Õ¥©¥ë¥È¤Î¶­³¦¿§ (-1) ¤Ç¶­³¦¤ò ÉÁ²è¤·¤Þ¤¹¡£bdefault (¥Ç¥Õ¥©¥ë¥È) ¤Ï¡¢¥«¥é¡¼¥Ü¥Ã¥¯¥¹¤Î¶­³¦¤ÎÉÁ²è¤Ë¥Ç ¥Õ¥©¥ë¥È¤Î¶­³¦¤Î line style ¤ò»È¤¤¤Þ¤¹¡£

¥«¥é¡¼¥Ü¥Ã¥¯¥¹¤Î¼´¤Ï cb ¤È¸Æ¤Ð¤ì¡¢Ä̾ï¤Î¼´¤Î¥³¥Þ¥ó¥É¤ÇÀ©¸æ¤µ¤ì¤Þ¤¹¡£ ¤¹¤Ê¤ï¤Á set/unset/show ¤Ç cbrange, [m]cbtics, format cb, grid [m]cb, cblabel ¤Ê¤É¤¬¡¢¤½¤·¤Æ¿ʬ cbdata, [no]cbdtics, [no]cbmtics ¤Ê¤É¤â»È¤¨¤ë¤Ç¤·¤ç¤¦¡£

¥Ñ¥é¥á¡¼¥¿Ìµ¤·¤Î set colorbox ¤Ï¥Ç¥Õ¥©¥ë¥È¤Î°ÌÃÖ¤ØÀÚÂؤ¨¤Þ¤¹¡£ unset colorbox ¤Ï¥«¥é¡¼¥Ü¥Ã¥¯¥¹¤Î¥Ñ¥é¥á¡¼¥¿¤ò¥Ç¥Õ¥©¥ë¥ÈÃͤ˥ꥻ¥Ã¥È ¤·¡¢¤½¤Î¾å¤Ç¥«¥é¡¼¥Ü¥Ã¥¯¥¹¤ò OFF ¤Ë¤·¤Þ¤¹¡£

°Ê²¼¤â»²¾È: set pm3d (82.53), set palette (82.54), x11 pm3d (92.72.7), set style line (82.66.7)¡£

82.13 ¿§Ì¾ (colornames)

gnuplot ¤Ï¸ÂÄꤵ¤ì¤¿¸Ä¿ô¤Î¿§¤Î̾Á°¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤é¤Ï¡¢pm3d ¥Ñ¥ì ¥Ã¥È¤Ç¤Ä¤Ê¤¬¤ì¤ë¿§¤ÎÈϰϤòÄêµÁ¤¹¤ë¤Î¤Ë¡¢¤¢¤ë¤¤¤Ï¸Ä¡¹¤ÎÀþ¼ï¤ä¥é¥¤¥ó¥¹¥¿ ¥¤¥ë¤Î¿§¤ò½ÐÎÏ·Á¼°¤Ë°Í¸¤·¤Ê¤¤·Á¤ÇÄêµÁ¤·¤¿¤ê¤¹¤ë¤Î¤Ë»È¤¨¤Þ¤¹¡£gnuplot ¤Î»ý¤Ä¿§Ì¾¤Î°ìÍ÷¤ò¸«¤ë¤Ë¤Ï¡¢¥³¥Þ¥ó¥É show colornames ¤ò»ÈÍѤ·¤Æ¤¯¤À ¤µ¤¤¡£Îã:


     set style line 1 linecolor rgb "sea-green"

82.14 Åù¹âÀþ (contour)

¥³¥Þ¥ó¥É set contour ¤Ï¶ÊÌ̤ÎÅù¹âÀþ¤ò°ú¤¯¤³¤È¤ò»Ø¼¨¤·¤Þ¤¹¡£¤³¤Î¥ª¥× ¥·¥ç¥ó¤Ï splot ¤Ç¤Î¤ßÍ­¸ú¤Ç¤¹¡£¤³¤ì¤Ï¡¢³Ê»Ò¾õ¥Ç¡¼¥¿ (grid data) ¤òɬ ÍפȤ·¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: grid_data (84.2)¡£Èó³Ê»Ò¾õ¥Ç¡¼¥¿¤ÇÅù¹âÀþ¤òÉÁ ¤­¤¿¤¤¾ì¹ç¤Ï¡¢³Ê»Ò¤òÀ¸À®¤¹¤ë¤¿¤á¤Ë set dgrid3d ¤ò»ÈÍѤ·¤Þ¤¹¡£

½ñ¼°:

     set contour {base | surface | both}
     unset contour
     show contour

¤³¤ì¤é¤Î 3 ¤Ä¤Î¥ª¥×¥·¥ç¥ó¤ÏÅù¹âÀþ¤ò¤É¤³¤Ë°ú¤¯¤«¤ò»ØÄꤷ¤Þ¤¹¡£base ¤Ç ¤ÏÅù¹âÀþ¤ò x/y ¼´¤Î¹ï¤ß¤Î¤¢¤ëÄìÌ̤ËÉÁ¤«¤ì¡¢surface ¤Ç¤ÏÅù¹âÀþ¤Ï¤½¤Î ¶ÊÌ̼«ÂΤξå¤ËÉÁ¤«¤ì¡¢both ¤Ç¤ÏÄìÌ̤ȶÊÌ̾å¤ÎξÊý¤ËÉÁ¤«¤ì¤Þ¤¹¡£¥ª¥× ¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï base ¤Ç¤¢¤ë¤È²¾Äꤵ¤ì¤Þ¤¹¡£

Åù¹âÀþ¤ÎÉÁ²è¤Ë±Æ¶Á¤òÍ¿¤¨¤ë¥Ñ¥é¥á¡¼¥¿¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È:set cntrparam (82.11)¡£Åù¹âÀþ¤Î¥é¥Ù¥ë¤ÎÀ©¸æ¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È:set clabel (82.9)¡£

Åù¹âÀþ¤Î¤ß¤Î¥°¥é¥Õ¤òÆÀ¤ë¤¿¤á¤Ë¡¢¶ÊÌ̼«¿È¤ÎÉÁ²è¤ò¤·¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤³¤È¤â ¤Ç¤­¤Þ¤¹ (°Ê²¼»²¾È: set surface (82.67))¡£set size ¤ò»È¤Ã¤Æ¡¢¥°¥é¥Õ¤ò²èÌÌ °ìÇÕ¤ËÉÁ²è¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¤¬¡¢¤½¤¦¤¤¤Ã¤¿½ÐÎÏ·Á¼°¤è¤ê¤â¡¢Åù¹âÀþ¤Î¥Ç¡¼ ¥¿¤ò¥Õ¥¡¥¤¥ë¤Ë½ñ¤­½Ð¤·¡¢¤½¤ì¤òºÆ¤Ó 2 ¼¡¸µ¥Ç¡¼¥¿¤È¤·¤ÆÆɤ߹þ¤ó¤ÇÉÁ²è¤¹ ¤ì¤Ð¤è¤ê¤è¤¤À©¸æ¤¬²Äǽ¤Ë¤Ê¤ê¤Þ¤¹:


     unset surface
     set contour
     set cntrparam ...
     set table 'filename'
     splot ...
     unset table
     # contour info now in filename
     set term <whatever>
     plot 'filename'

Åù¹âÀþ¤òÉÁ¤¯¤¿¤á¤Ë¤Ï¡¢¥Ç¡¼¥¿¤Ï³Ê»Ò¾õ¥Ç¡¼¥¿ ("grid data") ¤Ç¤¢¤ëɬÍפ¬ ¤¢¤ê¤Þ¤¹¡£¤½¤Î¤è¤¦¤Ê¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢°ì¤Ä¤Î y-¸ÉΩÀþ¾å¤ÎÁ´¤Æ¤ÎÅÀ¤¬½ç¤Ë ʤ٤é¤ì¤Æ¤¤¤­¤Þ¤¹¡£¤½¤·¤ÆÎ٤Πy-¸ÉΩÀþ¾å¤ÎÅÀ¤¬½ç¤Ëʤ٤é¤ì¡¢¤½¤·¤ÆÎÙ¡¢ ¤È³¤¤¤Æ¤¤¤­¤Þ¤¹¡£y-¸ÉΩÀþƱ»Î¤òʬΥ¤¹¤ë¤Ë¤Ï°ì¹Ô¤Î¶õ¹Ô (¶õÇò¡¢Éüµ¢¡¢²þ ¹Ô°Ê³°¤Îʸ»ú¤ò´Þ¤Þ¤Ê¤¤¹Ô) ¤ò¶´¤ß¤Þ¤¹¡£°Ê²¼»²¾È: splot datafile (84.1)¡£

°Ê²¼¤â»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

Åù¹âÀþ¤Î¥Ç¥â (contours.dem)

¤ª¤è¤Ó

¥æ¡¼¥¶ÄêµÁ¥ì¥Ù¥ë¤ÎÅù¹âÀþ¤Î¥Ç¥â (discrete.dem).

82.15 Data style

¤³¤Î¥³¥Þ¥ó¥É¤Î·Á¼°¤Ï¸½ºß¤Ï¿ä¾©¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£°Ê²¼»²¾È:set style data (82.66.3)¡£

82.16 Datafile

¥³¥Þ¥ó¥É set datafile ¤Ï¡¢plot, splot, fit ¥³¥Þ¥ó¥É¤ÇÆþÎϥǡ¼ ¥¿¤òÆɤà¾ì¹ç¤Ë¡¢¤½¤ÎÎó (field) ¤Î²ò¼á¤Î»ÅÊý¤òÀ©¸æ¤¹¤ë¥ª¥×¥·¥ç¥ó¤ò»ý¤Á ¤Þ¤¹¡£¸½ºß¤Ï¡¢6 ¤Ä¤Î¤½¤Î¤è¤¦¤Ê¥ª¥×¥·¥ç¥ó¤¬¼ÂÁõ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

82.16.1 Set datafile fortran

¥³¥Þ¥ó¥É set datafile fortran ¤Ï¡¢ÆþÎÏ¥Õ¥¡¥¤¥ë¤Î Fortran D ·¿¡¢Q ·¿ ¤ÎÄê¿ôÃͤÎÆÃÊ̤ʥÁ¥§¥Ã¥¯¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£¤³¤ÎÆÃÊ̤ʥÁ¥§¥Ã¥¯¤ÏÆþÎϽèÍý¤ò ÃÙ¤¯¤·¤Þ¤¹¤Î¤Ç¡¢¼ÂºÝ¤Ë¤½¤Î¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤¬ Fortran D ·¿¡¢Q ·¿¤ÎÄê¿ô¤ò »ý¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¤Î¤ß¤³¤ì¤òÁªÂò¤¹¤Ù¤­¤Ç¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¤½¤Î¸å¤Ç unset datafile fortran ¤ò¹Ô¤¨¤Ð̵¸ú¤Ë¤Ç¤­¤Þ¤¹¡£

82.16.2 Set datafile nofpe_trap

¥³¥Þ¥ó¥É set datafile nofpe_trap ¤Ï¡¢ÆþÎÏ¥Õ¥¡¥¤¥ë¤«¤é¥Ç¡¼¥¿¤ÎÆɤ߹þ ¤ß¤ÎºÝ¤Ë¡¢¤¹¤Ù¤Æ¤Î¿ô¼°¤Îɾ²Á¤ÎÁ°¤ËÉâÆ°¾®¿ôÅÀÎã³°¥Ï¥ó¥É¥é¤ÎºÆ½é´ü²½¤ò¤· ¤Ê¤¤¤è¤¦¤Ë gnuplot ¤ËÌ¿Îᤷ¤Þ¤¹¡£¤³¤ì¤Ë¤è¤ê¡¢¤È¤Æ¤âÂ礭¤Ê¥Õ¥¡¥¤¥ë¤«¤é ¤Î¥Ç¡¼¥¿¤ÎÆþÎϤ¬¤«¤Ê¤ê®¤¯¤Ê¤ê¤Þ¤¹¤¬¡¢ÉâÆ°¾®¿ôÅÀÎã³°¤¬µ¯¤­¤¿¾ì¹ç¤Ë¥×¥í ¥°¥é¥à¤¬°Û¾ï½ªÎ»¤·¤Æ¤·¤Þ¤¦´í¸±¤Ï¤¢¤ê¤Þ¤¹¡£

82.16.3 Set datafile missing

¥³¥Þ¥ó¥É set datafile missing ¤Ï gnuplot ¤Ë¡¢¤É¤Î¤è¤¦¤Êʸ»úÎó¤¬¥Ç ¡¼¥¿¥Õ¥¡¥¤¥ëÃæ¤Î·ç¤±¤¿¥Ç¡¼¥¿ (missing data) ¤ò°ÕÌ£¤¹¤ë¤Î¤«¤ò»Ø¼¨¤·¤Þ¤¹¡£ ¼ÂºÝ¤Ë¤½¤Îʸ»úÎ󤬤ɤΤ褦¤Ë¼è¤ê°·¤ï¤ì¤ë¤«¤Ï¡¢plot ¤ä splot ¥³¥Þ¥ó ¥É¤Î using »ØÄê»Ò¤Ë¤â°Í¸¤·¤Þ¤¹¡£

½ñ¼°:

     set datafile missing {"<string>"}
     show datafile missing
     unset datafile

Îã:

     # IEEE NaN ("Not a Number") ¥³¡¼¥É¤ò´Þ¤à¥¨¥ó¥È¥ê¤ò̵»ë¤¹¤ë
     set datafile missing "NaN"

Îã:

     set style data linespoints
     plot '-'
        1 10
        2 20
        3 ?
        4 40
        5 50
        e
     set datafile missing "?"
     plot '-'
        1 10
        2 20
        3 ?
        4 40
        5 50
        e
     plot '-' using 1:2
        1 10
        2 20
        3 ?
        4 40
        5 50
        e
     plot '-' using 1:($2)
        1 10
        2 20
        3 ?
        4 40
        5 50
        e

ºÇ½é¤Î plot ¤Ï¡¢"3 ?" ¤Î¹Ô¤Ç¤ÏºÇ½é¤Î¥Ç¡¼¥¿¤Î¤ß¤òǧ¼±¤·¡¢¤½¤³¤Ç¤Ï 1 ¹Ô¤Ë 1 ¤Ä¤·¤«¥Ç¡¼¥¿¤¬¤Ê¤«¤Ã¤¿¾ì¹ç¤Îµ¬Â§¤¬Å¬ÍѤµ¤ì¡¢¹ÔÈֹ椬 "x" ¤Ç¥Ç¡¼ ¥¿¤¬ "y" ¤È¸«¤Ê¤µ¤ì¡¢¤½¤ÎÅÀ¤Ï (2,3) ¤Ë (¤³¤Î¾ì¹ç¤Ï¸í¤Ã¤Æ) ÉÁ²è¤µ¤ì¤Þ¤¹¡£

2 ÈÖÌÜ¤È 3 ÈÖÌܤΠplot ¥³¥Þ¥ó¥É¤Ï¡¢¿¿Ãæ¤Î¹Ô¤òÀµ¤·¤¯Ìµ»ë¤·¤Þ¤¹¡£ÉÁ²è ¤µ¤ì¤ë¶ÊÀþ¤Ï¡¢(2,20) ¤È (4,40) ¤¬·ë¤Ð¤ì¤Þ¤¹¡£

4 ÈÖÌܤΠplot ¤â¿¿Ãæ¤Î¹Ô¤òÀµ¤·¤¯Ìµ»ë¤·¤Þ¤¹¤¬¡¢¤³¤Î¾ì¹ç¤Ï (2,20) ¤È (4,40) ¤Ï·ë¤Ð¤ì¤Þ¤»¤ó¡£

¥Ç¥Õ¥©¥ë¥È¤Î missing ÍѤÎʸ»ú¤Ï²¿¤âÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¤¬¡¢Â¿¤¯¤Î¾ì¹ç ¿ôÃͤ¬´üÂÔ¤µ¤ì¤ë¤Ù¤­½ê¤Ë¤½¤ì¤Èǧ¼±¤Ç¤­¤Ê¤¤Ê¸»ú¤¬¸«¤Ä¤«¤Ã¤¿¤é¤½¤ì¤Ï·ç¤± ¤¿¥Ç¡¼¥¿ (missing data) ¤Ç¤¢¤ë¤È¸«¤Ê¤µ¤ì¤Þ¤¹¡£

82.16.4 Set datafile separator

¥³¥Þ¥ó¥É set datafile separator "< char> " ¤Ï¡¢gnuplot ¤Ë¡¢¤³¤Î¸å¤Î ÆþÎÏ¥Õ¥¡¥¤¥ë¤Î¥Ç¡¼¥¿Îó¤ÎʬΥʸ»ú¤¬¡¢¶õÇò (whitespace) ¤Ç¤Ê¤¯¤Æ < char> ¤Ç¤¢¤ë¤È»Ø¼¨¤·¤Þ¤¹¡£¤³¤Î¥³¥Þ¥ó¥É¤ÎºÇ¤â°ìÈÌŪ¤Ê»ÈÍÑÎã¤Ï¡¢É½·×»»¥½¥Õ¥È¤ä ¥Ç¡¼¥¿¥Ù¡¼¥¹¥½¥Õ¥È¤Ë¤è¤Ã¤Æºî¤é¤ì¤¿ csv (¥³¥ó¥Þ¶èÀÚ¤ê) ¥Õ¥¡¥¤¥ë¤òÆɤà»þ ¤Ç¤·¤ç¤¦¡£¥Ç¥Õ¥©¥ë¥È¤Î¥Ç¡¼¥¿Îó¤ÎʬΥʸ»ú¤Ï¶õÇò (whitespace) ¤Ç¤¹¡£

½ñ¼°:

     set datafile separator {"<char>" | whitespace}

Îã:

     # ¥¿¥Ö¶èÀÚ¤ê¤Î¥Õ¥¡¥¤¥ë¤òÆþÎÏ
     set datafile separator "\t"


     # ¥³¥ó¥Þ¶èÀÚ¤ê¤Î¥Õ¥¡¥¤¥ë¤òÆþÎÏ
     set datafile separator ","

82.16.5 Set datafile commentschars

¥³¥Þ¥ó¥É set datafile commentschars ¤Ï gnuplot ¤Ë¡¢¤É¤Îʸ»ú¤¬¥Ç¡¼ ¥¿¥Õ¥¡¥¤¥ëÃæ¤Î¥³¥á¥ó¥È¤ò°ÕÌ£¤¹¤ë¤Î¤«¤ò»Ø¼¨¤·¤Þ¤¹¡£gnuplot ¤Ï¡¢»ØÄꤵ¤ì ¤¿Ê¸»ú¤ÎÃæ¤Î°ì¤Ä¤¬¥Ç¡¼¥¿¹Ô¤ÎºÇ½é¤ÎÈó¶õÇòʸ»ú¤È¤·¤Æ¸½¤ï¤ì¤¿¾ì¹ç¡¢¤½¤Îʸ »ú°Ê²¼¤ò̵»ë¤·¤Þ¤¹¡£

½ñ¼°:

     set datafile commentschars {"<string>"}
     show datafile commentschars
     unset commentschars

¥Ç¥Õ¥©¥ë¥È¤Î string ¤Ï¡¢VMS ¤Ç¤Ï "#!" ¤Ç¡¢¤½¤ì°Ê³°¤Ç¤Ï "#" ¤Ç¤¹¡£

¤è¤Ã¤Æ¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î°Ê²¼¤Î¹Ô¤Ï´°Á´¤Ë̵»ë¤µ¤ì¤Þ¤¹

   # 1 2 3 4

¤¬¡¢°Ê²¼¤Î¹Ô
   1 # 3 4

¤Ï¡¢¤â¤·
   set datafile missing '#'

¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢Í½´ü¤»¤Ì·ë²Ì¤òÀ¸¤¸¤Þ¤¹¡£

Îã:

     set datafile commentschars "#!%"

82.16.6 Set datafile binary

¥³¥Þ¥ó¥É set datafile binary ¤Ï¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ÎÆɤ߹þ¤ß»þ¤Ë¥Ð¥¤¥Ê ¥ê¥Õ¥¡¥¤¥ë¤ò¥Ç¥Õ¥©¥ë¥È¤ÈÀßÄꤹ¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£½ñ¼°¤Ï¡¢¤½¤ì¤¬ plot ¤Þ¤¿¤Ï splot ¥³¥Þ¥ó¥É¤Ç»È¤ï¤ì¤ë¤Î¤ÈÀµ³Î¤ËƱ¤¸¤Ç¤¹¡£< binary list> ¤Ë ½ñ¤±¤ë¥­¡¼¥ï¡¼¥É¤Ë´Ø¤·¤Æ¤Ï¡¢¾Ü¤·¤¯¤Ï¡¢°Ê²¼»²¾È: binary matrix (84.1.1),binary general (72.2.1)¡£

½ñ¼°:

     set datafile binary <binary list>
     show datafile binary
     show datafile
     unset datafile

Îã:

     set datafile binary filetype=auto
     set datafile binary array=(512,512) format="%uchar"


     show datafile binary   # ¸½ºß¤ÎÀßÄê¤Î°ìÍ÷ɽ¼¨

82.17 Decimalsign

¥³¥Þ¥ó¥É set decimalsign ¤Ï¡¢ÌÜÀ¹¤ê¤Î¸«½Ð¤·¡¢¤¢¤ë¤¤¤Ï set label ʸ »úÎó¤Ë½ñ¤«¤ì¤ë¿ô¤Î¾®¿ôÅÀµ­¹æ¤òÁªÂò¤·¤Þ¤¹¡£

½ñ¼°:

     set decimalsign {<value> | locale {"<locale>"}}
     unset decimalsign
     show decimalsign

°ú¿ô < value> ¤Ï¡¢Ä̾ï¤Î¾®¿ôÅÀµ­¹æ¤ËÃÖ¤­´¹¤¨¤Æ»È¤¦Ê¸»úÎó¤Ç¤¹¡£Åµ·¿Åª¤Ê ¤â¤Î¤Ï¥Ô¥ê¥ª¥É '.' ¤ä¥³¥ó¥Þ ',' ¤Ç¤¹¤¬Â¾¤Ë¤âÍ­ÍѤʤâ¤Î¤¬¤¢¤ë¤Ç¤·¤ç¤¦¡£ °ú¿ô < value> ¤ò¾Êά¤¹¤ë¤È¡¢¾®¿ôÅÀ¤Î¶èÀÚ¤ê¤Ï¥Ç¥Õ¥©¥ë¥È (¥Ô¥ê¥ª¥É) ¤«¤é Êѹ¹¤µ¤ì¤Þ¤»¤ó¡£unset decimalsign ¤â < value> ¤ò¾Êά¤¹¤ë¤Î¤ÈƱ¤¸¸ú²Ì¤ò »ý¤Á¤Þ¤¹¡£

Îã:

¿¤¯¤Î¥è¡¼¥í¥Ã¥Ñ½ô¹ñ¤Ç¤ÎÀµ¤·¤¤½ÐÎÏ·Á¼°¤òÆÀ¤ë¤Ë¤Ï:

     set decimalsign ','

¼¡¤Î¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤: ÌÀ¼¨Åª¤Êʸ»úÎó¤òÀßÄꤷ¤¿¾ì¹ç¡¢¤³¤ì¤Ï¼´¤ÎÌÜ À¹¤ê¤Ê¤É¤Î gnuplot ¤Î gprintf() ½ñ¼°´Ø¿ô¤Ç½ÐÎϤµ¤ì¤ë¿ôÃͤΤߤ˱ƶÁ¤·¡¢ ÆþÎϥǡ¼¥¿¤Î½ñ¼°»ØÄê¤ä sprintf() ½ñ¼°´Ø¿ô¤Ç½ÐÎϤµ¤ì¤ë¿ôÃͤˤϱƶÁ¤·¤Þ ¤»¤ó¡£¤½¤ì¤é¤ÎÆþÎϤä½ÐÎϤηÁ¼°¤ÎµóÆ°¤âÊѹ¹¤·¤¿¤¤¾ì¹ç¤Ï¡¢Âå¤ï¤ê¤Ë°Ê²¼¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤:


     set decimalsign locale

¤³¤ì¤Ï¡¢gnuplot ¤Ë¡¢ÆþÎϤȽÐÎϤνñ¼°¤ò¡¢´Ä¶­ÊÑ¿ô LC_ALL, LC_NUMERIC, LANG ¤Î¸½ºß¤ÎÀßÄê¤Ë½¾¤Ã¤¿¤â¤Î¤ò»È¤ï¤»¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£


     set decimalsign locale "foo"

¤³¤ì¤Ï¡¢gnuplot ¤Ë¡¢ÆþÎϤȽÐÎϤνñ¼°¤ò¡¢¥í¥±¡¼¥ë "foo" ¤Ë½¾¤Ã¤¿¤â¤Î¤Ë ¤·¤Þ¤¹¤¬¡¢¤½¤Î¥í¥±¡¼¥ë¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤â¤·¥í¥± ¡¼¥ë "foo" ¤¬¸«¤Ä¤«¤é¤Ê¤«¤Ã¤¿¾ì¹ç¡¢¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬½ÐÎϤµ¤ì¡¢¾®¿ôÅÀ ¤ÎÀßÄê¤ÏÊѹ¹¤µ¤ì¤Þ¤»¤ó¡£linux ¥·¥¹¥Æ¥à¾å¤Ç¤Ï¡¢¤½¤³¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ ¤¤¤ë¥í¥±¡¼¥ë¤Î°ìÍ÷¤Ï "locale -a" ¤Ç¸«¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£linux ¤Î¥í¥±¡¼ ¥ëʸ»úÎó¤Ï¤À¤¤¤¿¤¤ "sl_SI.UTF-8" ¤Î¤è¤¦¤Ê·Á¼°¤ò¤·¤Æ¤¤¤Þ¤¹¤¬¡¢Windows ¤Î¥í¥±¡¼¥ëʸ»úÎó¤Ï "Slovenian_Slovenia.1250"¡¢¤Þ¤¿¤Ï "slovenian" ¤Î¤è ¤¦¤Ê·Á¼°¤Ç¤¹¡£¥í¥±¡¼¥ëʸ»úÎó¤Î²ò¼á¤Ï¡¢C ¤Î¥é¥ó¥¿¥¤¥à¥é¥¤¥Ö¥é¥ê¤¬¹Ô¤¦¤³ ¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£¸Å¤¤ C ¥é¥¤¥Ö¥é¥ê¤Ç¤Ï¡¢¥í¥±¡¼¥ëÀßÄê¤Î¥µ¥Ý¡¼¥È (Î㤨¤Ð¿ô»ú¤Î 3 ·åËè¤Î¶èÀÚ¤êʸ»ú¤Ê¤É) ¤òÉôʬŪ¤Ë¤·¤«Ä󶡤·¤Æ¤¤¤Ê¤¤¤«¤â ¤·¤ì¤Þ¤»¤ó¡£


     set decimalsign locale; set decimalsign "."

¤³¤ì¤Ï¡¢¸½ºß¤Î¥í¥±¡¼¥ë¤Ë¹ç¤Ã¤¿¤É¤ó¤Ê¾®¿ôÅÀ¤Ç¤â¡¢Á´¤Æ¤ÎÆþ½ÐÎϤËÂФ·¤Æ»È ÍѤ¹¤ë¤è¤¦¤ËÀßÄꤷ¤Þ¤¹¤¬¡¢gnuplot ¤ÎÆâÉô´Ø¿ô gprintf() ¤ò»È¤Ã¤Æ½ñ¼°²½ ¤¹¤ë¿ôÃͤÏÌÀ¼¨Åª¤Ë»ØÄꤵ¤ì¤¿ '.' ¤Ë¤Ê¤ê¤Þ¤¹ (¾å½ñ¤­)¡£

82.18 Dgrid3d

¥³¥Þ¥ó¥É set dgrid3d ¤Ï¡¢Èó³Ê»Ò¾õ¥Ç¡¼¥¿¤«¤é³Ê»Ò¾õ¥Ç¡¼¥¿¤Ø¤Î¼ÌÁüµ¡Ç½¤ò Í­¸ú¤Ë¤·¡¢¤½¤Î¤¿¤á¤Î¥Ñ¥é¥á¡¼¥¿¤òÀßÄꤷ¤Þ¤¹¡£³Ê»Ò¾õ¥Ç¡¼¥¿¤Î¹½Â¤¤Ë¤Ä¤¤¤Æ ¤Î¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: splot grid_data (84.2)¡£

½ñ¼°:

     set dgrid3d {<rows>} {,{<cols>}}
                 { splines |
                   qnorm {<norm>} |
                   (gauss | cauchy | exp | box | hann)
                     {kdensity} {<dx>} {,<dy>} }
     unset dgrid3d
     show dgrid3d

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï dgrid3d ¤Ï̵¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£Í­¸ú¤Ë¤Ê¤ë¤È¡¢¥Õ¥¡¥¤¥ë ¤«¤éÆɤ߹þ¤Þ¤ì¤ë 3 ¼¡¸µ¤Î¥Ç¡¼¥¿¤Ï¡Ö»¶ºß¤·¤¿¡×¥Ç¡¼¥¿ (Èó³Ê»Ò¾õ¥Ç¡¼¥¿) ¤Ç¤¢¤ë¤È¸«¤Ê¤µ¤ì¤Þ¤¹¡£³Ê»Ò¤Ï¡¢¥°¥é¥Õ¤ÈÅù¹âÀþ¤ÎÉÁ²è¤Î¤¿¤á¤Ë¡¢»¶ºß¤·¤¿¥Ç ¡¼¥¿¤ò°Ï¤à¶ë·Á¤«¤éÆÀ¤é¤ì¤ëÀ£Ë¡¤È¡¢row_size/col_size ¤Ç»ØÄꤵ¤ì¤ë¿ô¤Î¹Ô ¤ÈÎó¤ò»ý¤Ä¤è¤¦¤ËÀ¸À®¤µ¤ì¤Þ¤¹¡£³Ê»Ò¤Ï x Êý¸þ (¹Ô) ¤È y Êý¸þ (Îó) ¤ËÅù´Ö ³Ö¤Ç¤¹¡£z ¤ÎÃͤϻ¶ºß¤¹¤ë¥Ç¡¼¥¿¤Î z ¤ÎÃͤνŤßÉÕ¤­¤ÎÊ¿¶Ñ¡¢¤Þ¤¿¤Ï¥¹¥×¥é ¥¤¥óÊä´Ö¤È¤·¤Æ·×»»¤µ¤ì¤Þ¤¹¡£¸À¤¤ÊѤ¨¤ì¤Ð¡¢µ¬Â§Åª¤Ê´Ö³Ö¤Î³Ê»Ò¤¬À¸À®¤µ¤ì¡¢ Á´¤Æ¤Î³Ê»ÒÅÀ¤Ç¸µ¤Î¥Ç¡¼¥¿¤Î³ê¤«¤Ê¶á»÷Ãͤ¬É¾²Á¤µ¤ì¤Þ¤¹¡£¸µ¤Î¥Ç¡¼¥¿¤ÎÂå¤ï ¤ê¤Ë¤³¤Î¶á»÷Ãͤ¬ÉÁ²è¤µ¤ì¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤ÎÎó¤Î¿ô¤Ï¹Ô¤Î¿ô¤ËÅù¤·¤¯¡¢¤½¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃÍ¤Ï 10 ¤Ç¤¹¡£

¸µ¤Î¥Ç¡¼¥¿¤«¤é¶á»÷Ãͤò·×»»¤¹¤ë¤¿¤á¤Î¤¤¤¯¤Ä¤«¤Î¥¢¥ë¥´¥ê¥º¥à¤¬ÍÑ°Õ¤µ¤ì¤Æ ¤¤¤Æ¡¢ÄɲäΥѥé¥á¡¼¥¿¤ò»ØÄê¤Ç¤­¤ë¤â¤Î¤â¤¢¤ê¤Þ¤¹¡£¤³¤ì¤é¤ÎÊä´Ö¤Ï¡¢³Ê»Ò ÅÀ¤Ë¶á¤¤¥Ç¡¼¥¿ÅÀ¤Û¤É¡¢¤½¤Î³Ê»ÒÅÀ¤ËÂФ·¤Æ¤è¤ê¶¯¤¤±Æ¶Á¤òÍ¿¤¨¤Þ¤¹¡£

splines ¥¢¥ë¥´¥ê¥º¥à¤Ï¡¢"Çö¤¤¤Ä¤®ÈÄ" ¤ò¸µ¤Ë¤·¤¿Êä´Ö·×»»¤ò¹Ô¤¤¤Þ¤¹¡£ ¤³¤ì¤ÏÄɲåѥé¥á¡¼¥¿¤ò¼è¤ê¤Þ¤»¤ó¡£

qnorm ¥¢¥ë¥´¥ê¥º¥à¤Ï³Æ³Ê»ÒÅÀ¤ÇÆþÎϥǡ¼¥¿¤Î½Å¤ßÉÕ¤­Ê¿¶Ñ¤ò·×»»¤·¤Þ¤¹¡£ ³ÆÅÀ¤Ï³Ê»ÒÅÀ¤«¤é¤Îµ÷Î¥¤Î norm ¾è¤ÎµÕ¿ô¤Ç½Å¤ßÉÕ¤±¤µ¤ì¤Þ¤¹¡£(¼ÂºÝ¤Ë¤Ï¡¢ dx, dy ¤ò³Æ¥Ç¡¼¥¿ÅÀ¤È³Ê»ÒÅÀ¤È¤Îº¹¤ÎÀ®Ê¬¤Ç¤¢¤ë¤È¤¹¤ë¤È¡¢½Å¤ß¤Ï dx^norm + dy^norm ¤ÇÍ¿¤¨¤é¤ì¤Þ¤¹¡£2 ¤Î¤Ù¤­¤Î¥Î¥ë¥à¡¢ÆÃ¤Ë 4, 8, 16 ¤Ë´Ø¤·¤Æ¤Ï¡¢ ¤½¤Î½Å¤ß¤Î·×»»¤Ï¥æ¡¼¥¯¥ê¥Ã¥Éµ÷Î¥¤ò»È¤¦¤³¤È¤Ç (dx^2+dy^2)^norm/2 ¤Î¤è¤¦ ¤ËºÇŬ²½¤µ¤ì¤Æ¤Þ¤¹¤¬¡¢Ç¤°Õ¤ÎÉé¤Ç¤Ê¤¤À°¿ô¤ò»È¤¦¤³¤È¤â²Äǽ¤Ç¤¹¡£) ¥Î¥ë¥à ¤Î¤Ù¤­¤ÎÃͤò¤¿¤À°ì¤Ä¤ÎÄɲåѥé¥á¡¼¥¿¤È¤·¤Æ»ØÄê¤Ç¤­¤Þ¤¹¡£¤³¤Î¥¢¥ë¥´¥ê¥º ¥à¤¬¥Ç¥Õ¥©¥ë¥È¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

ºÇ¸å¤Ë¡¢½Å¤ßÉÕ¤­Ê¿¶Ñ¤Î·×»»ÍѤˡ¢¤¤¤¯¤Ä¤«¤ÎÊ¿³ê²½½Å¤ßÉÕ¤±´Ø¿ô (kernel) ¤¬ÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹: z = Sum_i w(d_i) * z_i / Sum_i w(d_i), ¤³¤³¤Ç z_i ¤Ï i ÈÖÌܤΥǡ¼¥¿¤ÎÃͤǡ¢d_i ¤Ï¸½ºß¤Î³Ê»ÒÅÀ¤È i ÈÖÌܤΥǡ¼¥¿ÅÀ¤Î°ÌÃÖ¤È ¤Îµ÷Î¥¤Ç¤¹¡£¤¹¤Ù¤Æ¤Î½Å¤ßÉÕ¤±´Ø¿ô¤¬¡¢¸½ºß¤Î³Ê»ÒÅÀ¤Ë¶á¤¤Êý¤Î¥Ç¡¼¥¿ÅÀ¤Ë¤Ï Â礭¤Ê½Å¤ß¡¢±ó¤¤Êý¤Î¥Ç¡¼¥¿ÅÀ¤Ë¤Ï¾®¤µ¤¤½Å¤ß¤òÉÕ¤±¤Þ¤¹¡£

°Ê²¼¤Î½Å¤ßÉÕ¤±´Ø¿ô¤¬»ÈÍѤǤ­¤Þ¤¹:

     gauss :     w(d) = exp(-d*d)
     cauchy :    w(d) = 1/(1 + d*d)
     exp :       w(d) = exp(-d)
     box :       w(d) = 1                     d<1 ¤Î¾ì¹ç
                      = 0                     ¤½¤Î¾
     hann :      w(d) = 0.5*(1-cos(2*pi*d))   d<1 ¤Î¾ì¹ç
                 w(d) = 0                     ¤½¤Î¾

¤³¤ì¤é 5 ¤Ä¤ÎÊ¿³ê²½½Å¤ßÉÕ¤±´Ø¿ô¤Î¤¦¤Á°ì¤Ä¤ò»ÈÍѤ¹¤ë¾ì¹ç¡¢2 ¤Ä¤Þ¤Ç¤ÎÄÉ ²Ã¥Ñ¥é¥á¡¼¥¿ dx ¤È dy ¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£¤³¤ì¤é¤Ï¡¢µ÷Î¥¤Î·×»»»þ¤ËºÂɸ¤Î°ã ¤¤¤ò¥¹¥±¡¼¥ëÊÑ´¹¤¹¤ë¤Î¤Ë»È¤¨¤Þ¤¹: d_i = sqrt( ((x-x_i)/dx)**2 + ((y-y_i)/dy)**2 ), ¤³¤³¤Ç¡¢x,y ¤Ï¸½ºß¤Î ³Ê»ÒÅÀ¤ÎºÂɸ¤Ç¡¢x_i,y_i ¤Ï i ÈÖÌܤΥǡ¼¥¿ÅÀ¤ÎºÂɸ¤Ç¤¹¡£dy ¤Î¥Ç¥Õ¥©¥ë¥È ¤ÎÃÍ¤Ï dx ¤Ç¡¢¤½¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃÍ¤Ï 1 ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¥Ñ¥é¥á¡¼¥¿ dx ¤È dy ¤Ï¡¢¥Ç¡¼¥¿ÅÀ¤¬³Ê»ÒÅÀ¤Ø¡Ö¥Ç¡¼¥¿¤½¤ì¼«¿È¤Îñ°Ì¤Ç¡×¤Î´óÍ¿¤ò¹Ô¤¦ÈϰϤΠÀ©¸æ¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó¥­¡¼¥ï¡¼¥É kdensity2d ¤Ï¡¢½Å¤ßÉÕ¤±´Ø¿ô̾¤Î¸å¤í¤Ç (¥ª¥×¥·¥ç ¥ó¤Î) ¥¹¥±¡¼¥ëÊÑ´¹¤Î¥Ñ¥é¥á¡¼¥¿¤ÎÁ°¤ËÃÖ¤¯¤â¤Î¤Ç¡¢¤³¤ì¤Ï¥¢¥ë¥´¥ê¥º¥à¤òÊÑ ¹¹¤·¤Æ¡¢³Ê»ÒÅÀÍѤ˷׻»¤¹¤ëÃͤò½Å¤ß¤ÎÏ ( z = Sum_i w(d_i) * z_i ) ¤Ç¤Ï ³ä¤é¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤¹¡£z_i ¤¬¤¹¤Ù¤ÆÄê¿ô¤Î¾ì¹ç¡¢¤³¤ì¤Ï»ö¼Â¾å 2 ÊÑ¿ô¤Î½Å ¤ßÉÕ¤±É¾²Á¤òÉÁ²è¤·¤Þ¤¹: (¾å¤Î 5 ¤Ä¤Î¤¦¤Á¤Î°ì¤Ä¤Î) ½Å¤ßÉÕ¤±´Ø¿ô¤¬³Æ¥Ç¡¼ ¥¿ÅÀ¤ËÃÖ¤«¤ì¡¢¤½¤ì¤é¤Î½Å¤ß¤ÎϤ¬¤¹¤Ù¤Æ¤Î³Ê»ÒÅÀ¤Çɾ²Á¤µ¤ì¡¢¤½¤·¤Æ¸µ¤Î¥Ç ¡¼¥¿¤ÎÂå¤ï¤ê¤Ë¤³¤Î³ê¤é¤«¤Ê¶ÊÌ̤¬ÉÁ²è¤µ¤ì¤Þ¤¹¡£¤³¤ì¤Ï¡¢1 ¼¡¸µ¤Î¥Ç¡¼¥¿½¸ ¹ç¤ËÂФ¹¤ë smooth kdensity ¥ª¥×¥·¥ç¥ó¤¬¹Ô¤¦¤³¤È¤È¤ª¤ª¤Þ¤«¤Ë¤ÏƱ¤¸¤Ç ¤¹ (»ÈÍÑÎã¤Ï kdensity2d.dem ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤)¡£

¸åÊý¸ß´¹À­¤Î¤¿¤á¤Ë¡¢¤ï¤º¤«¤Ë°Û¤Ê¤ë½ñ¼°¤â¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤É¤Î¥¢¥ë ¥´¥ê¥º¥à¤âÌÀ¼¨Åª¤ËÁªÂò¤·¤Ê¤«¤Ã¤¿¾ì¹ç¡¢qnorm ¥¢¥ë¥´¥ê¥º¥à¤¬²¾Äꤵ¤ì¡¢ 3 ¤Ä°Ê²¼¤Î¡¢¥³¥ó¥Þ (,) ¶èÀÚ¤ê¤Î¥ª¥×¥·¥ç¥ó¥Ñ¥é¥á¡¼¥¿¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢ ¤½¤ì¤é¤ò¤½¤ì¤¾¤ì¹Ô¿ô¡¢Îó¿ô¡¢¤½¤·¤Æ norm ÃͤǤ¢¤ë¤È²ò¼á¤·¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó dgrid3d ¤Ï¡¢»¶ºß¤¹¤ë¥Ç¡¼¥¿¤ò½Å¤ßÉÕ¤­Ê¿¶Ñ¤Çµ¬Â§Åª¤Ê³Ê»Ò¤Ë ÃÖ¤­ÊѤ¨¤ëñ½ã¤Ê»ÅÁȤߤ˲᤮¤Þ¤»¤ó¡£¤³¤ÎÌäÂê¤ËÂФ¹¤ë¤è¤êÀöÎý¤µ¤ì¤¿¼êË¡ ¤¬Â¸ºß¤·¤Þ¤¹¤Î¤Ç¡¢¤³¤Îñ½ã¤ÊÊýË¡¤¬ÉÔ½½Ê¬¤Ç¤¢¤ì¤Ð¡¢gnuplot ¤Î³°¤Ç¤½¤Î ¤è¤¦¤ÊÊýË¡¤Ç¥Ç¡¼¥¿¤òÁ°½èÍý¤¹¤ë¤Ù¤­¤Ç¤·¤ç¤¦¡£

°Ê²¼¤â»²¾È

dgrid3d.dem: dgrid3d ¤Î¥Ç¥â

¤ª¤è¤Ó

scatter.dem: dgrid3d ¤Î¥Ç¥â

82.19 Dummy

¥³¥Þ¥ó¥É set dummy ¤Ï¥Ç¥Õ¥©¥ë¥È¤Î²¾ÊÑ¿ô̾¤òÊѹ¹¤·¤Þ¤¹¡£

½ñ¼°:

     set dummy {<dummy-var>} {,<dummy-var>}
     show dummy

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢gnuplot ¤Ï plot ¤Ç¤Ï¡¢ÇÞ²ðÊÑ¿ô¥â¡¼¥É¡¢¤¢¤ë¤¤¤Ï¶ËºÂ ɸ¥â¡¼¥É¤Ç¤Ï "t", ¤½¤¦¤Ç¤Ê¤±¤ì¤Ð "x" ¤òÆÈΩÊÑ¿ô (²¾ÊÑ¿ô) ¤È¤·¡¢Æ±ÍÍ¤Ë splot ¤Ç¤Ï¡¢ÇÞ²ðÊÑ¿ô¥â¡¼¥É¤Ç¤Ï (splot ¤Ï¶ËºÂɸ¥â¡¼¥É¤Ç¤Ï»È¤¨¤Þ¤»¤ó) "u" ¤È "v", ¤½¤¦¤Ç¤Ê¤±¤ì¤Ð "x" ¤È "y" ¤òÆÈΩÊÑ¿ô¤È¤·¤Þ¤¹¡£

²¾ÊÑ¿ô¤Ï¡¢ÊªÍýŪ¤Ë°ÕÌ£¤Î¤¢¤ë̾Á°¡¢¤¢¤ë¤¤¤Ï¤è¤êÊØÍø¤Ê̾Á°¤È¤·¤Æ»È¤¦Êý¤¬ ÊØÍø¤Ç¤·¤ç¤¦¡£Î㤨¤Ð¡¢»þ´Ö¤Î´Ø¿ô¤òÉÁ²è¤¹¤ë¾ì¹ç:


     set dummy t
     plot sin(t), cos(t)

¤³¤Î¥³¥Þ¥ó¥É¤Ç¤Ï¡¢¾¯¤Ê¤¯¤È¤â°ì¤Ä¤Î²¾ÊÑ¿ô¤¬ÀßÄꤵ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ set dummy ¤À¤±¤À¤È¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£

Îã:

     set dummy u,v
     set dummy ,s

ÂèÆó¤ÎÎã¤Ï¡¢2 ÈÖÌܤÎÊÑ¿ô¤ò s ¤È¤·¤Þ¤¹¡£

82.20 Encoding

¥³¥Þ¥ó¥É set encoding ¤Ïʸ»ú¤Î¥¨¥ó¥³¡¼¥É (encoding) ¤òÁªÂò¤·¤Þ¤¹¡£ ½ñ¼°:
     set encoding {<value>}
     set encoding locale
     show encoding

Í­¸ú¤ÊÃÍ (value) ¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£

  default     - ½ÐÎÏ·Á¼°¤Ë¥Ç¥Õ¥©¥ë¥È¤Î¥¨¥ó¥³¡¼¥É¤Î»ÈÍѤòÌ¿Îá
  iso_8859_1  - ¿¤¯¤Î Unix ¥ï¡¼¥¯¥¹¥Æ¡¼¥·¥ç¥ó¤ä MS-Windows ¤Ç»ÈÍѲÄ
                ǽ¤ÊºÇ¤â°ìÈÌŪ¤ÊÀ¾¥è¡¼¥í¥Ã¥Ñ¥¨¥ó¥³¡¼¥É¡£¤³¤Î¥¨¥ó¥³¡¼
                ¥É¤Ï PostScript ¤ÎÀ¤³¦¤Ç 'ISO-Latin1' ¤È¤·¤ÆÃΤé¤ì¤Æ
                ¤¤¤ë¤â¤Î¤Ç¤¹¡£
  iso_8859_15 - ¥æ¡¼¥íµ­¹æ¤ò´Þ¤à iso_8859_1 ¤Î°¡¼ï
  iso_8859_2  - Ãæ±û/Åì¥è¡¼¥í¥Ã¥Ñ¤Ç»ÈÍѤµ¤ì¤ë¥¨¥ó¥³¡¼¥É
  iso_8859_9  - (Latin5 ¤È¤·¤ÆÃΤé¤ì¤ë) ¥È¥ë¥³¤Ç»ÈÍѤµ¤ì¤ë¥¨¥ó¥³¡¼¥É
  koi8r       - Îɤ¯»È¤ï¤ì¤ë Unix ¤Î¥­¥ê¥ëʸ»ú¥¨¥ó¥³¡¼¥É
  koi8u       - Unix ¤Î¥¦¥¯¥é¥¤¥ÊÃÏÊý¤Î¥­¥ê¥ëʸ»ú¥¨¥ó¥³¡¼¥É
  cp437       - MS-DOS ¤Î¥³¡¼¥É¥Ú¡¼¥¸
  cp850       - À¾¥è¡¼¥í¥Ã¥Ñ¤Î OS/2 ¤Î¥³¡¼¥É¥Ú¡¼¥¸
  cp852       - Ãæ±û/Åì¥è¡¼¥í¥Ã¥Ñ¤Î OS/2 ¤Î¥³¡¼¥É¥Ú¡¼¥¸
  cp950       - MS ÈǤΠBig5 (emf terminal ¤Î¤ß)
  cp1250      - Ãæ±û/Åì¥è¡¼¥í¥Ã¥Ñ¤Î MS Windows ¤Î¥³¡¼¥É¥Ú¡¼¥¸
  cp1251      - ¥í¥·¥¢¡¢¥»¥ë¥Ó¥¢¡¢¥Ö¥ë¥¬¥ê¥¢¡¢¥Þ¥±¥É¥Ë¥¢¸ì (8 ¥Ó¥Ã¥È)
  cp1254      - ¥È¥ë¥³¤Î MS Windows ¤Î¥³¡¼¥É¥Ú¡¼¥¸ (Latin5 ¤Î³ÈÄ¥)
  sjis        - Shift_JIS ÆüËܸ쥨¥ó¥³¡¼¥É
  utf8        - ³Æʸ»ú¤Î Unicode ¥¨¥ó¥È¥ê¥Ý¥¤¥ó¥È¤Î¡¢²ÄÊÑĹ (¥Þ¥ë¥Á¥Ð
                ¥¤¥È) ɽ¸½

¥³¥Þ¥ó¥É set encoding locale ¤Ï¡¢Â¾¤Î¥ª¥×¥·¥ç¥ó¤È¤Ï°ã¤¤¡¢¤³¤ì¤Ï¸½ºß ¤Î¥í¥«¡¼¥ë¤ò¼Â¹Ô»þ¤Î´Ä¶­¤«¤é·èÄꤷ¤è¤¦¤È¤·¤Þ¤¹¡£¤¿¤¤¤Æ¤¤¤Î¥·¥¹¥Æ¥à¤Ç¤Ï ¤³¤ì¤Ï´Ä¶­ÊÑ¿ô LC_ALL, LC_CTYPE, LANG ¤Î¤¤¤º¤ì¤«¤Ë¤è¤Ã¤ÆÀ©¸æ¤µ¤ì¤Þ¤¹¡£ ¤³¤Î»ÅÁȤߤϡ¢Î㤨¤Ð wxt, cairopdf ½ÐÎÏ·Á¼°¤Ç¡¢UTF-8 ¤ä EUC-JP ¤Î¤è¤¦ ¤Ê¥Þ¥ë¥Á¥Ð¥¤¥Èʸ»ú¥¨¥ó¥³¡¼¥É¤òÄ̤¹¤¿¤á¤ËɬÍפǤ¹¡£¤³¤Î¥³¥Þ¥ó¥É¤ÏÆüÉÕ¤ä ¿ô»ú¤Ê¤É¤Î¥í¥«¡¼¥ëÆÃÍ­¤Îɽ¸½¤Ë¤Ï±Æ¶Á¤òÍ¿¤¨¤Þ¤»¤ó¡£ °Ê²¼¤â»²¾È: set locale (82.35), set decimalsign (82.17)¡£

°ìÈ̤ˡ¢¥¨¥ó¥³¡¼¥É¤ÎÀßÄê¤Ï½ÐÎÏ·Á¼°¤ÎÀßÄê¤ÎÁ°¤Ë¹Ô¤Ê¤¦É¬Íפ¬¤¢¤ê¤Þ¤¹¡£¤³ ¤Î¥¨¥ó¥³¡¼¥É¤Ï¤É¤ó¤Ê½ÐÎÏ·Á¼°¤Ç¤â¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤È¤Ï¸Â¤é¤º¡¢¤½¤·¤Æ½Ð ÎÏ·Á¼°¤ÏÍ׵ᤵ¤ì¤¿¤É¤ó¤ÊÈóɸ½àʸ»ú¤âÀ¸À®¤Ç¤­¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£

82.21 Fit

¥³¥Þ¥ó¥É set fit ¤Ï¡¢fit ¥³¥Þ¥ó¥ÉÍѤΥª¥×¥·¥ç¥ó¤òÀ©¸æ¤·¤Þ¤¹¡£

½ñ¼°:

     set fit {logfile {"<filename>"}}
             {{no}quiet}
             {{no}errorvariables}
             {{no}prescale}
     unset fit
     show fit

°ú¿ô < filename> ¤Ï¡¢Ã±°ì°úÍÑÉ䤫Æó½Å°úÍÑÉä¤Ç°Ï¤àɬÍפ¬¤¢¤ê¤Þ¤¹¡£

¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢¤Þ¤¿¤Ï unset fit ¤ò»ÈÍѤ·¤¿¾ì¹ç¤Ï¡¢ ¥í¥°¥Õ¥¡¥¤¥ë¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÃͤǤ¢¤ë "fit.log"¡¢¤Þ¤¿¤Ï´Ä¶­ÊÑ¿ô FIT_LOG ¤ÎÃͤ˥ꥻ¥Ã¥È¤µ¤ì¤Þ¤¹¡£

Í¿¤¨¤é¤ì¤¿¥í¥°¥Õ¥¡¥¤¥ë̾¤¬ / ¤« \ ¤Ç½ª¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤ì¤Ï¥Ç¥£¥ì¥¯¥È¥ê ̾¤È²ò¼á¤µ¤ì¡¢¥í¥°¥Õ¥¡¥¤¥ë¤Ï¤½¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î "fit.log" ¤È¤Ê¤ê¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó errorvariables ¤¬ ON ¤Ë¤µ¤ì¤ë¤È¡¢fit ¥³¥Þ¥ó¥É¤Ç·×»»¤µ¤ì ¤¿¤³¤³¤ÎÅö¤Æ¤Ï¤á¥Ñ¥é¥á¡¼¥¿¤Î¸íº¹¤¬¡¢¤½¤Î¥Ñ¥é¥á¡¼¥¿¤Î̾Á°¤Ë "_err" ¤ò¤Ä ¤±¤¿Ì¾Á°¤Î¥æ¡¼¥¶ÄêµÁÊÑ¿ô¤Ë¥³¥Ô¡¼¤µ¤ì¤Þ¤¹¡£¤³¤ì¤Ï¼ç¤Ë¡¢Åö¤Æ¤Ï¤á´Ø¿ô¤È¥Ç ¡¼¥¿¤ÎÉÁ²è¥°¥é¥Õ¤Î¾å¤Ë¥Ñ¥é¥á¡¼¥¿¤È¤½¤Î¸íº¹¤ò»²¾ÈÍѤ˽ÐÎϤ¹¤ë¤Î¤Ë»È¤ï¤ì ¤Þ¤¹¡£Î㤨¤Ð:


      set fit errorvariables
      fit f(x) 'datafile' using 1:2 via a, b
      print "error of a is:", a_err
      set label 'a=%6.2f', a, '+/- %6.2f', a_err
      plot 'datafile' using 1:2, f(x)

¥ª¥×¥·¥ç¥ó prescale ¤ò¥ª¥ó¤Ë¤¹¤ë¤È¡¢Marquardt-Levenberg ¥ë¡¼¥Á¥ó¤ËÅÏ ¤¹Á°¤Ë¡¢³Æ¥Ñ¥é¥á¡¼¥¿¤ÎÃͤò¤½¤ì¤é¤Î½é´üÃͤ˽¾¤Ã¤Æ»öÁ°¤Ë¥¹¥±¡¼¥ëÊÑ´¹¤·¤Þ ¤¹¡£¤³¤ì¤Ï¡¢³Æ¥Ñ¥é¥á¡¼¥¿¤ÎÂ礭¤µ¤Ë¤«¤Ê¤êÂ礭¤Ê°ã¤¤¤¬¤¢¤ë¾ì¹ç¤Ë¡¢ÂçÊÑÍ­ ¸ú¤Ç¤¹¡£¤¿¤À¤·¡¢½é´üÃͤ¬´°Á´¤Ë 0 ¤ÎÅö¤Æ¤Ï¤á¥Ñ¥é¥á¡¼¥¿¤Ë¤Ï¡¢·è¤·¤Æ¤³¤Î ¥¹¥±¡¼¥ëÊÑ´¹¤Ï¹Ô¤¤¤Þ¤»¤ó¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¥í¥°¥Õ¥¡¥¤¥ë¤Ë½ñ¤­½Ð¤µ¤ì¤ë¾ðÊó¤Ï²èÌ̤ˤâɽ¼¨¤µ¤ì¤Þ¤¹¡£ set fit quiet ¤È¤¹¤ì¤Ð¤³¤Î²èÌÌɽ¼¨¤Ï¾Ã¤¨¤Þ¤¹¡£

82.22 Fontpath

fontpath ¤ÎÀßÄê¤Ï¡¢¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤à¾ì¹ç¤Î¥Õ¥¡¥¤¥ë¤Î¸¡º÷¥Ñ ¥¹¤òÄɲÃÄêµÁ¤·¤Þ¤¹¡£º£¤Î¤È¤³¤í¡¢postscript ½ÐÎÏ·Á¼°¤Î¤ß¤¬ fontpath ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£¥Õ¥¡¥¤¥ë¤¬¸½ºß¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¸«¤Ä¤«¤é¤Ê¤«¤Ã¤¿¾ì ¹ç¡¢fontpath ¤Î¥Ç¥£¥ì¥¯¥È¥ê¤¬¸¡º÷¤µ¤ì¤Þ¤¹¡£¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¥Õ¥©¥ó¥È ¥Õ¥¡¥¤¥ë¤Î·Á¼°¤Ë´Ø¤¹¤ë¤è¤ê¾Ü¤·¤¤ÀâÌÀ¤Ï terminal postscript ¥»¥¯¥·¥ç ¥ó¤Îʸ½ñÃæ¤Ë¤¢¤ê¤Þ¤¹¡£

½ñ¼°:

     set fontpath {"pathlist1" {"pathlist2"...}}
     show fontpath

¥Ñ¥¹Ì¾¤Ïñ°ì¤Î¥Ç¥£¥ì¥¯¥È¥ê̾¡¢¤Þ¤¿¤ÏÊ£¿ô¤Î¥Ñ¥¹Ì¾¤Î¥ê¥¹¥È¤È¤·¤ÆÆþÎϤ·¤Þ ¤¹¡£Ê£¿ô¤Î¥Ñ¥¹¤«¤é¤Ê¤ë¥Ñ¥¹¥ê¥¹¥È¤Ï OS ¸ÇÍ­¤Î¥Ñ¥¹¶èÀڤꡢÎ㤨¤Ð Unix ¤Ç ¤Ï¥³¥í¥ó (':'), MS-DOS, Windows, OS/2 ¤Ç¤Ï¥»¥ß¥³¥í¥ó (';') Åù¤Ç¶èÀÚ¤ê ¤Þ¤¹¡£show fontpath, save, save set ¥³¥Þ¥ó¥É¤Ï¡¢²ÄÈÂÀ­¤Î¤¿¤á¤Ë OS ¸ÇÍ­¤Î¥Ñ¥¹¶èÀÚ¤ê¤ò¥¹¥Ú¡¼¥¹ (' ') ¤ÇÃÖ¤­´¹¤¨¤Þ¤¹¡£¥Ç¥£¥ì¥¯¥È¥ê̾¤¬¥¨ ¥¯¥¹¥¯¥é¥á¡¼¥·¥ç¥ó¥Þ¡¼¥¯ ('!') ¤Ç½ª¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î¥µ ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤â¸¡º÷¤µ¤ì¤Þ¤¹¡£

´Ä¶­ÊÑ¿ô GNUPLOT_FONTPATH ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤ÎÆâÍÆ¤Ï fontpath ¤ËÄɲ䵤ì¤Þ¤¹¤¬¡¢¤½¤ì¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¥·¥¹¥Æ¥à¤Ë°Í¸¤·¤¿¥Ç¥Õ¥©¥ë ¥È¤ÎÃͤ¬»ÈÍѤµ¤ì¤Þ¤¹¡£ºÇ½é¤Ë¥Õ¥©¥ó¥È¥Ñ¥¹¤ò»È¤Ã¤¿¤È¤­¤Ë¡¢¤½¤Î´ö¤Ä¤«¤Î¥Ç ¥£¥ì¥¯¥È¥ê¤¬Â¸ºß¤¹¤ë¤«¥Æ¥¹¥È¤µ¤ì¡¢¥»¥Ã¥È¤µ¤ì¤Þ¤¹¡£¤è¤Ã¤Æ¡¢°ìÈֺǽé¤Î set fontpath, show fontpath, save fontpath ¤ä¡¢Ëä¤á¹þ¤ß¥Õ¥©¥ó¥È ¤ò»ÈÍѤ·¤¿¾ì¹ç¤Î plot, splot ¤Ï¡¢¾¯¤·»þ´Ö¤¬¤«¤«¤ê¤Þ¤¹¡£¤½¤ì¤ò¾¯¤· ¤Ç¤âû¤¯¤·¤¿¤±¤ì¤Ð¡¢´Ä¶­ÊÑ¿ô GNUPLOT_FONTPATH ¤òÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£¤½¤¦ ¤¹¤ì¤Ð¥Ç¥£¥ì¥¯¥È¥ê¤Î¥Á¥§¥Ã¥¯¤Ï OFF ¤Ë¤Ê¤ê¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥Õ¥©¥ó¥È¥Ñ ¥¹¤¬²¿¤Ç¤¢¤ë¤«¤Ï¡¢show fontpath ¤Ç¸«¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

show fontpath ¤Ï¡¢¥æ¡¼¥¶ÄêµÁ¤Î fontpath ¤È¥·¥¹¥Æ¥à¤Î fontpath ¤òÊÌ¡¹ ¤Ëɽ¼¨¤·¤Þ¤¹¤¬¡¢save, save set ¥³¥Þ¥ó¥É¤Ï¡¢¥æ¡¼¥¶ÄêµÁ¤Î fontpath ¤Î¤ß¤òÊݸ¤·¤Þ¤¹¡£

gd ¥é¥¤¥Ö¥é¥ê¤òÄ̤¸¤Æ¥Õ¥¡¥¤¥ë̾¤Ç¥Õ¥©¥ó¥È¤Ë¥¢¥¯¥»¥¹¤¹¤ë½ÐÎϥɥ饤¥Ð¤Ë ´Ø¤·¤Æ¤Ï¡¢¥Õ¥©¥ó¥È¸¡º÷¥Ñ¥¹¤Ï´Ä¶­ÊÑ¿ô GDFONTPATH ¤ÇÀ©¸æ¤µ¤ì¤Þ¤¹¡£

82.23 Format

ºÂɸ¼´¤Î¹ï¤ß¤Î¸«½Ð¤·¤Ï¡¢¥³¥Þ¥ó¥É set format ¤Þ¤¿¤Ï set tics format ¤Þ¤¿¤Ï¸ÄÊ̤˥³¥Þ¥ó¥É set {¼´}tics format ¤Ç½ñ¼°¤òÀßÄê¤Ç¤­¤Þ¤¹¡£

½ñ¼°:

     set format {<axes>} {"<format-string>"}
     set format {<axes>} {'<format-string>'}
     show format

¤³¤³¤Ç¡¢< axes> (¼´) ¤Ï x, y, xy, x2, y2, z, cb¡¢¤Þ¤¿¤Ï²¿ ¤â»ØÄꤷ¤Ê¤¤¤« (¤½¤Î¾ì¹ç¤½¤Î½ñ¼°¤Ï¤¹¤Ù¤Æ¤Î¼´¤ËŬÍѤµ¤ì¤Þ¤¹) ¤Î¤¤¤º¤ì¤« ¤Ç¤¹¡£°Ê²¼¤Î 2 ¤Ä¤Î¥³¥Þ¥ó¥É¤ÏÁ´¤¯Æ±Åù¤Ç¤¹:

     set format y "%.2f"
     set ytics format "%.2f"

½ñ¼°Ê¸»úÎó¤ÎŤµ¤Ï 100 ʸ»ú¤Þ¤Ç¡¢¤ÈÀ©¸Â¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î½ñ¼° ʸ»úÎó¤Ï "% g" ¤Ç¤¹¤¬¡¢¡¢"%.2f" ¤ä "%3.0em" ¤Ê¤É¤Î½ñ¼°¤¬¹¥¤Þ¤ì¤ë¤³¤È¤â ¿¤¤¤Ç¤·¤ç¤¦¡£¡£LaTeX ÍѤˤϤ褯 "$%g$" ¤¬¹¥¤Þ¤ì¤Þ¤¹¡£½ñ¼°Ê¸»úÎó¤ò²¿¤âÍ¿¤¨¤Ê¤¤¾ì¹ç¤Ï¡¢format ¤Ï¥Ç¥Õ¥©¥ë¥È¤ËÌá¤ê¤Þ¤¹¡£¶õʸ»úÎó "" ¤ò»ØÄꤷ¤¿ ¾ì¹ç¡¢¹ï¤ß¼«¿È¤Ïɽ¼¨¤µ¤ì¤Þ¤¹¤¬¸«½Ð¤·¤Ï¤Ä¤­¤Þ¤»¤ó¡£¹ï¤ß¼«¿È¤ò¾Ã¤¹¤Ë¤Ï¡¢ unset xtics ¤Þ¤¿¤Ï set tics scale 0 ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

½ñ¼°Ê¸»úÎó¤Ç¤Ï¡¢²þ¹Ôʸ»ú ( \ n) ¤ä³Èĥʸ»úÎó½èÍý (enhanced text) ÍÑ¤Î¥Þ ¡¼¥¯¥¢¥Ã¥×¤â»È¤¨¤Þ¤¹¡£ ¤³¤Î¾ì¹ç¤Ï¡¢Ã±°ì°úÍÑÉä (') ¤Ç¤Ê¤¯ (") ¤ò»È¤Ã¤Æ ¤¯¤À¤µ¤¤¡£°Ê²¼¤â»²¾È: syntax (24)¡£ "%" ¤¬Æ¬¤Ë¤Ä¤«¤Ê¤¤Ê¸»ú¤Ï¤½¤Î¤Þ¤Þɽ¼¨¤µ¤ì¤Þ¤¹¡£¤è¤Ã¤Æ¡¢½ñ¼°Ê¸»úÎóÆâ¤Ë¥¹¥Ú¡¼¥¹¤äʸ»úÎó¤Ê¤É¤òÆþ¤ì¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£Î㤨¤Ð "%g m" ¤È¤¹¤ì¤Ð¡¢ ¿ôÃͤθå¤Ë " m" ¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£"%" ¼«¿È¤òɽ¼¨¤¹¤ë¾ì¹ç¤Ë¤Ï "%g %%" ¤Î ¤è¤¦¤Ë 2 ¤Ä½Å¤Í¤Þ¤¹¡£

¹ï¤ß¤Ë´Ø¤¹¤ë¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼¤â»²¾È: set xtics (82.96)¡£¤Þ¤¿¡¢ ¤³¤ÎÊýË¡¤Ç½ÐÎϤµ¤ì¤ë¿ô»ú¤Ë¥Ç¥Õ¥©¥ë¥È°Ê³°¤Î¾®¿ôʬΥʸ»ú¤ò»È¤¦¤ä¤êÊý¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: set decimalsign (82.17)¡£ °Ê²¼¤â»²¾È¡£

¥¨¥ì¥¯¥È¥í¥ó (ÅÅ»Ò) ¥Ç¥â (electron.dem).

82.23.1 Gprintf

ʸ»úÎó´Ø¿ô gprintf("format",x) ¤Ï¡¢gnuplot ¥³¥Þ¥ó¥É¤Î set format, set timestamp ¤Ê¤É¤ÈƱÍͤΡ¢gnuplot Æȼ«¤Î½ñ¼°»ØÄê»Ò¤ò»È¤¤¤Þ¤¹¡£¤³¤ì ¤é¤Î½ñ¼°»ØÄê»Ò¤Ï¡¢É¸½àŪ¤Ê C ¸À¸ì¤Î´Ø¿ô¤Ç¤¢¤ë sprintf() ¤Î¤â¤Î¤ÈÁ´¤¯Æ± ¤¸¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£gprintf() ¤Ï¡¢À°·Á²½¤µ¤ì¤ë°ú¿ô¤Ï°ì¤Ä¤·¤«¼õ¤±¤Ä¤±¤Þ¤» ¤ó¡£¤½¤Î¤¿¤á¤Ë¡¢gnuplot ¤Ë¤Ï sprintf("format",x1,x2,...) ´Ø¿ô¤âÍÑ°Õ¤µ ¤ì¤Æ¤¤¤Þ¤¹¡£gnuplot ¤Î½ñ¼°¥ª¥×¥·¥ç¥ó¤Î°ìÍ÷¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È:format specifiers (82.23.2)¡£

82.23.2 ½ñ¼°»ØÄê»Ò (format specifiers)

»ÈÍѲÄǽ¤Ê½ñ¼° (»þ´Ö/ÆüÉե⡼¥É¤Ç¤Ê¤¤¾ì¹ç) ¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹:

ÌÜÀ¹¤ê¥é¥Ù¥ë¤Î¿ôÃͽñ¼°»ØÄê»Ò
½ñ¼° ÀâÌÀ
%f ¸ÇÄê¾®¿ôÅÀɽµ­
%e, %E »Ø¿ôɽµ­; »Ø¿ô¤ÎÁ°¤Ë "e", "E" ¤ò¤Ä¤±¤ë
%g, %G %e (¤Þ¤¿¤Ï %E) ¤È %f ¤Îάµ­
%x, %X 16 ¿Êɽµ­
%o, %O 8 ¿Êɽµ­
%t 10 ¿Ê¤Î²¾¿ôÉô
%l ¸½ºß¤ÎÂпô¼Ü¤ÎÄì¤ò´ð¿ô¤È¤¹¤ë²¾¿ôÉô
%s ¸½ºß¤ÎÂпô¼Ü¤ÎÄì¤ò´ð¿ô¤È¤¹¤ë²¾¿ôÉô; Êä½õñ°Ì (scientific power)
%T 10 ¿Ê¤Î»Ø¿ôÉô
%L ¸½ºß¤ÎÂпô¼Ü¤ÎÄì¤ò´ð¿ô¤È¤¹¤ë»Ø¿ôÉô
%S Êä½õñ°Ì¤Î»Ø¿ôÉô (scientific power)
%c Êä½õñ°Ìʸ»ú
%b ISO/IEC 80000 µ­Ë¡ (ki, Mi, Gi, Ti, Pi, Ei, Zi, Yi) ¤Î²¾¿ôÉô
%B ISO/IEC 80000 µ­Ë¡ (ki, Mi, Gi, Ti, Pi, Ei, Zi, Yi) ¤ÎÀÜƬ¼­
%P ¦Ð¤ÎÇÜ¿ô

Êä½õñ°Ì ('scientific' power) ¤Ï¡¢»Ø¿ô¤¬ 3 ¤ÎÇÜ¿ô¤Ç¤¢¤ë¤è¤¦¤Ê¤â¤Î¤Ç¤¹¡£ Êä½õñ°Ì»Ø¿ô ("%c") ¤Îʸ»ú¤Ø¤ÎÊÑ´¹¤Ï -18 ¤«¤é +18 ¤Þ¤Ç¤Î»Ø¿ô¤ËÂФ·¤Æ ¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤ÎÈϰϳ°¤Î»Ø¿ô¤Î¾ì¹ç¡¢½ñ¼°¤ÏÄ̾ï¤Î»Ø¿ô·Á¼°¤Ë Ìá¤ê¤Þ¤¹¡£

¤Û¤«¤Ë»È¤¦¤³¤È¤Î¤Ç¤­¤ë½¤¾þ»ì ("%" ¤È½ñ¼°»ØÄê»Ò¤Î´Ö¤Ë½ñ¤¯¤â¤Î) ¤Ë¤Ï¡¢ ¼¡¤Î¤¤¤¯¤Ä¤«¤¬¤¢¤ê¤Þ¤¹: "-" ¤Ï¿ô»ú¤òº¸µÍ¤á¤Ë¤·¡¢"+" ¤ÏÀµ¤Î¿ô¤Ë¤âÉä¹æ¤ò ¤Ä¤±¡¢" " (¶õÇò°ì¤Ä) ¤ÏÉé¤Î¿ô¤Ë "-" ¤ò¤Ä¤±¤ë¤Ù¤­¾ì½ê¤ËÀµ¤Î¿ô¤Î¾ì¹ç¤Ë¶õ Çò¤ò°ì¤Ä¤Ä¤±¡¢"#" ¤Ï¾®¿ôÅÀ°Ê²¼¤Î¿ô»ú¤¬ 0 ¤À¤±¤Ç¤¢¤Ã¤Æ¤â¾®¿ôÅÀ¤ò¤Ä¤±¡¢Àµ¤ÎÀ°¿ô¤Ï½ÐÎÏÉý¤òÄê¤á¡¢½ÐÎÏÉý»ØÄê¤ÎľÁ°¤Î "0" (ʸ»ú¤Ç¤Ê¤¯¿ô»ú) ¤ÏÀèƬ ¤Ë¶õ¤¤¤¿Éôʬ¤ò¶õÇò¤ÇËä¤á¤ëÂå¤ï¤ê¤Ë 0 ¤ÇËä¤á¡¢¾®¿ôÅÀ¤Î¸å¤ËÈóÉé¤ÎÀ°¿ô¤ò ½ñ¤¤¤¿¤â¤Î¤ÏÀºÅÙ¤ò°ÕÌ£¤·¤Þ¤¹ (À°¿ô¤Î¾ì¹ç¤ÏºÇ¾®·å¡¢¾®¿ô¤Î¾ì¹ç¤Ï¾®¿ôÅÀ°Ê²¼¤Î·å¿ô)¡£

¤³¤ì¤é¤ÎÁ´¤Æ¤Î½¤¾þ»ì¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Ê¤¤ OS ¤â¤¢¤ë¤Ç¤·¤ç¤¦¤·¡¢µÕ¤Ë¤³¤ì °Ê³°¤Î¤â¤Î¤ò¤â¥µ¥Ý¡¼¥È¤¹¤ë OS ¤â¤¢¤ë¤Ç¤·¤ç¤¦¡£µ¿¤ï¤·¤¤¾ì¹ç¤Ï¡¢Å¬Àڤʻñ ÎÁ¤òÄ´¤Ù¡¢¤½¤·¤Æ¼Â¸³¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

Îã:

     set format y "%t"; set ytics (5,10)          # "5.0" ¤È "1.0"
     set format y "%s"; set ytics (500,1000)      # "500" ¤È "1.0"
     set format y "%+-12.3f"; set ytics(12345)    # "+12345.000  "
     set format y "%.2t*10^%+03T"; set ytic(12345)# "1.23*10^+04"
     set format y "%s*10^{%S}"; set ytic(12345)   # "12.345*10^{3}"
     set format y "%s %cg"; set ytic(12345)       # "12.345 kg"
     set format y "%.0P pi"; set ytic(6.283185)   # "2 pi"
     set format y "%.0f%%"; set ytic(50)          # "50%"


     set log y 2; set format y '%l'; set ytics (1,2,3)
     #"1.0", "1.0", "1.5" ¤Èɽ¼¨¤µ¤ì¤ë (3 ¤Ï 1.5 * 2^1 ¤Ê¤Î¤Ç)

´Ý¤á¤È»Ø¿ô¤¬É¬ÍפȤʤë¤è¤¦¤Ê½ñ¼°¤Ç 9.999 ¤ÎÍͤʿô»ú¤¬½ñ¤«¤ì¤ë¾ì¹ç¤Ï ÌäÂ꤬µ¯¤³¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£

¼´¤Î¥Ç¡¼¥¿·¿¤¬Æü»þ¥Ç¡¼¥¿ (time/date) ¤Î¾ì¹ç¡¢½ñ¼°Ê¸»úÎó¤Ï 'strftime'´Ø¿ô ('gnuplot' ³°¡£"man strftime" ¤È¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤) ¤Ë´Ø¤¹¤ëÍ­¸ú¤Ê »ØÄê¤ò¹Ô¤¦É¬Íפ¬¤¢¤ê¤Þ¤¹¡£»È¤¨¤ëÆþÎϽñ¼°»ØÄê¤Î°ìÍ÷¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È:set timefmt (82.75)¡£

82.23.3 Æü»þ¥Ç¡¼¥¿»ØÄê»Ò (time/date specifiers)

Æü»þ¥Ç¡¼¥¿¥â¡¼¥É (time/date mode) ¤Ç¤Ï¡¢¼¡¤Î½ñ¼°¤¬»ÈÍѤǤ­¤Þ¤¹:

ÌÜÀ¹¤ê¥é¥Ù¥ë¤ÎÆü»þ½ñ¼°»ØÄê»Ò
½ñ¼° ÀâÌÀ
%a ÍËÆü̾¤Î¾Êά·Á (Sun,Mon,...)
%A ÍËÆü̾ (Sunday,Monday,...)
%b, %h ·î̾¤Î¾Êά·Á (Jan,Feb,...)
%B ·î̾ (January,February,...)
%d Æü (01-31)
%D "%m/%d/%y" ¤Î´Êά·Á (½ÐÎϤΤß)
%F "%Y-%m-%d" ¤Î´Êά·Á (½ÐÎϤΤß)
%k »þ (0-23; 1 ·å¤Þ¤¿¤Ï 2 ·å)
%H »þ (00-23; ¾ï¤Ë 2 ·å)
%l »þ (1-12; 1 ·å¤Þ¤¿¤Ï 2 ·å)
%I »þ (01-12; ¾ï¤Ë 2 ·å)
%j ¤½¤Îǯ¤ÎÄÌ»»Æü (1-366)
%m ·î (01-12)
%M ʬ (0-60)
%p "am" ¤Þ¤¿¤Ï "pm"
%r "%I:%M:%S %p" ¤Î´Êά·Á (½ÐÎϤΤß)
%R "%H:%M" ¤Î´Êά·Á (½ÐÎϤΤß)
%S Éà (½ÐÎÏ¤Ç¤Ï 0-60 ¤ÎÀ°¿ô¡¢ÆþÎϤǤϼ¿ô)
%s 2000 ǯºÇ½é¤«¤é¤ÎÉÿô
%T "%H:%M:%S" ¤Î´Êά·Á (½ÐÎϤΤß)
%U ¤½¤Îǯ¤ÎÄÌ»»½µ (½µ¤ÏÆüÍËÆü¤«¤é¤È¿ô¤¨¤ë)
%w ÍËÆüÈÖ¹æ (0-6, ÆüÍË = 0)
%W ¤½¤Îǯ¤ÎÄÌ»»½µ (½µ¤Ï·îÍËÆü¤«¤é¤È¿ô¤¨¤ë)
%y À¾Îñ (0-99¡¢1969-2068 ǯ¤Î²¼ 2 ·å)
%Y À¾Îñ (4 ·å)

¿ô»ú¤òɽ¤¹½ñ¼°¤Ç¤Ï¡¢¤³¤ì¤é¤Î»ØÄê»Ò (% ¤Î¸å¤í¡¢»ØÄê»Ò¤ÎÁ°) ¤Ë "0" ("¥ª¡¼" ¤Ç¤Ê¤¯ "¥¼¥í") ¤ò¤Ä¤±¤ë¤³¤È¤Ç¡¢ÀèƬ¤Ë¶õÇò¤¬¤Ç¤­¤ë¾ì¹ç¤Ë¶õÇò¤Î Âå¤ï¤ê¤Ë 0 ¤ÇËä¤á¤ë¤³¤È¤¬¤Ç¤­¡¢¤Þ¤¿ºÇ¾®¤Î½ÐÎÏÉý¤òÀµ¤ÎÀ°¿ô¤Ç»ØÄꤹ¤ë¤³ ¤È¤â¤Ç¤­¤Þ¤¹ (½ÐÎϤµ¤ì¤ë¿ô»ú¤òɽ¼¨¤¹¤ë¤Î¤Ë»ØÄꤷ¤¿Éý¤¬Â­¤ê¤Ê¤¤¾ì¹ç¤Ï̵ »ë¤µ¤ì¤Þ¤¹)¡£½ñ¼° %S ¤Ï¼Â¿ô»ØÄê¤â¼õ¤±¤Ä¤±¤Þ¤¹¤Î¤Ç¡¢¾®¿ôÉäâ½ñ¤±¤Þ¤¹¡£ ɽ¼¨¤¹¤ëʸ»ú¤ÎŤµ¤Ï 24 ʸ»ú¤Þ¤Ç¡¢¤È¤¤¤¦À©¸Â¤¬¤¢¤ê¡¢Ä¹¤¹¤®¤¿Éôʬ¤ÏÀÚ¤ê ¼Î¤Æ¤é¤ì¤Þ¤¹¡£

Îã:

Æü»þ¤Î¥Ç¡¼¥¿¤¬ "76/12/25 23:11:11" ¤Î¾ì¹ç

     set format x                 # ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï "12/25/76" \n "23:11"
     set format x "%A, %d %b %Y"  # "Saturday, 25 Dec 1976"
     set format x "%r %D"         # "11:11:11 pm 12/25/76"

Æü»þ¤Î¥Ç¡¼¥¿¤¬ "98/07/06 05:04:03.123456" ¤Î¾ì¹ç

     set format x "%1y/%2m/%3d %01H:%02M:%06.3S"  # "98/ 7/  6 5:04:03.123"

82.24 Function style

¤³¤Î¥³¥Þ¥ó¥É¤Î·Á¼°¤Ï¸½ºß¤Ï¿ä¾©¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£°Ê²¼»²¾È:set style function (82.66.5)¡£

82.25 Functions

show functions ¥³¥Þ¥ó¥É¤Ï¥æ¡¼¥¶¡¼¤¬ÄêµÁ¤·¤¿´Ø¿ô¤È¤½¤ÎÄêµÁÆâÍƤòɽ¼¨ ¤·¤Þ¤¹¡£

½ñ¼°:

       show functions

gnuplot ¤Ë¤ª¤±¤ë´Ø¿ô¤ÎÄêµÁ¤È¤½¤Î»È¤¤Êý¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È:expressions (14)¡£ °Ê²¼¤â»²¾È

¥æ¡¼¥¶ÄêµÁ´Ø¿ô¤Ç¤Î¥¹¥×¥é¥¤¥ó (spline.dem)

¤ª¤è¤Ó

´Ø¿ô¤ÈÊ£ÁÇÊÑ¿ô¤òÍã¤Ë»ÈÍÑ (airfoil.dem)¡£

82.26 Grid

¥³¥Þ¥ó¥É set grid ¤Ï³Ê»ÒÀþ¤òÉÁ¤­¤Þ¤¹¡£

½ñ¼°:

     set grid {{no}{m}xtics} {{no}{m}ytics} {{no}{m}ztics}
              {{no}{m}x2tics} {{no}{m}y2tics}
              {{no}{m}cbtics}
              {polar {<angle>}}
              {layerdefault | front | back}
              { {linestyle <major_linestyle>}
                | {linetype | lt <major_linetype>}
                  {linewidth | lw <major_linewidth>}
                { , {linestyle | ls <minor_linestyle>}
                    | {linetype | lt <minor_linetype>}
                      {linewidth | lw <minor_linewidth>} } }
     unset grid
     show grid

³Ê»ÒÀþ¤ÏǤ°Õ¤Î¼´¤ÎǤ°Õ¤Î¼çÌÜÀ¹/ÉûÌÜÀ¹¤ËÂФ·¤ÆÍ­¸ú/̵¸ú¤Ë¤Ç¤­¡¢¤½¤Î¼çÌÜ À¹¤ê¤ÈÉûÌÜÀ¹¤ê¤ËÂФ¹¤ëÀþ¼ï¡¢ÀþÉý¤â»ØÄê¤Ç¤­¡¢¸½ºß¤Î½ÐÎÏÁõÃÖ¤¬¥µ¥Ý¡¼¥È¤¹ ¤ëÈϰϤǡ¢¤¢¤é¤«¤¸¤áÄêµÁ¤·¤¿¥é¥¤¥ó¥¹¥¿¥¤¥ë¤ò»ÈÍѤ¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

¤µ¤é¤Ë¡¢2 ¼¡¸µ¤ÎÉÁ²è¤Ç¤Ï¶ËºÂɸ³Ê»Ò¤â»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ÄêµÁ²Äǽ¤Ê¶è´Ö ¤ËÂФ·¤Æ¡¢ÁªÂò¤µ¤ì¤¿ÌÜÀ¹¤ê¤òÄ̤ëƱ¿´±ß¤ÈÃæ¿´¤«¤é¤ÎÊü¼Í¾õ¤ÎÀþ¤¬ÉÁ¤«¤ì¤Þ ¤¹ (¤½¤Î¶è´Ö¤Ï set angles ¤ÎÀßÄê¤Ë¤·¤¿¤¬¤Ã¤ÆÅÙ¡¢¤Þ¤¿¤Ï¥é¥¸¥¢¥ó¤Ç»ØÄê ¤·¤Þ¤¹)¡£¶ËºÂɸ³Ê»Ò¤Ï¸½ºß¤Ï¶ËºÂɸ¥â¡¼¥É¤Ç¤Ï¼«Æ°Åª¤Ë¤ÏÀ¸À®¤µ¤ì¤Ê¤¤¤³¤È ¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

set grid ¤¬ÉÁ¤¯Á°¤Ë¡¢É¬ÍפÊÌÜÀ¹¤ê¤ÏÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ gnuplot ¤Ï¡¢Â¸ºß¤·¤Ê¤¤ÌÜÀ¹¤ê¤ËÂФ¹¤ë³Ê»Ò¤ÎÉÁ²è¤ÎÌ¿Îá¤Ïñ¤Ë̵»ë¤·¤Þ¤¹¡£ ¤·¤«¤·¡¢¸å¤Ç¤½¤ÎÌÜÀ¹¤ê¤¬Í­¸ú¤Ë¤Ê¤ì¤Ð¤½¤ì¤ËÂФ¹¤ë³Ê»Ò¤âÉÁ¤­¤Þ¤¹¡£

Éû³Ê»ÒÀþ¤ËÂФ¹¤ëÀþ¼ï¤ò²¿¤â»ØÄꤷ¤Ê¤±¤ì¤Ð¡¢¼ç³Ê»ÒÀþ¤ÈƱ¤¸Àþ¼ï¤¬»È¤ï¤ì¤Þ ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¶ËºÂɸ¤Î³ÑÅÙ¤Ï 30 Å٤Ǥ¹¡£

front ¤ò»ØÄꤹ¤ë¤È¡¢³Ê»ÒÀþ¤Ï¥°¥é¥Õ¤Î¥Ç¡¼¥¿¤Î¾å¤ËÉÁ¤«¤ì¤Þ¤¹¡£back ¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¤Ï³Ê»ÒÀþ¤Ï¥°¥é¥Õ¤Î¥Ç¡¼¥¿¤Î²¼¤ËÉÁ¤«¤ì¤Þ¤¹¡£front ¤ò»È ¤¨¤Ð¡¢Ì©½¸¤·¤¿¥Ç¡¼¥¿¤Ç³Ê»ÒÀþ¤¬¸«¤¨¤Ê¤¯¤Ê¤ë¤³¤È¤òËɤ°¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¥Ç ¥Õ¥©¥ë¥È¤Ç¤Ï layerdefault ¤Ç¡¢¤³¤ì¤Ï 2D ÉÁ²è¤Ç¤Ï back ¤ÈƱ¤¸¤Ç¤¹¡£ 3D ÉÁ²è¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢³Ê»Ò¤È¥°¥é¥Õ¤ÎÏȤò 2 ¤Ä¤ÎÉÁ²èñ°Ì¤ËʬΥ¤·¡¢³Ê»Ò ¤Ï¸å¤í¤Ë¡¢ÏȤÏÉÁ²è¥Ç¡¼¥¿¤Þ¤¿¤Ï´Ø¿ô¤ÎÁ°¤Ë½ñ¤­¤Þ¤¹¡£¤¿¤À¤·¡¢hidden3d ¥â¡¼¥É¤Ç¤Ï¡¢¤½¤ì¤¬¤½¤ì¼«¿È¤ÎʤӴ¹¤¨¤ò¤·¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢³Ê»ÒÀþ¤Î½çÈ֤Υª ¥×¥·¥ç¥ó¤ÏÁ´¤Æ̵»ë¤µ¤ì¡¢³Ê»ÒÀþ¤â±£Àþ½èÍý¤Ë¤«¤±¤é¤ì¤Þ¤¹¡£¤³¤ì¤é¤Î¥ª¥×¥· ¥ç¥ó¤Ï¡¢¼ÂºÝ¤Ë¤Ï³Ê»ÒÀþ¤À¤±¤Ç¤Ê¤¯¡¢set border ¤Ë¤è¤ë¶­³¦Àþ¤È¤½¤ÎÌÜÀ¹ ¤ê¤Î¹ï¤ß (°Ê²¼»²¾È: set xtics (82.96)) ¤Ë¤â±Æ¶Á¤òµÚ¤Ü¤·¤Þ¤¹¡£

z ¤Î³Ê»ÒÀþ¤ÏÉÁ²è¤ÎÄìÌ̤ËÉÁ¤«¤ì¤Þ¤¹¡£¤³¤ì¤ÏÉÁ²è¤Î¼þ¤ê¤ËÉôʬŪ¤ÊÈ¢¤¬ÉÁ²è ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¤¤¤¤¤Ç¤·¤ç¤¦¡£°Ê²¼»²¾È: set border (82.7)¡£

82.27 Hidden3d

set hidden3d ¥³¥Þ¥ó¥É¤Ï¶ÊÌÌÉÁ²è (°Ê²¼»²¾È: splot (84)) ¤Ç±£Àþ½èÍý¤ò¹Ô¤Ê ¤¦¤è¤¦¤Ë»Ø¼¨¤·¤Þ¤¹¡£¤½¤Î½èÍý¤ÎÆâÉô¥¢¥ë¥´¥ê¥º¥à¤Ë´Ø¤¹¤ëÄɲõ¡Ç½¤â¤³¤Î¥³ ¥Þ¥ó¥É¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¡£

½ñ¼°:

     set hidden3d {defaults} |
                  { {front|back}
                    {{offset <offset>} | {nooffset}}
                    {trianglepattern <bitpattern>}
                    {{undefined <level>} | {noundefined}}
                    {{no}altdiagonal}
                    {{no}bentover} }
     unset hidden3d
     show hidden3d

gnuplot ¤ÎÄ̾ï¤Îɽ¼¨¤È¤Ï°Û¤Ê¤ê¡¢±£Àþ½èÍý¤Ç¤ÏÍ¿¤¨¤é¤ì¤¿´Ø¿ô¡¢¤Þ¤¿¤Ï¥Ç¡¼ ¥¿¤Î³Ê»ÒÀþ¤ò¡¢¼ÂºÝ¤Î¶ÊÌ̤¬¤½¤Î¶ÊÌ̤ÎÇظå¤Ë¤¢¤Ã¤Æ±£¤µ¤ì¤Æ¤¤¤ëÉÁ²èÍ×ÁÇ¤Ï ¸«¤»¤Ê¤¤¤Î¤ÈƱ¤¸¤è¤¦¤Ë½èÍý¤·¤Þ¤¹¡£¤³¤ì¤¬µ¡Ç½¤¹¤ë¤¿¤á¤Ë¤Ï¡¢¤½¤Î¶ÊÌ̤¬ '³Ê»Ò¾õ' (°Ê²¼»²¾È: splot datafile (84.1)) ¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¡¢¤Þ¤¿¤½¤ì¤é¤Ï with lines ¤« with linespoints ¤ÇÉÁ¤«¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£

hidden3d ¤¬Í­¸ú¤Ê¤È¤­¤Ï¡¢³Ê»ÒÀþ¤À¤±¤Ç¤Ê¤¯¡¢ÌÌÉôʬ¤äÅÚÂæ¤Î¾å¤ÎÅù¹âÀþ (°Ê²¼»²¾È: set contour (82.14)) ¤â±£¤µ¤ì¤Þ¤¹¡£Ê£¿ô¤ÎÌ̤òÉÁ²è¤·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢ ³Æ¶ÊÌ̤ϼ«Ê¬¼«¿È¤È¾¤Î¶ÊÌ̤DZ£¤µ¤ì¤ëÉôʬ¤â»ý¤Á¤Þ¤¹¡£¶ÊÌ̾å¤Ø¤ÎÅù¹âÀþ¤Î ɽ¼¨ (set contour surface) ¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£

¸«½Ð¤·¤ÈÌð°õ¤Ï¾ï¤Ëɽ¼¨¤µ¤ì¡¢±Æ¶Á¤ò¼õ¤±¤Þ¤»¤ó¡£¥°¥é¥Õ¤ÎÀâÌÀ (key) ¤â¶Ê Ì̤˱£¤µ¤ì¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£gnuplot ¥Ð¡¼¥¸¥ç¥ó 4.6 ¤Ç¤Ï¡¢¥°¥é¥Õ¾å¤Ë ¶ÊÌ̤¬°ì¤Ä¤â¤Ê¤¤¾õÂ֤Ǥ⡢hidden3d ¤Ï points, labels, vectors, impulses ¤Î 3 ¼¡¸µ¤ÎÉÁ²è¥¹¥¿¥¤¥ë¤Ë±Æ¶Á¤òÍ¿¤¨¤Þ¤¹¡£¥°¥é¥ÕÆâ¤Î³Æ¡¹¤ÎÉÁ ²è¤ò¤³¤Î½èÍý¤«¤éÌÀ¼¨Åª¤Ë½ü³°¤·¤¿¤¤¤È¤­¤Ï¡¢with »ØÄê¤ËÆÃÊ̤Υª¥×¥·¥ç ¥ó nohidden3d ¤òÄɲ䷤Ƥ¯¤À¤µ¤¤¡£

hidden3d ¤Ï¡¢pm3d ¥â¡¼¥É¤ÇÉÁ²è¤µ¤ì¤¿¡¢ÅɤêÄÙ¤µ¤ì¤¿¶ÊÌ̤ˤϱƶÁ¤òÍ¿¤¨¤Þ ¤»¤ó¡£pm3d ¤Î¶ÊÌ̤ËÂФ·¤ÆƱÍͤθú²Ì¤ò½ã¿è¤ËÆÀ¤¿¤¤¤Ê¤é¤Ð¡¢¤³¤ì¤ÎÂå¤ï¤ê ¤Ë set pm3d depthorder ¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£Ê£¿ô¤Î pm3d ¶ÊÌ̤ËÄ̾ï¤Î hidden3d ½èÍý¤òÁȤ߹ç¤ï¤»¤ë¤Ë¤Ï¡¢hidden3d ½èÍý¤ÎÁ´¤Æ¤ÎÍ×ÁǤò¶¯À©Åª¤Ë »Ä¤ê¤Î¾¤ÎÉÁ²èÍ×ÁǤθå¤ËÉÁ²è¤¹¤ë¤¿¤á¤Î¥ª¥×¥·¥ç¥ó set hidden3d front ¤ò»ÈÍѤ·¡¢¤½¤·¤Æ¶ÊÌ̤ò 2 ÅÙÉÁ²è¤·¤Æ¤¯¤À¤µ¤¤¡£ºÇ½é¤Ï with lines lt -2 ¤Ç¡¢2 ÅÙÌÜ¤Ï with pm3d ¤ÇÉÁ²è¤·¤Þ¤¹¡£ºÇ½é¤ÎÊý¤Ç¤Ï¡¢±£¤µ¤ì¤ëÉÁ²èÍ×ÁÇ ¤Î·×»»¤ò¹Ô¤Ã¤Æ¤¤¤ë´Ö¤Ï±£¤¹Êý¤Î¶ÊÌ̤â´Þ¤Þ¤ì¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢¼ÂºÝ¤Ë¤Ï¤½¤Î ¶ÊÌ̼«ÂΤÏÉÁ²è¤µ¤ì¤Þ¤»¤ó¡£

´Ø¿ôÃͤϳʻҸÉΩÀþ¤Î¸òÅÀ¤Çɾ²Á¤µ¤ì¤Þ¤¹¡£¸«¤ë¤³¤È¤Î½ÐÍè¤ëÀþʬ¤òµá¤á¤ë¤È ¤­¤Ï¸Ä¡¹¤Î´Ø¿ôÃÍ¡¢¤¢¤ë¤¤¤Ï¥Ç¡¼¥¿ÅÀ¤Î´Ö¤Ï¤½¤Î¥¢¥ë¥´¥ê¥º¥à¤Ë¤è¤Ã¤ÆÀþ·ÁÊä ´Ö¤µ¤ì¤Þ¤¹¡£¤³¤ì¤Ï¡¢hidden3d ¤ÇÉÁ²è¤¹¤ë¾ì¹ç¤È nohidden3d ¤ÇÉÁ²è¤¹ ¤ë¾ì¹ç¤Ç´Ø¿ô¤Î¸«¤«¤±¤¬°Û¤Ê¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£¤Ê¤¼¤Ê¤é¤Ð¡¢¸å¼Ô¤Î¾ì¹ç´Ø ¿ôÃͤϳÆɸËÜÅÀ¤Çɾ²Á¤µ¤ì¤ë¤«¤é¤Ç¤¹¡£¤³¤Î°ã¤¤¤Ë´Ø¤¹¤ëµÄÏÀ¤Ë¤Ä¤¤¤Æ¤Ï¡¢ °Ê²¼»²¾È: set samples (82.64), set isosamples (82.29)¡£

¶ÊÌ̤ᣤµ¤ì¤ëÉôʬ¤ò¾Ãµî¤¹¤ë¤Î¤Ë»È¤ï¤ì¤ë¥¢¥ë¥´¥ê¥º¥à¤Ï¡¢¤³¤Î¥³¥Þ¥ó¥É¤Ç À©¸æ¤µ¤ì¤ë¤¤¤¯¤Ä¤«¤ÎÄɲ媥ץ·¥ç¥ó¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£defaults ¤ò»ØÄꤹ ¤ì¤Ð¤½¤ì¤é¤Ï¤¹¤Ù¤Æ¡¢°Ê²¼¤Ç½Ò¤Ù¤ë¤è¤¦¤Ê¥Ç¥Õ¥©¥ë¥È¤ÎÃͤËÀßÄꤵ¤ì¤Þ¤¹¡£ defaults ¤¬»ØÄꤵ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë¤Ï¡¢ÌÀ¼¨Åª¤Ë»ØÄꤵ¤ì¤¿¥ª¥×¥·¥ç¥ó¤Î ¤ß¤¬±Æ¶Á¤ò¼õ¤±¡¢¤½¤ì°Ê³°¤Î¤â¤Î¤Ï°ÊÁ°¤ÎÃͤ¬°ú¤­·Ñ¤¬¤ì¤Þ¤¹¡£¤è¤Ã¤Æ¡¢¤½¤ì ¤é¤Î¥ª¥×¥·¥ç¥ó¤ÎÃͤò¤¤¤Á¤¤¤Á½¤Àµ¤¹¤ë¤³¤È¤Ê¤¯¡¢Ã±¤Ë set {no}hidden3d ¤Î¤ß¤Ç±£Àþ½èÍý¤ò¥ª¥ó/¥ª¥Õ¤Ç¤­¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

ºÇ½é¤Î¥ª¥×¥·¥ç¥ó offset ¤Ï '΢¦' ¤ÎÀþ¤òÉÁ²è¤¹¤ëÀþ¤ÎÀþ¼ï¤Ë±Æ¶Á¤òÍ¿¤¨ ¤Þ¤¹¡£Ä̾ï¤Ï¶ÊÌ̤Îɽ΢¤ò¶èÊ̤¹¤ë¤¿¤á¤Ë¡¢Î¢Â¦¤ÎÀþ¼ï¤Ï¡¢É½Â¦¤ÎÀþ¼ï¤è¤ê°ì ¤ÄÂ礭¤¤ÈÖ¹æ¤ÎÀþ¼ï¤¬»È¤ï¤ì¤Þ¤¹¡£offset < offset> ¤Ë¤è¤Ã¤Æ¡¢¤½¤ÎÄɲä¹ ¤ëÃͤò¡¢¥Ç¥Õ¥©¥ë¥È¤Î 1 ¤È¤Ï°Û¤Ê¤ëÁýʬÃͤËÊѹ¹¤Ç¤­¤Þ¤¹¡£nooffset ¥ª¥× ¥·¥ç¥ó¤Ï offset 0 ¤ò°ÕÌ£¤·¡¢¤³¤ì¤Ïɽ΢¤ÇƱ¤¸Àþ¼ï¤ò»È¤¦¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

¼¡¤Î¥ª¥×¥·¥ç¥ó¤Ï trianglepattern < bitpattern> ¤Ç¤¹¡£< bitpattern> ¤Ï 0 ¤«¤é 7 ¤Þ¤Ç¤Î¿ô»ú¤Ç¡¢¥Ó¥Ã¥È¥Ñ¥¿¡¼¥ó¤È²ò¼á¤µ¤ì¤Þ¤¹¡£³Æ¶ÊÌ̤ϻ°³Ñ·Á¤Ë ʬ³ä¤µ¤ì¤Þ¤¹¤¬¡¢¤³¤Î¥Ó¥Ã¥È¥Ñ¥¿¡¼¥ó¤Î³Æ¥Ó¥Ã¥È¤Ï¤½¤ì¤é¤Î»°³Ñ·Á¤Î³ÆÊÕ¤Îɽ ¼¨¤ò·èÄꤷ¤Þ¤¹¡£¥Ó¥Ã¥È 0 ¤Ï³Ê»Ò¤Î¿åÊ¿ÊÕ¡¢¥Ó¥Ã¥È 1 ¤Ï³Ê»Ò¤Î¿âľÊÕ¡¢¥Ó¥Ã ¥È 2 ¤Ï¡¢¸µ¡¹¤Î³Ê»Ò¤¬ 2 ¤Ä¤Î»°³Ñ·Á¤Ëʬ³ä¤µ¤ì¤ë¤È¤­¤ÎÂгÑÊդǤ¹¡£¥Ç¥Õ¥© ¥ë¥È¤Î¥Ó¥Ã¥È¥Ñ¥¿¡¼¥ó¤Ï 3 ¤Ç¡¢¤³¤ì¤ÏÁ´¤Æ¤Î¿åÊ¿ÊդȿâľÊÕ¤òɽ¼¨¤·¡¢ÂÐ³Ñ ÊÕ¤Ïɽ¼¨¤·¤Ê¤¤¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£ÂгÑÊÕ¤âɽ¼¨¤¹¤ë¾ì¹ç¤Ï 7 ¤ò»ØÄꤷ¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó undefined < level> ¤Ï¡¢ÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤ (·ç¤±¤Æ¤¤¤ë¥Ç¡¼¥¿ ¤Þ¤¿¤Ï̤ÄêµÁ¤Î´Ø¿ôÃÍ) ¤«¡¢¤Þ¤¿¤ÏÍ¿¤¨¤é¤ì¤¿ x,y,z ¤ÎÈϰϤòĶ¤¨¤Æ¤¤¤ë¥Ç ¡¼¥¿ÅÀ¤ËŬÍѤµ¤»¤ë¥¢¥ë¥´¥ê¥º¥à¤ò»Ø¼¨¤·¤Þ¤¹¡£¤½¤Î¤è¤¦¤ÊÅÀ¤Ï¡¢¤½¤ì¤Ç¤â ɽ¼¨¤µ¤ì¤Æ¤·¤Þ¤¦¤«¡¢¤Þ¤¿¤ÏÆþÎϥǡ¼¥¿¤«¤é¼è¤ê½ü¤«¤ì¤Þ¤¹¡£¼è¤ê½ü¤«¤ì¤Æ ¤·¤Þ¤¦ÅÀ¤ËÀܤ¹¤ëÁ´¤Æ¤Î¶ÊÌÌÍ×ÁǤÏƱÍͤ˼è¤ê½ü¤«¤ì¡¢¤è¤Ã¤Æ¶ÊÌ̤˷꤬À¸ ¤¸¤Þ¤¹¡£< level> = 3 ¤Î¾ì¹ç¡¢¤³¤ì¤Ï noundefined ¤ÈƱ¤¸¤Ç¡¢¤É¤ó¤ÊÅÀ¤â ¼Î¤Æ¤é¤ì¤Þ¤»¤ó¡£¤³¤ì¤Ï¾¤Î¾ì½ê¤Ç¤¢¤é¤æ¤ë¼ïÎà¤ÎÌäÂê¤ò°ú¤­µ¯¤³¤·ÆÀ¤ë¤Î¤Ç »È¤ï¤Ê¤¤¤Ù¤­¤Ç¤¹¡£< level> = 2 ¤Ç¤Ï̤ÄêµÁ¤ÎÅÀ¤Ï¼Î¤Æ¤é¤ì¤Þ¤¹¤¬¡¢ÈϰϤòĶ ¤¨¤¿ÅÀ¤Ï¼Î¤Æ¤é¤ì¤Þ¤»¤ó¡£< level> = 1 ¤Ç¤Ï¡¢¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¹¤¬¡¢ÈÏ°Ï ¤òĶ¤¨¤¿ÅÀ¤â¼Î¤Æ¤é¤ì¤Þ¤¹¡£

noaltdiagonal ¤ò»ØÄꤹ¤ë¤È¡¢undefined ¤¬Í­¸ú¤Î¤È¤­ (¤¹¤Ê¤ï¤Á < level> ¤¬ 3 ¤Ç¤Ê¤¤¾ì¹ç) ¤Ëµ¯¤³¤ë°Ê²¼¤Î¾ì¹ç¤Î¥Ç¥Õ¥©¥ë¥È¤Ç¤Î¼è°·¤¤¤òÊѹ¹¤Ç¤­¤Þ¤¹¡£ÆþÎ϶ÊÌ̤γƳʻҾõ¤ÎÉôʬ¤Ï°ìÊý¤ÎÂгÑÀþ¤Ë¤è¤Ã¤Æ 2 ¤Ä¤Î»°³Ñ·Á¤Ëʬ³ä ¤µ¤ì¤Þ¤¹¡£Ä̾ï¤Ï¤½¤ì¤é¤ÎÂгÑÀþ¤ÎÁ´¤Æ¤¬³Ê»Ò¤ËÂФ·¤ÆƱ¤¸Êý¸þ¤ò¸þ¤¤¤Æ¤¤¤Þ ¤¹¡£¤â¤·¡¢¤¢¤ë³Ê»Ò¤Î 4 ¤Ä¤Î³Ñ¤Î¤¦¤Á°ì¤Ä¤¬ undefined ½èÍý¤Ë¤è¤ê¤È¤ê½ü ¤«¤ì¤Æ¤¤¤Æ¡¢¤½¤Î³Ñ¤¬Ä̾ï¤ÎÊý¸þ¤ÎÂгÑÀþ¤Ë¾è¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¤½¤ÎξÊý¤Î»° ³Ñ·Á¤¬¼è¤ê½ü¤«¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¡£¤·¤«¤·¡¢¤â¤·¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤Ç¤¢¤ë altdiagonal ¤¬Í­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤Î³Ê»Ò¤Ë¤Ä¤¤¤Æ¤Ï¾Êý¸þ¤ÎÂгÑÀþ ¤¬Âå¤ï¤ê¤ËÁªÂò¤µ¤ì¡¢¶ÊÌ̤ηê¤ÎÂ礭¤µ¤¬ºÇ¾®¤Ë¤Ê¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£

bentover ¥ª¥×¥·¥ç¥ó¤Ïº£ÅÙ¤Ï trianglepattern ¤È¤È¤â¤Ëµ¯¤³¤ëÊ̤Τ³¤È ¤òÀ©¸æ¤·¤Þ¤¹¡£¤«¤Ê¤ê¤·¤ï¤¯¤Á¤ã¤Î¶ÊÌ̤Ǥϡ¢²¼¤Î ASCII ʸ»ú³¨¤Ë½ñ¤¤¤¿¤è ¤¦¤Ë¡¢¶ÊÌ̤Π1 ¤Ä¤Î³Ê»Ò¤¬ 2 ¤Ä¤Ëʬ¤±¤é¤ì¤¿»°³Ñ·Á¤Îɽ¤È΢¤ÎÈ¿ÂЦ¤¬¸«¤¨ ¤Æ¤·¤Þ¤¦¾ì¹ç (¤¹¤Ê¤ï¤Á¡¢¸µ¤Î»Í³Ñ·Á¤¬ÀÞ¤ê¶Ê¤²¤é¤ì¤Æ¤¤¤ë ('bent over') ¾ì¹ç) ¤¬¤¢¤ê¤Þ¤¹:


                                                             C----B
        ¸µ¤Î 4 ³Ñ·Á:     A--B      ɽ¼¨¤µ¤ì¤ë 4 ³Ñ·Á:        |\   |
     ("set view 0,0")    | /|    ("set view 75,75" perhaps)  | \  |
                         |/ |                                |  \ |
                         C--D                                |   \|
                                                             A    D

¶ÊÌ̤γʻҤÎÂгÑÊÕ¤¬ < bitpattern> ¤Î 2 bit ¤Ë¤è¤Ã¤Æ¸«¤¨¤ë¤è¤¦¤Ë¤Ï¤Ê¤Ã ¤Æ¤Ï¤¤¤Ê¤¤¾ì¹ç¡¢¾å¤ÎÂгÑÊÕ CB ¤Ï¤É¤³¤Ë¤â½ñ¤«¤ì¤Ê¤¤¤³¤È¤Ë¤Ê¤ê¡¢¤½¤ì¤¬·ë ²Ì¤Îɽ¼¨¤òÍý²ò¤·¤Ë¤¯¤¤¤â¤Î¤Ë¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤ÇÄêµÁ¤µ¤ì¤ë bentover ¥ª¥×¥·¥ç¥ó¤Ï¡¢¤³¤Î¤è¤¦¤Ê¾ì¹ç¤½¤ì¤òɽ¼¨¤¹¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£¤â¤·¤½¤¦¤·¤¿¤¯ ¤Ê¤¤¤Ê¤é¡¢nobentover ¤òÁªÂò¤·¤Æ¤¯¤À¤µ¤¤¡£ °Ê²¼¤â»²¾È

±£Àþ½èÍý¤Î¥Ç¥â (hidden.dem)

¤ª¤è¤Ó

Ê£»¨¤Ê±£Àþ¤Î¥Ç¥â (singulr.dem).

82.28 Historysize

Ãí°Õ: ¥³¥Þ¥ó¥É set historysize ¤Ï¡¢gnuplot ¤¬ GNU readline ¥é¥¤¥Ö¥é ¥ê¤ò»È¤¦¤è¤¦¤Ë configure ¤µ¤ì¤¿¾ì¹ç¤Î¤ßÍ­¸ú¤Ç¤¹¡£

½ñ¼°:

     set historysize <int>
     unset historysize

historysize ¤ÎÃͤϡ¢gnuplot ¤Î½ªÎ»»þ¤Ë history ¤Î¹Ô¤ò¹â¡¹¤½¤Î¹Ô¿ô¤Þ¤Ç ¤ËÀÚ¤ê¼Î¤Æ¤ë¤¿¤á¤Ë»È¤ï¤ì¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï 500 ¤Ç¤¹¡£ unset historysize ¤Ï history ¤ÎÀڼΤƤò̵¸ú¤Ë¤·¤Þ¤¹¤Î¤Ç¡¢history ¥Õ ¥¡¥¤¥ë¤Ë½ñ¤­½Ð¤¹¹Ô¿ô¤ÎÀ©¸Â¤ò¤·¤Þ¤»¤ó¡£

82.29 Isosamples

´Ø¿ô¤òÌ̤Ȥ·¤ÆÉÁ²è¤¹¤ë¾ì¹ç¤Î¸ÉΩÀþ (³Ê»Ò) ¤ÎÌ©Å٤ϥ³¥Þ¥ó¥É set isosamples ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£

½ñ¼°:

     set isosamples <iso_1> {,<iso_2>}
     show isosamples

³Æ¶ÊÌÌ¥°¥é¥Õ¤Ï < iso_1> ¸Ä¤Î u-¸ÉΩÀþ¤È < iso_2> ¸Ä¤Î v-¸ÉΩÀþ¤ò»ý¤Á¤Þ¤¹¡£ < iso_1> ¤Î¤ß»ØÄꤹ¤ì¤Ð¡¢< iso_2> ¤Ï < iso_1> ¤ÈƱ¤¸ÃͤËÀßÄꤵ¤ì¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢u, v ¤½¤ì¤¾¤ì 10 ËܤÎɸËܲ½¤¬¹Ô¤ï¤ì¤Þ¤¹¡£É¸ËÜ¿ô¤ò¤â¤Ã¤È ¿¤¯¤¹¤ì¤Ð¤è¤êÀµ³Î¤Ê¥°¥é¥Õ¤¬ºî¤é¤ì¤Þ¤¹¤¬¡¢»þ´Ö¤¬¤«¤«¤ê¤Þ¤¹¡£¤³¤ì¤é¤Î ¥Ñ¥é¥á¡¼¥¿¤Ï¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ÎÉÁ²è¤Ë¤Ï²¿¤â±Æ¶Á¤òÍ¿¤¨¤Þ¤»¤ó¡£

¸ÉΩÀþ¤È¤Ï¡¢¶ÊÌ̤ΰì¤Ä¤ÎÇÞ²ðÊÑ¿ô¤ò¸ÇÄꤷ¤Æ¡¢¤â¤¦°ì¤Ä¤ÎÇÞ²ðÊÑ¿ô¤Ë¤è¤Ã¤Æ ÉÁ¤«¤ì¤ë¶ÊÀþ¤Î¤³¤È¤Ç¤¹¡£¸ÉΩÀþ¤Ï¡¢¶ÊÌ̤òɽ¼¨¤¹¤ëñ½ã¤ÊÊýË¡¤òÍ¿¤¨¤Þ¤¹¡£ ¶ÊÌÌ s(u,v) ¤ÎÇÞ²ðÊÑ¿ô u ¤ò¸ÇÄꤹ¤ë¤³¤È¤Ç u-¸ÉΩÀþ c(v) = s(u0,v) ¤¬ ºî¤é¤ì¡¢ÇÞ²ðÊÑ¿ô v ¤ò¸ÇÄꤹ¤ë¤³¤È¤Ç v-¸ÉΩÀþ c(u) = s(u,v0) ¤¬¤Ç¤­¤Þ¤¹¡£

´Ø¿ô¤Î¶ÊÌÌ¥°¥é¥Õ¤¬±£Àþ½èÍý¤Ê¤·¤ÇÉÁ¤«¤ì¤Æ¤¤¤ë¾ì¹ç¡¢set samples ¤Ï ³Æ¸ÉΩÀþ¾å¤ÇɸËܲ½¤µ¤ì¤ëÅÀ¤Î¿ô¤òÀ©¸æ¤·¤Þ¤¹¡£°Ê²¼»²¾È: set samples (82.64),set hidden3d (82.27)¡£Åù¹âÀþÉÁ²è¥ë¡¼¥Á¥ó¤Ï¡¢´Ø¿ô¤ÎÅÀ¤ÎɸËܲ½¤Ï³Æ¸ÉΩÀþ¤Î¸òÅÀ ¤Ç¹Ô¤ï¤ì¤ë¤È²¾Äꤷ¤Æ¤¤¤ë¤Î¤Ç¡¢´Ø¿ô¤Î¶ÊÌ̤ÈÅù¹âÀþ¤Î²òÁüÅÙ¤òÊѹ¹¤¹¤ë¤È¤­ ¤Ï¡¢isosamples ¤ÈƱ¤¸¤è¤¦¤Ë samples ¤òÊѹ¹¤¹¤ë¤Î¤¬Ë¾¤Þ¤·¤¤¤Ç¤·¤ç¤¦¡£

82.30 Key

¥³¥Þ¥ó¥É set key ¤ÏÉÁ²è¤µ¤ì¤¿¶ÊÀþ¤ÎÀâÌÀ¤äɽÂê¤òɽ¼¨¤¹¤ë¤³¤È¤ò²Äǽ¤Ë ¤·¤Þ¤¹¡£

ÀâÌÀ (key) ¤ÎÆâÍÆ¡¢¤¹¤Ê¤ï¤ÁÉÁ²è¤µ¤ì¤ë¸Ä¡¹¤Î¥Ç¡¼¥¿½¸¹ç¤ä´Ø¿ô¤Ë¤Ä¤±¤ë̾ Á°¡¢¤ª¤è¤Ó¤½¤ì¤é¥°¥é¥Õ¤Î¶ÊÀþ¤È¥°¥é¥Õ¾å¤ÎÅÀ¤òɽ¤¹µ­¹æ¤«¤é¤Ê¤ë¥µ¥ó¥×¥ë¤Ï¡¢ plot (¤Þ¤¿¤Ï splot) ¥³¥Þ¥ó¥É¤Î title, with ¥ª¥×¥·¥ç¥ó¤Ë¤è¤ê·è Äꤵ¤ì¤Þ¤¹¡£¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: plot title (72.10),plot with (72.11)¡£

½ñ¼°:

     set key {on|off} {default}
             {{inside | outside} | {lmargin | rmargin | tmargin | bmargin}
               | {at <position>}}
             {left | right | center} {top | bottom | center}
             {vertical | horizontal} {Left | Right}
             {{no}opaque}
             {{no}reverse} {{no}invert}
             {samplen <sample_length>} {spacing <vertical_spacing>}
             {width <width_increment>}
             {height <height_increment>}
             {{no}autotitles {columnheader}}
             {title "<text>"} {{no}enhanced}
             {font "<face>,<size>"} {textcolor <colorspec>}
             {{no}box { {linestyle | ls <line_style>}
                        | {linetype | lt <line_type>}
                          {linewidth | lw <line_width>}}}
             {maxcols {<max no. of columns> | auto}}
             {maxrows {<max no. of rows> | auto}}
     unset key
     show key

¥­¡¼ (ÀâÌÀ) ¤Ï¡¢¥°¥é¥ÕÆâ¤Î³ÆÉÁ²è¤ËÂФ¹¤ë¥¿¥¤¥È¥ë¤È¥µ¥ó¥×¥ë (ËÞÎã; Àþ¡¢ ÅÀ¡¢È¢) ¤«¤éÀ®¤ê¤Þ¤¹¡£¥­¡¼¤Îµ¡Ç½¤Ï¡¢set key off ¤Þ¤¿¤Ï unset key ¤Ç̵¸ú¤Ë¤Ç¤­¤Þ¤¹¡£¸Ä¡¹¤Î¥­¡¼¤Î¥¨¥ó¥È¥ê¤Ï¡¢Âбþ¤¹¤ë plot ¥³¥Þ¥ó¥ÉÆâ¤Ë¥­ ¡¼¥ï¡¼¥É notitle ¤ò»È¤¦¤³¤È¤Ç̵¸ú¤Ë¤Ç¤­¤Þ¤¹¡£

¥­¡¼Æâ¤Î³ÆÍ×ÁÇ¤Ï vertical (½Ä) ¤Þ¤¿¤Ï horizontal (²£) ¤Ë½¾¤Ã¤Æ½Å¤Í ¤é¤ì¤Þ¤¹¡£vertical ¤Î¾ì¹ç¡¢key ¤Ï²Äǽ¤Ê¤é¤Ð 2,3 ¸Ä¤Î½Ä¤ÎÎó¤ò»È¤¤¤Þ¤¹¡£ ¤¹¤Ê¤ï¤Á¡¢³ÆÍ×ÁǤϿâľ¥¹¥Ú¡¼¥¹¤¬¤Ê¤¯¤Ê¤ë¤Þ¤Ç¤Ï 1 ¤Ä¤ÎÎó¤ËÀ°Î󤵤ì¤Þ¤¹ ¤¬¡¢¤½¤³¤«¤é¿·¤·¤¤Î󤬳«»Ï¤µ¤ì¤Þ¤¹¡£¿âľ¥¹¥Ú¡¼¥¹¤Ï¡¢maxrows ¤ò»È¤Ã¤Æ À©¸Â¤Ç¤­¤Þ¤¹¡£horizontal ¤Î¾ì¹ç¤Ï¡¢key ¤Ï²£¤Î¹Ô¤ò¤Ç¤­¤ë¤À¤±¾¯¤Ê¤¯»È ¤ª¤¦¤È¤·¤Þ¤¹¡£¿åÊ¿Êý¸þ¤Î¥¹¥Ú¡¼¥¹¤Ï maxcols ¤Ë¤è¤êÀ©¸Â¤Ç¤­¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢key ¤Ï¥°¥é¥ÕÎΰè¤ÎÆ⦤α¦¾å¤Î³Ñ¤ËÃÖ¤«¤ì¤Þ¤¹¡£¥­¡¼¥ï¡¼ ¥É left, right, top, bottom, center, inside, outside, lmargin, rmargin, tmargin, bmargin (, above, over, below, under) ¤Ï¡¢¥°¥é¥ÕÎΰè¤Î¾¤Î¾ì½ê¤Ø¤Î¼«Æ°Åª¤ÊÇÛÃ֤Τ¿¤á¤Ë»ÈÍѤ·¤Þ¤¹¡£ key ¤ÎÉÁ²è¤ò¤É¤³¤ËÃÖ¤¯¤«¤ò¤è¤ê¾Ü¤·¤¯»Ø¼¨¤¹¤ë¤¿¤á¤Î at < position> ¤â ¤¢¤ê¤Þ¤¹¡£¤³¤Î¾ì¹ç¡¢¥­¡¼¥ï¡¼¥É left, right, top, bottom, center ¤¬Æ±Íͤδð½àÅÀ¹ç¤ï¤»¤ÎÀßÄê¤ÎÌÜŪ¤Ç»È¤ï¤ì¤Þ¤¹¡£ ¤è¤ê¾Ü¤·¤¯¤Ï¡¢°Ê²¼»²¾È: key placement (82.30.1)¡£

¥°¥é¥Õ¤Î¥¿¥¤¥È¥ë¤Î¹Ô·¤¨¤Ï Left, Right (¥Ç¥Õ¥©¥ë¥È) ¤Ç»Ø¼¨¤· ¤Þ¤¹¡£¥é¥Ù¥ëʸ»úÎó¤È¶ÊÀþ¤Î¥µ¥ó¥×¥ë¤Ïº¸±¦Æþ¤ìÂؤ¨¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹ (reverse) ¤·¡¢ Á´ÂΤòÏȤǰϤळ¤È¤â¤Ç¤­¤Þ¤¹ (box {...})¡£¤½¤ÎÏȤΠÀþ¤Ï¡¢Àþ¼ï (linetype), ÀþÉý (linewidth)¡¢¤¢¤ë¤¤¤ÏÄêµÁºÑ¤Î¥é¥¤¥ó¥¹ ¥¿¥¤¥ë (linestyle) ¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢key ¤Ï°ì¤Ä¤Î¥°¥é¥Õ¤ÈƱ»þ¤Ëºî¤é¤ì¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢key ¤Î µ­¹æ¤È¥¿¥¤¥È¥ë¤Ï¡¢¤½¤ì¤ËÂбþ¤¹¤ë¥°¥é¥Õ¤ÈƱ»þ¤ËÉÁ¤«¤ì¤Þ¤¹¡£¤½¤ì¤Ï¡¢¿·¤· ¤¤¥°¥é¥Õ¤¬»þ¤Ë¤Ï key ¤Î¾å¤ËÍ×ÁǤò¤«¤Ö¤»¤ÆÇÛÃÖ¤·¤¦¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£ set key opaque ¤Ï¡¢key ¤ò¤¹¤Ù¤Æ¤Î¥°¥é¥Õ¤ÎÉÁ²è¤¬½ª¤Ã¤¿¸å¤ËÀ¸À®¤µ¤»¤Þ ¤¹¡£¤³¤Î¾ì¹ç¡¢key ¤ÎÎΰè¤ÏÇØ·Ê¿§¤ÇÅɤê¤Ä¤Ö¤µ¤ì¤Æ key ¤Îµ­¹æ¤È¥¿¥¤¥È¥ë ¤¬ÉÁ¤«¤ì¤Þ¤¹¡£¤è¤Ã¤Æ¡¢key ¼«¿È¤Ï¤¤¤¯¤Ä¤«¤ÎÉÁ²èÍ×ÁǤòʤ¤¤±£¤·¤Æ¤·¤Þ¤¤ÆÀ ¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£set key noopaque ¤Ç¥Ç¥Õ¥©¥ë¥È¤ËÉüµ¢¤Ç¤­¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢ºÇ½é¤ÎÉÁ²è¤Î¥é¥Ù¥ë¤¬ÀâÌÀ¤Î°ìÈÖ¾å¤Ë¸½¤ï¤ì¡¢¤½¤ì¤Ë³¤¯¥é ¥Ù¥ë¤¬¤½¤Î²¼¤Ëʤó¤Ç¹Ô¤­¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó invert ¤Ï¡¢ºÇ½é¤Î¥é¥Ù¥ë¤òÀâ ÌÀ¤Î°ìÈÖ²¼¤ËÃÖ¤­¡¢¤½¤ì¤Ë³¤¯¥é¥Ù¥ë¤ò¤½¤Î¾å¤Ëʤ٤ƹԤ­¤Þ¤¹¡£¤³¤Î¥ª¥×¥· ¥ç¥ó¤Ï¡¢ÀâÌÀ¤Î¥é¥Ù¥ë¤Î½Ä¤ÎʤӤνçÈÖ¤ò¡¢ÀѤ߾夲·Á¼°¤Î¥Ò¥¹¥È¥°¥é¥à (histograms) ¤ÎÈ¢¤Î½çÈ֤˹ç¤ï¤»¤ë¤È¤­¤ËÊØÍø¤Ç¤·¤ç¤¦¡£

< height_increment> ¤Ï¡¢ÀâÌÀ¤ÎÈ¢¤Î¹â¤µ¤Ë²Ã¤¨¤¿¤ê¸º¤é¤·¤¿¤ê¤¹¤ë¹â¤µ (²¿ ʸ»úʬ¤«) ¤òɽ¤¹¿ôÃͤǤ¹¡£¤³¤ì¤Ï¼ç¤Ë¡¢ÀâÌÀ¤Î²ó¤ê¤ËÈ¢¤òÉÁ¤¯¾ì¹ç¤Ç¡¢ÀâÌÀ ¤ÎʤӤβó¤ê¤Î¶­³¦Àþ¤ò¤è¤êÂ礭¤¯¤·¤¿¤¤¾ì¹ç¤Î¤â¤Î¤Ç¤¹¡£

plot ¤ä splot ¤ÇÉÁ²è¤µ¤ì¤ëÁ´¤Æ¤Î¶ÊÀþ¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥ª¥×¥·¥ç¥ó autotitles ¤Ë½¾¤Ã¤ÆɽÂê (title) ¤¬¤Ä¤±¤é¤ì¤Þ¤¹¡£É½Âê¤Î¼«Æ°À¸À®¤Ï¡¢ noautotaitle ¤ÇÍÞÀ©¤Ç¤­¤Þ¤¹¤¬¤½¤Î¾ì¹ç¡¢(s)plot ... title ... ¤ÇÌÀ ¼¨Åª¤Ë»ØÄꤵ¤ì¤¿É½Âê¤Î¤ß¤¬ÉÁ¤«¤ì¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

¥³¥Þ¥ó¥É set key autotitle columnheader ¤Ï¡¢³ÆÆþÎϥǡ¼¥¿¤ÎÀèƬ¹Ô¤Î³Æ Îó¤Î¥¨¥ó¥È¥ê¤ò¥Æ¥­¥¹¥Èʸ»úÎó¤È²ò¼á¤·¡¢Âбþ¤¹¤ëÉÁ²è¥°¥é¥Õ¤Î¥¿¥¤¥È¥ë¤È¤· ¤Æ»ÈÍѤ·¤Þ¤¹¡£ÉÁ²è¤µ¤ì¤ëÎ̤¬¡¢Ê£¿ô¤ÎÎó¥Ç¡¼¥¿¤Î´Ø¿ô¤Ç¤¢¤ë¾ì¹ç¤Ï¡¢ gnuplot ¤Ï¤É¤ÎÎó¤ò¥¿¥¤¥È¥ë¤ÎÉÁ²è¤Ë»È¤¨¤Ð¤¤¤¤¤Î¤«¤ï¤«¤ê¤Þ¤»¤ó¤Î¤Ç¡¢¤½¤Î ¤è¤¦¤Ê¾ì¹ç¡¢plot ¥³¥Þ¥ó¥É¾å¤Ç¡¢Î㤨¤Ð°Ê²¼¤Î¤è¤¦¤ËÌÀ¼¨Åª¤Ë¥¿¥¤¥È¥ë¤ÎÎó¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£


     plot "datafile" using (($2+$3)/$4) title columnhead(3) with lines

Á´ÂΤËÅϤëɽÂê¤ÏÀâÌÀ¤Î¾å¤Ë¤Ä¤±¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹ (title "< text> ")¡£Ã± °ì°úÍÑÉä (') ¤ÈÆó½Å°úÍÑÉä (") ¤Î°ã¤¤¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼¤â»²¾È: syntax (24)¡£ ÀâÌÀ¤ÎɽÂê¤Î¹Ô·¤¨¤Ï¡¢¥°¥é¥Õ¤ÎɽÂê¤Î¹Ô·¤¨¤ÈƱ¤¸¤â¤Î¤¬»È¤ï¤ì¤Þ¤¹¡£

set key ¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢on, right, top, vertical, Right, noreverse, noinvert, samplen 4, spacing 1.25, title "", nobox ¤Ç¤¹¡£ÀâÌÀ¤ÎÏȤÎÀþ¼ï¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥°¥é¥ÕÉÁ²è¤Î³°ÏȤÈƱ¤¸¤â¤Î ¤¬»È¤ï¤ì¤Þ¤¹¡£set key default ¤È¤¹¤ë¤È¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤ËÌá¤ê¤Þ¤¹¡£

ÀâÌÀ¤Ï¡¢1 ¹Ô¤Ë 1 ¶ÊÀþʬ¤º¤Ä¤Î¿ô¹Ô¤Î¤Þ¤È¤Þ¤ê¤È¤·¤Æ½ñ¤«¤ì¤Þ¤¹¡£³Æ¹Ô¤Î±¦ ¦¤Ë¤Ï (reverse ¤ò»È¤Ã¤Æ¤¤¤ì¤Ðº¸Â¦¤Ë¤Ï) ¤½¤Î¶ÊÀþ¤ÈƱ¤¸¼ïÎà¤ÎľÀþ¤Î¥µ ¥ó¥×¥ë¤¬°ú¤«¤ì¡¢Â¾¤Î¦¤Ë¤Ï plot ¥³¥Þ¥ó¥É¤«¤éÆÀ¤é¤ì¤ëʸ»úÎó (title) ¤¬ÃÖ¤«¤ì¤Þ¤¹¡£¤³¤ì¤é¤Î¹Ô¤Ï¡¢²Í¶õ¤ÎľÀþ¤¬ÀâÌÀ¤Îº¸Â¦¤È±¦Â¦¤òʬ¤±¤ë¤«¤Î¤è ¤¦¤Ë¿âľ¤ËÀ°Î󤵤ì¤Þ¤¹¡£¥³¥Þ¥ó¥É set key ¤Ç»ØÄꤹ¤ëºÂɸ¤Ï¤³¤Î²Í¶õ¤Î Àþʬ¤Î¾å¤Îü¤ÎºÂɸ¤Ç¤¹¡£plot ¤Ç¤ÏľÀþ¤Î°ÌÃÖ¤ò»ØÄꤹ¤ë¤¿¤á¤Ë x ¤È y ¤À¤±¤¬»È¤ï¤ì¡¢splot ¤Ç¤Ï¡¢x, y, z ¤ÎÃÍÁ´¤Æ¤ò»È¤¤¡¢¥°¥é¥Õ¤ò 2 ¼¡¸µÌÌ ¤ØÅê±Æ¤¹¤ë¤Î¤ÈƱ¤¸ÊýË¡¤ò»È¤Ã¤Æ¡¢²Í¶õ¤ÎľÀþ¤Î 2 ¼¡¸µ²èÌ̤ǤΰÌÃÖ¤òÀ¸À® ¤·¤Þ¤¹¡£

TeX ¤ä¡¢À°·Á¾ðÊó¤¬Ê¸»úÎó¤ËËä¤á¹þ¤Þ¤ì¤ë½ÐÎϤò»È¤¦¾ì¹ç¤Ï¡¢gnuplot ¤ÏÀâ ÌÀ¤Î°ÌÃÖ¹ç¤ï¤»¤Î¤¿¤á¤Îʸ»úÎó¤ÎÉý¤òÀµ¤·¤¯É¾²Á¤¹¤ë¤³¤È¤·¤«¤Ç¤­¤Þ¤»¤ó¡£¤è ¤Ã¤ÆÀâÌÀ¤òº¸¤ËÃÖ¤¯¾ì¹ç¤Ï set key left Left reverse ¤È¤¤¤¦Áȹ礻¤ò»È ¤¦¤Î¤¬¤¤¤¤¤Ç¤·¤ç¤¦¡£

splot ¤ÇÅù¹âÀþ¤ò½ñ¤¯¾ì¹ç¡¢ÀâÌÀ¤Ë¤ÏÅù¹âÀþ¤Î¥é¥Ù¥ë¤âɽ¼¨¤µ¤ì¤Þ¤¹¡£ ¤³¤ì¤é¤Î¥é¥Ù¥ë¤ÎʤӶñ¹ç¤¬¤¦¤Þ¤¯¤¤¤«¤Ê¤¤¡¢¤Þ¤¿¤ÏÊ̤ʰÌÃ֤˾®¿ôÅÀ¤ò ÃÖ¤­¤¿¤¤¾ì¹ç¤Ï¤½¤Î¥é¥Ù¥ë¤Î½ñ¼°¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È:set clabel (82.9)¡£

Îã:

°Ê²¼¤Ï¥Ç¥Õ¥©¥ë¥È¤Î°ÌÃÖ¤ËÀâÌÀ¤òɽ¼¨¤·¤Þ¤¹:

     set key default

°Ê²¼¤ÏÀâÌÀ¤òɽ¼¨¤·¤Ê¤¯¤·¤Þ¤¹:

     unset key

°Ê²¼¤Ï¥Ç¥Õ¥©¥ë¥È¤Î (Âè°ì¤Î) ºÂɸ·Ï¤Ç¤Î (2,3.5,2) ¤Î°ÌÃÖ¤ËÀâÌÀ¤òɽ¼¨ ¤·¤Þ¤¹:

     set key at 2,3.5,2

°Ê²¼¤ÏÀâÌÀ¤ò¥°¥é¥Õ¤Î²¼¤Ëɽ¼¨¤·¤Þ¤¹:

     set key below

°Ê²¼¤ÏÀâÌÀ¤òº¸²¼³Ñ¤Ëɽ¼¨¤·¡¢¥Æ¥­¥¹¥È¤Ïº¸¤Ë¹Ô·¤¨¤Ç¡¢¥¿¥¤¥È¥ë¤ò¤Ä¤±¡¢Àþ¼ï 3 ¤Î³°ÏȤò½ñ¤­¤Þ¤¹:

     set key left bottom Left title 'Legend' box 3

82.30.1 ¥­¡¼¤ÎÇÛÃÖ (key placement)

ÇÛÃ֤λÅÁȤߤòÍý²ò¤¿¤á¤ÎºÇ¤â½ÅÍפʳµÇ°¤Ï¡¢¥°¥é¥ÕÎΰ衢¤¹¤Ê¤ï¤ÁÆ⤫³°¤« ¤È¤¤¤¦¤³¤È¤È¡¢¥°¥é¥ÕÎΰè¤Î¶­³¦¤È¤Î´Ö¤Î;Çò (margin) ¤ò¹Í¤¨¤ë¤³¤È¤Ç¤¹¡£ ¥°¥é¥ÕÎΰè¤Ë±è¤Ã¤Æ¡¢¥­¡¼¥ï¡¼¥É left/center/right (l/c/r) ¤È top/center/bottom (t/c/b) ¤Ï¡¢key ¤ò¤½¤ÎÎΰè¤ÎÆ⦤Τɤ³¤ËÃÖ¤¯¤«¤òÀ© ¸æ¤·¤Þ¤¹¡£

¥â¡¼¥É inside ¤Ç¤Ï¡¢key ¤Ï¥­¡¼¥ï¡¼¥É left (l), right (r), top (t), bottom (b), center (c) ¤Ë¤è¤Ã¤Æ°Ê²¼¤Î¿Þ¤Î¤è¤¦¤ËÉÁ²èÎΰè¤Î¶­³¦¤Ë¸þ¤«¤Ã¤Æ½ÐÎϤµ¤ì¤Þ¤¹:


    t/l   t/c   t/r


    c/l    c    c/r


    b/l   b/c   b/r

¥â¡¼¥É outside ¤Ç¤â¾å¤ÈƱÍͤ˼«Æ°Åª¤ËÇÛÃÖ¤µ¤ì¤Þ¤¹¤¬¡¢¥°¥é¥ÕÎΰè¤Î¶­ ³¦¤ËÂФ·¤Æ¡¢¤È¤¤¤¦¤è¤ê¤â¤à¤·¤í¸«¤¿ÌܤËÂФ·¤Æ¡¢¤È¤¤¤¦¤Ù¤­¤Ç¤·¤ç¤¦¡£¤¹¤Ê ¤ï¤Á¡¢¥°¥é¥Õ¤Î¶­³¦¤Ï¡¢¥°¥é¥ÕÎΰè¤Î³°¤Î key ¤Î¾ì½ê¤òºî¤ë¤¿¤á¤Ë¡¢Æâ¦¤Ë °ÜÆ°¤¹¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£¤·¤«¤·¡¢¤³¤ì¤Ï¾¤Î¥é¥Ù¥ë¤Î¼ÙËâ¤ò¤·¤Þ¤¹¤·¡¢¤â¤· ¤«¤·¤¿¤é½ÐÎϥǥХ¤¥¹¤Ë¤è¤Ã¤Æ¤Ï¥¨¥é¡¼¤ò°ú¤­µ¯¤³¤¹¤«¤â¤·¤ì¤Þ¤»¤ó¡£key ¤Î ½ÐÎϤ˹ç¤ï¤»¤Æ¤É¤ÎÉÁ²è¶­³¦¤¬°ÜÆ°¤¹¤ë¤«¤Ï¡¢¾å¤Ë½Ò¤Ù¤¿ key ¤Î°ÌÃÖ¡¢¤ª¤è ¤Ó½Å¤Í¾å¤²¤ÎÊý¸þ¤Ë°Í¸¤·¤Þ¤¹¡£4 Êý¸þ¤ÎÃ濴·¤¨¤Î¥ª¥×¥·¥ç¥ó (center) ¤Ë´Ø¤·¤Æ¤Ï¡¢¤É¤Î¶­³¦¤¬Æ°¤¯¤Î¤«¤Ë´Ø¤¹¤ë¤¢¤¤¤Þ¤¤¤µ¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢³Ñ¤Ø¤Î ½ÐÎϤΥª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤Æ¤Ï¡¢½Å¤Í¾å¤²Êý¸þ¤¬ vertical ¤Î¾ì¹ç¤Ïº¸¤Þ¤¿¤Ï ±¦¤Î¶­³¦¤¬¡¢horizontal ¤Î¾ì¹ç¤Ï¾å¤Þ¤¿¤Ï²¼¤Î¶­³¦¤¬¡¢¤½¤ì¤¾¤ìÆ⦤ËŬ Àڤ˰ÜÆ°¤·¤Þ¤¹¡£

;Çò (margin) ¤Î½ñ¤­Êý¤Ï¡¢½Å¤Í¾å¤²¤ÎÊý¸þ¤Ë¤«¤«¤ï¤Ê¤¤¼«Æ°Åª¤ÊÇÛÃÖ¤ò²Äǽ ¤Ë¤·¤Æ¤¤¤Þ¤¹¡£lmargin (lm), rmargin (rm), tmargin (tm), bmargin (bm) ¤Î¤¦¤Á¤Î°ì¤Ä¤ò¡¢Ì·½â¤·¤Ê¤¤ 1 Êý¸þ¤Î¥­¡¼¥ï¡¼¥É¤ÈÁȤ߹ç¤ï ¤»¤Æ»ÈÍѤ·¤¿¾ì¹ç¡¢°Ê²¼¤Î¿Þ¤Ë¼¨¤·¤¿¾ì½ê¤Ë key ¤¬ÇÛÃÖ¤µ¤ì¤Þ¤¹:


         l/tm  c/tm  r/tm


    t/lm                  t/rm


    c/lm                  c/rm


    b/lm                  b/rm


         l/bm  c/bm  r/bm

¥­¡¼¥ï¡¼¥É above ¤È over ¤Ï tmargin ¤ÈƱ¤¸°ÕÌ£¤Ç¤¹¡£°ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤È¤Î¸ß´¹À­¤Î¤¿¤á¤Ë¡¢above ¤È over ¤Ï l/c/r ¤ä½Å¤Í¾å¤²Êý¸þ¤Î¥­¡¼¥ï¡¼¥É¤Ê¤·¤Ç»ÈÍѤ¹¤ë¤È¡¢center ¤Ç horizontal ¤ò»È¤¤¤Þ¤¹¡£¥­¡¼¥ï ¡¼¥É below ¤È under ¤Ï bmargin ¤ÈƱ¤¸°ÕÌ£¤Ç¤¹¡£¸ß´¹À­¤Î¤¿¤á¤Ë¡¢ below ¤È under ¤Ï l/c/r ¤ä½Å¤Í¾å¤²Êý¸þ¤Î¥­¡¼¥ï¡¼¥É¤Ê¤·¤Ç»ÈÍѤ¹¤ë¤È center ¤Ç horizontal ¤ò»È¤¤¤Þ¤¹¡£¤µ¤é¤Ë¡¢outside ¤â¸ß´¹À­¤Î¤¿¤á ¤Ë t/b/c ¤ä½Å¤Í¾å¤²Êý¸þ¤Î¥­¡¼¥ï¡¼¥É¤¬¤Ê¤±¤ì¤Ð¡¢top, right, vertical (¤Ä¤Þ¤ê¾å¤Î t/rm ¤ÈƱ¤¸) ¤ò»ÈÍѤ·¤Þ¤¹¡£

ÀâÌÀ¤Î°ÌÃÖ (< position> ) ¤Ï¡¢°ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤ÈƱÍÍñ¤Ë x,y,z ¤ò»ØÄꤷ¤Æ¤â¤¤¤¤¤Ç¤¹¤¬¡¢¤½¤ÎºÇ½é¤Î¥µ¥ó¥×¥ë¹Ô¤ÎºÂɸ¤ÎºÂɽ·Ï¤òÁªÂò¤¹¤ë¤¿¤á¤Î 5¤Ä¤Î¥­¡¼¥ï¡¼¥É (first, second, graph, screen, character) ¤ò Ƭ¤Ë¤Ä¤±¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: coordinates (10)¡£< position> ¤¬Í¿¤¨¤é¤ì¤¿¾ì¹ç¤Î left, right, top, bottom, center ¤Î¸ú²Ì¤Ï¡¢ label ¥³¥Þ¥ó¥É¤ÇÇÛÃÖ¤µ¤ì¤ëʸ»úÎó¤Î¾ì¹ç¤ÈƱ¤¸¤è¤¦¤Ë´ð½à°ÌÃ֤ΰÌÃÖ¹ç¤ï¤» ¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢left ¤Ï key ¤¬ < position> ¤Î±¦¤ËÃÖ¤«¤ì¤Æº¸ ¹ç¤ï¤»¤Ç½ÐÎϤµ¤ì¤Þ¤¹¡£Â¾¤Î¾ì¹ç¤âƱÍͤǤ¹¡£

82.30.2 ¥­¡¼¤ÎËÞÎã (key samples)

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¥°¥é¥Õ¾å¤Î³ÆÉÁ²è¤Ï¥­¡¼Æâ¤Ë¤½¤ì¤¾¤ì¤ËÂбþ¤¹¤ë¥¨¥ó¥È¥ê¤ò À¸À®¤·¤Þ¤¹¡£¤³¤Î¥¨¥ó¥È¥ê¤Ë¤Ï¡¢ÉÁ²è¥¿¥¤¥È¥ë¤È¡¢¤½¤ÎÉÁ²è¤Ç»È¤ï¤ì¤ë¤Î¤ÈƱ ¤¸¿§¡¢Æ±¤¸Åɤê¤Ä¤Ö¤·Â°À­¤Ë¤è¤ëÀþ/ÅÀ/È¢ ¤Î¥µ¥ó¥×¥ë¤¬Æþ¤ê¤Þ¤¹¡£font ¤È textcolor °À­¤Ï¡¢¥­¡¼Æâ¤Ë¸½¤ï¤ì¤ë¸Ä¡¹¤ÎÉÁ²è¥¿¥¤¥È¥ë¤Î¸«¤¿ÌܤòÀ©¸æ¤·¤Þ ¤¹¡£textcolor ¤ò "variable" ¤Ë¥»¥Ã¥È¤¹¤ë¤È¡¢¥­¡¼¤Î³Æ¥¨¥ó¥È¥ê¤Îʸ»úÎó¤Ï¡¢ ÉÁ²è¥°¥é¥Õ¤ÎÀþ¤äÅɤê¤Ä¤Ö¤·¿§¤ÈƱ¤¸¿§¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤Ï¡¢°ÊÁ°¤Î¤¢¤ë»þ´ü¤Î gnuplot ¤Î¥Ç¥Õ¥©¥ë¥È¤ÎµóÆ°¤Ç¤·¤¿¡£

¥°¥é¥Õ¶ÊÀþ¤Î¥µ¥ó¥×¥ë¤ÎÀþʬ¤ÎŤµ¤Ï samplen ¤Ç»ØÄê¤Ç¤­¤Þ¤¹¡£¤½¤ÎŤµ ¤ÏÌÜÀ¹¤ê¤ÎŤµ¤È¡¢< sample_length> *(ʸ»úÉý) ¤ÎϤȤ·¤Æ·×»»¤µ¤ì¤Þ¤¹¡£ sapmlen ¤Ï¡¢¥°¥é¥Õ¾å¤ÎÅÀ¤Î¥µ¥ó¥×¥ë¤Î°ÌÃ֤ˤâ (¤â¤·¥µ¥ó¥×¥ëÀþʬ¼«¿È¤¬ ½ñ¤«¤ì¤Ê¤¯¤Æ¤â) ±Æ¶Á¤òÍ¿¤¨¤Æ¤¤¤Þ¤¹¡£¤½¤ì¤Ï¡¢ÅÀ¤Îµ­¹æ¤Ï¥µ¥ó¥×¥ëÀþʬ¤ÎÃæ ±û¤Ë½ñ¤«¤ì¤ë¤¿¤á¤Ç¤¹¡£

¹Ô´Ö¤Î¿âľ¥¹¥Ú¡¼¥¹¤Ï¡¢spacing ¤Ç»ØÄê¤Ç¤­¤Þ¤¹¡£¤½¤ÎÉý¤Ï¡¢ÅÀ¤Î¥µ¥¤¥º (pointsize) ¤È¿âľ¤ÊÌÜÀ¹¤ê¤Î¥µ¥¤¥º¤È < vertical_spacing> ¤ÎÀѤˤʤê¤Þ¤¹¡£ ¤³¤Î¿âľ¥¹¥Ú¡¼¥¹¤Ï¡¢Ê¸»ú¤Î¹â¤µ¤è¤ê¤â¾®¤µ¤¯¤Ï¤Ê¤é¤Ê¤¤¤³¤È¤¬Êݾڤµ¤ì¤Æ¤¤ ¤Þ¤¹¡£

< width_increment> ¤Ï¡¢Ê¸»úÎó¤ÎŤµ¤Ë²Ã¤¨¤¿¤ê¸º¤é¤·¤¿¤ê¤¹¤ëÉý (²¿Ê¸»úʬ ¤«) ¤òɽ¤¹¿ôÃͤǤ¹¡£¤³¤ì¤Ï¡¢ÀâÌÀ¤Ë³°ÏȤò½ñ¤­¡¢Ê¸»úÎó¤ËÀ©¸æʸ»ú¤ò»È¤¦¾ì ¹ç¤Ë¤À¤±Í­ÍѤǤ·¤ç¤¦¡£gnuplot ¤Ï³°ÏȤÎÉý¤ò·×»»¤¹¤ë¤È¤­¤Ï¡¢¥é¥Ù¥ëʸ»ú Îó¤Îʸ»ú¿ô¤òñ½ã¤Ë¿ô¤¨¤ë¤À¤±¤Ê¤Î¤Ç¡¢¤½¤ì¤ò½¤Àµ¤¹¤ë¤Î¤Ë»È¤¨¤Þ¤¹¡£

82.31 ¥é¥Ù¥ë (label)

set label ¥³¥Þ¥ó¥É¤ò»È¤¦¤³¤È¤Ë¤è¤Ã¤ÆǤ°Õ¤Î¸«½Ð¤· (label) ¤ò¥°¥é¥ÕÃæ ¤Ëɽ¼¨¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

½ñ¼°:

     set label {<tag>} {"<label text>"} {at <position>}
               {left | center | right}
               {norotate | rotate {by <degrees>}}
               {font "<name>{,<size>}"}
               {noenhanced}
               {front | back}
               {textcolor <colorspec>}
               {point <pointstyle> | nopoint}
               {offset <offset>}
     unset label {<tag>}
     show label

°ÌÃÖ (< position> ) ¤Ï x,y ¤« x,y,z ¤Î¤É¤Á¤é¤«¤Ç»ØÄꤷ¡¢ºÂɸ·Ï¤òÁªÂò¤¹¤ë ¤Ë¤Ï¤½¤ÎºÂɸ¤ÎÁ°¤Ë first, second, graph, screen, character ¤ò¤Ä¤±¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: coordinates (10)¡£

¥¿¥° (< tag> ) ¤Ï¸«½Ð¤·¤ò¼±Ê̤¹¤ë¤¿¤á¤ÎÀ°¿ôÃͤǤ¹¡£¥¿¥°¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿ ¾ì¹ç̤»ÈÍѤΤâ¤Î¤ÇºÇ¤â¾®¤µ¤¤Ãͤ¬¼«Æ°Åª¤Ë³ä¤êÅö¤Æ¤é¤ì¤Þ¤¹¡£¸½ºß¤Î¸«½Ð¤· ¤òÊѹ¹¤¹¤ë¤È¤­¤Ï¤½¤Î¥¿¥°¤ÈÊѹ¹¤·¤¿¤¤¹àÌܤò»ØÄꤷ¤Æ set label ¥³¥Þ¥ó ¥É¤ò»È¤¤¤Þ¤¹¡£

< label text> ¤Ïʸ»úÎóÄê¿ô¤Ç¤â¹½¤¤¤Þ¤»¤ó¤·¡¢Ê¸»úÎóÊÑ¿ô¡¢¤Þ¤¿¤Ïʸ»úÎó¤Î Ãͤò»ý¤Ä¼°¤Ç¤â¹½¤¤¤Þ¤»¤ó¡£°Ê²¼»²¾È: strings (22), sprintf (14.1), gprintf (82.23.1)¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢»ØÄꤷ¤¿ÅÀ x,y,z ¤Ë¸«½Ð¤·¤Îʸ¾Ï¤Îº¸Ã¼¤¬Íè¤ë¤è¤¦¤ËÇÛÃÖ ¤µ¤ì¤Þ¤¹¡£x,y,z ¤ò¸«½Ð¤·¤Î¤É¤³¤Ë·¤¨¤ë¤«¤òÊѹ¹¤¹¤ë¤Ë¤ÏÊÑ¿ô < justification> ¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤Ë¤Ï¡¢left, right, center ¤Î ¤¤¤º¤ì¤«¤¬»ØÄê¤Ç¤­¡¢¤½¤ì¤¾¤ìʸ¾Ï¤Îº¸¡¢±¦¡¢¿¿Ã椬»ØÄꤷ¤¿ÅÀ¤ËÍè¤ë¤è¤¦ ¤ËÇÛÃÖ¤µ¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ÉÁ²èÈϰϤγ°¤Ë¤Ï¤ß½Ð¤ë¤è¤¦¤Ê»ØÄê¤âµö¤µ¤ì¤Þ ¤¹¤¬¡¢ºÂɸ¼´¤Î¸«½Ð¤·¤ä¾¤Îʸ»úÎó¤È½Å¤Ê¤ë¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£

rotate ¤ò»ØÄꤹ¤ë¤È¥é¥Ù¥ë¤Ï½Ä½ñ¤­¤Ë¤Ê¤ê¤Þ¤¹ (¤â¤Á¤í¤ó½ÐÎϥɥ饤¥Ð¤¬ Âбþ¤·¤Æ¤¤¤ì¤Ð¡¢¤Ç¤¹¤¬)¡£rotate by < degrees> ¤¬Í¿¤¨¤é¤ì¤¿¾ì¹ç¤Ï¡¢¤½ ¤ì¤ËŬ¹ç¤·¤Æ¤¤¤ë½ÐÎϥɥ饤¥Ð¤Ï»ØÄꤵ¤ì¤¿³ÑÅÙ¤Çʸ»úÎó¤ò½ñ¤³¤¦¤È¤·¤Þ¤¹¤¬ ¤½¤¦¤Ç¤Ê¤¤½ÐÎÏ·Á¼°¤Ç¤Ï¡¢¿âľ¤Êʸ»úÎó¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£

¥Õ¥©¥ó¥È¤È¤½¤Î¥µ¥¤¥º¤Ï¡¢½ÐÎÏ·Á¼°¤¬¥Õ¥©¥ó¥È¤ÎÀßÄê¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ì¤Ð font "< name> {,< size> }" ¤ÇÌÀ¼¨Åª¤ËÁªÂò¤Ç¤­¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤½ÐÎÏ·Á¼°¤Ç ¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥Õ¥©¥ó¥È¤¬»È¤ï¤ì¤Þ¤¹¡£

Ä̾ï¤Ï¡¢¸½ºß¤Î½ÐÎÏ·Á¼°¤¬¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ì¤Ð¡¢¥é¥Ù¥ëʸ»úÎó¤ÎÁ´¤Æ¤Îʸ»úÎó ¤Ë³Èĥʸ»úÎó½èÍý¥â¡¼¥É (enhanced text mode) ¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£ noenhanced ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ç¡¢ÆÃÄê¤Î¥é¥Ù¥ë¤ò³Èĥʸ»úÎó½èÍý¤«¤é³°¤¹¤³ ¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥é¥Ù¥ë¤¬Î㤨¤Ð¥¢¥ó¥À¡¼¥¹¥³¥¢ (_) ¤ò´Þ¤ó¤Ç¤¤¤ë¾ì ¹ç¤Ê¤É¤ËÍ­ÍѤǤ¹¡£°Ê²¼»²¾È: enhanced text (12)¡£

front ¤¬Í¿¤¨¤é¤ì¤ë¤È¡¢¸«½Ð¤·¤Ï¥Ç¡¼¥¿¤Î¥°¥é¥Õ¤Î¾å¤Ë½ñ¤«¤ì¤Þ¤¹¡£back ¤¬Í¿¤¨¤é¤ì¤ë¤È (¥Ç¥Õ¥©¥ë¥È)¡¢¸«½Ð¤·¤Ï¥°¥é¥Õ¤Î²¼¤Ë½ñ¤«¤ì¤Þ¤¹¡£front ¤ò»È¤¦¤³¤È¤Ç¡¢Ì©¤Ê¥Ç¡¼¥¿¤Ë¤è¤Ã¤Æ¸«½Ð¤·¤¬±£¤µ¤ì¤Æ¤·¤Þ¤¦¤³¤È¤òÈò¤±¤ë¤³¤È ¤¬½ÐÍè¤Þ¤¹¡£

textcolor < colorspec> ¤Ï¸«½Ð¤·Ê¸»úÎó¤Î¿§¤òÊѹ¹¤·¤Þ¤¹¡£< colorspec> ¤Ï Àþ¼ï¡¢rgb ¿§¡¢¤Þ¤¿¤Ï¥Ñ¥ì¥Ã¥È¤Ø¤Î³äÅö¤Î¤¤¤º¤ì¤«¤¬»ØÄê¤Ç¤­¤Þ¤¹¡£ °Ê²¼»²¾È: colorspec (17.1), palette (82.54)¡£textcolor ¤Ï¡¢tc ¤È¾Êά²Äǽ¤Ç¤¹¡£

  `tc default` ¤Ï¡¢Ê¸»ú¿§¤ò¥Ç¥Õ¥©¥ë¥È¤Ë¤·¤Þ¤¹¡£
  `tc lt <n>` ¤Ï¡¢Ê¸»ú¿§¤òÀþ¼ï <n> (line type)¤ÈƱ¤¸¤â¤Î¤Ë¤·¤Þ¤¹¡£
  `tc ls <n>` ¤Ï¡¢Ê¸»ú¿§¤ò line style <n> ¤ÈƱ¤¸¤â¤Î¤Ë¤·¤Þ¤¹¡£
  `tc palette z` ¤Ï¡¢¸«½Ð¤·¤Î z ¤Î°ÌÃÖ¤ËÂбþ¤·¤¿¥Ñ¥ì¥Ã¥È¿§¤Ë¤Ê¤ê¤Þ¤¹¡£
  `tc palette cb <val>` ¤Ï¡¢¿§¸«ËÜ (colorbar) ¤Î <val> ¤Î¿§¤Ë¤Ê¤ê¤Þ¤¹¡£
  `tc palette fraction <val>` (0<=val<=1) ¤Ï¡¢[0:1] ¤«¤é `palette` ¤Î
      ³¥¿§³¬Ä´/¥«¥é¡¼¤Ø¤Î¼ÌÁü¤ËÂбþ¤·¤¿¿§¤Ë¤Ê¤ê¤Þ¤¹¡£
  `tc rgb "#RRGGBB"` ¤Ï¡¢Ç¤°Õ¤Î 24-bit RGB ¿§¤òÁªÂò¤·¤Þ¤¹¡£

< pointstyle> ¤¬¥­¡¼¥ï¡¼¥É lt, pt, ps ¤È¤È¤â¤ËÍ¿¤¨¤é¤ì¤ë¤È (°Ê²¼»²¾È: style (72.11))¡¢Í¿¤¨¤é¤ì¤¿¥¹¥¿¥¤¥ë¤È¡¢Í¿¤¨¤é¤ì¤¿Àþ¼ï¤Î¿§¤Ç¸«½Ð¤·°ÌÃÖ¤Ë ÅÀ (point) ¤¬ÉÁ²è¤µ¤ì¡¢¸«½Ð¤·Ê¸»úÎó¤Ï¾¯¤·°ÜÆ°¤µ¤ì¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó ¤Ï mouse ³ÈÄ¥¤µ¤ì¤¿½ÐÎÏ·Á¼°¤Ç¤Î¥é¥Ù¥ë¤ÎÇÛÃ֤ˡ¢¥Ç¥Õ¥©¥ë¥È¤Ç»ÈÍѤµ¤ì ¤Æ¤¤¤Þ¤¹¡£¸«½Ð¤·Ê¸»úÎó¶á¤¯¤ÎÅÀ¤ÎÉÁ²èµ¡Ç½¤ò off (¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È) ¤Ë¤¹ ¤ë¤Ë¤Ï¡¢nopoint ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

¤½¤Î°ÜÆ°¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢< pointstyle> ¤¬Í¿¤¨¤é¤ì¤ì¤Ð pointsize ¤Î ñ°Ì¤Ç 1,1 ¤Ç¡¢< pointstyle> ¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð 0,0 ¤Ç¤¹¡£°ÜÆ°¤Ï¡¢ ÄɲäΠoffset < offset> ¤Ç¤âÀ©¸æ¤Ç¤­¤Þ¤¹¡£¤³¤³¤Ç¡¢< offset> ¤Ï x,y ¤« ¤Þ¤¿¤Ï x,y,z ¤Î·Á¼°¤Ç¤¹¤¬¡¢¤½¤ì¤ËºÂɸ·Ï¤òÁªÂò¤·¤Æ¡¢¤½¤ÎÁ°¤Ë first, second, graph, screen, character ¤Î¤¤¤º¤ì¤«¤ò¤Ä¤±¤ë¤³¤È¤â¤Ç¤­ ¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: coordinates (10)¡£

¤â¤·°ì¤Ä (¤¢¤ë¤¤¤Ï¤½¤ì°Ê¾å¤Î) ¼´¤¬»þ´Ö¼´¤Ç¤¢¤ë¾ì¹ç¡¢ºÂɸ¤Ï timefmt ¤Î½ñ¼°¤Ë¤·¤¿¤¬¤Ã¤Æ°úÍÑÉä¤Ç°Ï¤Þ¤ì¤¿Ê¸»úÎó¤ÇÍ¿¤¨¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£°Ê²¼»²¾È: set xdata (82.91), set timefmt (82.75)¡£

EEPIC, Imagen, LaTeX, TPIC ¤Ç½ÐÎϤ¹¤ë¾ì¹ç¤Ï¡¢ \ \ ¤ò»È¤¦¤³¤È¤Ç¸«½Ð¤·¤ò ²þ¹Ô¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¥é¥Ù¥ë¤ÎºÂɸ¤Èʸ»úÎó¤â¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤«¤éÆɤ߹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹ (°Ê²¼»²¾È: labels (42))¡£

Îã:

(1,2) ¤Î°ÌÃÖ¤Ë "y=x" ¤È½ñ¤¯¾ì¹ç:

     set label "y=x" at 1,2

Symbol ¥Õ¥©¥ó¥È¤Î¥µ¥¤¥º 24 ¤Î "¥·¥°¥Þ" (¦²) ¤ò¥°¥é¥Õ¤Î¿¿Ãæ¤Ë½ñ¤¯¾ì¹ç:

     set label "S" at graph 0.5,0.5 center font "Symbol,24"

¸«½Ð¤· "y=x^2" ¤Î±¦Ã¼¤¬ (2,3,4) ¤ËÍè¤ë¤è¤¦¤Ë¤·¡¢¥¿¥°ÈÖ¹æ¤È¤·¤Æ 3 ¤ò»È¤¦ ¾ì¹ç:

     set label 3 "y=x^2" at 2,3,4 right

¤½¤Î¸«½Ð¤·¤òÃæ±û·¤¨¤Ë¤¹¤ë¾ì¹ç:

     set label 3 center

¥¿¥°ÈÖ¹æ 2 ¤Î¸«½Ð¤·¤òºï½ü¤¹¤ë¾ì¹ç:

     unset label 2

Á´¤Æ¤Î¸«½Ð¤·¤òºï½ü¤¹¤ë¾ì¹ç:

     unset label

Á´¤Æ¤Î¸«½Ð¤·¤ò¥¿¥°ÈÖ¹æ½ç¤Ëɽ¼¨¤¹¤ë¾ì¹ç:

     show label

x ¼´¤¬»þ´Ö¼´¤Ç¤¢¤ë¥°¥é¥Õ¤Ë¸«½Ð¤·¤òÀßÄꤹ¤ëÎã:

     set timefmt "%d/%m/%y,%H:%M"
     set label "Harvest" at "25/8/93",1

¥Ç¡¼¥¿¤È¡¢¿·¤¿¤ËÅö¤Æ¤Ï¤á¤é¤ì¤¿¥Ñ¥é¥á¡¼¥¿¤Ë¤è¤ëÅö¤Æ¤Ï¤á´Ø¿ô¤òÉÁ²è¤·¤¿¤¤ ¾ì¹ç¡¢fit ¤Î¸å¤Ç¤«¤Ä plot ¤ÎÁ°¤Ë°Ê²¼¤ò¼Â¹Ô¤·¤Þ¤¹:

     set label sprintf("a = %3.5g",par_a) at 30,15
     bfit = gprintf("b = %s*10^%S",par_b)
     set label bfit at 30,20

Åö¤Æ¤Ï¤á¤é¤ì¤ë¥Ñ¥é¥á¡¼¥¿¤Î¤Ä¤¤¤¿´Ø¿ô¤ÎÄêµÁ¼°¤òɽ¼¨¤·¤¿¤¤¾ì¹ç:

     f(x)=a+b*x
     fit f(x) 'datafile' via a,b
     set label GPFUN_f at graph .05,.95
     set label sprintf("a = %g", a) at graph .05,.90
     set label sprintf("b = %g", b) at graph .05,.85

¸«½Ð¤·Ê¸»úÎó¤ò¾®¤µ¤¤ÅÀ¤«¤é¾¯¤·¤À¤±°ÜÆ°¤¹¤ë¾ì¹ç:

     set label 'origin' at 0,0 point lt 1 pt 2 ps 3 offset 1,-1

pm3d ¤ò»È¤Ã¤¿ 3 ¼¡¸µ¤Î¥«¥é¡¼¶ÊÌ̾å¤Î¤¢¤ëÅÀ¤Î°ÌÃ֤ˡ¢¤½¤Î z ¤ÎÃÍ (¤³¤Î ¾ì¹ç 5.5) ¤ËÂбþ¤·¤¿¿§¤ò¸«½Ð¤·Ê¸»úÎó¤Ë¤Ä¤±¤ë¾ì¹ç:

     set label 'text' at 0,0,5.5 tc palette z

82.32 Àþ¼ï (linetype)

¥³¥Þ¥ó¥É set linetype ¤Ï³Æ¼ïÉÁ²è¤Ë»ÈÍѤµ¤ì¤ë´ðËÜŪ¤ÊÀþ¼ï (linetype) ¤òºÆÄêµÁ¤¹¤ë¤³¤È¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£¤³¤Î¥³¥Þ¥ó¥É¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢ "set style line" ¤Î¤â¤Î¤ÈÁ´¤¯Æ±¤¸¤Ç¤¹¡£¥é¥¤¥ó¥¹¥¿¥¤¥ë¤È°ã¤¦¤È¤³¤í¤Ï¡¢ set linetype ¤Ë¤è¤ëºÆÄêµÁ¤Ï±Ê³Ū¤Ê¤³¤È¤Ç¡¢¤³¤ì¤Ï reset ¤Î±Æ¶Á¤ò¼õ ¤±¤Þ¤»¤ó¡£

Î㤨¤Ð¡¢Àþ¼ï¤Î 1 ¤È 2 ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤ÏÀÖ¤ÈÎФǤ¹¡£¤½¤ì¤ò°Ê²¼¤Î¤è¤¦¤ËºÆÄêµÁ¤·¤Þ¤¹:


     set linetype 1 lw 2 lc rgb "blue" pointtype 6
     set linetype 2 lw 2 lc rgb "forest-green" pointtype 8

¤¹¤ë¤È lt 1 ¤ò»ÈÍѤ·¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¤â¤Î¤¬¡¢ºÙ¤¤ÀÖÀþ (lt 1 ¤Î°ÊÁ°¤Î¥Ç¥Õ¥©¥ë¥È) ¤«ÂÀ¤¤ÀÄÀþ¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ÎÀ­¼Á¤Ï¡¢lt 1 ¤Ë´ð¤Å¤¤¤Æºî¤é¤ì¤¿°ì»þ Ū¤Ê¥é¥¤¥ó¥¹¥¿¥¤¥ë¤ÎÄêµÁ¤Î¤è¤¦¤Ê¤â¤Î¤â´Þ¤ó¤Ç¤¤¤Þ¤¹¡£

Ãí°Õ: ¤³¤Î¥³¥Þ¥ó¥É¤Ï gnuplot ¥Ð¡¼¥¸¥ç¥ó 4.6 ¤Ç¿·¤¿¤ËƳÆþ¤µ¤ì¤¿¤â¤Î¤Ç¡¢ ¥Ð¡¼¥¸¥ç¥ó 4.2 ¤Î¤¢¤¤¤Þ¤¤¤Ê¥³¥Þ¥ó¥É "set style increment user" ¤ËÃÖ¤­ ´¹¤ï¤ë¤â¤Î¤Ç¤¹¡£¸Å¤¤¥³¥Þ¥ó¥É¤Ï¸½ºß¤ÏÈó¿ä¾©¤Ç¤¹¡£

¤³¤Î»ÅÁȤߤϡ¢gnuplot ¤Ç»ÈÍѤ¹¤ëÀþ¼ïÎó¤ËÂФ¹¤ë¸Ä¿ÍŪ¤Ê¹¥¤ß¤òÀßÄꤹ¤ë¤Î ¤Ë¤â»È¤¨¤Þ¤¹¡£¤½¤ì¤ò¹Ô¤¦¤Ë¤Ï¡¢¼Â¹Ô»þ½é´ü²½¥Õ¥¡¥¤¥ë ~ /.gnuplot ¤Ë¡¢Î㤨 ¤Ð°Ê²¼¤Î¤è¤¦¤Ê¤½¤ìÍѤΥ³¥Þ¥ó¥ÉÎó¤òÄɲ乤뤳¤È¤ò¤ª´«¤á¤·¤Þ¤¹:


     if ((GPVAL_VERSION < 4.5) \
     ||  (!strstrt(GPVAL_COMPILE_OPTIONS,"+USER_LINETYPES"))) \
         exit
     set linetype 1 lc rgb "dark-violet" lw 2 pt 0
     set linetype 2 lc rgb "sea-green"   lw 2 pt 7
     set linetype 3 lc rgb "cyan"        lw 2 pt 6 pi -1
     set linetype 4 lc rgb "dark-red"    lw 2 pt 5 pi -1
     set linetype 5 lc rgb "blue"        lw 2 pt 8
     set linetype 6 lc rgb "dark-orange" lw 2 pt 3
     set linetype 7 lc rgb "black"       lw 2 pt 11
     set linetype 8 lc rgb "goldenrod"   lw 2
     set linetype cycle 8

¤³¤¦¤¹¤ë¤È¡¢¤¢¤Ê¤¿¤¬ gnuplot ¤ò¼Â¹Ô¤¹¤ëÅÙ¤ËÀþ¼ï¤Ï¤³¤ì¤é¤ÎÃͤ˽é´ü²½¤µ ¤ì¤Þ¤¹¡£Àþ¼ï¤Ï¤¢¤Ê¤¿¤¬¹¥¤à¿ô¤À¤±½é´ü²½¤Ç¤­¤Þ¤¹¡£ºÆÄêµÁ¤·¤Ê¤¤¾ì¹ç¤Ï¡¢¤½ ¤ì¤Ï¥Ç¥Õ¥©¥ë¥È¤Î°À­¤ò»ý¤Á³¤±¤Þ¤¹¡£Î㤨¤ÐÀþ¼ï 3 ¤òºÆÄêµÁ¤«¤é³°¤»¤Ð¡¢ ¤½¤ì¤ÏÀÄ¤Ç pt 3, lw 1 ¤È¤Ê¤ê¤Þ¤¹¡£¤Ê¤ª¡¢¥µ¥ó¥×¥ë¥¹¥¯¥ê¥×¥È¤ÎºÇ½é¤Î 2,3 ¤Î¹Ô¤Ï¡¢¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤Î gnuplot ¤Ç¤Ï¥¹¥­¥Ã¥×¤µ¤»¤ë¤¿¤á¤ÎÊݸ±¤Ç¤¹¡£

ƱÍͤΥ¹¥¯¥ê¥×¥È¥Õ¥¡¥¤¥ë¤Ç¡¢¥Æ¡¼¥Þ¥Ù¡¼¥¹¤Î¿§ÁªÂò¤ÎÄêµÁ¤ò¹Ô¤Ã¤¿¤ê¡¢ÆÃÄê ¤ÎÉÁ²è¥¿¥¤¥×¡¢¤¢¤ë¤¤¤ÏÆÃÄê¤Î½ÐÎÏ·Á¼°ÍѤ˿§¤ò¥«¥¹¥¿¥Þ¥¤¥º¤·¤¿¤ê¤¹¤ë¤³¤È ¤â²Äǽ¤Ç¤¹¡£

¥³¥Þ¥ó¥É set linetype cycle 8 ¤Ï¡¢Â礭¤ÊÈÖ¹æ¤ÎÀþ¼ï¤ËÂФ·¤Æ¤Ï¿§¤äÀþÉý ¤Ë´Ø¤¹¤ë¤³¤ì¤é¤ÎÄêµÁ¤òºÆÍøÍѤ¹¤ë¤³¤È¤ò gnuplot ¤ËÅÁ¤¨¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢ Àþ¼ï (linetype) 9-16, 17-24 Åù¤ËÂФ·¤Æ¤Ï¡¢¤³¤ì¤ÈƱ¤¸¿§¡¢Éý¤ÎÎó¤ò»ÈÍѤ· ¤Þ¤¹¡£¤¿¤À¤·¡¢ÅÀ¤Î°À­ (pointtype, pointsize, pointinterval) ¤Ï¡¢¤³¤Î ¥³¥Þ¥ó¥É¤Î±Æ¶Á¤Ï¼õ¤±¤Þ¤»¤ó¡£unset linetype cycle ¤Ï¤³¤Îµ¡Ç½¤ò̵¸ú¤Ë ¤·¤Þ¤¹¡£Â礭¤ÊÀþ¼ïÈÖ¹æ¤ÎÀþ¤Î°À­¤òÌÀ¼¨Åª¤ËÄêµÁ¤·¤¿¾ì¹ç¤Ï¡¢¤½¤ì¤Ï¾®¤µ¤¤ ÈÖ¹æ¤ÎÀþ¼ï¤Î°À­¤ÎºÆÍøÍѤè¤ê¤âÍ¥À褵¤ì¤Þ¤¹¡£

82.33 Lmargin

¥³¥Þ¥ó¥É set lmargin ¤Ïº¸¤Î;Çò¤Î¥µ¥¤¥º¤ò¥»¥Ã¥È¤·¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set margin (82.39)¡£

82.34 Loadpath

loadpath ¤ÎÀßÄê¤Ï¡¢call, load, plot, splot ¥³¥Þ¥ó¥É¤Î¥Ç¡¼¥¿ ¥Õ¥¡¥¤¥ë¡¢¥³¥Þ¥ó¥É¥Õ¥¡¥¤¥ë¤Î¸¡º÷¥Ñ¥¹¤òÄɲÃÄêµÁ¤·¤Þ¤¹¡£¥Õ¥¡¥¤¥ë¤¬¸½ºß¤Î ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¸«¤Ä¤«¤é¤Ê¤«¤Ã¤¿¾ì¹ç¡¢loadpath ¤Î¥Ç¥£¥ì¥¯¥È¥ê¤¬¸¡º÷¤µ ¤ì¤Þ¤¹¡£

½ñ¼°:

     set loadpath {"pathlist1" {"pathlist2"...}}
     show loadpath

¥Ñ¥¹Ì¾¤Ïñ°ì¤Î¥Ç¥£¥ì¥¯¥È¥ê̾¡¢¤Þ¤¿¤ÏÊ£¿ô¤Î¥Ñ¥¹Ì¾¤Î¥ê¥¹¥È¤È¤·¤ÆÆþÎϤ·¤Þ ¤¹¡£Ê£¿ô¤Î¥Ñ¥¹¤«¤é¤Ê¤ë¥Ñ¥¹¥ê¥¹¥È¤Ï OS ¸ÇÍ­¤Î¥Ñ¥¹¶èÀڤꡢÎ㤨¤Ð Unix ¤Ç ¤Ï¥³¥í¥ó (':'), MS-DOS, Windows, OS/2 ¤Ç¤Ï¥»¥ß¥³¥í¥ó (';') Åù¤Ç¶èÀÚ¤ê ¤Þ¤¹¡£show loadpath, save, save set ¥³¥Þ¥ó¥É¤Ï¡¢OS ¸ÇÍ­¤Î¥Ñ¥¹¶è ÀÚ¤ê¤ò¥¹¥Ú¡¼¥¹ (' ') ¤ÇÃÖ¤­´¹¤¨¤Þ¤¹¡£

´Ä¶­ÊÑ¿ô GNUPLOT_LIB ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤ÎÆâÍÆ¤Ï loadpath ¤ËÄÉ ²Ã¤µ¤ì¤Þ¤¹¤¬¡¢show loadpath ¤Ï¡¢set loadpath ¤È GNUPLOT_LIB ¤ÎÃͤò ÊÌ¡¹¤Ëɽ¼¨¤·¤Þ¤¹¤·¡¢save, save set ¥³¥Þ¥ó¥É¤Ï¡¢GNUPLOT_LIB ¤ÎÃͤΠÊý¤Ï̵»ë¤·¤Þ¤¹¡£

82.35 Locale

locale ¤ÎÀßÄê¤Ï {x,y,z}{d,m}tics ¤¬½ñ¤¯ÆüÉդθÀ¸ì¤ò·èÄꤷ¤Þ¤¹¡£

½ñ¼°:

     set locale {"<locale>"}

< locale> ¤Ë¤Ï¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿¥·¥¹¥Æ¥à¤Ç»È¤¦¤³¤È¤Î½ÐÍè¤ëǤ°Õ¤Î¸À¸ì¤ò »ØÄê¤Ç¤­¤Þ¤¹¡£²Äǽ¤Ê¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤Æ¤Ï¥·¥¹¥Æ¥à¤Î¥É¥­¥å¥á¥ó¥È¤ò»²¾È¤· ¤Æ¤¯¤À¤µ¤¤¡£¥³¥Þ¥ó¥É set locale "" ¤Ï¡¢´Ä¶­ÊÑ¿ô LC_TIME, LC_ALL, ¤Þ ¤¿¤Ï LANG ¤«¤é¥í¥«¡¼¥ë¤ÎÃͤò·èÄꤷ¤è¤¦¤È¤·¤Þ¤¹¡£

¾®¿ôÅÀ¤Ë´Ø¤¹¤ë locale ¤òÊѹ¹¤·¤¿¤¤¾ì¹ç¤Ï¡¢°Ê²¼»²¾È: set decimalsign (82.17)¡£ ʸ»ú¥¨¥ó¥³¡¼¥É¤ò¸½ºß¤Î¥í¥«¡¼¥ë¤Î¤â¤Î¤ËÊѹ¹¤·¤¿¤¤¾ì¹ç¤Ï¡¢°Ê²¼»²¾È:set encoding (82.20)¡£

82.36 Logscale

½ñ¼°:
     set logscale <axes> {<base>}
     unset logscale <axes>
     show logscale

¤³¤³¤Ç¡¢< axes> (¼´) ¤Ï¡¢x, x2, y, y2, z, cb, r ¤ÎǤ°Õ¤Î ½ç½ø¤ÎÁȤ߹礻¤¬²Äǽ¤Ç¤¹¡£< base> ¤Ï¡¢ÂпôÌÜÀ¹¤ê¤ÎÄì¤Ç¤¹ (¥Ç¥Õ¥©¥ë¥È¤Î Äì¤Ï 10)¡£¼´¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢r °Ê³°¤Î¤¹¤Ù¤Æ¤Î¼´¤¬ÂоݤȤʤê¤Þ¤¹¡£¥³¥Þ¥ó¥É unset logscale ¤Ï¡¢¤¹¤Ù¤Æ¤Î¼´¤ÎÂпôÌÜÀ¹¤ê¤ò²ò½ü¤·¤Þ¤¹¡£ Âпô¼´¤Ëºî¤é¤ì¤¿ÌÜÀ¹¤ê¤Î¹ï¤ß¤Ï°ìÍʹֳ֤ǤϤʤ¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ °Ê²¼»²¾È: set xtics (82.96)¡£

Îã:

x, z ξ¼´¤Ë¤Ä¤¤¤ÆÂпôÌÜÀ¹¤ê¤òÀßÄꤹ¤ë:

      set logscale xz

y ¼´¤Ë¤Ä¤¤¤ÆÄì 2 ¤È¤¹¤ëÂпôÌÜÀ¹¤ê¤òÀßÄꤹ¤ë:

      set logscale y 2

pm3d plot ÍÑ¤Ë z ¤È¿§¤Î¼´¤ËÂпôÌÜÀ¹¤ê¤òÀßÄꤹ¤ë:

      set logscale zcb

z ¼´¤ÎÂпôÌÜÀ¹¤ê¤ò²ò½ü¤¹¤ë:

      unset logscale z

82.37 Macros

¤³¤ì¤Ë¤è¤ê¥³¥Þ¥ó¥É¥é¥¤¥ó¤Î¥Þ¥¯¥íÃÖ´¹µ¡Ç½¤òÍ­¸ú¤Ë¤¹¤ë¤È¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó Æâ¤Î @< stringvariablename> ¤Î·Á¼°¤ÎÉôʬʸ»úÎó¤Ï¡¢Ê¸»úÎóÊÑ¿ô < stringvariablename> ¤Ë´Þ¤Þ¤ì¤ë¥Æ¥­¥¹¥Èʸ»úÎó¤ËÃÖ¤­´¹¤¨¤é¤ì¤Þ¤¹¡£°Ê²¼»²¾È: substitution (23)¡£

½ñ¼°:

    set macros

82.38 Mapping

¥Ç¡¼¥¿¤¬ splot ¤ËµåÌ̺Âɸ¤ä±ßÃìºÂɸ¤ÇÍ¿¤¨¤é¤ì¤¿¾ì¹ç¡¢set mapping ¥³¥Þ¥ó¥É¤Ï gnuplot ¤Ë¤½¤ì¤ò¤É¤Î¤è¤¦¤Ë°·¤¦¤«¤ò»ØÄꤹ¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£

½ñ¼°:

     set mapping {cartesian | spherical | cylindrical}

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥«¡¼¥Æ¥·¥¢¥óºÂɸ (Ä̾ï¤Î x,y,z ºÂɸ) ¤¬»È¤ï¤ì¤Þ¤¹¡£

µåÌ̺Âɸ¤Ç¤Ï¡¢¥Ç¡¼¥¿¤Ï 2 ¤Ä¤« 3 ¤Ä¤ÎÎó (¤Þ¤¿¤Ï¤½¤Î¸Ä¿ô¤Î using ¥¨¥ó ¥È¥ê) ¤È¤·¤ÆÍ¿¤¨¤é¤ì¤Þ¤¹¡£ºÇ½é¤Î 2 ¤Ä¤Ï¡¢set angles ¤ÇÀßÄꤵ¤ì¤¿Ã±°Ì ¤Ç¤ÎÊý°Ì³Ñ (theta) ¤È¶Ä³Ñ (phi) (¤¹¤Ê¤ï¤Á "·ÐÅÙ" ¤È "°ÞÅÙ") ¤È¤ß¤Ê¤µ¤ì ¤Þ¤¹¡£È¾·Â r ¤Ï¡¢¤â¤· 3 ÎóÌܤΥǡ¼¥¿¤¬¤¢¤ì¤Ð¤½¤ì¤¬»È¤ï¤ì¡¢¤â¤·¤Ê¤±¤ì¤Ð 1 ¤ËÀßÄꤵ¤ì¤Þ¤¹¡£³ÆÊÑ¿ô¤Î x,y,z ¤È¤ÎÂбþ¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹:


     x = r * cos(theta) * cos(phi)
     y = r * sin(theta) * cos(phi)
     z = r * sin(phi)

¤³¤ì¤Ï¡¢"¶ËºÂɸ·Ï" ¤È¤¤¤¦¤è¤ê¡¢¤à¤·¤í "Ãϳؾå¤ÎºÂɸ·Ï" (°ÞÅÙ¡¢·ÐÅÙ) ¤Ë ÁêÅö¤¹¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤ (¤¹¤Ê¤ï¤Á¡¢phi ¤Ï z ¼´¤È¤Ê¤¹³Ñ¡¢¤È¤¤¤¦ ¤è¤êÀÖÆ»¤«¤é·×¤Ã¤¿¶Ä³Ñ¡¢¤Ë¤Ê¤ê¤Þ¤¹)¡£

±ßÃìºÂɸ¤Ç¤Ï¡¢¥Ç¡¼¥¿¤Ï¤ä¤Ï¤ê 2 ¤Ä¤« 3 ¤Ä¤ÎÎó¤ÇÍ¿¤¨¤é¤ì¡¢ºÇ½é¤Î 2 ¤Ä¤Ï theta (set angle ¤Ç»ØÄꤵ¤ì¤¿Ã±°Ì¤Î) ¤È z ¤È¸«¤Ê¤µ¤ì¤Þ¤¹¡£È¾·Â r ¤Ï µåÌ̺Âɸ¤Î¾ì¹ç¤ÈƱÍÍ¡¢3 ÎóÌܤΥǡ¼¥¿¤¬¤¢¤ì¤Ð¤½¤ì¤¬¡¢¤Ê¤±¤ì¤Ð 1 ¤ÈÀßÄê ¤µ¤ì¤Þ¤¹¡£³ÆÊÑ¿ô¤Î x,y,z ¤È¤ÎÂбþ¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹:


     x = r * cos(theta)
     y = r * sin(theta)
     z = z

mapping ¤Î¸ú²Ì¤Ï¡¢splot ¥³¥Þ¥ó¥É¾å¤Î using ¤Ë¤è¤ë¥Õ¥£¥ë¥¿¤Ç¼Â¸½ ¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¤¬¡¢Â¿¤¯¤Î¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤¬½èÍý¤µ¤ì¤ë¾ì¹ç¤Ï mapping ¤ÎÊý¤¬ÊØÍø¤Ç¤·¤ç¤¦¡£¤·¤«¤·¡¢mapping ¤ò»È¤Ã¤Æ¤¤¤Æ¤â¡¢¤â¤·¥Õ¥¡¥¤¥ë¤Î¥Ç ¡¼¥¿¤Î½çÈÖ¤¬Å¬ÀڤǤʤ«¤Ã¤¿¤é·ë¶É using ¤¬É¬ÍפˤʤäƤ·¤Þ¤¤¤Þ¤¹¡£

mapping ¤Ï plot ¤Ç¤Ï²¿¤â¤·¤Þ¤»¤ó¡£

world.dem: mapping ¤Î¥Ç¥â¡£

82.39 Margin

margin (¼þ°Ï¤Î;Çò) ¤È¤Ï¡¢ÉÁ²èÎΰè¤Î¶­³¦¤«¤é¥­¥ã¥ó¥Ð¥¹¤Î°ìÈÖ³°Â¦¤Þ¤Ç ¤Î´Ö³Ö¤Î¤³¤È¤Ç¤¹¡£¤³¤Î;Çò¤ÎÂ礭¤µ¤Ï¼«Æ°Åª¤Ë¤È¤é¤ì¤Þ¤¹¤¬¡¢¥³¥Þ¥ó¥É set margin ¤ÇÊѹ¹¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£show margin ¤Ï¸½ºß¤ÎÀßÄê¤òɽ ¼¨¤·¤Þ¤¹¡£ÉÁ²èÎΰè¤Î¶­³¦¤«¤éÆ⦤ÎÉÁ²èÍ×ÁǤޤǤδֳ֤òÊѹ¹¤·¤¿¤¤¾ì¹ç¤Ï °Ê²¼»²¾È: set offsets (82.48)¡£

½ñ¼°:

     set bmargin {{at screen} <margin>}
     set lmargin {{at screen} <margin>}
     set rmargin {{at screen} <margin>}
     set tmargin {{at screen} <margin>}
     show margin

< margin> ¤Î¥Ç¥Õ¥©¥ë¥È¤Îñ°Ì¤Ë¤Ï¡¢Å¬ÀڤȻפï¤ì¤ë¡¢Ê¸»ú¤Î¹â¤µ¤ÈÉý¤¬»È¤ï ¤ì¤Þ¤¹¡£Àµ¤ÎÃͤÏ;Çò¤ÎÀäÂÐŪ¤ÊÂ礭¤µ¤òÄêµÁ¤·¡¢Éé¤ÎÃÍ (¤Þ¤¿¤Ï̵»ØÄê) ¤Ï gnuplot ¤Ë¤è¤Ã¤Æ¼«Æ°·×»»¤µ¤ì¤ëÃͤò»È¤¦¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£3 ¼¡¸µÉÁ²è¤Ç¤Ï º¸¤Î;Çò (lmargin) ¤Î¤ß¤¬Ê¸»ú¤ÎÂ礭¤µ¤òñ°Ì¤È¤·¤ÆÀßÄê¤Ç¤­¤Þ¤¹¡£

¥­¡¼¥ï¡¼¥É at screen ¤Ï¡¢¤½¤Î;Çò¤Î»ØÄ꤬Á´ÂΤÎÉÁ²èÎΰè¤ËÂФ¹¤ë³ä¹ç ¤Ç¤¢¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢Â¿½ÅÉÁ²è (multiplot) ¥â¡¼¥É¤Ç¤Î 2D, 3D ¥°¥é¥Õ¤Î³Ñ¤òÀµ³Î¤Ë·¤¨¤ë¤Î¤Ë»È¤¨¤Þ¤¹¡£¤³¤ÎÇÛÃ֤ϸ½ºß¤Î set origin ¤ä ¤ä set size ¤ÎÃͤò̵»ë¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Æ¡¢¤½¤ì¤Ï¿½ÅÉÁ²èÆâ¤Î¥°¥é¥Õ ¤ÎÇÛÃÖ¤ÎÊ̤ÎÊýË¡¤È¤·¤Æ»È¤ï¤ì¤ë¤³¤È¤ò°Õ¿Þ¤·¤Æ¤¤¤Þ¤¹¡£

ÉÁ²è¤Î;Çò¤ÏÄ̾ïÌÜÀ¹¤ê¡¢ÌÜÀ¹¤ê¤Î¸«½Ð¤·¡¢¼´¤Î¸«½Ð¤·¡¢ÉÁ²è¤Î¥¿¥¤¥È¥ë¡¢ ÆüÉÕ¡¢¤½¤·¤Æ¶­³¦¤Î³°¤Ë¤¢¤ë¾ì¹ç¤Î key (¥°¥é¥Õ¸«½Ð¤·) ¤Î¥µ¥¤¥ºÅù¤ò¸µ¤Ë·× »»¤µ¤ì¤Þ¤¹¡£¤·¤«¤·¡¢ÌÜÀ¹¤ê¤Î¹ï¤ß¤¬¶­³¦¤Ç¤Ê¤¯¼´¤ÎÊý¤Ë¤Ä¤¤¤Æ¤¤¤ë¾ì¹ç (Îã ¤¨¤Ð set xtics axis ¤Ë¤è¤Ã¤Æ)¡¢ÌÜÀ¹¤ê¤Î¹ï¤ß¼«¿È¤È¤½¤Î¸«½Ð¤·¤Ï;Çò¤Î ·×»»¤Ë¤Ï´Þ¤Þ¤ì¤Þ¤»¤ó¤·¡¢Í¾Çò¤Ë½ñ¤«¤ì¤ë¾¤Îʸ»úÎó¤Î°ÌÃ֤η׻»¤Ë¤â´Þ¤Þ¤ì ¤Þ¤»¤ó¡£¤³¤ì¤Ï¡¢¼´¤È¶­³¦¤¬Èó¾ï¤Ë¶á¤¤¾ì¹ç¡¢¼´¤Î¸«½Ð¤·¤¬Â¾¤Îʸ»úÎó¤ò¾å½ñ ¤­¤¹¤ë²ÄǽÀ­¤ò¼¨º¶¤·¤Þ¤¹¡£

82.40 Mouse

¥³¥Þ¥ó¥É set mouse ¤Ï¡¢¸½ºß¤ÎÂÐÏ÷¿½ÐÎÏ·Á¼°¤ËÂФ·¤Æ¥Þ¥¦¥¹µ¡Ç½¤òÍ­¸ú ¤Ë¤·¤Þ¤¹¡£ÂÐÏ÷¿¥â¡¼¥É¤Ç¤ÏÄ̾ï¥Ç¥Õ¥©¥ë¥È¤Ç¤³¤ì¤ÏÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢ ¥³¥Þ¥ó¥É¤¬¥Õ¥¡¥¤¥ë¤«¤éÆɤ߹þ¤Þ¤ì¤ë¾ì¹ç¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï̵¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ ¤¹¡£

¥Þ¥¦¥¹¥â¡¼¥É¤Ï 2 ¼ïÎàÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£2 ¼¡¸µ¥â¡¼¥É¤Ï¡¢plot ¥³¥Þ¥ó¥É ¤È splot ¤Î 2 ¼¡¸µ¼Í±Æ (¤¹¤Ê¤ï¤Á¡¢z ¤Î²óž³Ñ¤¬ 0, 90, 180, 270, 360 Å٤Πset view¡¢¤ª¤è¤Ó set view map) ¤ÇÆ°ºî¤·¤Þ¤¹¡£¤³¤Î¥â¡¼¥É¤Ç¤Ï¡¢ ¥Þ¥¦¥¹°ÌÃÖ¤¬ÄÉÀפµ¤ì¡¢¥Þ¥¦¥¹¥Ü¥¿¥ó¤äÌð°õ¥­¡¼¤ò»È¤Ã¤Æ³ÈÂ礷¤¿¤ê»ëÅÀ°ÜÆ° ¤·¤¿¤ê¤Ç¤­¤Þ¤¹¡£¥°¥é¥Õ¤ËÂбþ¤¹¤ë key ¥¿¥¤¥È¥ë¤äÊ̤ʥ¦¥£¥¸¥§¥Ã¥È¥¢¥¤¥³ ¥ó¤Ê¤É¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤³¤È¤Ç¡¢¸Ä¡¹¤Î¥°¥é¥Õ¤ÎÉÁ²è¤ò¥ª¥ó/¥ª¥Õ¤ËÀÚ¤êÂؤ¨¤ë ¤³¤È¤ò¥µ¥Ý¡¼¥È¤¹¤ë½ÐÎÏ·Á¼°¤â¤¢¤ê¤Þ¤¹¡£

splot ¤Ë¤è¤ë 3 ¼¡¸µ¥°¥é¥Õ¤ËÂФ·¤Æ¤Ï¡¢¥°¥é¥Õ¤Î»ëÊý¸þ (view) ¤È½Ì¼Ü¤Î Êѹ¹¤¬¡¢¤½¤ì¤¾¤ì¥Þ¥¦¥¹¥Ü¥¿¥ó 1 ¤È 2 (¤Ë¤è¤ë¥É¥é¥Ã¥°) ¤Ç¹Ô¤¨¤Þ¤¹¡£¥Ü¥¿ ¥ó 2 ¤Î¿âľÊý¸þ¤Î¥É¥é¥Ã¥°¤ò shift ¥­¡¼¤ÈƱ»þ¤Ë¹Ô¤¦¤È¡¢z ¼´¤Î°ìÈÖ²¼¤Î°Ì ÃÖ (xyplane) ¤ò¾å²¼¤·¤Þ¤¹¡£¤³¤ì¤é¤Î¥Ü¥¿¥ó¤Ë¤µ¤é¤Ë < ctrl> ¥­¡¼¤ò²¡¤¹ ¤È¡¢ºÂɸ¼´¤Ïɽ¼¨¤µ¤ì¤Þ¤¹¤¬¡¢¥Ç¡¼¥¿¤Îɽ¼¨¤Ï¾Ã¤¨¤Þ¤¹¡£¤³¤ì¤ÏÂ礭¤Ê¥Ç¡¼¥¿ ¤ËÂФ·¤ÆÍ­ÍѤǤ·¤ç¤¦¡£

¥Þ¥¦¥¹¤Ï¿½ÅÉÁ²è (multiplot) ¥â¡¼¥ÉÆâ¤Ç¤Ï̵¸ú¤Ç¤¹¤¬¡¢unset multiplot ¤Ç¿½ÅÉÁ²è¤¬´°·ë¤¹¤ì¤Ð¡¢¥Þ¥¦¥¹µ¡Ç½¤Ï ON ¤Ë¤Ê¤ê¤Þ¤¹¡£¤¿¤À¤·¡¢¤½¤ÎºîÍÑ¤Ï multiplot Æâ¤ÎºÇ¸å¤ÎÉÁ²è (replot ¤ÇÉÁ²è¤µ¤ì¤ë¤è¤¦¤Ê¤â¤Î) ¤ËÂФ·¤Æ¤Î¤ß ¤Ç¤¹¡£

½ñ¼°:

     set mouse {doubleclick <ms>} {nodoubleclick} \
               {{no}zoomcoordinates} \
               {noruler | ruler {at x,y}} \
               {polardistance{deg|tan} | nopolardistance} \
               {format <string>} \
               {clipboardformat <int>/<string>} \
               {mouseformat <int>/<string>} \
               {{no}labels {"labeloptions"}} \
               {{no}zoomjump} {{no}verbose}
     unset mouse

¥ª¥×¥·¥ç¥ó noruler ¤È ruler ¤Ï¡¢Ä구 (ruler) µ¡Ç½¤ò off, on ¤Ë¤·¤Þ ¤¹¡£ruler ¤Ë¤ÏºÂɸ¤òÍ¿¤¨¤Æ¸¶ÅÀ¤òÀßÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£ruler ¤¬ on ¤Î´Ö¡¢ruler ¤Î¸¶ÅÀ¤«¤é¥Þ¥¦¥¹¤Þ¤Ç¤Î¥æ¡¼¥¶Ã±°Ì¤Ç¤Îµ÷Î¥¤¬Ï¢Â³Åª¤Ëɽ¼¨ ¤µ¤ì¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢ruler ¤Î¥È¥°¥ë¥¹¥¤¥Ã¥Á¤Ï 'r' ¤Ë¥­¡¼³ä¤êÅö¤Æ ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó polardistance ¤Ï¡¢¥Þ¥¦¥¹¥«¡¼¥½¥ë¤«¤éÄ구 (ruler) ¤Þ¤Ç¤Îµ÷ Î¥¤ò¶ËºÂɸ¤Ç¤âɽ¼¨ (µ÷Î¥¡¢¤ª¤è¤Ó³ÑÅÙ¤Þ¤¿¤Ï·¹¤­) ¤¹¤ë¤«¤É¤¦¤«¤ò·èÄꤷ¤Þ ¤¹¡£¤³¤ì¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼³ä¤êÅö¤Æ '5' ¤ËÂбþ¤·¤Þ¤¹¡£

¥Ü¥¿¥ó 2 ¤Î gnuplot ¤Î±Ê³Ū¤Ê¥é¥Ù¥ë¤òÄêµÁ¤¹¤ë¤Ë¤Ï¡¢¥ª¥×¥·¥ç¥ó labels ¤ò»ÈÍѤ·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï nolabels ¤Ç¡¢¥Ü¥¿¥ó 2 ¤Ïñ¤Ë°ì»þ Ū¤Ê¥é¥Ù¥ë¤ò¥Þ¥¦¥¹°ÌÃÖ¤ËÉÁ²è¤·¤Þ¤¹¡£¥é¥Ù¥ë¤Ï¸½ºß¤Î mouseformat ¤ÎÀß Äê¤Ë½¾¤Ã¤Æ½ñ¤«¤ì¤Þ¤¹¡£labeloptions ʸ»úÎó¤Ï¡¢¥³¥Þ¥ó¥É set label ¥³ ¥Þ¥ó¥É¤ËÅϤµ¤ì¤Þ¤¹¡£¤½¤Î¥Ç¥Õ¥©¥ë¥È¤Ï "point pointstyle 1" ¤Ç¡¢¤³¤ì¤Ï¥é ¥Ù¥ë°ÌÃ֤˾®¤µ¤¤¥×¥é¥¹ (+) ¤òÉÁ²è¤·¤Þ¤¹¡£°ì»þŪ¤Ê¥é¥Ù¥ë¤Ï¡¢¤½¤Î¼¡¤Î replot¡¢¤Þ¤¿¤Ï¥Þ¥¦¥¹¥º¡¼¥àÁàºî¤Ç¤Ï¸½¤ì¤Þ¤»¤ó¡£±Ê³Ū¤Ê¥é¥Ù¥ë¤Ï¡¢¥é¥Ù ¥ë¤ÎÅÀ¤Î¾å¤Ç Ctrl ¥­¡¼¤ò²¡¤·¤Æ¥Ü¥¿¥ó 2 ¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤³¤È¤Ç¾Ã¤¹¤³¤È¤¬ ¤Ç¤­¤Þ¤¹¡£¼ÂºÝ¤Î¥é¥Ù¥ë¤Î°ÌÃ֤ˤɤì°Ì¶á¤¯¤Ç¥¯¥ê¥Ã¥¯¤·¤Ê¤±¤ì¤Ð¤¤¤±¤Ê¤¤¤« ¤ÎïçÃͤâ pointsize ¤Ç·èÄꤵ¤ì¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó verbose ¤¬ ON ¤Î¾ì¹ç¡¢¼Â¹Ô»þ¤ÎÊó¹ð¥³¥Þ¥ó¥É¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¥É¥é¥¤¥Ð¥¦¥£¥ó¥É¥¦¾å¤Ç 6 ¤òÂǤĤ³¤È¤Ç ON/OFF ¤¬¥¹¥¤ ¥Ã¥Á¤Ç¤­¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï verbose ¤Ï OFF ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

¥É¥é¥¤¥Ð¥¦¥£¥ó¥É¥¦¾å¤Ç 'h' ¤òÂǤĤȡ¢¥Þ¥¦¥¹¤È¥­¡¼³äÅö¤Îû¤¤ÀâÌÀ¤¬É½¼¨ ¤µ¤ì¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥æ¡¼¥¶ÄêµÁ¤Î¥­¡¼³äÅö¡¢¤¹¤Ê¤ï¤Á bind ¥³¥Þ¥ó¥É¤Ë¤è¤ë hotkeys (°Ê²¼»²¾È: bind (18.1)) ¤âɽ¼¨¤µ¤ì¤Þ¤¹¡£¥æ¡¼¥¶ÄêµÁ¤Î hotkeys ¤Ï ¥Ç¥Õ¥©¥ë¥È¤Î¥­¡¼³äÅö¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£ °Ê²¼¤â»²¾È: bind (18.1), label (82.31)¡£

82.40.1 Doubleclick

¥À¥Ö¥ë¥¯¥ê¥Ã¥¯¤Î²òÁüÅ٤ϥߥêÉà (ms) ñ°Ì¤ÇÍ¿¤¨¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥Ü¥¿¥ó 1 ÍѤΤâ¤Î¤Ç¡¢¸½ºß¤Î¥Þ¥¦¥¹°ÌÃÖ¤ò¥¯¥ê¥Ã¥×¥Ü¡¼¥É (clipboard) ¤Ë¥³¥Ô¡¼¤¹ ¤ë¤Î¤Ë»È¤¤¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤ÎÃÍ¤Ï 300 ms ¤Ç¤¹¡£¤³¤ì¤ò 0 ms ¤ËÀßÄꤹ¤ë¤È ¥·¥ó¥°¥ë¥¯¥ê¥Ã¥¯¤Ç¤½¤Î¥³¥Ô¡¼¤ò¹Ô¤¦¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

82.40.2 Mouseformat

¥³¥Þ¥ó¥É set mouse format ¤Ï¡¢sprintf() ¤ËÂФ¹¤ë½ñ¼°Ê¸»úÎó¤Î»ØÄê¤Ç¡¢¥Þ¥¦¥¹¥«¡¼¥½¥ë¤Î [x,y] ºÂɸ¤òÉÁ²è¥¦¥£¥ó¥É¥¦¤È¥¯¥ê¥Ã¥×¥Ü¡¼¥É¤Ë¤É¤Î¤è¤¦¤Ëɽ¼¨¤¹¤ë¤«¤ò·èÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï "% #g" ¤Ç¤¹¡£

set mouse clipboardformat ¤È set mouse mouseformat ¤Ï¡¢¥Ü¥¿¥ó 1 ¤È ¥Ü¥¿¥ó 2 ¤ÎºîÍÑ»þ (ºÂɸ¤ò¥¯¥ê¥Ã¥×¥Ü¡¼¥É¤Ø¥³¥Ô¡¼¤·¡¢¥Þ¥¦¥¹°ÌÃ֤˰ì»þŪ ¤ËÃí¼á¤ò¤Ä¤±¤ë) ¤Îʸ»úÎó¤Î½ñ¼°ÍѤ˻Ȥï¤ì¤Þ¤¹¡£°ú¿ô¤¬À°¿ô¤Î¾ì¹ç¡¢°Ê²¼¤Îɽ¤Ë¤¢¤ë½ñ¼°¥ª¥×¥·¥ç¥ó¤Î°ì¤Ä¤òÁªÂò¤·¤Þ¤¹¡£°ú¿ô¤¬Ê¸»úÎó¤Î¾ì¹ç¤Ï¡¢½ñ¼°¥ª ¥×¥·¥ç¥ó 6 ¤Î sprintf() ¤Î½ñ¼°Ê¸»úÎó¤È¤·¤Æ»È¤ï¤ì¤Þ¤¹¤Î¤Ç¡¢2 ¤Ä¤Î¼Â¿ô¤Î»ØÄê»Ò¤ò´Þ¤àɬÍפ¬¤¢¤ê¤Þ¤¹¡£Îã:

    `set mouse mouseformat "mouse x,y = %5.2g, %10.3f"`.

¤³¤Îʸ»úÎó¤ò¤Þ¤¿¥ª¥Õ¤Ë¤¹¤ë¤Ë¤Ï¡¢set mouse mouseformat "" ¤È¤·¤Þ¤¹¡£

°Ê²¼¤Î½ñ¼°¤¬ÍøÍѲÄǽ¤Ç¤¹:


0   ¥Ç¥Õ¥©¥ë¥È (1 ¤ÈƱ¤¸)
1   ¼´¤ÎºÂɸ                            1.23, 2.45
2   ¥°¥é¥ÕºÂɸ (0 ¤«¤é 1 ¤Þ¤Ç)         /0.00, 1.00/
3   x = timefmt     y = ¼´ºÂɸ         [(`set timefmt` ¤ÎÀßÄê), 2.45]
4   x = ÆüÉÕ        y = ¼´ºÂɸ         [31. 12. 1999, 2.45]
5   x = »þ¹ï        y = ¼´ºÂɸ         [23:59, 2.45]
6   x = ÆüÉÕ/»þ¹ï   y = ¼´ºÂɸ         [31. 12. 1999 23:59, 2.45]
7   `set mouse mouseformat` ¤Ë¤è¤ë½ñ¼°¡¢Îã: "mouse x,y = 1.23,     2.450"

82.40.3 ¥Þ¥¦¥¹¥¹¥¯¥í¡¼¥ë (scrolling)

2 ¼¡¸µ¥°¥é¥Õ¤È 3 ¼¡¸µ¥°¥é¥Õ¤ÎξÊý¤Ç¡¢X ¤È Y ¼´¤Î¿­½Ì¤Ï¥Þ¥¦¥¹¥Û¥¤¡¼¥ë¤ò »È¤¦¤³¤È¤ÇÄ´À°¤Ç¤­¤Þ¤¹¡£< wheel-up> ¤Ï¥¹¥¯¥í¡¼¥ë¥¢¥Ã¥×¤· (YMIN ¤È YMAX ¤ÎξÊý¤ò Y ¤ÎÈϰϤΠ10 ¥Ñ¡¼¥»¥ó¥È¤º¤ÄÁý²Ã¤µ¤»¡¢Y2MIN ¤È Y2MAX ¤Ë¤âƱÍÍ ¤Î¤³¤È¤ò¹Ô¤¤¤Þ¤¹)¡¢< wheel-down> ¤Ï¥¹¥¯¥í¡¼¥ë¥À¥¦¥ó¤·¤Þ¤¹¡£ < shift-wheel-up> ¤Ïº¸¥¹¥¯¥í¡¼¥ë¤· (XMIN ¤È XMAX ¤ÎξÊý¡¢¤½¤·¤Æ X2MIN ¤È X2MAX ¤ÎξÊý¤ò¸º¾¯)¡¢< shift-wheel-down> ¤Ï±¦¥¹¥¯¥í¡¼¥ë¤·¤Þ¤¹¡£ < control-wheel-up> ¤Ï¥°¥é¥Õ¤ÎÃæ¿´Êý¸þ¤Ë¥º¡¼¥à¥¤¥ó¤·¡¢ < control-wheel-down> ¤Ï¥º¡¼¥à¥¢¥¦¥È¤·¤Þ¤¹¡£< shift-control-wheel-up> ¤Ï X ¤È X2 ¼´¤Î¤ß¤Ë±è¤Ã¤Æ¥º¡¼¥à¥¤¥ó¤·¡¢< shift-control-wheel-down> ¤Ï X ¤È X2 ¼´¤Ë±è¤Ã¤Æ¤Î¤ß¥º¡¼¥à¥¢¥¦¥È¤·¤Þ¤¹¡£

82.40.4 X11 ¤Ç¤Î¥Þ¥¦¥¹ (X11 mouse)

x11 ¤Î½ÐÎÏ·Á¼°¤Î¥ª¥×¥·¥ç¥ó set term x11 < n> ¤ò»È¤Ã¤ÆÊ£¿ô¤Î X11 ÉÁ²è ¥¦¥£¥ó¥É¥¦¤¬³«¤¤¤Æ¤¤¤ë¾ì¹ç¡¢¥Þ¥¦¥¹¥³¥Þ¥ó¥É¤È¥Û¥Ã¥È¥­¡¼¤Îµ¡Ç½¤ò¤Á¤ã¤ó¤È »È¤¨¤ë¤Î¤Ï¸½ºß¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦¤Î¤ß¤Ç¤¹¡£¤·¤«¤·¡¢Â¾¤Î¥¦¥£¥ó¥É¥¦¤âº¸²¼¤Ë ¥Þ¥¦¥¹¤ÎºÂɸ¤òɽ¼¨°Ì¤Ï¤·¤Æ¤¯¤ì¤ë¤Ç¤·¤ç¤¦¡£

82.40.5 Zoom

³ÈÂç (zoom) ¤Ï¡¢Ä̾ï¤Ïº¸¥Þ¥¦¥¹¥Ü¥¿¥ó¤ò²¡¤¹¤³¤È¤Ç¹Ô¤ï¤ì¡¢³ÈÂçÈϰϤÎÀþ°ú ¤­¤Ï¥Þ¥¦¥¹¤Î¥É¥é¥Ã¥°¤Ç¹Ô¤¤¤Þ¤¹¤¬¡¢¤³¤ì¤È¤Ï°Û¤Ê¤ë¥Þ¥¦¥¹¥Ü¥¿¥ó¤òÍ׵᤹¤ë ¼Â¹Ô´Ä¶­¤â¤¢¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£¸µ¤Î¥°¥é¥Õ¤Ï¡¢¥°¥é¥Õ¥¦¥£¥ó¥É¥¦¾å¤Ç¥Û¥Ã¥È ¥­¡¼ 'u' ¤ò¥¿¥¤¥×¤¹¤ë¤³¤È¤ÇÉü¸µ¤Ç¤­¤Þ¤¹¡£¥Û¥Ã¥È¥­¡¼ 'p' ¤È 'n' ¤Ï¡¢³È ÂçÁàºî¤ÎÍúÎò¤ò¸åÊý¤ÈÁ°Êý¤Ë¤¿¤É¤ê¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó zoomcoordinates ¤Ï¡¢³ÈÂç¤ÎºÝ¤Ë¡¢³ÈÂç¤ÎÏȤÎü¤Ë¤½¤ÎºÂɸ¤ò ½ñ¤¯¤«¤É¤¦¤«¤ò·èÄꤷ¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï ON ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó zoomjump ¤¬ ON ¤Î¾ì¹ç¡¢¥Ü¥¿¥ó 3 ¤Ë¤è¤ë³ÈÂçÈϰϤÎÁªÂò¤ò³« »Ï¤¹¤ë¤È¡¢¥Þ¥¦¥¹¥Ý¥¤¥ó¥¿¤Ï¼«Æ°Åª¤Ë¾¯¤·¤À¤±¤º¤ì¤¿°ÌÃ֤˰ÜÆ°¤·¤Þ¤¹¡£¤³¤ì ¤Ï¡¢¤´¤¯¾®¤µ¤¤ (¤Þ¤¿¤Ï¶õ¤Ç¤µ¤¨¤¢¤ë) ³ÈÂçÈϰϤòÁªÂò¤·¤Æ¤·¤Þ¤¦¤³¤È¤òÈò¤± ¤ë¤Î¤ËÊØÍø¤Ç¤·¤ç¤¦¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï zoomjump ¤Ï OFF ¤Ç¤¹¡£

82.41 Multiplot

¥³¥Þ¥ó¥É set multiplot ¤Ï gnuplot ¤ò¿½ÅÉÁ²è¥â¡¼¥É¤Ë¤·¤Þ¤¹¡£¤³¤ì ¤ÏÊ£¿ô¤ÎÉÁ²è¤òƱ¤¸¥Ú¡¼¥¸¡¢¥¦¥£¥ó¥É¥¦¡¢¥¹¥¯¥ê¡¼¥ó¤Ëɽ¼¨¤¹¤ë¤â¤Î¤Ç¤¹¡£

½ñ¼°:

     set multiplot
         { title <page title> {font <fontspec>} {enhanced|noenhanced} }
         { layout <rows>,<cols>
           {rowsfirst|columnsfirst} {downwards|upwards}
           {scale <xscale>{,<yscale>}} {offset <xoff>{,<yoff>}}
         }
     unset multiplot

½ÐÎÏ·Á¼° (terminal) ¤Ë¤è¤Ã¤Æ¤Ï¡¢¥³¥Þ¥ó¥É unset multiplot ¤¬Í¿¤¨¤é¤ì ¤ë¤Þ¤Ç²¿¤ÎÉÁ²è¤âɽ¼¨¤µ¤ì¤Ê¤¤¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£¤³¤Î¾ì¹ç¤³¤Î¥³¥Þ¥ó¥É¤Ë¤è¤ê ¥Ú¡¼¥¸Á´ÂΤÎÉÁ²è¤¬¹Ô¤Ê¤ï¤ì¡¢gnuplot ¤Ïɸ½à¤Îñ°ìÉÁ²è¥â¡¼¥É¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤½¤ì°Ê³°¤Î½ÐÎÏ·Á¼°¤Ç¤Ï¡¢³Æ plot ¥³¥Þ¥ó¥É¤¬¤½¤ì¤¾¤ìɽ¼¨¤ò¹¹¿·¤·¤Þ¤¹¤¬¡¢¤½¤ì¤Ï¡¢¤½¤ì¤Þ¤Ç½ÐÎϤ·¤¿¤â¤Î¤¹¤Ù¤Æ¤òºÆÉÁ²è¤·¡¢¤½¤ì¤Ë¿·¤·¤¤¤â¤Î¤òÄɲ乤ëÊýË¡¡¢¤¢¤ë¤¤¤Ï¡¢¸½ºß¤Îɽ¼¨¤Ëñ¤Ë¿·¤·¤¤¤â¤Î¤òÄɲ乤ë¤À¤±¤Î¤ä¤êÊý¡¢¤Î¤¤¤º¤ì¤«¤Ç¤¹¡£

¼¡¤ÎÉÁ²è¤Ç»È¤ï¤ì¤ëÎΰè¤Ï¡¢¿·¤·¤¤ÉÁ²è¤¬¹Ô¤ï¤ì¤ëÁ°¤Ë¾Ã¤µ¤ì¤ë¤³¤È¤Ï¤¢¤ê¤Þ ¤»¤ó¤«¤é¡¢ÉÁ²è¤ò "ÁÞÆþ" ¤¹¤ë¤è¤¦¤Ê¾ì¹ç¤Ê¤É¤Ç¤½¤¦¤·¤¿¤¤¤Ê¤é¡¢clear ¥³ ¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

ÄêµÁºÑ¤Î¸«½Ð¤·¤ä¥Ù¥¯¥È¥ë¤Ï¡¢³ÆÉÁ²è¤Ë¤ª¤¤¤Æ¡¢Ëè²ó¸½ºß¤Î¥µ¥¤¥º¤È¸¶ÅÀ¤Ë½¾ ¤Ã¤Æ½ñ¤«¤ì¤Þ¤¹ (¤½¤ì¤é¤¬ screen ºÂɽ·Ï¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç)¡£¤½¤ì °Ê³°¤ÎÁ´¤Æ¤Î set ¤ÇÄêµÁ¤µ¤ì¤ë¤â¤Î¤â³ÆÉÁ²è¤¹¤Ù¤Æ¤ËŬÍѤµ¤ì¤Þ¤¹¡£¤â¤· 1 ÅÙ¤ÎÉÁ²è¤Ë¤À¤±¸½¤ï¤ì¤ÆÍߤ·¤¤¤â¤Î¤òºî¤ê¤¿¤¤¤Ê¤é¡¢¤½¤ì¤¬Î㤨¤ÐÆüÉÕ (timestamp) ¤À¤È¤·¤¿¤é¡¢set multiplot ¤È unset multiplot ¤Ç°Ï¤Þ¤ì ¤¿¥Ö¥í¥Ã¥¯Æâ¤Î plot (¤Þ¤¿¤Ï splot, replot) Ì¿Îá¤Î°ì¤Ä¤ò set time ¤È unset time ¤Ç¤Ï¤µ¤ó¤Ç¤¯¤À¤µ¤¤¡£

multiplot ¤Î¥¿¥¤¥È¥ë¤Ï¡¢¸Ä¡¹¤ÎÉÁ²è¥¿¥¤¥È¥ë¤¬¤¢¤Ã¤¿¤È¤·¤Æ¤â¡¢¤½¤ì¤È¤ÏÊÌ ¤Î¤â¤Î¤Ç¡¢¥Ú¡¼¥¸¤Î¾åÉô¤Ë¤½¤Î¤¿¤á¤Î¥­¥ã¥ó¥Ð¥¹Á´ÂΤÎÉý¤Ë¤ï¤¿¤ë¥¹¥Ú¡¼¥¹¤¬ ³ÎÊݤµ¤ì¤Þ¤¹¡£

layout ¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¤¢¤ë¤¤¤Ï¤è¤êÎɤ¤°ÌÃÖ¹ç¤ï¤»¤ò¤·¤¿¤¤¾ì¹ç ¤Ï¡¢¥³¥Þ¥ó¥É set origin ¤È set size ³ÆÉÁ²è¤ÇÀµ¤·¤¤°ÌÃÖ¤ËÀßÄꤹ¤ëɬ Íפ¬¤¢¤ê¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set origin (82.49), set size (82.65)¡£

Îã:

     set multiplot
     set size 0.4,0.4
     set origin 0.1,0.1
     plot sin(x)
     set size 0.2,0.2
     set origin 0.5,0.5
     plot cos(x)
     unset multiplot

¤³¤ì¤Ï¡¢cos(x) ¤Î¥°¥é¥Õ¤ò¡¢sin(x) ¤Î¾å¤ËÀѤ߽ŤͤÆɽ¼¨¤·¤Þ¤¹¡£

set size ¤È set origin ¤ÏÁ´ÂΤÎÉÁ²èÎΰè¤ò»²¾È¤·¡¢¤½¤ì¤Ï³ÆÉÁ²è¤ÇÍø ÍѤµ¤ì¤Þ¤¹¡£°Ê²¼¤â»²¾È: set term size (7)¡£ÉÁ²è¶­³¦¤ò°ìÎó¤Ë·¤¨¤¿¤¤¤Ê¤é ¤Ð¡¢set margin ¥³¥Þ¥ó¥É¤Ç¡¢¶­³¦¤Î³°¤Î;Çò¥µ¥¤¥º¤òƱ¤¸¥µ¥¤¥º¤Ë·¤¨¤ë ¤³¤È¤¬½ÐÍè¤Þ¤¹¡£¤½¤Î»ÈÍѤ˴ؤ·¤Æ¤Ï¡¢°Ê²¼»²¾È: set margin (82.39)¡£Í¾Çò¥µ¥¤¥º ¤Ïʸ»ú¥µ¥¤¥ºÃ±°Ì¤ÎÀäÂÐŪ¤Ê¿ôÃÍñ°Ì¤ò»ÈÍѤ¹¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£¤è ¤Ã¤Æ»Ä¤Ã¤¿¥¹¥Ú¡¼¥¹¤ËÉÁ¤«¤ì¤ë¥°¥é¥Õ¤Ïɽ¼¨¤¹¤ë¥Ç¥Ð¥¤¥¹¤Îɽ¼¨¥µ¥¤¥º¤Ë°Í¸ ¤·¤Þ¤¹¡£Î㤨¤Ð¡¢¥×¥ê¥ó¥¿¤È¥Ç¥£¥¹¥×¥ì¥¤¤Îɽ¼¨¤Ï¿ʬ°ã¤Ã¤¿¤â¤Î¤Ë¤Ê¤ë¤Ç¤· ¤ç¤¦¡£

¥ª¥×¥·¥ç¥ó layout ¤Ë¤è¤ê¡¢³ÆÉÁ²è¤ÎÁ°¤Ë¤½¤ì¤¾¤ìÍ¿¤¨¤Æ¤¤¤¿ set size ¤ä set origin ¥³¥Þ¥ó¥É¤Ê¤·¤Ë¡¢Ã±½ã¤ÊÊ£¿ô¥°¥é¥Õ¤ÎÉÁ²è¤òºîÀ®¤Ç¤­¤Þ¤¹¡£ ¤½¤ì¤é¤ÎÀßÄê¤Ï¼«Æ°Åª¤Ë¹Ô¤Ê¤ï¤ì¡¢¤¤¤Ä¤Ç¤â¤½¤ÎÀßÄê¤òÊѹ¹¤Ç¤­¤Þ¤¹¡£ layout ¤Ç¤Ïɽ¼¨¤Ï < rows> ¹Ô¤È < cols> Îó¤Î³Ê»Ò¤Ëʬ³ä¤µ¤ì¡¢³Æ³Ê»Ò¤Ï¡¢ ¤½¤Î¸å¤Ë³¤¯Âбþ¤¹¤ë̾Á°¤Î¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤Æ¹Ô (rowsfirst)¡¢¤¢¤ë¤¤¤ÏÎó (columnsfirst) ¤¬Àè¤ËËä¤á¤é¤ì¤Æ¹Ô¤­¤Þ¤¹¡£ÉÁ²è¥°¥é¥Õ¤ÎÀѤ߾夲¤Ï²¼Êý¸þ (downwards) ¤Ë¡¢¤Þ¤¿¤Ï¾åÊý¸þ (upwards) ¤Ë¿­¤Ó¤ë¤è¤¦¤Ë¤Ç¤­¤Þ¤¹¡£¥Ç ¥Õ¥©¥ë¥È¤Ï rowsfirst ¤Ç downwards ¤Ç¤¹¡£

³ÆÉÁ²è¤Ï scale ¤Ç¿­½Ì¤ò¡¢offset ¤Ç°ÌÃÖ¤ÎÊ¿¹Ô°ÜÆ°¤ò¹Ô¤Ê¤¦¤³¤È¤¬¤Ç¤­ ¤Þ¤¹¡£scale ¤ä offset ¤Î y ¤ÎÃͤ¬¾Êά¤µ¤ì¤¿¾ì¹ç¤Ï¡¢x ¤ÎÃͤ¬¤½¤ì¤Ë»ÈÍÑ ¤µ¤ì¤Þ¤¹¡£unset multiplot ¤Ë¤è¤ê¼«Æ°ÇÛÃÖµ¡Ç½¤Ï¥ª¥Õ¤Ë¤Ê¤ê¡¢¤½¤·¤Æ set size ¤È set origin ¤ÎÃÍ¤Ï set multiplot layout ¤ÎÁ°¤Î¾õÂÖ¤Ë Éüµ¢¤µ¤ì¤Þ¤¹¡£

Îã:

     set size 1,1
     set origin 0,0
     set multiplot layout 3,2 columnsfirst scale 1.1,0.9
     [ ¤³¤³¤Ë¤Ï 6 ¤Ä¤Þ¤Ç¤ÎÉÁ²è¥³¥Þ¥ó¥É ]
     unset multiplot

¾å¤ÎÎã¤Ç¤Ï 6 ¤Ä¤ÎÉÁ²è¤¬ 2 Îó¤ÎÃæ¤Ë¾å¤«¤é²¼¤Ø¡¢º¸¤«¤é±¦¤Ø¤ÈËä¤á¤é¤ì¤Æ¹Ô ¤­¤Þ¤¹¡£³ÆÉÁ²è¤Ï¿åÊ¿¥µ¥¤¥º¤¬ 1.1/2¡¢¿âľ¥µ¥¤¥º¤¬ 0.9/3 ¤È¤Ê¤ê¤Þ¤¹¡£

°Ê²¼¤â»²¾È

multiplot ¤Î¥Ç¥â (multiplt.dem)

82.42 Mx2tics

x2 (¾å) ¼´¤Î¾®ÌÜÀ¹¤ê¹ï¤ß¤Î°õ¤Ï set mx2tics ¤ÇÀ©¸æ¤µ¤ì¤Þ¤¹¡£°Ê²¼»²¾È:set mxtics (82.43)¡£

82.43 Mxtics

x ¼´¤Î¾®ÌÜÀ¹¤ê¹ï¤ß¤Î°õ¤Ï set mxtics ¤ÇÀ©¸æ¤µ¤ì¤Þ¤¹¡£unset mxtics ¤Ë¤è¤Ã¤Æ¤½¤ì¤òɽ¼¨¤µ¤»¤Ê¤¯¤¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£Æ±ÍͤÎÀ©¸æ¥³¥Þ¥ó¥É¤¬³Æ¼´ Ëè¤ËÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

½ñ¼°:

     set mxtics {<freq> | default}
     unset mxtics
     show mxtics

¤³¤ì¤é¤Î½ñ¼°¤Ï mytics, mztics, mx2tics, my2tics, mcbtics ¤Ë ÂФ·¤Æ¤âƱ¤¸¤Ç¤¹¡£

< freq> ¤ÏÂçÌÜÀ¹¤ê´Ö¤Î¡¢¾®ÌÜÀ¹¤ê¤Ë¤è¤Ã¤Æʬ³ä¤µ¤ì¤ë¶è´Ö¤Î¿ô (¾®ÌÜÀ¹¤ê¤Î ¿ô¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó) ¤Ç¤¹¡£Ä̾ï¤ÎÀþ·Á¼´¤ËÂФ·¤Æ¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÃÍ¤Ï 2 ¤« 5 ¤Ç¡¢¤³¤ì¤ÏÂçÌÜÀ¹¤ê¤Ë¤è¤Ã¤ÆÊѲ½¤·¤Þ¤¹¡£¤è¤Ã¤ÆÂçÌÜÀ¹¤ê´Ö¤Ë 1 ¤Ä¡¢¤Þ¤¿¤Ï 4 ¤Ä¤Î¾®ÌÜÀ¹¤ê¤¬Æþ¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£default ¤ò»ØÄꤹ¤ë¤³¤È¤Ë¤è¤Ã¤Æ¾® ÌÜÀ¹¤ê¤Î¿ô¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÃͤËÌá¤ê¤Þ¤¹¡£

¼´¤¬Âпô¼´¤Ç¤¢¤ë¾ì¹ç¡¢Ê¬³ä¶è´Ö¤Î¿ô¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤ÏÍ­°Õ¤Ê¿ô¤Ë¥»¥Ã¥È¤µ¤ì ¤Þ¤¹ (10 ¸Ä¤ÎŤµ¤ò¸µ¤Ë¤·¤Æ)¡£< freq> ¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤ì¤Ð¤½¤Á¤é¤¬Í¥À褵 ¤ì¤Þ¤¹¡£¤·¤«¤·¡¢Âпô¼´¤Ç¤ÏÄ̾ï¤Î¾®ÌÜÀ¹¤ê (Î㤨¤Ð 1 ¤«¤é 10 ¤Þ¤Ç¤Î 2, 3, ..., 8, 9 ¤Î¹ï¤ß) ¤Ï¡¢9 ¤Ä¤ÎÉôʬ¶è´Ö¤·¤«¤¢¤ê¤Þ¤»¤ó¤¬¡¢< freq> ¤ÎÀßÄê¤Ï 10 ¤È¤¹¤ë¤³¤È¤Ç¤½¤¦¤Ê¤ê¤Þ¤¹¡£

¾®ÌÜÀ¹¤ê¤òǤ°Õ¤Î°ÌÃÖ¤ËÀßÄꤹ¤ë¤Ë¤Ï¡¢("< label> " < pos> < level> , ...) ¤Î ·Á¼°¤ò set {x| x2| y| y2| z}tics ¤Ç»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£¤¿¤À¤·¡¢< label> ¤Ï ¶õ ("") ¤Ç¡¢< level> ¤ò 1 ¤Ë¤·¤Þ¤¹¡£

¥³¥Þ¥ó¥É set m{x| x2| y| y2| z}tics ¤Ï¡¢ÂçÌÜÀ¹¤ê¤¬°ìÍͤδֳ֤ξì¹ç¤Ë¤Î¤ß Ư¤­¤Þ¤¹¡£¤â¤·Á´¤Æ¤ÎÂçÌÜÀ¹¤ê¤¬ set {x| x2| y| y2| z}tics ¤Ë¤è¤Ã¤Æ¼êÆ°¤Ç ÇÛÃÖ¤µ¤ì¤¿¾ì¹ç¤Ï¡¢¤³¤Î¾®ÌÜÀ¹¤ê¤Î¥³¥Þ¥ó¥É¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£¼«Æ°Åª¤ÊÂçÌÜÀ¹ ¤ê¤ÎÇÛÃ֤ȼêÆ°¤Î¾®ÌÜÀ¹¤ê¤ÎÇÛÃ֤ϡ¢set {x| x2| y| y2| z}tics ¤È set {x| x2| y| y2| z}tics add ¤È¤ò»È¤¦¤³¤È¤Ç¶¦Â¸¤Ç¤­¤Þ¤¹¡£

Îã:

     set xtics 0, 5, 10
     set xtics add (7.5)
     set mxtics 5

¤³¤Î¾ì¹ç¡¢ÂçÌÜÀ¹¤ê¤Ï 0,5,7.5,10¡¢¾®ÌÜÀ¹¤Ï 1,2,3,4,6,7,8,9 ¤Î¾ì½ê
     set logscale y
     set ytics format ""
     set ytics 1e-6, 10, 1
     set ytics add ("1" 1, ".1" 0.1, ".01" 0.01, "10^-3" 0.001, \
                    "10^-4" 0.0001)
     set mytics 10

¤³¤Î¾ì¹ç¡¢ÂçÌÜÀ¹¤ê¤Ï»ØÄꤵ¤ì¤¿½ñ¼°¤Ç¡¢¾®ÌÜÀ¹¤ÏÂпôŪ¤ËÇÛÃÖ

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¾®ÌÜÀ¹¤ê¤Îɽ¼¨¤Ï¡¢Àþ·Á¼´¤Ç¤Ï¥ª¥Õ¤Ç¡¢Âпô¼´¤Ç¤Ï¥ª¥ó¤Ë¤Ê¤Ã ¤Æ¤¤¤Þ¤¹¡£¤½¤ÎÀßÄê¤Ï¡¢ÂçÌÜÀ¹¤ê¤ËÂФ¹¤ë axis| border ¤È {no}mirror ¤Î»ØÄê¤ò·Ñ¾µ¤·¤Þ¤¹¡£¤³¤ì¤é¤Ë´Ø¤¹¤ë¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È:set xtics (82.96)¡£

82.44 My2tics

y2 (±¦) ¼´¤Î¾®ÌÜÀ¹¤ê¹ï¤ß¤Î°õ¤Ï set my2tics ¤ÇÀ©¸æ¤µ¤ì¤Þ¤¹¡£°Ê²¼»²¾È:set mxtics (82.43)¡£

82.45 Mytics

y ¼´¤Î¾®ÌÜÀ¹¤ê¹ï¤ß¤Î°õ¤Ï set mytics ¤ÇÀ©¸æ¤µ¤ì¤Þ¤¹¡£°Ê²¼»²¾È:set mxtics (82.43)¡£

82.46 Mztics

z ¼´¤Î¾®ÌÜÀ¹¤ê¹ï¤ß¤Î°õ¤Ï set mztics ¤ÇÀ©¸æ¤µ¤ì¤Þ¤¹¡£°Ê²¼»²¾È:set mxtics (82.43)¡£

82.47 Object

¥³¥Þ¥ó¥É set object ¤Ï¡¢¤½¤Î¸å¤Î 2 ¼¡¸µÉÁ²è¤¹¤Ù¤Æ¤Ëɽ¤ï¤ì¤ëñ°ì¤Î¥ª ¥Ö¥¸¥§¥¯¥È¤òÄêµÁ¤·¤Þ¤¹¡£¥ª¥Ö¥¸¥§¥¯¥È¤Ï¤¤¤¯¤Ä¤Ç¤âÄêµÁ¤Ç¤­¤Þ¤¹¡£¥ª¥Ö¥¸¥§ ¥¯¥È¤Î·¿¤Ï¡¢¸½ºß¤Ï rectangle (ĹÊý·Á)¡¢circle (±ß)¡¢ellipse (Âʱß) ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£Ä¹Êý·Á¤Ï¡¢¥³¥Þ¥ó¥É set style rectangle ¤Ë¤è¤Ã¤ÆÀßÄꤵ¤ì¤¿¥¹¥¿¥¤¥ë¤Î°À­¤ÎÁÈ (ÅɤêÄÙ¤·¡¢¿§¡¢¶­³¦) ¤ò¥Ç¥Õ¥©¥ë¥È ¤È¤·¤Æ¼õ¤±·Ñ¤®¤Þ¤¹¤¬¡¢¸Ä¡¹¤Î¥ª¥¸¥§¥¯¥È¤òÊÌ¡¹¤Î¥¹¥¿¥¤¥ë°À­¤ÇÉÁ²è¤¹¤ë¤³ ¤È¤â¤â¤Á¤í¤ó²Äǽ¤Ç¤¹¡£±ß¤ÈÂʱߤϡ¢set style fill ¤Ë¤è¤ëÅɤêÄÙ¤·¥¹¥¿ ¥¤¥ë¤ò¼õ¤±·Ñ¤®¤Þ¤¹¡£

½ñ¼°:

   set object <index>
       <object-type> <object-properties>
       {front|back|behind} {clip|noclip}
       {fc|fillcolor <colorspec>} {fs <fillstyle>}
       {default} {lw|linewidth <width>}

< object-type> ¤Ï¡¢rectangle, ellipse, circle, polygon ¤Î¤¤¤º¤ì ¤«¤Ç¤¹¡£¸Ä¡¹¤Î¥ª¥Ö¥¸¥§¥¯¥È¤Î·¿¤Ï¡¢¤½¤Î·¿¤ËÆÃÍ­¤ÎÀ­¼Á¤â¤¤¤¯¤Ä¤«»ý¤Ã¤Æ¤¤ ¤Þ¤¹¡£

front ¤ò»ØÄꤹ¤ë¤È¡¢¥ª¥Ö¥¸¥§¥¯¥È¤Ï¤¹¤Ù¤Æ¤ÎÉÁ²èÍ×ÁǤÎÁ° (¾å) ¤ËÉÁ²è¤µ ¤ì¤Þ¤¹¤¬¡¢front ¤È»ØÄꤵ¤ì¤¿¥é¥Ù¥ë¤è¤ê¤Ï¸å¤í (²¼) ¤Ë¤Ê¤ê¤Þ¤¹¡£back ¤ò»ØÄꤹ¤ë¤È¡¢¤¹¤Ù¤Æ¤ÎÉÁ²èÍ×ÁÇ¡¢¤¹¤Ù¤Æ¤Î¥é¥Ù¥ë¤Î¸å¤í¤ËÇÛÃÖ¤µ¤ì¤Þ¤¹¡£ behind ¤Ï¡¢¼´¤ä back ¤ÎĹÊý·Á¤ò´Þ¤à¤¹¤Ù¤Æ¤Î¤â¤Î¤Î¸å¤í¤ËÇÛÃÖ¤µ¤ì¤Þ ¤¹¡£¤è¤Ã¤Æ¡¢

   set object rectangle from screen 0,0 to screen 1,1 behind

¤Ï¡¢¥°¥é¥Õ¤ä¥Ú¡¼¥¸Á´ÂΤÎÇطʤ˿§¤ò¤Ä¤±¤ë¤Î¤ËÍøÍѤǤ­¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¥ª¥Ö¥¸¥§¥¯¥È¤Ï¡¢¾¯¤Ê¤¯¤È¤â 1 ¤Ä¤ÎĺÅÀ¤¬¥¹¥¯¥ê¡¼¥óºÂɸ ¤ÇÍ¿¤¨¤é¤ì¤Æ¤¤¤Ê¤¤¸Â¤ê¡¢¥°¥é¥Õ¶­³¦¤Ç¥¯¥ê¥Ã¥Ô¥ó¥°¤µ¤ì¤Þ¤¹¡£noclip ¤È ÀßÄꤹ¤ë¤È¡¢¥°¥é¥Õ¶­³¦¤Ç¤Î¥¯¥ê¥Ã¥Ô¥ó¥°¤Ï̵¸ú¤Ë¤Ê¤ê¤Þ¤¹¤¬¡¢¥¹¥¯¥ê¡¼¥ó¥µ ¥¤¥º¤ËÂФ¹¤ë¥¯¥ê¥Ã¥Ô¥ó¥°¤Ï¹Ô¤ï¤ì¤Þ¤¹¡£

¥ª¥Ö¥¸¥§¥¯¥È¤ÎÅɤêÄÙ¤·¤Î¿§¤Ï < colorspec> ¤Ç»ØÄꤷ¤Þ¤¹¡£fillcolor ¤Ï fc ¤È¾Êά¤Ç¤­¤Þ¤¹¡£ÅɤêÄÙ¤·¥¹¥¿¥¤¥ë¤Ï < fillstyle> ¤Ç»ØÄꤷ¤Þ¤¹¡£¾ÜºÙ ¤Ï¡¢°Ê²¼»²¾È: colorspec (17.1), fillstyle (82.66.4)¡£¥­¡¼¥ï¡¼¥É default ¤ò»ØÄꤹ ¤ë¤È¡¢¤³¤ì¤é¤Î°À­¤ÏÉÁ²è¤¬¼ÂºÝ¤Ë¹Ô¤ï¤ì¤ë¤È¤­¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤ò¼õ¤±·Ñ ¤®¤Þ¤¹¡£°Ê²¼»²¾È: set style rectangle (82.66.9)¡£

82.47.1 Rectangle

½ñ¼°:
   set object <index> rectangle
       {from <position> {to|rto} <position> |
        center <position> size <w>,<h> |
        at <position> size <w>,<h>}

ĹÊý·Á¤Î°ÌÃ֤ϡ¢ÂгѤ˸þ¤«¤¤¹ç¤¦ 2 ¤Ä¤ÎĺÅÀ (º¸²¼¤È±¦¾å) ¤Î°ÌÃÖ¡¢¤¢¤ë ¤¤¤ÏÃæ¿´ÅÀ¤Î°ÌÃ֤Ȳ£Éý (< w> ) ¤È½ÄÉý (< h> ) ¤Ç»ØÄê¤Ç¤­¤Þ¤¹¡£¤¤¤º¤ì¤Î¾ì¹ç ¤âÅÀ¤Î°ÌÃ֤ϡ¢¼´¤ÎºÂɸ (first, second)¡¢¥°¥é¥ÕÎΰèÆâ¤ÎÁêÂкÂɸ (graph)¡¢¥¹¥¯¥ê¡¼¥óºÂɸ (screen) ¤Î¤¤¤º¤ì¤«¤ò»ÈÍѤǤ­¤Þ¤¹ (°Ê²¼»²¾È: coordinates (10))¡£¥ª¥×¥·¥ç¥ó at ¤È center ¤ÏƱ¤¸°ÕÌ£¤Ç¤¹¡£

Îã:

   # ºÂɸ¼´¤Ç°Ï¤Þ¤ì¤¿ÎΰèÁ´ÂΤÎÇطʤò¿å¿§¤Ë
   set object 1 rect from graph 0, graph 0 to graph 1, graph 1 back
   set object 1 rect fc rgb "cyan" fillstyle solid 1.0


   # º¸²¼³Ñ¤¬ 0,0, ±¦¾å³Ñ¤¬ 2,3 ¤ÎÀÖ¤¤»Í³Ñ¤ò°ì¤ÄÃÖ¤¯
   set object 2 rect from 0,0 to 2,3 fc lt 1


   # ÀĤ¤¶­³¦¤Î¶õ (ÅɤêÄÙ¤µ¤Ê¤¤) ĹÊý·Á¤òÃÖ¤¯
   set object 3 rect from 0,0 to 2,3 fs empty border rgb "blue"


   # ĺÅÀ¤Ï°ÜÆ°¤·¤Ê¤¤¤Þ¤Þ¡¢ÅɤêÄÙ¤·¤È¿§¤ò¥Ç¥Õ¥©¥ë¥È¤ËÊѹ¹
   set object 2 rect default

ĹÊý·Á¤ÎĺÅÀ¤ò¥¹¥¯¥ê¡¼¥óºÂɸ¤Ç»ØÄꤹ¤ë¤È¡¢¤½¤ì¤Ï¸½ºß¤Î¥°¥é¥Õ¤Îü¤Þ¤Ç¿­ ¤Ó¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤½¤ì°Ê³°¤ÎºÂɸ·Ï¤Ç¤Ï¡¢Ä¹Êý·Á¤Ï¥°¥é¥ÕÆâ¤Ë¼ý¤Þ¤ë¤è¤¦¤Ë¥¯¥ê¥Ã¥Ô¥ó¥°¤µ¤ì¤Þ¤¹¡£

82.47.2 Ellipse

½ñ¼°:
   set object <index> ellipse {at|center} <position> size <w>,<h>
       {angle <orientation>} {units xy|xx|yy}
       {<other-object-properties>}

ÂʱߤΰÌÃ֤ϡ¢Ãæ¿´¤ò»ØÄꤷ¡¢¤½¤Î¸å¤í¤ËÉý¤È¹â¤µ (¼ç¼´¤ÈÉû¼´) ¤ò»ØÄꤷ¤Þ ¤¹¡£¥­¡¼¥ï¡¼¥É at ¤È center ¤ÏƱ¤¸°ÕÌ£¤Ç¤¹¡£Ãæ¿´¤Î°ÌÃ֤λØÄê¤Ë¤Ï¡¢ ¼´¤ÎºÂɸ (first, second)¡¢¥°¥é¥ÕÎΰèÆâ¤ÎÁêÂкÂɸ (graph)¡¢¥¹¥¯¥ê ¡¼¥óºÂɸ (screen) ¤Î¤¤¤º¤ì¤«¤ò»ÈÍѤǤ­¤Þ¤¹ (°Ê²¼»²¾È: coordinates (10))¡£ ¼ç¼´¤ÈÉû¼´¤ÎŤµ¤Ï¡¢¼´¤ÎºÂɸ¤ÇÍ¿¤¨¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£Âʱߤθþ¤­ (orientation) ¤Ï¡¢¿åÊ¿¼´¤ÈÂʱߤμ缴¤È¤Î´Ö¤Î³ÑÅ٤ǻØÄꤷ¤Þ¤¹¡£³ÑÅÙ¤òÍ¿ ¤¨¤Ê¤±¤ì¤Ð¡¢¥Ç¥Õ¥©¥ë¥È¤ÎÂʱߤθþ¤­¤¬Âå¤ï¤ê¤Ë»È¤ï¤ì¤Þ¤¹ (°Ê²¼»²¾È:set style ellipse (82.66.10))¡£¥­¡¼¥ï¡¼¥É units ¤Ï¡¢Âʱߤμ´¤Î½Ì¼Ü¤ÎÀ©¸æ¤Ë»È ÍѤ·¤Þ¤¹¡£units xy ¤Ï¡¢¼ç¼´¤Ï x ¼´¤Îñ°Ì¤Ç¡¢Éû¼´¤Ï y ¼´¤Îñ°Ì¤Ç·×»» ¤·¤Þ¤¹¤¬¡¢units xx ¤Ïξ¼´¤È¤â x ¼´¤Îñ°Ì¤Ç½Ì¼Ü¤·¡¢units yy ¤Ïξ¼´ ¤È¤â y ¼´¤Îñ°Ì¤Ë¤Ê¤ê¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï xy ¤Ç¤¹¤¬¡¢set style ellipse units ¤ÎÀßÄê¤Ç¤¤¤Ä¤Ç¤âÊÑ ¹¹¤Ç¤­¤Þ¤¹¡£

Ãí°Õ: x ¼´¤È y ¼´¤Î½Ì¼Ü¤¬Åù¤·¤¯¤Ê¤¤¾ì¹ç (¤½¤·¤Æ units xy ¤Î¾ì¹ç)¡¢²ó ž¸å¤Î¼ç¼´¤ÈÉû¼´¤ÎÈæ¤ÏÀµ¤·¤¯¤Ï¤Ê¤ê¤Þ¤»¤ó¡£

set object ellipse size < 2r> ,< 2r> ¤È set object circle < r> ¤È¤Ï¡¢ °ìÈ̤ˤÏƱ¤¸¤³¤È¤Ë¤Ï¤Ê¤é¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£circle ¤ÎȾ·Â¤Ï¾ï ¤Ë x ¼´¤Îñ°Ì¤Ç·×¤é¤ì¡¢¤è¤Ã¤Æ x ¼´¤È y ¼´¤Î½Ì¼Ü¤¬°ã¤Ã¤¿¤ê¡¢ÉÁ²è¤Î¥¢¥¹ ¥Ú¥¯¥ÈÈ椬 1 ¤Ç¤Ê¤¯¤Æ¤â¡¢¾ï¤Ë±ß¤¬À¸À®¤µ¤ì¤Þ¤¹¡£units ¤¬ xy ¤ËÀßÄê ¤µ¤ì¤Æ¤¤¤ì¤Ð¡¢'set object ellipse' ¤Ç¤Ï¡¢ºÇ½é¤Î < 2r> ¤Ï x ¼´¤Îñ°Ì¤Ç¡¢ ¸å¤í¤Î < 2r> ¤Ï y ¼´¤Îñ°Ì¤Ç·×¤é¤ì¤Þ¤¹¤¬¡¢¤³¤ì¤Ï x ¼´¤È y ¼´¤Î½Ì¼Ü¤¬Æ± ¤¸¤Ç¡¢¤«¤ÄÉÁ²è¤Î¥¢¥¹¥Ú¥¯¥ÈÈ椬 1 ¤Ç¤¢¤ë¾ì¹ç¤Î¤ß±ß¤òÀ¸À®¤¹¤ë¤³¤È¤ò°ÕÌ£ ¤·¤Þ¤¹¡£¤·¤«¤·¡¢units ¤ò xx ¤ä yy ¤Ë¥»¥Ã¥È¤¹¤ì¤Ð¡¢¥³¥Þ¥ó¥É set object ¤Ç»ØÄꤷ¤¿Ä¾·Â¤ÏƱ¤¸Ã±°Ì¤Ç·×»»¤µ¤ì¤ë¤Î¤Ç¡¢ÂʱߤÏÀµ¤·¤¤¥¢ ¥¹¥Ú¥¯¥ÈÈæ¤ò»ý¤Á¡¢ÉÁ²è¤ò¥ê¥µ¥¤¥º¤·¤Æ¤â¤½¤Î¥¢¥¹¥Ú¥¯¥ÈÈæ¤ÏÊÝ»ý¤µ¤ì¤Þ¤¹¡£

82.47.3 Circle

½ñ¼°:
   set object <index> circle {at|center} <position> size <radius>
       {arc [<begin>:<end>]}
       {<other-object-properties>}

±ß¤Î°ÌÃ֤ϡ¢Ãæ¿´¤ò»ØÄꤷ¡¢¤½¤Î¸å¤í¤ËȾ·Â¤ò»ØÄꤷ¤Þ¤¹¡£¥­¡¼¥ï¡¼¥É at ¤È center ¤ÏƱ¤¸°ÕÌ£¤Ç¤¹¡£¤½¤Î°ÌÃÖ¤ÈȾ·Â¤Ë¤Ï¡¢x ¼´¤ÎºÂɸ¡¢¥°¥é¥ÕÎΰè Æâ¤ÎÁêÂкÂɸ (graph)¡¢¥¹¥¯¥ê¡¼¥óºÂɸ (screen) ¤Î¤¤¤º¤ì¤«¤ò»ÈÍѤǤ­ ¤Þ¤¹ (°Ê²¼»²¾È: coordinates (10))¡£¤½¤Î¤¤¤º¤ì¤Î¾ì¹ç¤Ç¤â¡¢È¾·Â¤Ï¼´¡¢¥°¥é¥Õ¡¢ ¥¹¥¯¥ê¡¼¥ó¤Î¿åÊ¿Êý¸þ¤Î½Ì¼Ü¤ËÂФ·¤Æ·×¤é¤ì¡¢¿åÊ¿Êý¸þ¤È¿âľÊý¸þ¤Î½Ì¼Ü¤Ë¤º ¤ì¤¬¤¢¤Ã¤Æ¤â¡¢·ë²Ì¤¬¾ï¤ËÀµ¤·¤¯±ß¤Ë¤Ê¤ë¤è¤¦¤Ëľ¤µ¤ì¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢´°Á´¤Ê±ß¤¬ÉÁ²è¤µ¤ì¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó¤Î arc ¤Ë³«»Ï³Ñ¤È ½ªÎ»³Ñ¤òÅÙ¤òñ°Ì¤È¤·¤Æ»ØÄꤹ¤ë¤È±ß¸Ì¤òÉÁ²è¤·¤Þ¤¹¡£±ß¸Ì¤Ï¡¢¾ï¤ËÈ¿»þ·×²ó ¤ê¤ËÉÁ¤«¤ì¤Þ¤¹¡£

82.47.4 Polygon

½ñ¼°:
   set object <index> polygon
       from <position> to <position> ... {to <position>}

¤Þ¤¿¤Ï
       from <position> rto <position> ... {rto <position>}

¿³Ñ·Á¤Î°ÌÃ֤ϡ¢ÄºÅÀ¤Î°ÌÃÖ¤ÎÎó¤òÍ¿¤¨¤ë¤³¤È¤Ç»ØÄê¤Ç¤­¤Þ¤¹¡£¤½¤ì¤é¤Ï¡¢¼´ ¤ÎºÂɸ (first, second)¡¢¥°¥é¥ÕÎΰèÆâ¤ÎÁêÂкÂɸ (graph)¡¢¥¹¥¯¥ê¡¼ ¥óºÂɸ (screen) ¤Î¤¤¤º¤ì¤«¤ò»ÈÍѤǤ­¤Þ¤¹¡£ÁêÂÐŪ¤ÊºÂɸ (rto) ¤ò»ØÄê ¤¹¤ë¾ì¹ç¤Ï¡¢¤½¤ÎºÂɸ·Ï¤ÏÁ°¤ÎĺÅÀ¤ÈƱ¤¸ºÂɸ·Ï¤Ç¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£°Ê²¼»²¾È: coordinates (10)¡£

Îã:

   set object 1 polygon from 0,0 to 1,1 to 2,0
   set object 1 fc rgb "cyan" fillstyle solid 1.0 border lt -1

82.48 Offsets

¥ª¥Õ¥»¥Ã¥È¤Ï¡¢¼«Æ°½Ì¼Ü¤µ¤ì¤¿¥°¥é¥Õ¤ÎÃæ¤Î¥Ç¡¼¥¿¤Î¼þ¤ê¤Ë¶õ¤Î¶­³¦¤òÃÖ¤¯»Å ÁȤߤòÄ󶡤·¤Þ¤¹¡£¥ª¥Õ¥»¥Ã¥È¤Ï¡¢x1,y1 ¼´¤È 2 ¼¡¸µ¤Î plot ¥³¥Þ¥ó¥É¤Î ¤ß¤Ç°ÕÌ£¤ò»ý¤Á¤Þ¤¹¡£

½ñ¼°:

     set offsets <left>, <right>, <top>, <bottom>
     unset offsets
     show offsets

³Æ¥ª¥Õ¥»¥Ã¥È¤ÏÄê¿ô¡¢¤Þ¤¿¤Ï¿ô¼°¤¬»È¤¨¡¢¤½¤ì¤é¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃÍ¤Ï 0 ¤Ç¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢º¸±¦¤Î¥ª¥Õ¥»¥Ã¥È¤Ï x1 ¼´¤ÈƱ¤¸Ã±°Ì¤Ç»ØÄꤷ¡¢¾å²¼¤Î¥ª¥Õ ¥»¥Ã¥È¤Ï y1 ¼´¤ÈƱ¤¸Ã±°Ì¤Ç»ØÄꤷ¤Þ¤¹¤¬¡¢¥­¡¼¥ï¡¼¥É "graph" ¤òÍѤ¤¤ë¤³ ¤È¤Ç¼´¤ÎÁ´ÈϰϤËÂФ¹¤ë³ä¹ç¤È¤·¤Æ¥ª¥Õ¥»¥Ã¥È¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£Àµ ¤Î¥ª¥Õ¥»¥Ã¥È¤ÎÃͤϡ¢¼´¤ÎÈϰϤò»ØÄꤵ¤ì¤¿Êý¸þ¤Ø¿­¤Ð¤·¤Þ¤¹¡£Î㤨¤ÐÀµ¤Î²¼ Êý¸þ¤Î¥ª¥Õ¥»¥Ã¥È¤Ï y ¤ÎºÇ¾®Ãͤò¤è¤ê¾®¤µ¤ÊÃͤˤ·¤Þ¤¹¡£µö¤µ¤ì¤Æ¤¤¤ëÈÏ°Ï ¤Ç¤ÎÉé¤Î¥ª¥Õ¥»¥Ã¥È¤Ï¡¢¼«Æ°½Ì¼Ü¡¢¤¢¤ë¤¤¤Ï¥¯¥ê¥Ã¥Ô¥ó¥°¤È¤Î»×¤¤¤â¤è¤é¤Ì·ë ²Ì¤òÀ¸¤à²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£¼«Æ°½Ì¼Üµ¡Ç½¤«¤é¼´¤ÎÈϰϤÎÄ´Àá¤ò¼é¤ê¤¿¤¤¾ì¹ç ¤Ï¡¢"set auto fix" ¤â»ØÄꤹ¤ë¤È¤¤¤¤¤Ç¤·¤ç¤¦¡£

Îã:

     set auto fix
     set offsets graph 0.05, 0, 2, 2
     plot sin(x)

¤³¤Î sin(x) ¤Î¥°¥é¥Õ¤Î y ¤ÎÈÏ°Ï¤Ï [-3:3] ¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì¤Ï¡¢´Ø¿ô¤Î y ¤ÎÈÏ°Ï¤Ï [-1:1] ¤Ë¼«Æ°½Ì¼Ü¤µ¤ì¤Þ¤¹¤¬¡¢¿âľÊý¸þ¤Î¥ª¥Õ¥»¥Ã¥È¤¬¤½¤ì¤¾ ¤ì 2 ¤Ç¤¢¤ë¤¿¤á¤Ç¤¹¡£x ¤ÎÈÏ°Ï¤Ï [-11:10] ¤Ë¤Ê¤ê¤Þ¤¹¤¬¡¢¤³¤ì¤Ï¥Ç¥Õ¥© ¥ë¥È¤¬ [-10:10] ¤Ç¤½¤ÎÁ´ÈϰϤ¬º¸¤Ë 0.05 ¤Î³ä¹ç¤À¤±¿­¤Ð¤µ¤ì¤ë¤¿¤á¤Ç¤¹¡£

82.49 Origin

¥³¥Þ¥ó¥É set origin ¤Ï¥¹¥¯¥ê¡¼¥ó¾å¤Ç¶ÊÌÌÉÁ²è¤Î¸¶ÅÀ¤ò»ØÄê (¤¹¤Ê¤ï¤Á¡¢ ¥°¥é¥Õ¤È¤½¤Î;Çò) ¤¹¤ë¤Î¤Ë»ÈÍѤ·¤Þ¤¹¡£¤½¤ÎºÂɸ·Ï¤Ï¥¹¥¯¥ê¡¼¥óºÂɸ·Ï (screen) ¤ÇÍ¿¤¨¤Þ¤¹¡£¤³¤ÎºÂɸ·Ï¤Ë´Ø¤¹¤ë¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È:coordinates (10)¡£

½ñ¼°:

     set origin <x-origin>,<y-origin>

82.50 Output

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¥°¥é¥Õ¤Ïɸ½à½ÐÎϤËɽ¼¨¤µ¤ì¤Þ¤¹¡£¥³¥Þ¥ó¥É set output ¤Ï ¤½¤Î½ÐÎϤò»ØÄꤵ¤ì¤¿¥Õ¥¡¥¤¥ë¤ä¥Ç¥Ð¥¤¥¹¤Ë¥ê¥À¥¤¥ì¥¯¥È¤·¤Þ¤¹¡£

½ñ¼°:

     set output {"<filename>"}
     show output

¥Õ¥¡¥¤¥ë̾¤Ï°úÍÑÉä¤Ç°Ï¤Þ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£¥Õ¥¡¥¤¥ë̾¤¬¾Êά¤µ¤ì¤¿¾ì¹ç ¤Ï¡¢Ä¾Á°¤Î set output ¤Ç³«¤«¤ì¤¿¥Õ¥¡¥¤¥ë¤¬¥¯¥í¡¼¥º¤µ¤ì¡¢¿·¤¿¤Ê½ÐÎϤ¬ ɸ½à½ÐÎÏ (STDOUT) ¤ËÁ÷¤é¤ì¤Þ¤¹¡£(¤â¤·¡¢set output "STDOUT" ¤È¤¹¤ë¤È ½ÐÎÏ¤Ï "STDOUT" ¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤ËÁ÷¤é¤ì¤ë¤«¤â¤·¤ì¤Þ¤»¤ó ! ["¤«¤â ¤·¤ì¤Ê¤¤" ¤È¤¤¤¦¤Î¤Ï¡¢Î㤨¤Ð x11 ¤ä wxt ¤Ê¤É¤Î terminal (½ÐÎÏ·Á¼°) ¤Ç¤Ï set output ¤¬Ìµ»ë¤µ¤ì¤ë¤«¤é¤Ç¤¹¡£])

set terminal ¤È set output ¤ÎξÊý¤ò»ØÄꤹ¤ë¾ì¹ç¡¢set terminal ¤ò Àè¤Ë»ØÄꤹ¤ëÊý¤¬°ÂÁ´¤Ç¤¹¡£¤½¤ì¤Ï¡¢¤¢¤ë¼ï¤Î terminal ¤Ç¤Ï¡¢OS ¤¬É¬Í×¤È ¤¹¤ë¥Õ¥é¥°¤ò¥»¥Ã¥È¤¹¤ë¤³¤È¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£Î㤨¤Ð¡¢OS ¤¬¥Õ¥¡¥¤¥ë¤ò³«¤¯ ¤È¤­¤Ë (Îéµ·Îɤ¯) ¥Õ¥¡¥¤¥ë¤¬¥Õ¥©¡¼¥Þ¥Ã¥È¤µ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤òÃΤëɬÍפ¬ ¤¢¤ë¤è¤¦¤Ê OS ¤Ê¤É¤¬¤½¤ì³ºÅö¤·¤Þ¤¹¡£

popen ´Ø¿ô¤ò»ý¤Ä¤è¤¦¤Ê¥Þ¥·¥ó (Unix Åù) ¤Ç¤Ï¡¢¥Õ¥¡¥¤¥ë̾¤ÎºÇ½é¤ò '| ' ¤È ¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢½ÐÎϤò¥·¥§¥ë¥³¥Þ¥ó¥É¤Ë¥Ñ¥¤¥×¤ÇÅϤ¹¤³¤È¤¬²Äǽ¤Ç¤¹¡£Î㤨 ¤Ð°Ê²¼¤ÎÄ̤ê¤Ç¤¹:


     set output "|lpr -Plaser filename"
     set output "|lp -dlaser filename"

MS-DOS ¤Ç¤Ï¡¢set output "PRN" ¤È¤¹¤ë¤Èɸ½à¤Î¥×¥ê¥ó¥¿¤Ë½ÐÎϤµ¤ì¤Þ¤¹¡£ VMS ¤Ç¤Ï½ÐÎϤÏǤ°Õ¤Î¥¹¥×¡¼¥ë²Äǽ¤Ê¥Ç¥Ð¥¤¥¹¤ËÁ÷¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£½ÐÎϤò DECnet Æ©²á¤Ê¥¿¥¹¥¯¤ËÁ÷¤ë¤³¤È¤â²Äǽ¤Ç¡¢¤½¤ì¤Ï¤¢¤ë¼ï¤Î½ÀÆðÀ­¤òÍ¿¤¨¤Æ¤¯ ¤ì¤Þ¤¹¡£

82.51 Parametric

set parametric ¥³¥Þ¥ó¥É¤Ï plot ¤ª¤è¤Ó splot ¤Î°ÕÌ£¤òÄ̾ï¤Î´Ø¿ôÉÁ ²è¤«¤éÇÞ²ðÊÑ¿ôɽ¼¨ (parametric) ´Ø¿ôÉÁ²è¤ËÊѹ¹¤·¤Þ¤¹¡£unset parametric ¤ò»È¤¨¤Ð¸µ¤ÎÉÁ²è¥â¡¼¥É¤ËÌá¤ê¤Þ¤¹¡£

½ñ¼°:

     set parametric
     unset parametric
     show parametric

2 ¼¡¸µ¥°¥é¥Õ¤Ë¤ª¤¤¤Æ¤Ï¡¢ÇÞ²ðÊÑ¿ôɽ¼¨´Ø¿ô¤Ï¤Ò¤È¤Ä¤ÎÇÞ²ðÊÑ¿ô¤ËÂФ¹¤ë 2 ¤Ä¤Î´Ø¿ô¤ÇÄê¤á¤é¤ì¤Þ¤¹¡£Îã¤È¤·¤Æ¤Ï plot sin(t),cos(t) ¤È¤¹¤ë¤³¤È¤Ë¤è¤Ã ¤Æ±ß¤¬ÉÁ¤±¤Þ¤¹ (¥¢¥¹¥Ú¥¯¥ÈÈ椬Àµ¤·¤¯ÀßÄꤵ¤ì¤Æ¤¤¤ì¤Ð¡£°Ê²¼»²¾È:set size (82.65))¡£gnuplot ¤Ï¡¢Î¾Êý¤Î´Ø¿ô¤¬ÇÞ²ðÊÑ¿ô¤Ë¤è¤ë plot ¤Î¤¿¤á¤Ë Í¿¤¨¤é¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤ò½Ð¤·¤Þ¤¹¡£

3 ¼¡¸µ¥°¥é¥Õ¤Ë¤ª¤¤¤Æ¤ÏÌÌ¤Ï x = f(u,v), y = g(u,v), z = h(u,v) ¤ÇÄê¤á ¤é¤ì¤Þ¤¹¡£¤è¤Ã¤Æ 3 ¤Ä¤Î´Ø¿ô¤òÁȤǻØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£Îã¤È¤·¤Æ¤Ï¡¢ cos(u)*cos(v),cos(u)*sin(v),sin(u) ¤È¤¹¤ë¤³¤È¤Ë¤è¤Ã¤ÆµåÌ̤¬ÉÁ¤±¤Þ¤¹¡£ gnuplot ¤Ï¡¢3 ¤ÄÁ´Éô¤Î´Ø¿ô¤¬ÇÞ²ðÊÑ¿ô¤Ë¤è¤ë splot ¤Î¤¿¤á¤ËÍ¿¤¨¤é¤ì ¤Æ¤¤¤Ê¤±¤ì¤Ð¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤ò½Ð¤·¤Þ¤¹¡£

¤³¤ì¤Ë¤è¤Ã¤Æɽ¸½¤Ç¤­¤ë´Ø¿ô·²¤Ï¡¢Ã±½ã¤Ê f(x) ·¿¤Î´Ø¿ô·²¤ÎÆâÊñ¤¹¤ë¤³¤È¤Ë ¤Ê¤ê¤Þ¤¹¡£¤Ê¤¼¤Ê¤é¤Ð¡¢2 ¤Ä (3 ¤Ä) ¤Î´Ø¿ô¤Ï x, y (, z) ¤ÎÃͤòÆÈΩ¤Ë·×»» ¤¹¤ëµ­½Ò¤¬¤Ç¤­¤ë¤«¤é¤Ç¤¹¡£¼ÂºÝ¡¢t,f(t) ¤Î¥°¥é¥Õ¤Ï¡¢°ìÈÖÌܤδؿô¤Î¤è¤¦ ¤Ê¹±Åù´Ø¿ô¤òÍѤ¤¤Æ x ¤ÎÃͤ¬·×»»¤µ¤ì¤ë¾ì¹ç¤Ë f(x) ¤Ë¤è¤Ã¤ÆÀ¸À®¤µ¤ì¤ë¥° ¥é¥Õ¤ÈÅù²Á¤Ç¤¹¡£Æ±Íͤˡ¢3 ¼¡¸µ¤Ç¤Î u,v,f(u,v) ¤ÎÉÁ²è¤Ï¡¢f(x,y) ¤ÈÅù²Á ¤Ç¤¹¡£

ÇÞ²ðÊÑ¿ôɽ¼¨´Ø¿ô¤Ï¡¢x ¤Î´Ø¿ô¡¢y ¤Î´Ø¿ô (¡¢z ¤Î´Ø¿ô)¤Î½ç¤Ë»ØÄꤷ¡¢¤½¤ì ¤é¤Ï¶¦Ä̤ÎÇÞ²ðÊÑ¿ô¤ª¤è¤Ó¤½¤ÎÊÑ°è¤ÇÄêµÁ¤µ¤ì¤ë¤³¤È¤Ëα°Õ¤·¤Æ²¼¤µ¤¤¡£

¤µ¤é¤Ë¡¢set parametric ¤Î»ØÄê¤Ï¡¢¿·¤·¤¤ÊÑ¿ôÊÑ°è¤ò»ÈÍѤ¹¤ë¤³¤È¤ò°Å¤Ë Àë¸À¤·¤Þ¤¹¡£Ä̾ï¤Î f(x) ¤ä f(x,y) ¤¬ xrange¡¢yrange (¡¢zrange) ¤ò»ÈÍÑ ¤¹¤ë¤Î¤ËÂФ·¤Æ¡¢ÇÞ²ðÊÑ¿ô¥â¡¼¥É¤Ç¤Ï¤½¤ì¤Ë²Ã¤¨¤Æ¡¢trange, urange, vrange ¤ò»ÈÍѤ·¤Þ¤¹¡£¤³¤ì¤é¤ÎÊÑ°è¤Ï set trange, set urange, set vrange ¤Ë¤è¤Ã¤ÆľÀÜ»ØÄꤹ¤ë¤³¤È¤â¡¢plot ¤ä splot ¤Ç»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£ ¸½»þÅÀ¤Ç¤Ï¡¢¤³¤ì¤é¤ÎÇÞ²ðÊÑ¿ô¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÊÑ°è¤Ï [-5:5] ¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ ¾­ÍèŪ¤Ë¤Ï¤³¤ì¤é¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤò¤â¤Ã¤ÈÍ­°Õ¤Ê¤â¤Î¤ËÊѹ¹¤¹¤ëͽÄê¤Ç¤¹¡£

82.52 Plot

¥³¥Þ¥ó¥É show plot ¤Ï¸½ºß¤ÎÉÁ²è¥³¥Þ¥ó¥É¡¢¤¹¤Ê¤ï¤Á replot ¥³¥Þ¥ó¥É ¤ÇºÆ¸½¤µ¤ì¤ë¡¢Ä¾Á°¤Ë¹Ô¤ï¤ì¤¿ plot ¤ä splot ¥³¥Þ¥ó¥É¤òɽ¼¨¤·¤Þ¤¹¡£

¤µ¤é¤Ë¥³¥Þ¥ó¥Éshow plot add2history ¤Ï¡¢¤³¤Î¸½ºß¤ÎÉÁ²è¥³¥Þ¥ó¥É¤ò history ¤Ë½ñ¤­½Ð¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢replot ¤ò»È¤Ã¤ÆľÁ°¤ÎÉÁ²è¥³¥Þ¥ó¥É ¤Ë¶ÊÀþ¤òÄɲä·¤¿¾ì¹ç¡¢¤½¤·¤Æ¥³¥Þ¥ó¥É¹ÔÁ´ÂΤò¤¹¤°¤ËÊÔ½¸¤·¤¿¤¤¾ì¹ç¤ËÊØÍø ¤Ç¤¹¡£

82.53 Pm3d

pm3d ¤Ï splot ¤Î°ì¤Ä¤Î¥¹¥¿¥¤¥ë¤Ç¡¢¥Ñ¥ì¥Ã¥È¤Ë³ä¤êÉÕ¤±¤é¤ì¤¿ 3 ¼¡¸µ¡¢ 4 ¼¡¸µ¥Ç¡¼¥¿¤ò¡¢¥«¥é¡¼/³¥¿§¤Î¿§ÃÏ¿Þ/¶ÊÌ̤Ȥ·¤ÆÉÁ²è¤·¤Þ¤¹¡£¤³¤ì¤Ï¤¢¤ë¥¢ ¥ë¥´¥ê¥º¥à¤òÍѤ¤¤Æ¤¤¤Æ¡¢¤³¤ì¤Ï¥Ç¡¼¥¿¤¬³Ê»Ò¾õ¤Ç¤¢¤Ã¤Æ¤â¡¢¥Ç¡¼¥¿ÁöººËè¤Ë ÅÀ¤Î¿ô¤¬°ã¤Ã¤Æ¤¤¤ë¤è¤¦¤ÊÈó³Ê»Ò¾õ¤Î¥Ç¡¼¥¿¤Ç¤¢¤Ã¤Æ¤â¡¢Á°½èÍý¤¹¤ë¤³¤È¤Ê¤¯ ÉÁ²è¤Ç¤­¤Þ¤¹¡£

½ñ¼° (¥ª¥×¥·¥ç¥ó¤ÏǤ°Õ¤Î½ç¤ÇÍ¿¤¨¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹):

     set pm3d
     set pm3d {
                { at <position> }
                { interpolate <steps/points in scan, between scans> }
                { scansautomatic | scansforward | scansbackward | depthorder }
                { flush { begin | center | end } }
                { ftriangles | noftriangles }
                { clip1in | clip4in }
                { corners2color { mean|geomean|median|min|max|c1|c2|c3|c4 } }
                { hidden3d {<linestyle>} | nohidden3d }
                { implicit | explicit }
                { map }
              }
     show pm3d
     unset pm3d

splot ¥³¥Þ¥ó¥É¤Ç with pm3d ¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¤Þ¤¿¤Ï¥Ç¡¼¥¿¤ä´Ø¿ôÉÁ²è¥¹ ¥¿¥¤¥ë (style) ¤¬Âç°èŪ¤Ë pm3d ¤Ë¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤¢¤ë¤¤¤Ï¡¢ pm3d ¥â¡¼¥É¤¬ set pm3d implicit ¤È¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢pm3d ¤Î¥«¥é¡¼¶Ê Ì̤¬ÉÁ²è¤µ¤ì¤Þ¤¹¡£¸å¤Î 2 ¤Ä¤Î¾ì¹ç¤Ï¡¢plot ¥³¥Þ¥ó¥É¤Ç»ØÄꤷ¤¿¥¹¥¿¥¤¥ë¤Ç À¸À®¤µ¤ì¤ëÌÖÌÜ¤Ë p3md ¶ÊÌ̤òÄɲ乤ë·Á¤ÇÉÁ²è¤·¤Þ¤¹¡£Î㤨¤Ð¡¢

     splot 'fred.dat' with lines, 'lola.dat' with lines

¤Ï¡¢³Æ¥Ç¡¼¥¿½¸¹çËè¤ËÀÞ¤ìÀþ¤Ë¤è¤ëÌÖÌÜ¤È pm3d ¶ÊÌ̤ÎξÊý¤òÉÁ²è¤·¤Þ¤¹¡£ ¥ª¥×¥·¥ç¥ó explicit ¤¬ ON (¤Þ¤¿¤Ï implicit ¤¬ OFF) ¤Î¾ì¹ç¤Ï¡¢Â°À­ with pm3d ¤¬»ØÄꤵ¤ì¤¿ÉÁ²è¤Î¤ß¤¬ pm3d ¶ÊÌ̤Ȥ·¤ÆÉÁ²è¤µ¤ì¤Þ¤¹¡£Î㤨¤Ð
     splot 'fred.dat' with lines, 'lola.dat' with pm3d

¤Ï¡¢'freq.dat' ¤ÏÀÞ¤ìÀþ¤Ç (Àþ¤Î¤ß¤Ç)¡¢'lola.dat' ¤Ï pm3d ¶ÊÌ̤ÇÉÁ²è¤µ ¤ì¤Þ¤¹¡£

gnuplot ¤Îµ¯Æ°»þ¤Ï¤½¤Î¥â¡¼¥É¤Ï explicit ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£Îò»ËŪ¡¢¤½¤· ¤Æ¸ß´¹À­¤Î¤¿¤á¤Ë¡¢¥³¥Þ¥ó¥É set pm3d; (¤¹¤Ê¤ï¤Á¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤ ¾ì¹ç) ¤È set pm3d at X ... (¤¹¤Ê¤ï¤Á at ¤¬ºÇ½é¤Î¥ª¥×¥·¥ç¥ó¤Î¾ì¹ç) ¤Ï¥â¡¼¥É¤ò implicit ¤ËÊѹ¹¤·¤Þ¤¹¡£¥³¥Þ¥ó¥É set pm3d; ¤Ï¡¢¤½¤Î¾¤Î ¥ª¥×¥·¥ç¥ó¤ò¤½¤ì¤é¤Î¥Ç¥Õ¥©¥ë¥È¤Î¾õÂÖ¤ËÀßÄꤷ¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Î¥Ç¡¼¥¿/´Ø¿ô¤ÎÉÁ²è¥¹¥¿¥¤¥ë¤ò pm3d ¤Ë¤·¤¿¤¤¾ì¹ç¤Ï¡¢Î㤨¤Ð

     set style data pm3d

¤È¤·¤Þ¤¹¡£¤³¤Î¾ì¹ç¡¢¥ª¥×¥·¥ç¥ó implicit ¤È explicit ¤Ï¸úÎϤò»ý¤Á¤Þ ¤»¤ó¡£

¤¤¤¯¤Ä¤«¤ÎÉÁ²è¤Ë¤ª¤¤¤Æ¤Ï¡¢¤½¤ì¤é¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÇÍ¿¤¨¤é¤ì¤¿½ç¤ËÉÁ²è¤µ ¤ì¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤ì¤ÏÆäˡ¢°ÊÁ°¤ÎÉÁ²è¤ò¾å½ñ¤­¤·¤Æ¤½¤ì¤Ç¤½¤Î°ìÉô¤ò±£¤·¤Æ¤·¤Þ¤¦²ÄǽÀ­¤¬¤¢¤ë¤è¤¦¤Ê¶ÊÌ̤ÎÅɤê¤Ä¤Ö¤·¤ÎºÝ¤Ë´Ø¿´¤ò»ý¤¿¤ì¤ë¤Ç¤·¤ç¤¦¡£

p3md ¤Î¿§ÉÕ¤±¤Ï¡¢3 ¤Ä¤Î°Û¤Ê¤ë°ÌÃÖ top, bottom, surface ¤Î¤¤¤º¤ì ¤«¡¢¤Þ¤¿¤Ï¤¹¤Ù¤Æ¤Ë¹Ô¤¨¤Þ¤¹¡£°Ê²¼»²¾È: pm3d position (82.53.2)¡£°Ê²¼¤Î¥³¥Þ¥ó¥É¤Ï¡¢°Û¤Ê¤Ã¤¿¹â¤µ¤Ç 3 ¤Ä¤Î¿§ÉÕ¤­¤Î¶ÊÌ̤òÉÁ¤­¤Þ¤¹:

     set border 4095
     set pm3d at s
     splot 10*x with pm3d at b, x*x-y*y, x*x+y*y with pm3d at t

°Ê²¼¤â»²¾È: set palette (82.54), set cbrange (82.126), set colorbox (82.12)¡£¤½¤·¤Æ¤â¤Á¤í ¤ó¥Ç¥â¥Õ¥¡¥¤¥ë demo/pm3d.dem ¤â»²¹Í¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£

82.53.1 Pm3d ¤Î¥¢¥ë¥´¥ê¥º¥à (algorithm)

¤Þ¤º¡¢ÃÏ¿Þ/¶ÊÌ̤¬¤É¤Î¤è¤¦¤ËÉÁ¤«¤ì¤ë¤Î¤«¤Ë¤Ä¤¤¤Æµ­½Ò¤·¤Þ¤¹¡£ÆþÎϥǡ¼¥¿ ¤Ï¡¢´Ø¿ô¤òɾ²Á¤·¤ÆÆÀ¤é¤ì¤ë¤«¤Þ¤¿¤Ï splot data file ¤«¤éÆÀ¤é¤ì¤Þ¤¹¡£ ¶ÊÌ̤ϡ¢Áöºº (¸ÉΩÀþ) ¤Î·«¤êÊÖ¤·¤Ç¹½À®¤µ¤ì¤Þ¤¹¡£pm3d ¥¢¥ë¥´¥ê¥º¥à¤Ç¤Ï¡¢ ºÇ½é¤ÎÁöºº¤Ç¸¡½Ð¤µ¤ì¤¿ÎÙ¤ê¹ç¤¦ 2 ÅÀ¤È¡¢¼¡¤ÎÁöºº¤Ç¸¡½Ð¤µ¤ì¤¿Â¾¤Î 2 ÅÀ¤Î ´Ö¤ÎÎΰ褬¡¢¤³¤ì¤é 4 ÅÀ¤Î z ¤ÎÃÍ (¤Þ¤¿¤ÏÄɲ䵤줿 'color' ÍѤÎÎó¤ÎÃÍ¡¢ °Ê²¼»²¾È: using (72.3.8)) ¤Ë½¾¤Ã¤Æ³¥¿§¤Ç (¤Þ¤¿¤Ï ¥«¥é¡¼¤Ç) Åɤé¤ì¤Þ¤¹¡£¥Ç¥Õ¥© ¥ë¥È¤Ç¤Ï 4 ¤Ä¤Î³Ñ¤ÎÃͤÎÊ¿¶ÑÃͤ¬»È¤ï¤ì¤Þ¤¹¤¬¡¢¤½¤ì¤Ï¥ª¥×¥·¥ç¥ó corners2color ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£¤½¤ì¤Ê¤ê¤Î¶ÊÌ̤òÉÁ¤¯¤¿¤á¤Ë¤Ï¡¢ÎÙ¤ê¹ç¤¦ 2 ÅÀ¤ÎÁöºº¤¬¸òº¹¤·¤Æ¤Ï¤¤¤±¤Ê¤¯¤Æ¡¢¶áÀÜÅÀÁöººËè¤ÎÅÀ¤Î¿ô¤¬°ã¤¤¤¹¤®¤Æ¤Ï¤¤ ¤±¤Þ¤»¤ó¡£¤â¤Á¤í¤ó¡¢ºÇ¤âÎɤ¤¤Î¤ÏÁöºº¤ÎÅÀ¤Î¿ô¤¬Æ±¤¸¤³¤È¤Ç¤¹¡£Â¾¤Ë¤Ï²¿¤â ɬÍפǤϤ¢¤ê¤Þ¤»¤ó (Î㤨¤Ð¥Ç¡¼¥¿¤Ï³Ê»Ò¾õ¤Ç¤¢¤ëɬÍפâ¤Ê¤¤)¡£Â¾¤Ë¤â¤³¤Î pm3d ¥¢¥ë¥´¥ê¥º¥à¤Ï¡¢ÆþÎϤµ¤ì¤¿ (·×¬¤µ¤ì¤¿¡¢¤¢¤ë¤¤¤Ï·×»»¤µ¤ì¤¿) ÎÎ°è ¤Î³°¤Ë¤Ï²¿¤âÉÁ¤«¤Ê¤¤¡¢¤È¤¤¤¦Ä¹½ê¤¬¤¢¤ê¤Þ¤¹¡£

¶ÊÌ̤ο§¤Å¤±¤Ï¡¢°Ê²¼¤Î¤è¤¦¤ÊÆþÎϥǡ¼¥¿¤Ë´Ø¤·¤Æ¹Ô¤ï¤ì¤Þ¤¹:

1. ´Ø¿ô¡¢¤Þ¤¿¤Ï 1 ¤Ä¤« 3 ¤Ä¤Î¥Ç¡¼¥¿Î󤫤é¤Ê¤ë¥Ç¡¼¥¿¤Î splot: ¾å¤Ë½Ò¤Ù ¤¿»Í³Ñ·Á¤Î 4 ¤Ä¤Î³Ñ¤Î z ºÂɸ¤ÎÊ¿¶ÑÃÍ (¤Þ¤¿¤Ï corners2color) ¤«¤é¡¢³¥ ¿§¤ÎÈÏ°Ï [0:1] ¤òÍ¿¤¨¤ë zrange ¤Þ¤¿¤Ï cbrange ¤ÎÈÏ°Ï [min_color_z,max_color_z] ¤Ø¤ÎÂбþ¤Ë¤è¤ê¡¢³¥¿§/¥«¥é¡¼¤ÎÃͤ¬ÆÀ¤é¤ì¤Þ¤¹¡£ ¤³¤ÎÃͤϡ¢Ä¾Àܳ¥¿§¤Î¿§ÃÏ¿ÞÍѤγ¥¿§¤ÎÃͤȤ·¤Æ»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£Àµµ¬²½ ¤µ¤ì¤¿³¥¿§¤ÎÃͤò¥«¥é¡¼¤ËÂбþ¤µ¤»¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£´°Á´¤ÊÀâÌÀ¤Ï¡¢°Ê²¼»²¾È: set palette (82.54)¡£

2. 2 ¤Ä¤« 4 ¤Ä¤Î¥Ç¡¼¥¿Î󤫤é¤Ê¤ë¥Ç¡¼¥¿¤Î splot: ³¥¿§/¥«¥é¡¼¤ÎÃͤϡ¢z ¤ÎÃͤÎÂå¤ï¤ê¤ËºÇ¸å¤ÎÎó¤ÎºÂɸ¤ò»È¤Ã¤ÆÆÀ¤é¤ì¤Þ¤¹¤Î¤Ç¡¢¿§¤È z ºÂɸ¤¬ÆÈΩ ¤Ê¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤Ï 4 ¼¡¸µ¥Ç¡¼¥¿¤ÎÉÁ²è¤Ë»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¾¤ÎÃí°Õ:

1. ʪÍý³Ø¼Ô¤Î´Ö¤Ç¤Ï¡¢gnuplot ¤Îʸ½ñ¤ä¥½¡¼¥¹¤Ë¸½¤ï¤ì¤ë 'iso_curve' (¸É ΩÀþ) ¤È¤¤¤¦¸ÀÍÕ¤è¤ê¤â¡¢¾å¤Ç¸ÀµÚ¤·¤¿ 'Áöºº (scan)' ¤È¤¤¤¦¸ÀÍÕ¤ÎÊý¤¬»È ¤ï¤ì¤Æ¤¤¤Þ¤¹¡£1 ÅÙ¤ÎÁöºº¤È¾¤ÎÁöºº¤Îµ­Ï¿¤Ë¤è¤ê¿§ÃÏ¿Þ¤òɾ²Á¤¹¤ë¡¢¤È¤¤¤¦ ¤Î¤Ï¤½¤¦¤¤¤¦°ÕÌ£¤Ç¤¹¡£

2. 'gray' ¤ä 'color' ¤ÎÃÍ (scale) ¤Ï¡¢³ê¤é¤«¤ËÊѲ½¤¹¤ë¥«¥é¡¼¥Ñ¥ì¥Ã¥È¤Ø ¤Î¡¢Ï¢Â³¤ÊÊÑ¿ô¤ÎÀþ·Á¼ÌÁü¤Ç¤¹¡£¤½¤Î¼ÌÁü¤ÎÍͻҤÏÉÁ²è¥°¥é¥Õ¤ÎÎÙ¤ËĹÊý·Á¤Ç ɽ¼¨¤µ¤ì¤Þ¤¹¡£¤³¤Îʸ½ñ¤Ç¤Ï¤½¤ì¤ò "¥«¥é¡¼¥Ü¥Ã¥¯¥¹ (colorbox)" ¤È¸Æ¤Ó¡¢ ¤½¤ÎÊÑ¿ô¤ò¥«¥é¡¼¥Ü¥Ã¥¯¥¹¼´¤ÎÊÑ¿ô¤È¸Æ¤Ó¤Þ¤¹¡£°Ê²¼»²¾È: set colorbox (82.12),set cbrange (82.126)¡£

3. pm3d ¤Î¿§¤Å¤±¤ò 3 ¼¡¸µ¶ÊÌ̤ǤϤʤ¯ 2 ¼¡¸µÉÁ²è¤Ë»È¤¦¤Ë¤Ï¡¢ set view map ¤« set pm3d map ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

82.53.2 Pm3d ¤Î°ÌÃÖ (position)

¿§¤Î¶ÊÌ̤ÏÄìÌ̤«Å·°æ (¤³¤Î¾ì¹ç¤Ï³¥¿§/¥«¥é¡¼¤ÎÊ¿ÌÌÃÏ¿Þ) ¤«¶ÊÌ̾å¤ÎÅÀ¤Î z ºÂɸ (³¥¿§/¥«¥é¡¼¶ÊÌÌ) ¤ËÉÁ¤¯¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤½¤ÎÁªÂò¤Ï¡¢¥ª¥×¥·¥ç¥ó at ¤Ë¡¢b, t, s ¤Î 6 ¤Ä¤Þ¤Ç¤ÎÁȹ礻¤Îʸ»úÎó¤ò¤Ä¤±¤Æ»ØÄꤹ¤ë¤³¤È ¤Ç¹Ô¤¨¤Þ¤¹¡£Î㤨¤Ð at b ¤ÏÄìÌ̤ΤߤËÉÁ²è¤·¤Þ¤¹¤·¡¢at st ¤ÏºÇ½é¤Ë¶Ê Ì̤ËÉÁ¤¤¤Æ¼¡¤ËÅ·°æÌ̤˿§ÃÏ¿Þ¤òÉÁ¤­¤Þ¤¹¤·¡¢at bstbst ¤Ï ... ¿¿ÌÌÌÜ¤Ê Ïᢤ³¤ó¤Ê¤â¤Î¤Ï»È¤¤¤Þ¤»¤ó¡£

Åɤé¤ì¤¿»Í³Ñ·Á¤Ï¡¢¼¡¤«¤é¼¡¤Ø¤ÈÉÁ²è¤µ¤ì¤Æ¹Ô¤­¤Þ¤¹¡£¶ÊÌ̤òÉÁ²è¤¹¤ë¾ì¹ç (at s)¡¢¸å¤Î»Í³Ñ·Á¤¬Á°¤Î¤â¤Î¤Ë½Å¤Ê¤ê (¾å½ñ¤­¤·) ¤Þ¤¹ (gnuplot ¤ÏÅÉ¤é ¤ì¤¿Â¿³Ñ·Á¤ÎÌ֤νŤʤê¤ÎÁê¸ßºîÍѤò·×»»¤¹¤ë¤è¤¦¤Ê²¾ÁÛ¸½¼Â¥Ä¡¼¥ë¤Ç¤Ï¤¢¤ê ¤Þ¤»¤ó)¡£ ºÇ½é¤ËÁöºº¤µ¤ì¤ë¥Ç¡¼¥¿¤òºÇ½é¤ËÉÁ¤¯¤«ºÇ¸å¤ËÉÁ¤¯¤«¤òÀÚÂؤ¨¤ë¥¹ ¥¤¥Ã¥Á¥ª¥×¥·¥ç¥ó scansforward ¤È scansbackward ¤ò»î¤·¤Æ¤ß¤Æ¤¯¤À¤µ ¤¤¡£¥Ç¥Õ¥©¥ë¥È¤Ï scansautomatic ¤Ç¡¢¤³¤ì¤Ï gnuplot ¼«¿È¤ËÁöºº¤Î½ç¤ò ¿ä¬¤µ¤»¤Þ¤¹¡£°ìÊý¤Ç¡¢¥ª¥×¥·¥ç¥ó depthorder ¤Ï»Í³Ñ·Á¤Î½ç½ø¤ò´°Á´¤ËºÆ ¹½À®¤·¤Þ¤¹¡£Åɤê¤Ä¤Ö¤·¤Ï¿¼¤µ½ç¤ËʤÓÊѤ¨¤µ¤ì¤¿¸å¤Ç¹Ô¤ï¤ì¡¢¤³¤ì¤Ë¤è¤ê¤« ¤Ê¤êÊ£»¨¤Ê¶ÊÌ̤Ǥâ»ë³ÐŪ¤Ê¤â¤Î¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È:pm3d depthorder (82.53.3)¡£

82.53.3 Áöºº¤Î½çÈÖ (scanorder)

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢pm3d ¤ÎÅɤêÄÙ¤·¶ÊÌ̤ò¹½À®¤¹¤ë»Í³Ñ·Á¤Ï¡¢¤½¤ì¤é¤¬¶ÊÌ̤Π³Ê»ÒÅÀ¤Ë±è¤Ã¤Æ½Ð²ñ¤¦½çÈÖ¤ËÅɤêÄÙ¤µ¤ì¤Þ¤¹¡£¤³¤Î½çÈ֤ϡ¢¥ª¥×¥·¥ç¥ó scansautomatic| scansforward| scansbackward ¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¡£¤³¤ì¤é ¤ÎÁöºº (scan) ¥ª¥×¥·¥ç¥ó¤Ï¡¢°ìÈ̤ˤϱ£Ì̽èÍý¤È¤ÏξΩ¤·¤Þ¤»¤ó¡£

2 ²ó¤ÎϢ³¤¹¤ëÁöºº¤ÇÅÀ¤Î¿ô¤¬Æ±¤¸¤Ç¤Ê¤«¤Ã¤¿¾ì¹ç¡¢»Í³Ñ·Á¤ÎÅÀ¤Î¼è¤ê»Ï¤á¤ò¡¢ ξÊý¤ÎÁöºº¤ÎºÇ½é¤«¤é (flush begin) ¤Ë¤¹¤ë¤«¡¢ºÇ¸å¤«¤é (flush end) ¤Ë¤¹¤ë¤«¡¢¿¿Ã椫¤é (flush center) ¤Ë¤¹¤ë¤«¤ò·èÄꤷ¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£ flush (center| end) ¤Ï scansautomatic ¤È¤ÏξΩ¤»¤º¡¢¤è¤Ã¤Æ flush center ¤Þ¤¿¤Ï flush end ¤ò»ØÄꤷ¤Æ scansautomatic ¤¬ÀßÄꤵ ¤ì¤¿¾ì¹ç¡¢¤½¤ì¤Ï̵¸À¤Ç scansforward ¤ËÊѹ¹¤µ¤ì¤Þ¤¹¡£

2 ²ó¤ÎϢ³¤¹¤ëÁöºº¤ÇÅÀ¤Î¿ô¤¬Æ±¤¸¤Ç¤Ê¤«¤Ã¤¿¾ì¹ç¡¢¸Ä¡¹¤ÎÁöºº¤ÇÅÀ¤¬Â­¤ê¤Ê ¤¤¾ì¹ç¤Ë¡¢Áöºº¤ÎºÇ¸å¤Ë¿§»°³Ñ·Á¤òÉÁ¤¯¤«¤É¤¦¤«¤ò¥ª¥×¥·¥ç¥ó ftriangles ¤Ï»Ø¼¨¤·¤Þ¤¹¡£¤³¤ì¤Ï³ê¤é¤«¤Ê¿§ÃϿޤζ­³¦¤òÉÁ¤¯¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£

gnuplot ¤Ï¡¢¶ÊÌ̤ÎÅɤêÄÙ¤·¤Ë¤ª¤¤¤Æ¤Ï¡¢ËÜÅö¤Î±£Ì̽èÍý¤Ï¹Ô¤¤¤Þ¤»¤ó¤¬¡¢¤¿ ¤¤¤Æ¤¤¤Ï±ó¤¤Êý¤«¤é¶á¤¤Êý¤Ø½ç¤Ë»Í³Ñ·ÁÍ×ÁǤòÅɤêÄÙ¤¹¤³¤È¤Ç½½Ê¬¤Ê¤Ç¤­¤¢¤¬ ¤ê¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤Î¥â¡¼¥É¤Ï¡¢°Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤ò»È¤¦¤³¤È¤ÇÁªÂò¤Ç¤­¤Þ¤¹:

     set pm3d depthorder hidden3d

¥ª¥×¥·¥ç¥ó depthorder ¤ÏÅɤêÄÙ¤·»Í³Ñ·Á¤Ø¤Î»Ø¼¨¤Ç¡¢¥ª¥×¥·¥ç¥ó hidden3d ¤ÏƱÍͤ˶­³¦Àþ (¤â¤·ÉÁ¤¯¤Ê¤é) ¤Ø¤Î»Ø¼¨¤Ç¤¹¡£Âç°èŪ¤Ê¥ª¥×¥· ¥ç¥ó¤Ç¤¢¤ë set hidden3d ¤Ï¡¢pm3d ¶ÊÌ̤ˤϱƶÁ¤·¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯ ¤À¤µ¤¤¡£

82.53.4 ¥¯¥ê¥Ã¥Ô¥ó¥° (clipping)

»Í³Ñ·Á¤Î x,y ºÂɸ¤Ë´Ø¤¹¤ë¥¯¥ê¥Ã¥Ô¥ó¥°¤Ï 2 ¤Ä¤ÎÊýË¡¤Ç¹Ô¤ï¤ì¤Þ¤¹¡£ clip1in: ³Æ»Í³Ñ·Á¤ÎÁ´¤Æ¤Î 4 ÅÀ¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤º¡¢¾¯¤Ê¤¯¤È ¤â¤½¤Î¤¦¤Á¤Î 1 ÅÀ¤¬ x, y ¤ÎÈϰϤˤª¤µ¤Þ¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ clip4in: ³Æ»Í³Ñ·Á¤ÎÁ´¤Æ¤Î 4 ÅÀ¤¬ x, y ¤ÎÈϰϤˤª¤µ¤Þ¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê ¤ê¤Þ¤»¤ó¡£

82.53.5 ¿§¤Î³ä¤êÅö¤Æ

3 Îó¤Î¥Ç¡¼¥¿ (x,y,z) ¤Î¾ì¹ç:

¿§¤Å¤±¤ÎÀßÄê¤Ï¥«¥é¡¼¥Ü¥Ã¥¯¥¹¤ÎÉÁ²è¤ÈƱÍÍ¤Ë set palette ¤Ç·èÄꤵ¤ì¤Þ ¤¹¡£°ì¤Ä¤ÎÉÁ²è¤Ç¤Ï°ì¤Ä¤Î¥Ñ¥ì¥Ã¥È¤Î¤ß¤¬Â¸ºß¤·ÆÀ¤Þ¤¹¡£¤¤¤¯¤Ä¤â¤Î¶ÊÌ̤ò°Û ¤Ê¤ë¥Ñ¥ì¥Ã¥È¤ÇÉÁ²è¤¹¤ë¤Ë¤Ï¡¢origin ¤È size ¤ò¸ÇÄꤷ¤Æ mutiplot ¤ò»È¤¦¤³¤È¤Ç¹Ô¤¨¤Þ¤¹¡£½ÐÎϥɥ饤¥Ð¤¬ÍøÍѤǤ­¤ë¿§¤ò»È¤¤¿Ô¤¯¤·¤Æ¤·¤Þ¤¦¾ì ¹ç¤Ë¤Ï set palette maxcolors ¤ò»È¤¦¤³¤È¤ò˺¤ì¤º¤Ë¡£

ÉÁ²è¤µ¤ì¤ë³Æ pm3d »Í³Ñ·Á¤Ë¤Ï°ì¤Ä¤Î³¥¿§/¥«¥é¡¼Ãͤ¬Âбþ¤·¤Þ¤¹ (4 ĺÅÀ´Ö ¤Ç³ê¤é¤«¤Ê¥«¥é¡¼ÊѲ½¤Ïµ¯¤³¤ê¤Þ¤»¤ó)¡£¤½¤ÎÃͤϡ¢corners2color < option> ¤Ë½¾¤Ã¤Æ¼þ°Ï¤Î³Ñ¤Î z ºÂɸ¤«¤é·×»»¤µ¤ì¤Þ¤¹¡£< option> ¤Ï 'mean' (¥Ç¥Õ¥© ¥ë¥È)¡¢'geomean', 'median' ¤Ç¡¢¶ÊÌ̤Υ«¥é¡¼¤ÎÊ¿³ê²½¤Ë´ö¤Ä¤«¤Î¼ïÎà¤òÍ¿ ¤¨¡¢'min','max' ¤Ï¤½¤ì¤¾¤ìºÇ¾®ÃÍ¡¢ºÇÂçÃͤòÁªÂò¤·¤Þ¤¹¡£¤³¤ì¤é¤Ï±ÔÉҤʡ¢ ¤¢¤ë¤¤¤ÏµÞ·ã¤Ê¥Ô¡¼¥¯Ãͤò»ý¤Ä¤è¤¦¤Ê¥Ô¥¯¥»¥ë¥¤¥á¡¼¥¸¤ä¿§ÃÏ¿Þ¤òºî¤ë¤È¤­¤Ë ¤ÏɬÍפ¢¤ê¤Þ¤»¤ó¡£¤½¤Î¤è¤¦¤Ê¾ì¹ç¤Ë¤Ï¡¢¤à¤·¤í¥ª¥×¥·¥ç¥ó 'c1', 'c2', 'c3', 'c4' ¤ò»È¤Ã¤Æ¡¢»Í³Ñ·Á¤Î¿§¤Î³äÅö¤Ë¤¿¤À°ì¤Ä¤Î³Ñ¤Î z ºÂɸ¤ò»È¤¦¤è¤¦ ¤Ë¤¹¤ì¤Ð¤¤¤¤¤Ç¤·¤ç¤¦¡£¤É¤Î³Ñ¤¬ 'c1' ¤ËÂбþ¤¹¤ë¤Î¤«¤òÃΤ뤿¤á¤Ë¤Ï²¿²ó¤« ¼Â¸³¤·¤Æ¤ß¤ëɬÍפ¬¤¢¤ë¤Ç¤·¤ç¤¦¡£¤½¤Î¸þ¤­¤ÏÉÁ²è¤ÎÊý¸þ¤Ë°Í¸¤·¤Æ¤¤¤Þ¤¹¡£ pm3d ¥¢¥ë¥´¥ê¥º¥à¤Ï¡¢¥«¥é¡¼¶ÊÌ̤òÆþÎϥǡ¼¥¿ÅÀ¤ÎÈϰϤγ°¤Ë¤ÏÉÁ¤«¤Ê¤¤¤Î ¤Ç¡¢¥ª¥×¥·¥ç¥ó 'c< j> ' ¤Ï¡¢³Ê»Ò¤Î 2 ¤Ä¤Î¤Ø¤ê¤Ë±è¤Ã¤¿¥Ô¥¯¥»¥ë¤¬¡¢¤É¤Î»Í ³Ñ·Á¤Î¿§¤Ë¤â´óÍ¿¤·¤Ê¤¤¡¢¤È¤¤¤¦·ë²Ì¤ò¤â¤¿¤é¤·¤Þ¤¹¡£Î㤨¤Ð¡¢pm3d ¥¢¥ë¥´ ¥ê¥º¥à¤ò 4x4 ¤Î¥Ç¡¼¥¿ÅÀ¤Î³Ê»Ò¤ËŬÍѤ¹¤ë¥¹¥¯¥ê¥×¥È demo/pm3d.dem (À§ È󸫤Ƥ¯¤À¤µ¤¤) ¤Ç¤Ï¡¢(4-1)x(4-1)=9 ¿§¤·¤«¤Ê¤¤Ä¹Êý·Á¤¬À¸À®¤µ¤ì¤Þ¤¹¡£

4 Îó¤Î¥Ç¡¼¥¿ (x,y,z,color) ¤Î¾ì¹ç:

4 ÎóÌܤ˥ǡ¼¥¿¤òÍ¿¤¨¤¿¾ì¹ç¡¢¤½¤ì¤òÄ̾ï¤ÏÊ̤˥ѥì¥Ã¥È¤Ë³ä¤êÅö¤Æ¤ë³¥¿§³¬ Ä´ÃͤȤߤʤ·¤Þ¤¹¡£¸Ä¡¹¤Î»Í³Ñ·Á¤ÎºÌ¿§¤Ï¾å¤ÈƱÍͤ˹Ԥ¤¤Þ¤¹¤¬¡¢¿§¤ÎÃÍ¤Ï z ¤ÎÃͤȤÏÀÚ¤êÎ¥¤µ¤ì¤Þ¤¹¡£Ê̤κ̿§¥ª¥×¥·¥ç¥ó¤Ë¤è¤ê¡¢4 ÎóÌܤΥǡ¼¥¿¤Ë RGB ¿§¤òÍ¿¤¨¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£°Ê²¼»²¾È: rgbcolor variable (17.1.3)¡£¤³¤Î¾ì¹ç¡¢ÉÁ ²è¥³¥Þ¥ó¥É¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹:


     splot ... using 1:2:3:4 with pm3d lc rgb variable

Í¿¤¨¤é¤ì¤¿ÀáÅÀ¤ËÂФ·¤Æ¡¢¤½¤Î¼þ¤ê¤Î 4 ¤Ä¤ÎÀáÅÀ¤ÎÊ¿¶Ñ²½¤µ¤ì¤¿ (x,y) ºÂɸ ¤«¤é³Ñ¤òÆÀ¤Æ»Í³Ñ·Á¤òºî¤Ã¤Æ¡¢¤½¤Î»Í³Ñ·Á¤òÀáÅÀ¤Î¿§¤ÇÅɤ롢¤È¤¤¤Ã¤¿¤è¤¦¤Ê ¾¤ÎÉÁ²è¥¢¥ë¥´¥ê¥º¥à¤¬¾­Íè¼ÂÁõ¤µ¤ì¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¤³¤ì¤Ï¡¢¥¤¥á¡¼¥¸¤ÎÉÁ²è (2 ¼¡¸µ¤Î³Ê»Ò) ¤ËÂФ·¤Æ¤Ï image ¤È rgbimage ¥¹¥¿¥¤¥ë¤Ë¤è¤Ã¤Æ´û¤Ë¹Ô¤Ê¤ï¤ì¤Æ¤¤¤Þ¤¹¡£

z ¤ÎÃͤÎÈϰϤȶÊÌ̤理ÎÃͤÎÈϰϤϡ¢z ¤È cb ¤Ë´Ø¤¹¤ë set log ƱÍÍ¡¢ set zrange ¤È set cbrange ¤Ë¤è¤Ã¤ÆÆÈΩ¤ËÄ´À°¤·ÆÀ¤ë¤³¤È¤ËÃí°Õ¤·¤Æ ¤¯¤À¤µ¤¤¡£¿§ÃÏ¿Þ¤Ï cb ¼´¤Î¤ß¤ÇÄ´Àᤵ¤ì¤Þ¤¹¡£°Ê²¼¤â»²¾È: set view map (82.82),set colorbox (82.12)¡£

82.53.6 Hidden3d

¥ª¥×¥·¥ç¥ó set pm3d hidden3d ¤Ï¡¢³Æ»Í³Ñ·Á¤Î¶­³¦Àþ¤ò¡¢»Í³Ñ·Á¤½¤ì¼«¿È ¤¬ÉÁ²è¤µ¤ì¤ë¤Î¤ÈƱ»þ¤ËÉÁ²è¤·¤Þ¤¹¡£Ä̾ï¤Ï¡¢¤½¤ì¤Ïµ¼»÷Ū¤Ê±£Àþ½èÍý¤òãÀ® ¤¹¤ë¤¿¤á¤Ë¡¢¥ª¥×¥·¥ç¥ó depthorder ¤È¤È¤â¤Ë»ÈÍѤ·¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥³¥Þ¥ó ¥É set hidden3d ¤òÍѤ¤¤ë¤è¤ê¤â¤º¤Ã¤È¸ú²ÌŪ¤Ç¤·¤ç¤¦¡£¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢ ¶­³¦Àþ¤Î¸«¤¿ÌܤòÀ©¸æ¤¹¤ë¤¿¤á¤ÎÄɲäΥ饤¥ó¥¹¥¿¥¤¥ë¥ª¥×¥·¥ç¥ó¤ò°ì¤Ä¼è¤ê ¤Þ¤¹¡£¥é¥¤¥¹¥¿¥¤¥ë¥Ñ¥é¥á¡¼¥¿¤òÉé¤È»ØÄꤹ¤ë¤«¾Êά¤·¤¿¾ì¹ç¤Ï¡¢¤½¤Î plot ¥³¥Þ¥ó¥É¤ÇÍ¿¤¨¤é¤ì¤¿Àþ¤Î°À­¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£¿ä¾©¤¹¤ë»ÈÍÑÎã:


     set pm3d at s hidden3d depthorder
     unset hidden3d
     unset surf
     splot x*x+y*y linecolor rgb "black" linewidth 0.5

82.53.7 Interpolate

¥ª¥×¥·¥ç¥ó interpolate m,n ¤Ï¡¢³Ê»ÒÅÀ¤ò¤è¤êºÙ¤«¤ÊÌÖÌܤËÊä´Ö¤·¡¢¿§»Í ³Ñ·Á¤â¶á»÷Ū¤ËÊä´Ö¤·¤Þ¤¹¡£¥Ç¡¼¥¿ÉÁ²è¤ËÂФ·¤Æ¤Ï¡¢¤³¤ì¤Ï¶ÊÌ̤理ÎÊѲ½¤ò ³ê¤é¤«¤Ë¤·¡¢¶ÊÌ̤理ÎÀí¤ê¤òÊäÀµ¤·¤Þ¤¹¡£´Ø¿ôÉÁ²è¤ËÂФ·¤Æ¤Ï¡¢¤³¤ÎÊä´Ö¤Ï ºÙ¤«¤µ¤ÎÂå¤ï¤ê¤Ë¥á¥â¥ê¤ò¾ÃÈñ¤·¤Æ¤·¤Þ¤¦¡¢¤È¤¤¤Ã¤¿¤³¤È¤¯¤é¤¤¤Î°ÕÌ£¤·¤«¤¢ ¤ê¤Þ¤»¤ó¤«¤é¡¢´Ø¿ôÉÁ²è¤Î¾ì¹ç¤ÏÉáÄÌ samples ¤ä isosamples ¤ò»È¤¦¤Ù ¤­¤Ç¤·¤ç¤¦¡£Àµ¤Î m, n ¤ËÂФ·¤Æ¤Ï¡¢³Æ»Í³Ñ·Á¡¢¤Þ¤¿¤Ï»°³Ñ·Á¤Ï¡¢¤½¤ì¤¾¤ì¤Î Êý¸þ¤Ë m ²ó¡¢n ²óÊä´Ö¤µ¤ì¤Þ¤¹¡£Éé¤Î m, n ¤Ç¤ÏÊä´Ö¤ÎÉÑÅ٤ϡ¢¾¯¤Ê¤¯¤È¤â | m| , | n| ÅÀ¤¬ÉÁ²è¤µ¤ì¤ë¤è¤¦¤ËÁªÂò¤µ¤ì¤Þ¤¹¡£¤³¤ì¤ÏÆÃÊ̤ʳʻҴؿô¤È¸«¤Ê ¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£0 ¤Î¾ì¹ç¡¢¤¹¤Ê¤ï¤Á interpolate 0,0 ¤Ï¡¢¼«Æ°Åª¤ËºÇ Ŭ¤ÊÊä´Ö¶ÊÌÌÅÀ¿ô¤òÁªÂò¤·¤Þ¤¹¡£

82.53.8 Èó¿ä¾©¤Ê¥ª¥×¥·¥ç¥ó

¤³¤Î¥³¥Þ¥ó¥É¤Ë¤Ï¥ª¥×¥·¥ç¥ó {transparent| solid} ¤â»È¤ï¤ì¤Æ¤¤¤Þ¤·¤¿¡£¸½ ºß¤Ï¡¢Æ±¤¸¸ú²Ì¤ò¤½¤ì¤¾¤ì set grid {front| layerdefault} ¤Ë¤è¤Ã¤ÆÆÀ¤ë ¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¥³¥Þ¥ó¥É set pm3d map ¤Ï°Ê²¼¤Î°ìÏ¢¤Î¤â¤Î¤ÈƱÃͤǤ¹: set pm3d at b;set view map; set style data pm3d; set style func pm3d;¡£¤³¤ì¤Ï set view map ¤¬¤Ê¤«¤Ã¤¿¤³¤í¤Îµì¥Ð¡¼¥¸¥ç¥ó¤Ø¤Î¸ß´¹¤Î¤¿¤á¤Î¤â¤Î¤Ç¤¹¡£ ÆþÎϥǡ¼¥¿ÅÀ¤ò¥Õ¥£¥ë¥¿¤¹¤ë¤¿¤á¤Î zrange¡¢¤ª¤è¤Ó¿§¤ÎÈϰϤÎÊѹ¹ÍѤΠcbrange ¤òÃí°Õ¤·¤ÆŬÀڤ˻ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£set (no)surface ¤â ¸ú²Ì (ÉûºîÍÑ ?) ¤¬¤¢¤ë¤è¤¦¤Ç¤¹¡£

82.54 Palette

¥Ñ¥ì¥Ã¥È¤Ï¡¢pm3d ¤Ç¡¢¥«¥é¡¼Åù¹âÀþ¤ä¿³Ñ·Á¡¢¥«¥é¡¼¥Ò¥¹¥È¥°¥é¥à¡¢¿§¸û ÇÛ¤ÎÇØ·Ê¡¢¤½¤Î¾¼ÂÁõ¤µ¤ì¤Æ¤¤¤ë¡¢¤¢¤ë¤¤¤Ï¼ÂÁõ¤µ¤ì¤ë¤â¤Î¤ÎÅɤê¤Ä¤Ö¤·¤Ç»È ¤ï¤ì¤ë¡¢¿§¤Îµ­²±¾ì½ê¤Ç¤¹¡£¤³¤³¤Ç¤Ï¤½¤ì¤Ï³ê¤é¤«¤Ç "Ϣ³Ū¤Ê" ¥«¥é¡¼¤ä³¥ ¿§³¬Ä´¤Î¥Ñ¥ì¥Ã¥È¤ò°ÕÌ£¤·¤Þ¤¹¤¬¡¢¤½¤ì¤òñ¤Ë¥Ñ¥ì¥Ã¥È¤È¸Æ¤Ö¤³¤È¤Ë¤·¤Þ¤¹¡£

¥«¥é¡¼¥Ñ¥ì¥Ã¥È¤Ï¡¢Â¿³Ñ·Á¤Î¿§¤ÎÅɤê¤Ä¤Ö¤·¤È³ê¤é¤«¤Ê¿§¤Î¥Ñ¥ì¥Ã¥È¤ò¥µ¥Ý¡¼ ¥È¤·¤¿½ÐÎÏ·Á¼°¤òɬÍפȤ·¡¢¤½¤ì¤Ï¸½ºß¡¢pm3d ¤Ç°ìÍ÷ɽ¼¨¤µ¤ì¤ë½ÐÎÏ·Á¼° ¤Ç»ÈÍѲÄǽ¤Ç¤¹¡£¿§¤ÎÃͤÎÈϰϤϡ¢set cbrange ¤È set log cb ¤ÇÆÈΩ¤Ë Ä´À°²Äǽ¤Ç¤¹¡£¥«¥é¡¼¥Ñ¥ì¥Ã¥ÈÁ´ÂÎ¤Ï colorbox Ãæ¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£

½ñ¼°:

     set palette
     set palette {
                { gray | color }
                { gamma <gamma> }
                {   rgbformulae <r>,<g>,<b>
                  | defined { ( <gray1> <color1> {, <grayN> <colorN>}... ) }
                  | file '<filename>' {datafile-modifiers}
                  | functions <R>,<G>,<B>
                }
                { cubehelix {start <val>} {cycles <val>} {saturation <val>} }
                { model { RGB | HSV | CMY | YIQ | XYZ } }
                { positive | negative }
                { nops_allcF | ps_allcF }
                { maxcolors <maxcolors> }
              }
     show palette
     show palette palette <n> {{float | int}}
     show palette gradient
     show palette fit2rgbformulae
     show palette rgbformulae
     show colornames

set palette ¤Ï (¤¹¤Ê¤ï¤Á¥ª¥×¥·¥ç¥ó¤Ê¤·¤Ç¤Ï) ¥Ç¥Õ¥©¥ë¥È¤ÎÃͤòÀßÄꤷ¤Þ ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¥ª¥×¥·¥ç¥ó¤ÏǤ°Õ¤Î½ç¤ËÍ¿¤¨¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ show palette ¤Ï¡¢¸½ºß¤Î¥Ñ¥ì¥Ã¥È¤Î°À­¤òɽ¼¨¤·¤Þ¤¹¡£

show palette gradient ¤Ï¡¢¥Ñ¥ì¥Ã¥È¤Î¸ûÇÛ (gradient) ¤ÎÄêµÁ¤¬ (¤½¤ì¤¬ ŬÀڤǤ¢¤ì¤Ð) ɽ¼¨¤µ¤ì¤Þ¤¹¡£show palette rgbformulae ¤Ï¡¢ÄêµÁºÑ¤ÇÍø ÍѤǤ­¤ë¡¢³¥¿§Ãͤ«¤é¥«¥é¡¼¤Ø¤ÎÊÑ´¹¸ø¼°¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ show colornames ¤Ï¡¢Ç§¼±¤Ç¤­¤ë¿§Ì¾¤òɽ¼¨¤·¤Þ¤¹¡£

show palette palette < n> ¤Ï¡¢< n> ¸Ä¤ÎÎ¥»¶Åª¤Ê¿§¤ò»ý¤Ä¥Ñ¥ì¥Ã¥È¤Î¡¢¸½ ºß¤Î¥Ñ¥ì¥Ã¥È¤ÎÀßÄê¤Ë¤è¤Ã¤Æ·×»»¤µ¤ì¤ë RGB ¤ÎÃͤÎÁȤȥѥì¥Ã¥È¤Îɽ¤ò¡¢²è ÌÌ¡¢¤Þ¤¿¤Ï set print ¤Ç»ØÄꤵ¤ì¤¿¥Õ¥¡¥¤¥ë¤Ë½ñ¤­½Ð¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È ¤Î¹­¤¤É½¤Ï¡¢ÄɲäΥª¥×¥·¥ç¥ó float ¤Þ¤¿¤Ï int ¤Ë¤è¤Ã¤Æ¡¢3 Îó¤Î [0..1] ¤Î¼Â¿ôÃͤÀ¤±¤Ë¤¹¤ë¤« [0..255] ¤ÎÀ°¿ôÃͤÀ¤±¤Ë¤¹¤ë¤«¤ò¤½¤ì¤¾¤ì»ØÄê¤Ç¤­¤Þ ¤¹¡£¤³¤ÎÊýË¡¤Ç gnuplot ¤Î¥«¥é¡¼¥Ñ¥ì¥Ã¥È¤ò¡¢Octave ¤Î¤è¤¦¤Ê¾¤Î²èÁü¥¢¥× ¥ê¥±¡¼¥·¥ç¥ó¤ËÅϤ¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤Î¤è¤¦¤Ê¥Æ¥­¥¹¥È·Á¼°¤Î RGB ¤Î°ìÍ÷ ɽ¤Ë²Ã¤¨¡¢test palette ¥³¥Þ¥ó¥É¤Ë¤è¤ê¡¢¸½ºß¤Î¥Ñ¥ì¥Ã¥È¤Î R,G,B ¤Î¾õÂÖ ¤òÉÁ²è¤µ¤»¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

°Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¿§ÉÕ¤±¤Î°À­¤ò·èÄꤷ¤Þ¤¹¡£

¤³¤Î¥Ñ¥ì¥Ã¥È¤ò»ÈÍѤ¹¤ë¿Þ¤Ï¡¢gray ¤« color ¤Ë¤Ê¤ê¤Þ¤¹¡£Î㤨¤Ð¡¢ pm3d ¥«¥é¡¼¶ÊÌ̤Ǥϡ¢ÈÏ°Ï [min_z,max_z] ¤¬³¥¿§¤ÎÈÏ°Ï [0:1] ¤ËÂбþ¤· ¤Æ¤¤¤Æ¡¢Èù¾®¶ÊÌ̻ͳѷÁ¤Î 4 ¤Ä¤Î³Ñ¤Î z ºÂɸ¤ÎÊ¿¶ÑÃͤò¤³¤ÎÈϰϤÎÃæ¤ËÂбþ ¤µ¤»¤ë¤³¤È¤Ç³ÆÈù¾®Éôʬ¤Î³¥¿§¤ÎÃÍ (gray) ¤¬ÆÀ¤é¤ì¤Þ¤¹¡£¤³¤ÎÃͤϡ¢³¥¿§³¬ Ä´¤Î¿§ÃϿޤǤγ¥¿§¤ÎÃͤȤ·¤ÆľÀܻȤ¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¤·¡¢¥«¥é¡¼¤Î¿§ÃÏ¿Þ¤Ç ¤Ï¡¢¤½¤Î³¥¿§¤ÎÃͤ«¤é (R,G,B) ¤Ø¤ÎÊÑ´¹¡¢¤¹¤Ê¤ï¤Á [0:1] ¤«¤é ([0:1],[0:1],[0:1]) ¤Ø¤Î¼ÌÁü¤¬»È¤ï¤ì¤Þ¤¹¡£

´ðËÜŪ¤Ë¡¢2 ¼ïÎà¤Î°Û¤Ê¤ë¼ÌÁüÊý¼°¤¬ÍøÍѲÄǽ¤Ç¤¹: 1 ¤Ä¤Ï³¥¿§¤«¤é¥«¥é¡¼¤Ø ¤Î²òÀÏŪ¤Ê¸ø¼°¡¢¤â¤¦°ì¤Ä¤ÏÎ¥»¶Åª¤ÊÂбþɽ¤ÎÊä´Ö¤Ë¤è¤ë¤â¤Î¤Ç¤¹¡£ palette rgbformulae ¤È palette functions ¤¬²òÀÏŪ¤Ê¸ø¼°ÍѤǡ¢ palette defined ¤È palette file ¤¬Êä´ÖɽÍѤǤ¹¡£palette rgbformulae ¤Ï postscript ½ÐÎϤΥµ¥¤¥º¤ò¾®¤µ¤¯¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¥³¥Þ¥ó¥É show palette fit2rgbformulae ¤Ï¡¢¸½ºß¤Î set palette ¤ËºÇ ¤âÎɤ¯Âбþ¤¹¤ë set palette rgbformulae ¤ò¸«¤Ä¤±½Ð¤·¤Þ¤¹¡£ÅöÁ³¡¢¤½¤ì ¤Ï rgbformulae ¥Ñ¥ì¥Ã¥È°Ê³°¤ËÂФ·¤Æ¤â°ÕÌ£¤ò»ý¤Á¤Þ¤¹¡£¤³¤Î¥³¥Þ¥ó¥É¤Ï¼ç ¤Ë¡¢¥Ñ¥ì¥Ã¥È¤Î rgbformulae ÄêµÁ¤¬ gnuplot ¤ÈƱ¤¸Êª¤ò»È¤Ã¤Æ¤¤¤ë³°Éô¥×¥í ¥°¥é¥à¡¢Î㤨¤Ð zimg ¤Ê¤É¤Ë¤È¤Ã¤ÆÍ­ÍѤǤ¹ (

http://zimg.sourceforge.net

)¡£

set palette gray ¤Ï¡¢³¥¿§³¬Ä´¤Î¤ß¤Î¥Ñ¥ì¥Ã¥È¤Ë¤·¡¢ set palette rgbformulae, set palette defined, set palette file, set palette functions ¤Ï¥«¥é¡¼¥Ñ¥ì¥Ã¥È¤Ë¤·¤Þ¤¹¡£³¥¿§¥Ñ¥ì¥Ã¥È¤«¤éľÁ° ¤Î¥«¥é¡¼¥Ñ¥ì¥Ã¥È¤Ø¡¢set palette color ¤Ç´Êñ¤ËÉüµ¢¤Ç¤­¤Þ¤¹¡£

set palette gamma < gamma> ¤Ë¤è¤ë¼«Æ°Åª¤Ê¥¬¥ó¥ÞÊäÀµ¤Ï¡¢³¥¿§¤Î¥Ñ¥ì¥Ã¥È (set palette gray) ¤È¡¢cubehelix ¥«¥é¡¼¥Ñ¥ì¥Ã¥È·Á¼°¤Ë¹Ô¤ï¤ì¤Þ¤¹¡£ gamma = 1 ¤Î¾ì¹ç¤Ï¡¢Àþ·Á¤Î¸÷ÅÙ¸ûÇÛ¤òÀ¸À®¤·¤Þ¤¹¡£°Ê²¼»²¾È:test palette (87)¡£

½ÐÎÏ·Á¼°¤Î¿¤¯¤Ï¡¢Í­¸Â¸Ä¤Î¿§¿ô¤·¤«¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤»¤ó (Î㤨¤Ð gif ¤Ç ¤Ï 256 ¸Ä)¡£¥Ç¥Õ¥©¥ë¥È¤Î gnuplot ¤ÎÀþ¼ï¿§¤ò³ä¤êÅö¤Æ¤¿¸å¤Î»Ä¤ê¤ÎÍ­¸ú¤Ê ¿§Îΰè¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï pm3d ÍѤËÊݸ¤µ¤ì¤Þ¤¹¡£¤è¤Ã¤Æ¡¢Ê£¿ô¤Î¥Ñ¥ì¥Ã¥È ¤ò»ÈÍѤ¹¤ë¤è¤¦¤Ê multiplot ¤Ï¡¢ºÇ½é¤Î¥Ñ¥ì¥Ã¥È¤¬¤¹¤Ù¤Æ¤ÎÍ­¸ú¤Ê¿§¤ÎÇÛÃÖ ¤È¤·¤Æ»ÈÍѤµ¤ì¤Æ¤ë¤Î¤Ç¡¢¼ºÇÔ¤·¤Æ¤·¤Þ¤¦¤Ç¤·¤ç¤¦¡£¤³¤Î¤è¤¦¤ÊÀ©¸Â¤Ï¡¢½½Ê¬ ¾®¤µ¤¤ÃÍ N ¤Ç set palette maxcolors < N> ¤ò»È¤¦¤³¤È¤Ç´ËϤǤ­¤Þ¤¹¡£¤³ ¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢N ¸Ä¤ÎÎ¥»¶Åª¤Ê¿§¤ò¡¢Ï¢Â³Åª¤Ê¥Ñ¥ì¥Ã¥È¤«¤éÅù´Ö³Ö¤Ê¥µ¥ó¥× ¥ê¥ó¥°¤ÇÁªÂò¤·¤Þ¤¹¡£ÉÔÅù´Ö³Ö¤Ê N ¸Ä¤ÎÎ¥»¶¿§¤ò»È¤¤¤¿¤¤¾ì¹ç¤Ï¡¢°ì¤Ä¤ÎÏ¢ ³Ū¤Ê¥Ñ¥ì¥Ã¥È¤ÎÂå¤ï¤ê¤Ë set palette defined ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

RGB ¿§¶õ´Ö¤¬ºî¶È¤ò¹Ô¤¦¤Î¤Ë¾ï¤Ë¤â¤Ã¤È¤âÍ­ÍѤʿ§¶õ´Ö¤Ç¤¢¤ë¤È¤Ï¸Â¤é¤Ê¤¤¡¢ ¤È¤¤¤¦Íýͳ¤Ç¡¢¿§¶õ´Ö¤Ï model ¤ò»È¤¦¤³¤È¤Ç¡¢RGB, HSV, CMY, YIQ, XYZ ¤Î¤¤¤º¤ì¤«¤ËÊѹ¹¤Ç¤­¤Þ¤¹¡£RGB °Ê³°¤Î¿§¶õ´Ö¤Ç¤Ïset palette defined ¤Îɽ¤Ç¿§Ì¾¤ò»È¤¦¤È¡¢¤½¤ì¤Ï¤ª¤«¤·¤Ê¿§¤Ë¤Ê¤ê¤Þ¤¹¡£ Á´¤Æ¤ÎÀâÌÀ¤Ï RGB ¿§¶õ´ÖÍѤ˽ñ¤¤¤Æ¤¢¤ê¤Þ¤¹¤¬¡¢¤½¤ì¤¾¤ì¤Î¿§¶õ´Ö¤Ç¡¢Î㤨 ¤Ð R ¤Ï H, C, Y, X ¤Î¤³¤È¤ò°ÕÌ£¤¹¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤ (G, B ¤âƱÍÍ)¡£

Á´¤Æ¤Î¿§¶õ´Ö¤Ç¡¢Á´¤Æ¤ÎÃÍ¤Ï [0,1] ¤ËÀ©¸Â¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

RGB ¤ÏÀÖ¡¢ÎС¢ÀĤò¡¢CMY ¤Ï¿å¿§ (Cyan)¡¢»ç (Magenta)¡¢²« (Yellow) ¤ò¡¢ HSV ¤Ï¿§Áê (Hue)¡¢ºÌÅÙ (Saturation)¡¢ÌÀÅÙ (Value) ¤ò¤½¤ì¤¾¤ì°ÕÌ£¤·¤Þ¤¹¡£ YIQ ¤Ï Á´Êƾ¦¶È¥«¥é¡¼¥Æ¥ì¥ÓÊüÁ÷¶¨²ñ (the U.S. Commercial Color Television Broadcasting) ¤Î»È¤Ã¤¿¥«¥é¡¼¥â¥Ç¥ë¤Ç¡¢RGB µ­Ï¿Êý¼°¤ò¸µ¤Ë¤· ¤Æ¤¤¤Þ¤¹¤¬¡¢Çò¹õ¥Æ¥ì¥Ó¤ËÂФ¹¤ë¸åÊý¸ß´¹À­¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£XYZ ¤Ï CIE ('Commission Internationale de l'Eclairage'; ¹ñºÝ¾ÈÌÀ°Ñ°÷²ñ) ¤¬ÄêµÁ¤· ¤¿¿§¥â¥Ç¥ë¤Î 3 ¤Ä¤Î¸¶»É·ãÃͤǤ¹¡£ ¿§¥â¥Ç¥ë¤Î¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï°Ê²¼¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤:

http://en.wikipedia.org/wiki/Color_space

82.54.1 Rgbformulae

rgbformulae ÍÑ¤Ë¤Ï 3 ¤Ä¤ÎŬÀڤʳä¤êÅö¤Æ´Ø¿ô¤¬Áª¤Ð¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤³¤ÎÁªÂò¤Ï rgbformulae < r> ,< g> ,< b> ¤òÄ̤·¤Æ¹Ô¤ï¤ì¤Þ¤¹¡£»È¤¦¤³¤È¤¬¤Ç ¤­¤ë³ä¤êÅö¤Æ´Ø¿ô¤Î°ìÍ÷¤Ï show palette rgbformulae ¤Ç¸«¤ë¤³¤È¤¬¤Ç¤­¤Þ ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï 7,5,15 ¤Ç¡¢Â¾¤ÎÎã¤È¤·¤Æ¤Ï 3,11,6, 21,23,3, 3,23,21 ¤Ê¤É¤¬¤¢¤ê¤Þ¤¹¡£3,-11,-6 ¤Î¤è¤¦¤ÊÉé¤ÎÃͤϡ¢µÕ¤Î¥«¥é¡¼¤ò°Õ Ì£¤·¤Þ¤¹ (¤¹¤Ê¤ï¤Á¡¢1-gray ¤ò¤½¤Î´Ø¿ô¤ËÂåÆþ¤·¤Þ¤¹)¡£

RGB ¤Î¿§¶õ´Ö¤Ç¤Ï¡¢¤¤¤¯¤Ä¤«¤ÎÎɤ¤³ä¤êÅö¤Æ¸ø¼°¤¬¤¢¤ê¤Þ¤¹:

  7,5,15   ... ÅÁÅýŪ pm3d (¹õ-ÀÄ-ÀÖ-²«)
  3,11,6   ... ÎÐ-ÀÖ-»ç
  23,28,3  ... ³¤ (ÎÐ-ÀÄ-Çò); ¾¤ÎÁȤ߹ç¤ï¤»¤â»î¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤
  21,22,23 ... ²¹ÅÙ¿§ (¹õ-ÀÖ-²«-Çò)
  30,31,32 ... Çò¹õ¤Î¥«¥é¡¼É½¼¨²½ (¹õ-ÀÄ-»ç-²«-Çò)
  33,13,10 ... Æú (ÀÄ-ÎÐ-²«-ÀÖ)
  34,35,36 ... AFM ²¹ÅÙ¿§ (¹õ-ÀÖ-²«-Çò)

HSV ¿§¶õ´Ö¤Ç¤Î¥Õ¥ë¥«¥é¡¼¥Ñ¥ì¥Ã¥È:

  3,2,2    ... ÀÖ-²«-ÎÐ-¿å¿§-ÀÄ-»ç-ÀÖ

rgbformulae ¤È¤¤¤¦Ì¾Á°¤Ç¸Æ¤Ð¤ì¤Æ¤¤¤Æ¤â¡¢Îã¤ÎÄ̤ꡢ¤½¤ì¤é¤Î´Ø¿ô¤Ï¼ÂºÝ ¤Ë¤Ï < H> ,< S> ,< V> ¤Þ¤¿¤Ï < X> ,< Y> ,< Z> , ... ¤È¤¤¤Ã¤¿¿§¤ÎÀ®Ê¬¤ò·èÄꤹ¤ë¤« ¤â¤·¤ì¤Ê¤¤¤È¤¤¤¦¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

¿Þ¤Î¿§¤òȿž¤µ¤»¤ë¤Ë¤Ï positive ¤ä negative ¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£

¾¤Î¿§ÂηϤËÂФ¹¤ëºÇ¤âÎɤ¤ rgbformulae ¤Î½¸¹ç¤Ï¡¢°Ê²¼¤Î¥³¥Þ¥ó¥É¤Ç¸«¤Ä¤±¤ë¤³¤È¤¬¤Ç¤­¤ë¤³¤È¤ò³Ð¤¨¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£

  show palette fit2rgbformulae

82.54.2 Defined

³¥¿§¤«¤é RGB ¤Ø¤ÎÂбþ¤Ï palette defined ¤ò»È¤¦¤³¤È¤Ç¼êÆ°¤ÇÀßÄê¤Ç¤­¤Þ ¤¹: ¿§¸ûÇÛ (gradient) ¤Ï RGB ¤ÎÃͤòÍ¿¤¨¤ë¤¿¤á¤ËÄêµÁ¤µ¤ì»ÈÍѤµ¤ì¤Þ¤¹¡£ ¸ûÇۤϡ¢[0,1] ¤Î³¥¿§Ãͤ«¤é [0,1]x[0,1]x[0,1] ¤Î RGB ¶õ´Ö¤Ø¤Î¡¢¶èʬŪ¤Ë Àþ·Á¤Ê¼ÌÁü¤Ç¤¹¡£¤½¤ÎÀþ·ÁÊä´Ö¤Ë»È¤ï¤ì¤ë³¥¿§ÃÍ¤È RGB ÃͤÎÁȤò»ØÄꤹ¤ëɬ Íפ¬¤¢¤ê¤Þ¤¹:

½ñ¼°:

     set palette  defined { ( <gray1> <color1> {, <grayN> <colorN>}... ) }

< grayX> ¤Ï [0,1] ¤Ë³ä¤êÅö¤Æ¤é¤ì¤ë¤Ù¤­³¥¿§Ãͤǡ¢< colorX> ¤Ï¤½¤ì¤ËÂбþ¤¹ ¤ë RGB ¿§¤Ç¤¹¡£¥«¥é¡¼ÃÍ¤Ï 3 ¼ïÎà¤ÎÊýË¡¤Ç»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹:


    <color> :=  { <r> <g> <b> | '<color-name>' | '#rrggbb' }

ÀÖ¡¢ÎС¢ÀĤËÂбþ¤¹¤ë¶õÇò¤Ç¶èÀÚ¤é¤ì¤¿ 3 ¤Ä¤ÎÃÍ (¤½¤ì¤¾¤ì [0,1] Æâ)¡¢°ú ÍÑÉä¤Ç¤¯¤¯¤é¤ì¤¿¿§Ì¾¡¢¤Þ¤¿¤Ï°úÍÑÉä¤Ç¤¯¤¯¤é¤ì¤¿ X ·Á¼°¤Î»ØÄêÊý¼°¡¢¤Î¤¤ ¤º¤ì¤«¤Ç¤¹¡£¸ûÇÛ¤ÎÄêµÁ¤Ç¤Ï¡¢¤³¤ì¤é¤Î 3 ¼ï¤Î·¿¤ò¼«Í³¤ËÁȤ߹ç¤ï¤»¤ë¤³¤È ¤¬¤Ç¤­¤Þ¤¹¤¬¡¢¿§¶õ´Ö¤È¤·¤Æ RGB ¤Ç¤Ê¤¤¤â¤Î¤¬ÁªÂò¤µ¤ì¤¿¾ì¹ç¿§Ì¾ "red" ¤Ï ¾¯¤·°ã¤Ã¤¿¤â¤Î¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£»ÈÍѤǤ­¤ë¿§Ì¾¤Ï show colornames ¤Ç¤½ ¤Î°ìÍ÷¤ò¸«¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

< r> ¤È½ñ¤¤¤Æ¤â¡¢HSV ¿§¶õ´Ö¤Ç¤Ï¤½¤ì¤Ï < H> À®Ê¬¤ò¡¢CIE-XYZ ¶õ´Ö¤Ç¤Ï < X> ¤ò¡¢¤È¤¤¤Ã¤¿¤è¤¦¤ËÁªÂò¤µ¤ì¤¿¥«¥é¡¼¥â¥Ç¥ë¤Ë°Í¸¤·¤Æ°ÕÌ£¤¬°ã¤¦¤³¤È¤ËÃí°Õ ¤·¤Æ¤¯¤À¤µ¤¤¡£

< gray> ¤ÎÃͤϼ¿ô¤Î¾º½ç¤Ëʤ٤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤ÎÎó¤ÎÃͤϼ«Æ°Åª¤Ë [0,1] ¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£

¥«¥Ã¥³¤Ä¤­¤Î¸ûÇÛ¤ÎÄêµÁ¤Ê¤·¤Ç set palette defined ¤È¤·¤¿¾ì¹ç¡¢RGB ¿§ ¶õ´Ö¤Ë¤·¡¢¤¢¤é¤«¤¸¤áÀßÄꤵ¤ì¤¿¥Õ¥ë¥¹¥Ú¥¯¥È¥ë¿§¸ûÇÛ¤ò»ÈÍѤ·¤Þ¤¹¡£¸ûÇÛ¤ò ɽ¼¨¤¹¤ë¤Ë¤Ï show palette gradient ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

Îã:

³¥¿§¤Î¥Ñ¥ì¥Ã¥È (Ìò¤ËΩ¤¿¤Ê¤¤¤¬¶µ·±Åª¤Ê) ¤òÀ¸À®¤¹¤ë¤Ë¤Ï:

     set palette model RGB
     set palette defined ( 0 "black", 1 "white" )

ÀIJ«À֤Υѥì¥Ã¥È (Á´¤Æ¤¬Åù²Á¤Î) ¤òÀ¸À®¤¹¤ë¤Ë¤Ï:

     set palette defined ( 0 "blue", 1 "yellow", 2 "red" )
     set palette defined ( 0 0 0 1, 1 1 1 0, 2 1 0 0 )
     set palette defined ( 0 "#0000ff", 1 "#ffff00", 2 "#ff0000" )

Æú¤Î¤è¤¦¤Ê¥Ñ¥ì¥Ã¥È¤òÀ¸À®¤¹¤ë¤Ë¤Ï:

     set palette defined ( 0 "blue", 3 "green", 6 "yellow", 10 "red" )

HSV ¿§¶õ´Ö¤Ç¤Î¥Õ¥ë¥«¥é¡¼¥¹¥Ú¥¯¥È¥ë:

     set palette model HSV
     set palette defined ( 0 0 1 1, 1 1 1 1 )
     set palette defined ( 0 0 1 0, 1 0 1 1, 6 0.8333 1 1, 7 0.8333 0 1)

MATLAB ¤Ç»È¤ï¤ì¤ë¥Ç¥Õ¥©¥ë¥È¥Ñ¥ì¥Ã¥È¤Î¶á»÷:

     set pal defined (1 '#00008f', 8 '#0000ff', 24 '#00ffff', \
                      40 '#ffff00', 56 '#ff0000', 64 '#800000')

Åù´Ö³Ö¤Ê¾¯¤·¤Î¿§¤À¤±¤Î¥Ñ¥ì¥Ã¥È¤òÀ¸À®¤¹¤ë¤Ë¤Ï:

     set palette model RGB maxcolors 4
     set palette defined ( 0 "yellow", 1 "red" )

'¸òÄÌ¿®¹æ' (³ê¤é¤«¤Ç¤Ï¤Ê¤¯ gray = 1/3, 2/3 ¤ÇÄ·¤Ó¤ò»ý¤Ä):

     set palette model RGB
     set palette defined (0 "dark-green", 1 "green", \
                          1 "yellow",     2 "dark-yellow", \
                          2 "red",        3 "dark-red" )

82.54.3 Functions

¿§¤Î³ä¤êÅö¤Æ¤Î R(gray), G(gray), B(gray) ¤Î 3 ¤Ä¤Î´Ø¿ô¤òÍ¿¤¨¤ë¤Ë¤Ï set palette functions < Rexpr> , < Gexpr> , < Bexpr> ¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ¤½¤ì¤é¤Î 3 ¤Ä¤Î´Ø¿ô¤ÎÊÑ¿ô¤Ï¡¢[0,1] ¤ÎÃͤò¼è¤ëÊÑ¿ô gray ¤Ç¤¢¤ê¡¢¤½¤Î Ãͤâ [0,1] ¤ÎÃæ¤Ë¼è¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ < Rexpr> ¤Ï¡¢HSV ¿§¶õ´Ö¤¬ÁªÂò¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢H ¤ÎÃͤòɽ¤¹¼°¤Ç¤Ê¤±¤ì¤Ð ¤¤¤±¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤ (¾¤Î¼°¡¢¤Þ¤¿¤Ï¾¤Î¿§¶õ´Ö¤Ç¤âƱÍͤǤ¹)¡£

Îã:

¥Õ¥ë¥«¥é¡¼¥Ñ¥ì¥Ã¥È¤òÀ¸À®¤¹¤ë¤Ë¤Ï:

     set palette model HSV functions gray, 1, 1

¹õ¤«¤é¶â¿§¤Ø¤ÎÎɤ¤¥Ñ¥ì¥Ã¥È:

     set palette model XYZ functions gray**0.35, gray**0.5, gray**0.8

¥¬¥ó¥ÞÊäÀµ¤ÎÇò¹õ¤Î¥Ñ¥ì¥Ã¥È:

     gamma = 2.2
     color(gray) = gray**(1./gamma)
     set palette model RGB functions color(gray), color(gray), color(gray)

82.54.4 Cubehelix

¥ª¥×¥·¥ç¥ó "cubehelix" ¤Ï¤¢¤ë¥Ñ¥ì¥Ã¥È²¤òÄêµÁ¤·¤Þ¤¹¤¬¡¢¤³¤ì¤Ï¡¢³¥¿§³¬ Ä´Ãͤ¬ 0 ¤«¤é 1 ¤ËÁý²Ã¤¹¤ë¤Î¤Ëȼ¤Ê¤¤¡¢ÀµÌ£¤Î¸÷ÅÙ¤¬Ã±Ä´¤ËÁý²Ã¤¹¤ë¤Î¤ÈƱ »þ¤Ë¡¢¿§Áê (hue) ¤¬É¸½à¿§Áê´Ä¤Ë½¾¤Ã¤ÆÊѲ½¤·¤Þ¤¹¡£
     D A Green (2011) http://arxiv.org/abs/1108.5083

start ¤Ï¡¢¿§Áê´Ä¤Ë±è¤Ã¤¿³«»ÏÅÀ¤ò¥é¥¸¥¢¥óñ°Ì¤Ç·èÄꤷ¤Þ¤¹¡£ cycles ¤Ï¡¢¥Ñ¥ì¥Ã¥È¤ÎÈϰϤòÅϤäƿ§Áê´Ä¤ò²¿²ó²ó¤ë¤«¤ò·èÄꤷ¤Þ¤¹¡£ saturation (ºÌÅÙ) ¤¬Â礭¤¤¤È¡¢¤è¤ê¤¢¤¶¤ä¤«¤Ê¿§¤Ë¤Ê¤ê¤Þ¤¹¡£1 ¤è¤êÂ礭 ¤¤ºÌÅ٤ϡ¢¸Ä¡¹¤Î RGB À®Ê¬¤ò¥¯¥ê¥Ã¥Ô¥ó¥°¤¹¤ë¤³¤È¤Ë¤Ê¤ê¡¢¸÷ÅÙ¤ÏñĴ¤Ç¤Ï ¤Ê¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£set palette gamma ¤â¥Ñ¥ì¥Ã¥È¤Ë±Æ¶Á¤òÍ¿¤¨¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥ÈÃͤϰʲ¼¤ÎÄ̤ê¤Ç¤¹¡£
     set palette cubehelix start 0.5 cycles -1.5 saturation 1
     set palette gamma 1.5

82.54.5 File

set palette file ¤Ï´ðËÜŪ¤Ë set palette defined (< gradient> ) ¤ÈƱ ¤¸¤Ç¡¢¤³¤Î < gradient> ¤¬¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤«¤éÆɤ߹þ¤Þ¤ì¤Þ¤¹¡£4 Îó (gray, R,G,B) ¤«¤Þ¤¿¤Ï 3 Îó (R,G,B) ¤Î¥Ç¡¼¥¿¤¬ using ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë½¤¾þ»Ò¤Ë ¤è¤Ã¤ÆÁªÂò¤µ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£3 Îó¤Î¾ì¹ç¡¢¹ÔÈֹ椬 gray ¤ÎÃͤȤ·¤Æ»È ¤ï¤ì¤Þ¤¹¤¬¡¢¤½¤Î gray ¤ÎÈϰϤϼ«Æ°Åª¤Ë [0,1] ¤Ë¥¹¥±¡¼¥ëÊÑ´¹¤µ¤ì¤Þ¤¹¡£ ¥Õ¥¡¥¤¥ë¤ÏÄ̾ï¤Î¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤È¤·¤ÆÆɤޤì¤ë¤Î¤Ç¡¢Á´¤Æ¤Î¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë ½¤¾þ»Ò¤¬»È¤¨¤Þ¤¹¡£ Î㤨¤Ð HSV ¿§¶õ´Ö¤¬ÁªÂò¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢R ¤Ï¼ÂºÝ¤Ë¤Ï H ¤ò»Ø¤¹¤È ¤¤¤¦¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

Îã¤Ë¤è¤Ã¤Æ¡¢< filename> ¤¬ '-' ¤Î¾ì¹ç¤Ï¡¢¥Ç¡¼¥¿¤¬¥¤¥ó¥é¥¤¥ó·Á¼°¤Ç°ú¤­ ³¤¤¤ÆÍ¿¤¨¤é¤ì¡¢°ì¤Ä¤Î e ¤Î¤ß¤Î¹Ô¤Ç¤½¤ì¤¬½ªÎ»¤¹¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£

¸ûÇÛ (gradient) ¤òɽ¼¨¤¹¤ë¤Ë¤Ï show palette gradient ¤ò»ÈÍѤ·¤Æ¤¯¤À ¤µ¤¤¡£

Îã:

RGB ¤Î¥Ñ¥ì¥Ã¥È¤ò [0,255] ¤ÎÈϰϤÇÆɤ߹þ¤à:

     set palette file 'some-palette' using ($1/255):($2/255):($3/255)

Åùµ÷Î¥¤ÎÆú¿§ (ÀÄ-ÎÐ-²«-ÀÖ) ¥Ñ¥ì¥Ã¥È:

     set palette model RGB file "-"
     0 0 1
     0 1 0
     1 1 0
     1 0 0
     e

¥Ð¥¤¥Ê¥ê¥Ñ¥ì¥Ã¥È¥Õ¥¡¥¤¥ë¤âƱÍͤ˥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£°Ê²¼»²¾È:binary general (72.2.1)¡£R,G,B ¤Î double ¤Î¥Ç¡¼¥¿¤Î 64 ¸Ä¤Î 3 ¤ÄÁȤò¥Õ¥¡¥¤¥ë palette.bin ¤Ë½ÐÎϤ·¡¢¤½¤ì¤òÆɤ߹þ¤àÎã:

     set palette file "palette.bin" binary record=64 using 1:2:3

82.54.6 ¥¬¥ó¥ÞÊäÀµ (gamma correction)

³¥¿§¤ÎÇÛ¿§¤ËÂФ¹¤ë¥¬¥ó¥ÞÊäÀµ¤Ï set palatte gamma < gamma> ¤Ç ON ¤Ë¤Ç ¤­¤Þ¤¹¡£< gamma> ¤Î¥Ç¥Õ¥©¥ë¥È¤Ï 1.5 ¤Ç¡¢¤³¤ì¤Ï¿¤¯¤Î½ÐÎÏ·Á¼°¤ËŬÀÚ¤ÊÃÍ ¤Ç¤¹¡£

¥¬¥ó¥ÞÊäÀµ¤Ï¡¢cubehelix ¥«¥é¡¼¥Ñ¥ì¥Ã¥È·Á¼°¤Ë¤ÏŬÍѤµ¤ì¤Þ¤¹¤¬¡¢Â¾¤Î¿§·Á ¼°¤Ë¤ÏŬÍѤµ¤ì¤Þ¤»¤ó¡£¤·¤«¤·¡¢ÌÀ¼¨Åª¤Ê¿§´Ø¿ô¤Ë¥¬¥ó¥ÞÊäÀµ¤ò¼ÂÁõ¤¹¤ë¤Î¤Ï Æñ¤·¤¯¤¢¤ê¤Þ¤»¤ó¡£

Îã:

     set palette model RGB
     set palette functions gray**0.64, gray**0.67, gray**0.70

Êä´Ö¤µ¤ì¤¿¸ûÇÛ¤ò»È¤Ã¤Æ¥¬¥ó¥ÞÊäÀµ¤ò¹Ô¤¦¤Ë¤Ï¡¢Å¬Åö¤Ê¥«¥é¡¼¤ËÃæ´Ö¤ÎÃͤò»Ø Äꤷ¤Þ¤¹¡£


     set palette defined ( 0 0 0 0, 1 1 1 1 )

¤ÎÂå¤ï¤ê¤ËÎ㤨¤Ð°Ê²¼¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤:


     set palette defined ( 0 0 0 0, 0.5 .73 .73 .73, 1 1 1 1 )

¤Þ¤¿¤Ï¡¢Àþ·ÁÊä´Ö¤¬ "¥¬¥ó¥ÞÊäÀµ" ¤ÎÊä´Ö¤Ë½½Ê¬Îɤ¯Å¬¹ç¤¹¤ë¤Þ¤Ç¤è¤êÎɤ¤Ãæ ´Ö¤ÎÅÀ¤òõ¤·¤Æ¤¯¤À¤µ¤¤¡£

82.54.7 Postscript

postscript ¥Õ¥¡¥¤¥ë¤Î¥µ¥¤¥º¤ò¾®¤µ¤¯¤¹¤ëÌÜŪ¤Ç¡¢³¥¿§¤Îµ±ÅÙÃÍ¡¢¤½¤·¤ÆÁ´ ¤Æ¤Ç¤Ï¤Ê¤¤¤¤¤¯¤Ä¤«¤Î·×»»¤µ¤ì¤¿ RGB ¤Îµ±ÅÙÃͤ¬¤½¤Î¥Õ¥¡¥¤¥ëÃæ¤Ë½ñ¤«¤ì¤Þ ¤¹¡£À®Ê¬´Ø¿ô¤Ï postscript ¸À¸ì¤ÇľÀÜ¥³¡¼¥É²½¤µ¤ì¡¢pm3d ¤ÎÉÁ²è¤ÎľÁ°¤Ë ¥Ø¥Ã¥À¤È¤·¤Æ¤ª¤«¤ì¤Þ¤¹¡£/g ¤ä /cF ¤ÎÄêµÁ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£Ä̾綠¤ÎÄê µÁ¤ò¤½¤ÎÃæ¤Ë½ñ¤¯¤³¤È¤Ï¡¢3 ¤Ä¤Î¼°¤Î¤ß¤¬»È¤ï¤ì¤ë¾ì¹ç¤Ë°ÕÌ£¤ò»ý¤Á¤Þ¤¹¡£¤· ¤«¤·¡¢multiplot ¤ä¤½¤Î¾¤ÎÍýͳ¤Ç postscript ¥Õ¥¡¥¤¥ëÃæ¤Î¤½¤ÎÊÑ´¹´Ø¿ô¤ò ľÀܼê¤ÇÊÔ½¸¤·¤¿¤¤¤È»×¤¦¤«¤âÃΤì¤Þ¤»¤ó¡£¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È¤Î¥ª¥×¥·¥ç¥ó nops_allcF ¤Ç¤¹¡£¥ª¥×¥·¥ç¥ó ps_allcF ¤ò»È¤¦¤È¡¢Á´¤Æ¤Î¸ø¼°¤ÎÄêµÁ¤¬ postscript ¥Õ¥¡¥¤¥ëÃæ¤Ë½ñ¤«¤ì¤Þ¤¹¡£°ì¤Ä¤Î¥°¥é¥ÕÃæ¤Ç¡¢°Û¤Ê¤ë¶ÊÌÌ¤Ë°Û¤Ê ¤ë¥Ñ¥ì¥Ã¥È¤ò»ý¤¿¤»¤¿¤¤¤È¤¤¤¦ÌÜŪ¤Ç postscript ¥Õ¥¡¥¤¥ë¤òÊÔ½¸¤·¤¿¤¤¾ì¹ç ¤Ë¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤Ë´Ø¿´¤ò»ý¤Ä¤Ç¤·¤ç¤¦¡£¤½¤Îµ¡Ç½¤Ï¡¢origin ¤È size ¤ò¸ÇÄꤷ¤Æ multiplot ¤ò»È¤¦¤³¤È¤Ç¼Â¸½¤Ç¤­¤ë¤Ç¤·¤ç¤¦¡£

pm3d ¿§ÃÏ¿Þ¤¬¡¢³Ê»Ò¾õ¡¢¤¢¤ë¤¤¤Ï¤Û¤Üµ¬Â§Àµ¤·¤¤¥Ç¡¼¥¿¤«¤é postscript ¥Õ ¥¡¥¤¥ë¤È¤·¤ÆÉÁ²è¤µ¤ì¤¿¾ì¹ç¡¢gnuplot ¤ÈƱ»þ¤ËÇÛÉÛ¤µ¤ì¤ë awk ¥¹¥¯¥ê¥×¥È pm3dCompress.awk ¤ò»È¤¦¤³¤È¤Ç¡¢¤³¤Î postscript ¥Õ¥¡¥¤¥ë¤Î¥µ¥¤¥º¤ò¤Û ¤Ü 50% °Ì¤Þ¤Ç¾®¤µ¤¯¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤òʸ½ñ¤Ë¼è¤ê¹þ¤à¾ì ¹ç¡¢¤¢¤ë¤¤¤ÏÄ㮤Υץê¥ó¥¿¤ËÂ礭¤Ê¥Õ¥¡¥¤¥ë¤ò°õºþ¤¹¤ëÁ°¤Ê¤É¤Ë¡¢¤³¤Îµ¡Ç½ ¤Ë´Ø¿´¤ò»ý¤Ä¤³¤È¤Ç¤·¤ç¤¦¡£»ÈÍÑË¡¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹:

   awk -f pm3dCompress.awk thefile.ps >smallerfile.ps

pm3d ¿§ÃÏ¿Þ¤¬»Í³Ñ·Á¤Î³Ê»Ò¾õ¥Ç¡¼¥¿¤«¤é postscript ¥Õ¥¡¥¤¥ë¤È¤·¤ÆÉÁ²è¤µ ¤ì¤¿¾ì¹ç¡¢Æ±»þ¤ËÇÛÉÛ¤µ¤ì¤ë awk ¥¹¥¯¥ê¥×¥È pm3dConvertToImage.awk ¤ò »È¤¦¤³¤È¤Ç¡¢¤½¤Î¥µ¥¤¥º¤ò¹¹¤Ë¾®¤µ¤¯¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£»ÈÍÑË¡:

   awk -f pm3dConvertToImage.awk <thefile.ps >smallerfile.ps

postscript ½ÐÎϤγ¥¿§³¬Ä´¤ò¥«¥é¡¼¤Ø¡¢¤Þ¤¿¤Ï¤½¤ÎµÕ¡¢¤½¤·¤Æ < maxcolors> ¤ÎÄêµÁ¤Ê¤É¤ò¡¢¼êÆ°¤ÇÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

82.55 Pointintervalbox

Àþ¼ï¤Î°À­ pointinterval ¤ÏÉÁ²è¥¹¥¿¥¤¥ë linespoints ¤Ç»È¤ï¤ì¤Þ¤¹¡£ pointinterval ¤òÉé¤ÎÃÍ¡¢Î㤨¤Ð -N ¤È¤¹¤ë¤È¡¢ÅÀ¤Îµ­¹æ¤Ï N ÈÖÌÜËè¤Ë½ñ¤­¡¢ ¤½¤·¤Æ³ÆÅÀ¤Îµ­¹æ¤Î¸å¤í¤ÎÈ¢ (¼ÂºÝ¤Ë¤Ï±ß) ¤ÎÉôʬ¤òÇØ·Ê¿§¤ÇÅɤê¤Ä¤Ö¤·¤Æ¾Ã ¤·¤Þ¤¹¡£¥³¥Þ¥ó¥É set pointintervalbox ¤Ï¤½¤Î¾Ã¤¹Îΰè¤ÎÂ礭¤µ (Ⱦ·Â) ¤òÀ©¸æ¤·¤Þ¤¹¡£¤³¤ì¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎȾ·Â (= pointsize) ¤ËÂФ¹¤ëÇÜΨ¤Ç¤¹¡£

82.56 Pointsize

¥³¥Þ¥ó¥É set pointsize ¤ÏÉÁ²è¤Ç»È¤ï¤ì¤ëÅÀ¤ÎÂ礭¤µ¤òÊѹ¹¤·¤Þ¤¹¡£

½ñ¼°:

     set pointsize <multiplier>
     show pointsize

¥Ç¥Õ¥©¥ë¥È¤Ï 1.0 ÇܤǤ¹¡£²èÁü¥Ç¡¼¥¿½ÐÎϤǤϡ¢Â礭¤¤¥Ý¥¤¥ó¥È¥µ¥¤¥º¤ÎÊý ¤¬¸«¤ä¤¹¤¤¤Ç¤·¤ç¤¦¡£

°ì¤Ä¤ÎÉÁ²è¤ËÂФ¹¤ë¥Ý¥¤¥ó¥È¥µ¥¤¥º¤Ï plot ¥³¥Þ¥ó¥É¤Î¾å¤Ç¤âÊѹ¹¤Ç¤­¤Þ¤¹¡£ ¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: plot with (72.11)¡£

¥Ý¥¤¥ó¥È¥µ¥¤¥º¤ÎÀßÄê¤Ï¡¢É¬¤º¤·¤âÁ´¤Æ¤Î½ÐÎÏ·Á¼°¤Ç¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤ï¤± ¤Ç¤Ï¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

82.57 Polar

¥³¥Þ¥ó¥É set polar ¤Ï¥°¥é¥Õ¤ÎÉÁ²èÊýË¡¤ò xy ľ¸òºÂɸ·Ï¤«¤é¶ËºÂɸ·Ï¤Ë Êѹ¹¤·¤Þ¤¹¡£

½ñ¼°:

     set polar
     unset polar
     show polar

¶ËºÂɸ¥â¡¼¥É¤Ç¤Ï¡¢²¾ÊÑ¿ô (t) ¤Ï³ÑÅÙ¤òɽ¤·¤Þ¤¹¡£t ¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÈÏ°Ï¤Ï [0:2*pi] ¤Ç¤¹¤¬¡¢Ã±°Ì¤È¤·¤ÆÅÙ¤¬ÁªÂò¤µ¤ì¤Æ¤¤¤ì¤Ð [0:360] ¤È¤Ê¤ê¤Þ¤¹ (°Ê²¼»²¾È: set angles (82.1))¡£

¥³¥Þ¥ó¥É unset polar ¤ÏÉÁ²èÊýË¡¤ò¥Ç¥Õ¥©¥ë¥È¤Î xy ľ¸òºÂɸ·Ï¤ËÌᤷ¤Þ ¤¹¡£

set polar ¥³¥Þ¥ó¥É¤Ï splot ¤Ç¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£splot ¤Ë ÂФ¹¤ëƱÍͤε¡Ç½¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È: set mapping (82.38)¡£

¶ËºÂɸ¥â¡¼¥É¤Ç¤Ï t ¤Î¿ô¼°¤Î°ÕÌ£¤Ï r=f(t) ¤È¤Ê¤ê¡¢t ¤Ï²óž³Ñ¤È¤Ê¤ê¤Þ¤¹¡£ trange ¤Ï´Ø¿ô¤ÎÄêµÁ°è (³ÑÅÙ) ¤òÀ©¸æ¤·¡¢rrange, xrange, yrange ¤Ï¤½¤ì¤¾ ¤ì¥°¥é¥Õ¤Î x,y Êý¸þ¤ÎÈϰϤòÀ©¸æ¤¹¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤é¤ÎÈÏ°Ï¤È rrange ¤Ï¼«Æ°Åª¤ËÀßÄꤵ¤ì¤ë¤«¡¢¤Þ¤¿¤ÏÌÀ¼¨Åª¤ËÀßÄê¤Ç¤­¤Þ¤¹¡£¾ÜºÙ¤Ë´Ø¤· ¤Æ¤Ï¡¢°Ê²¼»²¾È: set rrange (82.62), set xrange (82.95)¡£

Îã:

     set polar
     plot t*sin(t)
     set trange [-2*pi:2*pi]
     set rrange [0:3]
     plot t*sin(t)

ºÇ½é¤Î plot ¤Ï¥Ç¥Õ¥©¥ë¥È¤Î³ÑÅÙ¤ÎÈϰϤΠ0 ¤«¤é 2*pi ¤ò»È¤¤¤Þ¤¹¡£Æ°·Â Êý¸þ¤È¥°¥é¥Õ¤Î¥µ¥¤¥º¤Ï¼«Æ°Åª¤Ë¿­½Ì¤µ¤ì¤Þ¤¹¡£2 ÈÖÌܤΠplot ¤Ï³ÑÅÙ¤ÎÄê µÁ°è¤ò³ÈÄ¥¤·¡¢¥°¥é¥Õ¤Î¥µ¥¤¥º¤ò¸¶ÅÀ¤«¤é 3 ¤ÎÉý¤ËÀ©¸Â¤·¤Þ¤¹¡£¤³¤ì¤Ï x,y ¤Î¤½¤ì¤¾¤ì¤ÎÊý¸þ¤ò [-3:3] ¤ËÀ©¸Â¤¹¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

set size square ¤È¤¹¤ë¤È gnuplot ¤Ï¥¢¥¹¥Ú¥¯¥ÈÈæ (½Ä²£¤ÎÈæ) ¤ò 1 ¤Ë ¤¹¤ë¤Î¤Ç±ß¤¬ (ÂʱߤǤʤ¯) ±ß¤Ë¸«¤¨¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ °Ê²¼¤â»²¾È

¶ËºÂɸ¤Î¥Ç¥â (polar.dem)

¤ª¤è¤Ó

¶ËºÂɸ¥Ç¡¼¥¿¤ÎÉÁ²è (poldat.dem)¡£

82.58 Print

¥³¥Þ¥ó¥É set print ¤Ï print ¥³¥Þ¥ó¥É¤Î½ÐÎϤò¥Õ¥¡¥¤¥ë¤Ë¥ê¥À¥¤¥ì¥¯¥È ¤·¤Þ¤¹¡£

½ñ¼°:

     set print
     set print "-"
     set print "<filename>"
     set print "<filename>" append
     set print "|<shell_command>"

"< filename> " ¤¬¤Ê¤¤¾ì¹ç¤Ï½ÐÎÏ¤Ï < STDERR> ¤Ë¤Ê¤ê¤Þ¤¹¡£"-" ¤È¤¤¤¦ < filename> ¤Ï < STDOUT> ¤ò°ÕÌ£¤·¤Þ¤¹¡£append ¥Õ¥é¥°¤Ï¥Õ¥¡¥¤¥ë¤òÄɲà (append) ¥â¡¼¥É¤Ç³«¤¯¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£¥Ñ¥¤¥×¤ò¥µ¥Ý¡¼¥È¤¹¤ë¥×¥é¥Ã¥È¥Û ¡¼¥à¾å¤Ç¤Ï¡¢< filename> ¤¬ "| " ¤Ç»Ï¤Þ¤Ã¤Æ¤¤¤¿¤é¡¢< shell_command> ¤Ø¤Î¥Ñ ¥¤¥×¤¬³«¤«¤ì¤Þ¤¹¡£

82.59 Psdir

¥³¥Þ¥ó¥É set psdir < directory> ¤Ï¡¢postscript ½ÐÎÏ·Á¼°¤¬ prologue.ps ¤äʸ»ú¥¨¥ó¥³¡¼¥ÉÍѤΥե¡¥¤¥ë¤òõ¤¹¤Î¤Ë»ÈÍѤ¹¤ë¸¡º÷¥Ñ¥¹¤òÀ©¸æ¤·¤Þ¤¹¡£¤³ ¤Î»ÅÁȤߤϡ¢ÊÌ¤Ë¥í¡¼¥«¥ë¤Ë¥«¥¹¥¿¥Þ¥¤¥º¤·¤¿ prolog ¥Õ¥¡¥¤¥ë·²¤ÈÀÚ¤êÂؤ¨ ¤ë¤Î¤Ë»È¤¨¤Þ¤¹¡£¸¡º÷¤Î½çÈ֤ϰʲ¼¤Î¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
     1) `set psdir` ¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¤½¤Î¥Ç¥£¥ì¥¯¥È¥ê
     2) ´Ä¶­ÊÑ¿ô GNUPLOT_PS_DIR ¤Ç»ØÄꤷ¤¿¥Ç¥£¥ì¥¯¥È¥ê
     3) ÁȤ߹þ¤Þ¤ì¤¿¥Ø¥Ã¥À¡¼¡¢¤Þ¤¿¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥·¥¹¥Æ¥à¥Ç¥£¥ì¥¯¥È¥ê
     4) `set loadpath` ¤Ç»ØÄꤷ¤¿¥Ç¥£¥ì¥¯¥È¥ê

82.60 Raxis

¥³¥Þ¥ó¥É set raxis ¤È unset raxis ¤Ï¡¢Æ°·Â¼´¤ò³Ê»ÒÀþ¤È x ¼´¤«¤éʬ Î¥¤·¤ÆÉÁ²è¤¹¤ë¤«¤É¤¦¤«¤òÀÚ¤êÂؤ¨¤Þ¤¹¡£¸½ºß¤Î rrange ¤ÎºÇ¾®Ãͤ¬ 0 ¤Ç¤Ê ¤¤ (¤½¤·¤Æ¼«Æ°½Ì¼Ü¤Ç¤Ê¤¤) ¾ì¹ç¡¢¥°¥é¥Õ¤È¼´¤¬¸¶ÅÀ¤Ë㤷¤Ê¤¤¤³¤È¤ò¼¨¤¹Çò ´Ý¤¬¶ËºÂɸ¥°¥é¥Õ¤ÎÃæ¿´¤ËÉÁ¤«¤ì¤Þ¤¹¡£¼´¤ÎÀþ¤Ï¡¢¥°¥é¥Õ¤Î¶­³¦¤ÈƱ¤¸Àþ¼ï¤Ç ÉÁ²è¤µ¤ì¤Þ¤¹¡£°Ê²¼»²¾È: polar (82.57), rrange (82.62), rtics (82.63), set grid (82.26)¡£

82.61 Rmargin

¥³¥Þ¥ó¥É set rmargin ¤Ï±¦¤Î;Çò¤Î¥µ¥¤¥º¤ò¥»¥Ã¥È¤·¤Þ¤¹¡£ ¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set margin (82.39)¡£

82.62 Rrange

¥³¥Þ¥ó¥É set rrange ¤Ï¶ËºÂɸ¥â¡¼¥É¤Î¥°¥é¥Õ¤ÎÆ°·ÂÊý¸þ¤ÎÈϰϤòÀßÄꤷ¤Þ ¤¹¡£¤³¤ì¤Ï xrange ¤È yrange ¤ÎξÊý¤âÀßÄꤷ¤Æ¤·¤Þ¤¤¤Þ¤¹¡£Î¾¼Ô¤Ï¡¢ [-(rmax-rmin) : +(rmax-rmin)] ¤Ë¤Ê¤ê¤Þ¤¹¡£¤·¤«¤·¡¢¤³¤ì¤Î¸å¤Ç xrange ¤ä yrange ¤òÊѹ¹¤·¤Æ¤â (Î㤨¤Ð³ÈÂ礹¤ë¤¿¤á¤Ë)¡¢¤½¤ì¤Ï rrange ¤òÊѹ¹¤·¤Ê¤¤ ¤Î¤Ç¡¢¥Ç¡¼¥¿ÅÀ¤Ï rrange ¤Ë´Ø¤·¤Æ¥¯¥ê¥Ã¥Ô¥ó¥°¤µ¤ì¤¿¤Þ¤Þ¤È¤Ê¤ê¤Þ¤¹¡£rmin ¤Ë´Ø¤¹¤ë¼«Æ°½Ì¼Ü¤Ï¾ï¤Ë rmin = 0 ¤È¤Ê¤ê¤Þ¤¹¡£

82.63 Rtics

¥³¥Þ¥ó¥É set rtics ¤Ï¡¢Æ°·Â¼´¤Ë±è¤Ã¤ÆÌÜÀ¹¤ê¤òÇÛÃÖ¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢¶Ë ºÂɸ¥â¡¼¥É¤Ç¤Î¤ßɽ¼¨¤µ¤ì¤Þ¤¹¡£ÌÜÀ¹¤ê¤È¤½¤Î¸«½Ð¤·¤Ï¸¶ÅÀ¤Î±¦Â¦¤ËÉÁ¤«¤ì¤Þ ¤¹¡£¥­¡¼¥ï¡¼¥É mirror ¤Ï¡¢¤½¤ì¤é¤ò¸¶ÅÀ¤Îº¸Â¦¤Ë¤âÉÁ¤­¤Þ¤¹¡£¤½¤Î¾¤Î¥­ ¡¼¥ï¡¼¥É¤Ë´Ø¤¹¤ëÏäˤĤ¤¤Æ¤Ï°Ê²¼»²¾È: polar (82.57), set xtics (82.96)¡£

82.64 Samples

´Ø¿ô¡¢¤Þ¤¿¤Ï¥Ç¡¼¥¿¤ÎÊä´Ö¤Ë´Ø¤¹¤ë¥µ¥ó¥×¥ê¥ó¥°¿ô¤Ï¥³¥Þ¥ó¥É set samples ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£

½ñ¼°:

     set samples <samples_1> {,<samples_2>}
     show samples

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥µ¥ó¥×¥ë¿ô¤Ï 100 ÅÀ¤ÈÀßÄꤵ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤ÎÃͤòÁý¤ä¤¹¤È ¤è¤êÀµ³Î¤ÊÉÁ²è¤¬½ÐÍè¤Þ¤¹¤¬ÃÙ¤¯¤Ê¤ê¤Þ¤¹¡£¤³¤Î¥Ñ¥é¥á¡¼¥¿¤Ï¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë ¤ÎÉÁ²è¤Ë¤Ï²¿¤Î±Æ¶Á¤âÍ¿¤¨¤Þ¤»¤ó¤¬¡¢Êä´Ö/¶á»÷¤Î¥ª¥×¥·¥ç¥ó¤¬»È¤ï¤ì¤Æ¤¤¤ë ¾ì¹ç¤Ï¤½¤Î¸Â¤ê¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£2 ¼¡¸µÉÁ²è¤Ë¤Ä¤¤¤Æ¤Ï plot smooth ¤ò¡¢ 3 ¼¡¸µÉÁ²è¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È: set dgrid3d (82.18)¡£

2 ¼¡¸µ¤Î¥°¥é¥ÕÉÁ²è¤¬¹Ô¤Ê¤ï¤ì¤ë¤È¤­¤Ï < samples_1> ¤ÎÃͤΤߤ¬´Ø·¸¤·¤Þ¤¹¡£

±£Àþ½èÍý¤Ê¤·¤Ç¶ÊÌÌÉÁ²è¤¬¹Ô¤Ê¤ï¤ì¤ë¤È¤­¤Ï¡¢samples ¤ÎÃͤϸÉΩÀþËè¤Ëɾ²Á ¤µ¤ì¤ë¥µ¥ó¥×¥ë¿ô¤Î»ØÄê¤Ë¤Ê¤ê¤Þ¤¹¡£³Æ v-¸ÉΩÀþ¤Ï < samples_1> ¸Ä¤Î¥µ¥ó¥× ¥ëÅÀ¤ò»ý¤Á¡¢u-¸ÉΩÀþ¤Ï < samples_2> ¸Ä¤Î¥µ¥ó¥×¥ë¿ô¤ò»ý¤Á¤Þ¤¹¡£< samples_1> ¤Î¤ß»ØÄꤹ¤ë¤È¡¢< samples_2> ¤ÎÃÍ¤Ï < samples_1> ¤ÈƱ¤¸ÃͤËÀßÄꤵ¤ì¤Þ¤¹¡£ °Ê²¼¤â»²¾È: set isosamples (82.29)¡£

82.65 Size

½ñ¼°:
     set size {{no}square | ratio <r> | noratio} {<xscale>,<yscale>}
     show size

< xscale> ¤È < yscale> ¤ÏÉÁ²èÁ´ÂΤγÈÂç¤ÎÇÜΨ¤Ç¡¢ÉÁ²èÁ´ÂΤȤϥ°¥é¥Õ¤È¥é ¥Ù¥ë¤È;Çò¤ÎÉôʬ¤ò´Þ¤ß¤Þ¤¹¡£

½ÅÍפÊÃí°Õ:

     gnuplot ¤Î°ÊÁ°¤ÎÈǤǤϡ¢`set size` ¤ÎÃͤò¡¢½ÐÎϤ¹¤ëÉÁ²èÎΰè
     (¥­¥ã¥ó¥Ð¥¹) ¤Î¥µ¥¤¥º¤òÀ©¸æ¤¹¤ë¤Î¤Ë¤â»È¤Ã¤Æ¤¤¤¿½ÐÎÏ·Á¼°¤â¤¢¤ê¤Þ
     ¤·¤¿¤¬¡¢¤¹¤Ù¤Æ¤Î½ÐÎÏ·Á¼°¤¬¤½¤¦¤À¤Ã¤¿¤ï¤±¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£
     version 4.6 ¤Ç¤Ï¡¢¤Û¤È¤ó¤É¤Î½ÐÎÏ·Á¼°¤¬°Ê²¼¤Î¥ë¡¼¥ë¤Ë½¾¤¦¤è¤¦¤Ë¤Ê
     ¤ê¤Þ¤·¤¿:

set term < terminal_type> size < XX> , < YY> ¤Ï¡¢½ÐÎÏ¥Õ¥¡¥¤¥ë¤Î¥µ¥¤¥º¡¢ ¤Þ¤¿¤Ï "¥­¥ã¥ó¥Ð¥¹" ¤Î¥µ¥¤¥º¤òÀ©¸æ¤·¤Þ¤¹¡£¥µ¥¤¥º¥Ñ¥é¥á¡¼¥¿¤ÎÍ­¸ú¤ÊÃÍ¤Ë ¤Ä¤¤¤Æ¤Ï¡¢¸Ä¡¹¤Î½ÐÎÏ·Á¼°¤Î¥Ø¥ë¥×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¥° ¥é¥Õ¤Ï¤½¤Î¥­¥ã¥ó¥Ð¥¹Á´ÂΤËÉÁ²è¤µ¤ì¤Þ¤¹¡£

set size < XX> , < YY> ¤Ï¡¢ÉÁ²è¼«ÂΤò¥­¥ã¥ó¥Ð¥¹¤Î¥µ¥¤¥º¤ËÂФ·¤ÆÁêÂÐŪ¤Ë ¿­½Ì¤µ¤»¤Þ¤¹¡£1 ¤è¤ê¾®¤µ¤¤¿­½ÌÃͤò»ØÄꤹ¤ë¤È¡¢¥°¥é¥Õ¤Ï¥­¥ã¥ó¥Ð¥¹Á´ÂΤò Ëä¤á¤º¡¢1 ¤è¤êÂ礭¤¤¿­½ÌÃͤò»ØÄꤹ¤ë¤È¡¢¥°¥é¥Õ¤Î°ìÉôʬ¤Î¤ß¤¬¥­¥ã¥ó¥Ð¥¹ Á´ÂΤ˹礦¤è¤¦¤ËÉÁ²è¤µ¤ì¤Þ¤¹¡£1 ¤è¤êÂ礭¤¤¿­½ÌÃͤò»ØÄꤹ¤ë¤È¡¢¤¢¤ë½ÐÎÏ ·Á¼°¤Ç¤ÏÌäÂ꤬µ¯¤³¤ë¤«¤â¤·¤ì¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

ratio ¤Ï¡¢»ØÄꤷ¤¿ < xscale> , < yscale> ¤ÎÉÁ²èÈÏ°ÏÆâ¤Ç¡¢¥°¥é¥Õ¤Î¥¢¥¹¥Ú ¥¯¥ÈÈæ (½Ä²£Èæ) ¤ò < r> ¤Ë¤·¤Þ¤¹ (< r> ¤Ï x Êý¸þ¤ÎŤµ¤ËÂФ¹¤ë y Êý¸þ¤Î Ťµ¤ÎÈæ)¡£

< r> ¤ÎÃͤòÉé¤Ë¤¹¤ë¤È¤½¤Î°ÕÌ£¤Ï°ã¤Ã¤ÆÍè¤Þ¤¹¡£< r> =-1 ¤Î¤È¤­¡¢x ¼´¡¢y ¼´ ¤ÎÁÐÊý¤Îñ°Ì (¤Ä¤Þ¤ê 1) ¤ÎÌÜÀ¹¤ÎŤµ¤¬Æ±°ì¤Ë¤Ê¤ë¤è¤¦ÀßÄꤵ¤ì¤Þ¤¹¡£¤³¤ì ¤Ï set view equal xy ¤ÈƱ¤¸¤Ç¤¹¡£°Ê²¼»²¾È: set view equal (82.82.1)¡£< r> =-2 ¤Î¤È¤­¡¢y ¼´¤Îñ°ÌÌÜÀ¹¤ÎŤµ¤Ï x ¼´¤Îñ°ÌÌÜÀ¹¤ÎŤµ¤Î 2 ÇܤËÀßÄꤵ¤ì¤Þ ¤¹¡£< r> ¤¬Éé¤ÎÃͤ˴ؤ·¤Æ°Ê²¼Æ±ÍͤǤ¹¡£

gnuplot ¤¬»ØÄꤵ¤ì¤¿¥¢¥¹¥Ú¥¯¥ÈÈæ¤Î¥°¥é¥Õ¤ò¤Á¤ã¤ó¤È½ñ¤±¤ë¤«¤ÏÁªÂò¤µ¤ì ¤ë½ÐÎÏ·Á¼°¤Ë°Í¸¤·¤Þ¤¹¡£¥°¥é¥Õ¤ÎÎΰè¤Ï½ÐÎϤλØÄꤵ¤ì¤¿Éôʬ¤Ë¤Á¤ã¤ó¤È¼ý ¤Þ¤ê¡¢¥¢¥¹¥Ú¥¯¥ÈÈ椬 < r> ¤Ç¤¢¤ë¤è¤¦¤ÊºÇÂç¤ÎĹÊý·Á¤È¤Ê¤ê¤Þ¤¹ (¤â¤Á¤í¤ó ŬÅö¤Ê;Çò¤â»Ä¤·¤Þ¤¹¤¬)¡£

square ¤Ï ratio 1 ¤ÈƱ¤¸°ÕÌ£¤Ç¤¹¡£

noratio ¤È nosquare ¤Ï¤¤¤º¤ì¤â¥°¥é¥Õ¤ò¤½¤Î½ÐÎÏ·Á¼° (terminal) ¤Ç¤Î ¥Ç¥Õ¥©¥ë¥È¤Î¥¢¥¹¥Ú¥¯¥ÈÈæ¤ËÌᤷ¤Þ¤¹¤¬¡¢< xscale> ¤È < yscale> ¤Ï¤½¤Î¥Ç¥Õ ¥©¥ë¥È¤ÎÃÍ (1.0) ¤Ë¤ÏÌᤷ¤Þ¤»¤ó¡£

ratio ¤È square ¤Ï 3 ¼¡¸µÉÁ²è¤Ç¤Ï°ÕÌ£¤ò»ý¤Á¤Þ¤»¤ó¤¬¡¢set view map ¤ò»ÈÍѤ·¤¿ 3 ¼¡¸µÉÁ²è¤Î 2 ¼¡¸µ¼Í±Æ¤Ë¤Ï±Æ¶Á¤òÍ¿¤¨¤Þ¤¹¡£ °Ê²¼¤â»²¾È:set view equal (82.82.1)¡£¤³¤ì¤Ï¡¢3 ¼¡¸µ¤Î x ¼´¤È y ¼´¤ò¶¯À©Åª¤ËƱ¤¸¥¹¥±¡¼¥ë¤Ë ¤·¤Þ¤¹¡£

Îã:

¥°¥é¥Õ¤¬¸½ºß¤Î¥­¥ã¥ó¥Ð¥¹¤òËä¤á¤ë¤è¤¦¤ÊÂ礭¤µ¤ËÀßÄꤷ¤Þ¤¹:

     set size 1,1

¥°¥é¥Õ¤òÄ̾ï¤ÎȾʬ¤ÎÂ礭¤µ¤ÇÀµÊý·Á¤Ë¤·¤Þ¤¹:

     set size square 0.5,0.5

¥°¥é¥Õ¤Î¹â¤µ¤ò²£Éý¤Î 2 Çܤˤ·¤Þ¤¹:

     set size ratio 2

82.66 Style

¥Ç¥Õ¥©¥ë¥È¤ÎÉÁ²è¥¹¥¿¥¤¥ë¤Ï¡¢set style data ¤È set style function ¤ÇÀßÄê¤Ç¤­¤Þ¤¹¡£´Ø¿ô¤ä¥Ç¡¼¥¿¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÉÁ²è¥¹¥¿¥¤¥ë¤ò¸Ä¡¹¤ËÊѹ¹¤¹ ¤ëÊýË¡¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: plot with (72.11)¡£¥¹¥¿¥¤¥ë¤Î°ìÍ÷Á´ÂΤϡ¢°Ê²¼»²¾È: plotting styles (II)¡£

½ñ¼°:

     set style function <style>
     set style data <style>
     show style function
     show style data

»ØÄê¤Ç¤­¤ëÉÁ²èÍ×ÁǤΥǥե©¥ë¥È¥¹¥¿¥¤¥ë¤âÀßÄê¤Ç¤­¤Þ¤¹¡£


     set style arrow <n> <arrowstyle>
     set style fill <fillstyle>
     set style histogram <histogram style options>
     set style line <n> <linestyle>

gnuplot ¤¬ object ¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤è¤¦¤Ë¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤Æ¤¤¤ì¤Ð¡¢°Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤âÍ­¸ú¤Ç¤¹:

½ñ¼°:

     set style rectangle <object options> <linestyle> <fillstyle>
     set style circle radius <size> {clip|noclip}
     set style ellipse size <size> units {xy|xx|yy} {clip|noclip}

82.66.1 Set style arrow

³Æ½ÐÎÏ·Á¼°¤ÏÌð¤äÅÀ¤Î·Á¤Î¥Ç¥Õ¥©¥ë¥È¤Î½¸¹ç¤ò»ý¤Ã¤Æ¤¤¤Æ¡¢¤½¤ì¤Ï¥³¥Þ¥ó¥É test ¤Ç»²¾È¤Ç¤­¤Þ¤¹¡£set style arrow ¤ÏÌð¤Î·Á¡¢Éý¡¢ÅÀ¤Î·Á¡¢¥µ¥¤¥º ¤òÄêµÁ¤·¡¢¤½¤ì¤é¤ò¸å¤Ç»È¤¦¤È¤­¤Ë¤¤¤Á¤¤¤ÁƱ¤¸¾ðÊó¤ò·«¤êÊÖ¤·¤Æ»ØÄꤷ¤Ê¤¯ ¤Æ¤â¥¤¥ó¥Ç¥Ã¥¯¥¹¤Ç»²¾È¤Ç¤­¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£

½ñ¼°:

     set style arrow <index> default
     set style arrow <index> {nohead | head | heads}
                             {size <length>,<angle>{,<backangle>}}
                             {filled | empty | nofilled}
                             {front | back}
                             { {linestyle | ls <line_style>}
                               | {linetype | lt <line_type>}
                                 {linewidth | lw <line_width} }
     unset style arrow
     show style arrow

< index> ¤ÏÀ°¿ô¤Ç¡¢¤½¤ì¤ÇÌð¤Î¥¹¥¿¥¤¥ë (arrowstyle) ¤òÆÃÄꤷ¤Þ¤¹¡£

default ¤ò»ØÄꤹ¤ë¤È¡¢Á´¤Æ¤Î arrow ¥¹¥¿¥¤¥ë¥Ñ¥é¥á¡¼¥¿¤Ï¤½¤Î¥Ç¥Õ¥©¥ë ¥È¤ÎÃͤˤʤê¤Þ¤¹¡£

< index> ¤Î arrowstyle ¤¬´û¤Ë¸ºß¤¹¤ë¾ì¹ç¡¢Â¾¤ÎÁ´¤Æ¤ÏÊݸ¤µ¤ì¤¿¤Þ¤Þ¡¢Í¿ ¤¨¤é¤ì¤¿¥Ñ¥é¥á¡¼¥¿¤Î¤ß¤¬Êѹ¹¤µ¤ì¤Þ¤¹¡£< index> ¤¬Â¸ºß¤·¤Ê¤±¤ì¤Ð¡¢»ØÄꤵ ¤ì¤Ê¤«¤Ã¤¿Ãͤϥǥե©¥ë¥È¤ÎÃͤˤʤê¤Þ¤¹¡£

nohead ¤ò»ØÄꤹ¤ë¤³¤È¤Ç¡¢ÌðÀè¤Î¤Ê¤¤Ì𡢤¹¤Ê¤ï¤ÁÀþʬ¤ò½ñ¤¯¤³¤È¤â¤Ç¤­ ¤Þ¤¹¡£¤³¤ì¤ÏÉÁ²è¤Î¾å¤ËÀþʬ¤òÉÁ¤¯Ê̤ÊÊýË¡¤òÍ¿¤¨¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 1 ¤Ä¤ÎÌðÀ褬¤Ä¤¤¤Æ¤¤¤Þ¤¹¡£heads ¤Î»ØÄê¤ÇÀþʬ¤Îξü¤ËÌðÀ褬ÉÁ¤«¤ì¤Þ¤¹¡£

ÌðÀè¤ÎÂ礭¤µ¤Ï size < length> ,< angle> ¤Þ¤¿¤Ï size < length> ,< angle> ,< backangle> ¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¡£< length> ¤ÏÌðÀè ¤Î³Æ»Þ¤ÎŤµ¤Ç¡¢< angle> ¤ÏÌðÀè¤Î»Þ¤ÈÌð¼´¤¬¤Ê¤¹³ÑÅÙ (ñ°Ì¤ÏÅÙ) ¤Ç¤¹¡£ < length> ¤Îñ°Ì¤Ï x ¼´¤ÈƱ¤¸¤Ç¤¹¤¬¡¢¤½¤ì¤Ï < length> ¤ÎÁ°¤Ë first, second, graph, screen, character ¤ò¤Ä¤±¤ë¤³¤È¤ÇÊѹ¹¤Ç ¤­¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: coordinates (10)¡£< backangle> ¤Ï¡¢filled ¤« ¤Þ¤¿¤Ï empty ¤¬¤È¤â¤Ë»È¤ï¤ì¤¿¾ì¹ç¤Î¤ß¸úÎϤò»ý¤Á¡¢¤½¤Î¾ì¹ç¡¢ < backangle> ¤ÏÌðÀè¤Î¸å¤í¤ÎÉôʬ¤ÎÌ𼴤ȤÎÀÚ¤ê³Ñ (< angle> ¤ÈƱ¤¸Êý¸þ; ñ°Ì¤ÏÅÙ) ¤Ë¤Ê¤ê¤Þ¤¹¡£½ÐÎÏ·Á¼° fig ¤Ï¡¢À©¸Â¤µ¤ì¤¿ÀÚ¤ê³Ñ´Ø¿ô¤ò»ý¤Ã¤Æ ¤¤¤Æ¡¢¤½¤ì¤Ï 3 ¤Ä¤Î°Û¤Ê¤ë·Á¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Æ¡¢¤½¤ì¤Ï 2 ¤Ä¤ÎïçÃͤǷèÄê ¤·¤Þ¤¹: 70 ÅṲ̀Ëþ¤Î¾ì¹ç¡¢ÌðÀè¤Ï¤Ø¤³¤ó¤ÀÀÚ¤ê³Ñ¤ò»ý¤Á¡¢110 ÅÙ¤òĶ¤¨¤ë¾ì ¹ç¡¢¸å¤í¤ÎÉôʬ¤ËÀí¤Ã¤¿³Ñ¤ò»ý¤Á¡¢¤½¤Î´Ö¤Î³Ñ¤Ç¤Ï¡¢ÌðÀè¤Î¸å¤í¤ÏľÀþ¤Ë¤Ê¤ê ¤Þ¤¹¡£

filled ¤ò»ØÄꤹ¤ë¤È¡¢Åɤê¤Ä¤Ö¤µ¤ì¤¿ÌðÀè¤òºî¤ê¤Þ¤¹ (heads ¤¬»È¤ï¤ì ¤Æ¤¤¤ë¾ì¹ç)¡£Åɤê¤Ä¤Ö¤·¤Ï¡¢Â¿³Ñ·Á¤ÎÅɤê¤Ä¤Ö¤·¤¬¹Ô¤¨¤ë¤è¤¦¤Ê½ÐÎÏ·Á¼°¤Ç ¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Æ¡¢¤½¤Î¥ê¥¹¥È¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: pm3d (82.53)¡£Â¾¤Î½ÐÎÏ·Á ¼°¤Ç¤ÏÌðÀè¤ÏÊĤ¸¤é¤ì¤Þ¤¹¤¬Åɤê¤Ä¤Ö¤µ¤ì¤Þ¤»¤ó¡£¤½¤ì¤ÈƱ¤¸¸ú²Ì (ÊĤ¸¤é¤ë ¤¬Åɤé¤ì¤Ê¤¤) ¤Ï¡¢empty ¤ò»ØÄꤷ¤Æ¤âÆÀ¤é¤ì¤Þ¤¹¡£¤Þ¤¿¡¢metafont, metapost, latex, tgif ¤Î¤è¤¦¤Ë¡¢Ìð¤ò¤½¤ì¤é¼«¿È¤ÎÆȼ«¤Î¥ë¡¼¥Á¥ó¤Ç ÉÁ¤¯¤è¤¦¤Ê½ÐÎÏ·Á¼°¤Ç¤Ï¡¢ÌðÀè¤ÎÅɤê¤Ä¤Ö¤·¤äÌðÀè¤ÎÏÈÀþÉÁ¤­¤Ï¤â¤Á¤í¤ó¥µ¥Ý ¡¼¥È¤µ¤ì¤Þ¤»¤ó¡£

Àþ¼ï¤Ï¥æ¡¼¥¶¤ÎÄêµÁ¤·¤¿¥é¥¤¥ó¥¹¥¿¥¤¥ë¤Î¥ê¥¹¥È¤«¤éÁª¤Ö¤³¤È¤â¤Ç¤­¤Þ¤¹¤· (°Ê²¼»²¾È: set style line (82.66.7))¡¢ÍÑ°Õ¤µ¤ì¤Æ¤¤¤ë < line_type> ¤ÎÃÍ (¥Ç¥Õ ¥©¥ë¥È¤Î¥é¥¤¥ó¥¹¥¿¥¤¥ë¤Î¥ê¥¹¥È¤ÎÈÖ¹æ) ¤½¤·¤Æ < linewidth> (¥Ç¥Õ¥©¥ë¥È ¤ÎÉý¤ÎÇÜ¿ô) ¤ò»È¤Ã¤Æ¤³¤³¤ÇÄêµÁ¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

¤·¤«¤·¡¢¥æ¡¼¥¶¡¼ÄêµÁºÑ¤Î¥é¥¤¥ó¥¹¥¿¥¤¥ë¤¬ÁªÂò¤µ¤ì¤¿¾ì¹ç¡¢¤½¤Î°À­ (Àþ¼ï¡¢ Éý) ¤Ï¡¢Ã±¤Ë¾¤Î set style arrow ¥³¥Þ¥ó¥É¤ÇŬÅö¤ÊÈÖ¹æ¤ä lt, lw ¤Ê¤É¤ò»ØÄꤷ¤Æ¤â¡¢Êѹ¹¤Ï¤Ç¤­¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ²¼¤µ¤¤¡£

front ¤ò»ØÄꤹ¤ë¤È¡¢Ìð¤Ï¥°¥é¥Õ¤Î¥Ç¡¼¥¿¤Î¾å¤ËÉÁ¤«¤ì¤Þ¤¹¡£back ¤¬»Ø Äꤵ¤ì¤¿¾ì¹ç (¥Ç¥Õ¥©¥ë¥È) ¤ÏÌð¤Ï¥°¥é¥Õ¤Î¥Ç¡¼¥¿¤Î²¼¤ËÉÁ¤«¤ì¤Þ¤¹¡£front ¤ò»È¤¨¤Ð¡¢Ì©½¸¤·¤¿¥Ç¡¼¥¿¤ÇÌ𤬸«¤¨¤Ê¤¯¤Ê¤ë¤³¤È¤òËɤ°¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

Îã:

ÌðÀ褬¤Ê¤¯¡¢ÇܤÎÉý¤¬Ìð¤òÉÁ¤¯¤Ë¤Ï:

     set style arrow 1 nohead lw 2
     set arrow arrowstyle 1

¤½¤Î¾¤ÎÎã¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: set arrow (82.2)¡£

82.66.2 Boxplot

¥³¥Þ¥ó¥É set style boxplot ¤Ë¤è¤ê¡¢ÉÁ²è¥¹¥¿¥¤¥ë boxplot ¤ÇÀ¸À®¤¹¤ë ÉÁ²è¤Î¥ì¥¤¥¢¥¦¥È¤òÊѹ¹¤Ç¤­¤Þ¤¹¡£

½ñ¼°:

     set style boxplot {range <r> | fraction <f>}
                       {{no}outliers} {pointtype <p>}
                       {candlesticks | financebars}
                       {separation <x>}
                       {labels off | auto | x | x2}
                       {sorted | unsorted}

boxplot ¤ÎÈ¢¤Ï¡¢¾ï¤Ë¥Ç¡¼¥¿ÅÀ¤ÎÂè°ì»Íʬ°Ì¤«¤éÂè»°»Íʬ°Ì¤ÎÃͤÎÈϰϤˤ«¤« ¤Ã¤Æ¤¤¤Þ¤¹¡£È¢¤«¤é±äŤµ¤ì¤ëÈ¢¤Ò¤²¤Î¸Â³¦¤Ï¡¢2 ¤Ä¤Î°Û¤Ê¤ëÊýË¡¤ÇÀ©¸æ¤Ç¤­ ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢È¢¤Ò¤²¤Ï¡¢¤½¤ÎÈ¢¤Î¤½¤ì¤¾¤ì¤Îü¤«¤é¡¢»Íʬ°ÌÈϰϤΠ1.5 ÇÜ (¤¹¤Ê¤ï¤Á¡¢¤½¤ÎÈ¢¤Î¸·Ì©¤Ê¿âľÊý¸þ¤Î¹â¤µ) ¤ËÅù¤·¤¤ÈϰϤˤޤDZäĹ ¤µ¤ì¤Þ¤¹¡£È¢¤Ò¤²¤½¤ì¤¾¤ì¤Ï¡¢¥Ç¡¼¥¿½¸¹ç¤Î¤¢¤ëÅÀ¤Ë°¤¹¤ë y ¤ÎÃͤǽªÎ»¤¹ ¤ë¤è¤¦¤Ë¡¢¥á¥¸¥¢¥ó¤Ë¸þ¤«¤Ã¤ÆÀÚ¤ê¼Î¤Æ¤é¤ì¤Þ¤¹¡£»Íʬ°ÌÈϰϤÎÃúÅÙ 1.5 ÇÜ ¤ÎÃͤÎÅÀ¤¬¤Ê¤¤¾ì¹ç¤â¤¢¤ê¤Þ¤¹¤«¤é¡¢È¢¤Ò¤²¤Ï¤½¤Î̾Ìܾå¤ÎÈϰϤè¤ê¤âû¤¯¤Ê ¤ë¾ì¹ç¤â¤¢¤ê¤Þ¤¹¡£¤³¤Î¥Ç¥Õ¥©¥ë¥È¤Ï°Ê²¼¤ËÂбþ¤·¤Þ¤¹¡£

     set style boxplot range 1.5

¤â¤¦°ì¤Ä¤ÎÊýË¡¤È¤·¤Æ¡¢È¢¤Ò¤²¤¬¤«¤«¤ëÅÀ¤ÎÁí¿ô¤Î³ä¹ç (fraction) ¤ò»ØÄꤹ ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤Î¾ì¹ç¡¢¤½¤ÎÈϰϤϥ᥸¥¢¥óÃͤ«¤é¡¢¥Ç¡¼¥¿½¸¹ç¤Î»ØÄê ¤·¤¿Ê¬¤ò°Ï¤¤¹þ¤à¤Þ¤Ç¡¢ÂоΤ˱䍵¤ì¤Þ¤¹¡£¤³¤Î¤È¤­¤â¡¢¸Ä¡¹¤ÎÈ¢¤Ò¤²¤Ï¥Ç ¡¼¥¿½¸¹çÆâ¤ÎÅÀ¤Îü¤Þ¤Ç¤ËÀ©¸Â¤µ¤ì¤Þ¤¹¡£¥Ç¡¼¥¿½¸¹ç¤Î 95% ¤ÎÅÀ¤ò¤Ï¤ë¤Ë¤Ï °Ê²¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

     set style boxplot fraction 0.95

È¢¤Ò¤²¤ÎÈϰϤγ°¤Ë¤¢¤ëǤ°Õ¤ÎÅÀ¤Ï¡¢outliers ¤È¸«¤Ê¤µ¤ì¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È ¤Ç¤Ï¤½¤ì¤é¤Ï¤Ò¤È¤Ä¤Ò¤È¤Ä±ß (pointtype 7) ¤ÇÉÁ¤«¤ì¤Þ¤¹¤¬¡¢¥ª¥×¥·¥ç¥ó nooutliers ¤Ï¤³¤ì¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï boxplot ¤Ï candlesticks ¤È»÷¤¿¥¹¥¿¥¤¥ë¤ÇÉÁ²è¤·¤Þ¤¹¤¬¡¢ financebars ¤È»÷¤¿¥¹¥¿¥¤¥ë¤ÇÉÁ²è¤¹¤ë¤¿¤á¤Î¥ª¥×¥·¥ç¥ó¤â¤¢¤ê¤Þ¤¹¡£

boxplot ¤Î using »ØÄ꤬ 4 ÎóÌܤò»ý¤Ä¾ì¹ç¡¢¤½¤ÎÎó¤ÎÃͤϤ¢¤ë°ø»ÒÊÑ¿ô¤ÎÎ¥ »¶Åª¤Ê¥ì¥Ù¥ëÃͤǤ¢¤ë¤È¸«¤Ê¤·¤Þ¤¹¡£¤³¤Î¾ì¹ç¡¢¤½¤Î°ø»ÒÊÑ¿ô¤Î¥ì¥Ù¥ë¤Î¿ô¤È Ʊ¤¸¤À¤±¤ÎÊ£¿ô¤Î boxplot ¤¬ÉÁ¤«¤ì¤Þ¤¹¡£¤½¤ì¤é¤Î boxplot ¤ÎÎÙ¤ê¹ç¤¦¤â¤Î Ʊ»Î¤Îµ÷Î¥¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 1.0 (x ¼´¤Îñ°Ì¤Ç) ¤Ç¤¹¤¬¡¢¤³¤Î´Ö³Ö¤Ï¥ª¥×¥· ¥ç¥ó separation ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó labels ¤Ï¡¢¤³¤ì¤é¤Î boxplot (¤½¤ì¤¾¤ì¥Ç¡¼¥¿½¸¹ç¤Î¤¢¤ëÉôʬ ¤ËÂбþ¤¹¤ë) ¤Î¤É¤³¤Ë¡¢¤É¤Î¤è¤¦¤Ë¥é¥Ù¥ë¤ò¤Ä¤±¤ë¤«¤ò·èÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë ¥È¤Ç¤Ï°ø»Ò¤ÎÃͤò¿åÊ¿¼´ (x ¤« x2 ¤Î¤¤¤º¤ì¤« plot ¤Ç»È¤ï¤ì¤Æ¤¤¤ëÊý) ¤ÎÌÜ À¹¥é¥Ù¥ë¤Ë½ÐÎϤ·¤Þ¤¹¡£¤³¤ì¤Ï¥ª¥×¥·¥ç¥ó¤Î labels auto ¤ËÂбþ¤·¤Þ¤¹¡£ ¥ª¥×¥·¥ç¥ó labels x, labels x2 ¤Ë¤è¤Ã¤Æ¡¢¶¯À©Åª¤Ë x ¼´¡¢x2 ¼´¤Ë¤½ ¤ì¤¾¤ì½ÐÎϤµ¤»¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¤·¡¢labels off ¤Ç¥ª¥Õ¤Ë¤¹¤ë¤³¤È¤â¤Ç¤­ ¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢°ø»ÒÊÑ¿ô¤Î°Û¤Ê¤ë¥ì¥Ù¥ë¤ËÂбþ¤¹¤ë boxplot ¤ÏÀ°Î󲽤Ϥ» ¤º¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Ë¤½¤Î¥ì¥Ù¥ë¤¬¸½¤ì¤ë½çÈÖ¤ËÉÁ²è¤·¤Þ¤¹¡£¤³¤ÎµóÆ°¤Ï¥ª¥× ¥·¥ç¥ó¤Î unsorted ¤ËÂбþ¤·¤Þ¤¹¤¬¡¢¥ª¥×¥·¥ç¥ó sorted ¤ò»ÈÍѤ¹¤ë¤È¡¢ ¤Þ¤º¥ì¥Ù¥ë¤ò¼­½ñ½ç¤Ë¥½¡¼¥È¤·¡¢¤½¤Î½ç¤Ë boxplot ¤òÉÁ²è¤·¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó separation, labels, sorted, unsorted ¤Ï¡¢plot ¤Ë 4 ÎóÌܤλØÄê¤òÍ¿¤¨¤¿¾ì¹ç¤Î¤ß¸úÎϤò»ý¤Á¤Þ¤¹¡£

°Ê²¼»²¾È: boxplot (28), candlesticks (30), financebars (35)¡£

82.66.3 Set style data

¥³¥Þ¥ó¥É set style data ¤Ï¥Ç¡¼¥¿ÉÁ²è¤ËÂФ¹¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÉÁ²è¥¹¥¿¥¤¥ë ¤òÊѹ¹¤·¤Þ¤¹¡£

½ñ¼°:

     set style data <plotting-style>
     show style data

ÁªÂò¹àÌܤˤĤ¤¤Æ¤Ï¡¢°Ê²¼»²¾È: plotting styles (II)¡£¹àÌܤò»ØÄꤷ¤Ê¤«¤Ã¤¿ ¾ì¹ç¡¢¤½¤Î°ìÍ÷¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£show style data ¤Ï¸½ºß¤Î¥Ç¥Õ¥©¥ë¥È¤Î¥Ç ¡¼¥¿ÉÁ²è¥¹¥¿¥¤¥ë¤òɽ¼¨¤·¤Þ¤¹¡£

82.66.4 Set style fill

¥³¥Þ¥ó¥É set style fill ¤Ï¡¢boxes, histograms, candlesticks, filledcurves ¤Ç¤ÎÉÁ²è¤Ë¤ª¤±¤ëÉÁ²èÍ×ÁǤΥǥե©¥ë¥È¤Î¥¹¥¿¥¤¥ë¤ÎÀßÄê¤Ë»È ¤ï¤ì¤Þ¤¹¡£¤³¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢¸Ä¡¹¤ÎÉÁ²è¤ËÅɤêÄÙ¤·¥¹¥¿¥¤¥ë (fillstyle) ¤ò»ØÄꤹ¤ë¤³¤È¤Ç¾å½ñ¤­¤Ç¤­¤Þ¤¹¡£°Ê²¼»²¾È: set style rectangle (82.66.9)¡£

½ñ¼°:

     set style fill {empty
                     | {transparent} solid {<density>}
                     | {transparent} pattern {<n>}}
                    {border {lt} {lc <colorspec>} | noborder}

¥Ç¥Õ¥©¥ë¥È¤ÎÅɤê¤Ä¤Ö¤·¥¹¥¿¥¤¥ë (fillstyle) ¤Ï empty ¤Ç¤¹¡£

¥ª¥×¥·¥ç¥ó solid ¤Ï¡¢½ÐÎÏ·Á¼°¤¬¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤Î¿§¤Ç¤Î¥Ù¥¿ Åɤê¤ò¹Ô¤¤¤Þ¤¹¡£¥Ñ¥é¥á¡¼¥¿ < density> ¤ÏÅɤê¤Ä¤Ö¤·¿§¤Î¶¯¤µ¤òɽ¤·¤Æ¤¤¤Æ < density> ¤¬ 0.0 ¤Ê¤éÈ¢¤Ï¶õ¡¢< density> ¤¬ 1.0 ¤Ê¤éÈ¢¤Ï¤½¤ÎÆâÉô¤Ï¸½ºß¤Î Àþ¼ï¤È´°Á´¤ËƱ¤¸¿§¤ÇÅɤé¤ì¤Þ¤¹¡£½ÐÎÏ·Á¼°¤Ë¤è¤Ã¤Æ¤Ï¡¢¤³¤Î¶¯¤µ¤òϢ³Ū¤Ë ÊѲ½¤µ¤»¤é¤ì¤ë¤â¤Î¤â¤¢¤ê¤Þ¤¹¤¬¡¢¤½¤Î¾¤Î¤â¤Î¤Ï¡¢ÉôʬŪ¤ÊÅɤê¤Ä¤Ö¤·¤Î´ö ¤Ä¤«¤Î¥ì¥Ù¥ë¤ò¼ÂÁõ¤·¤Æ¤¤¤ë¤Ë²á¤®¤Þ¤»¤ó¡£¥Ñ¥é¥á¡¼¥¿ < density> ¤¬Í¿¤¨¤é ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¥Ç¥Õ¥©¥ë¥È¤Î 1 ¤Ë¤Ê¤ê¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó pattern ¤Ï¡¢½ÐÎϥɥ饤¥Ð¤Ë¤è¤Ã¤ÆÍ¿¤¨¤é¤ì¤ë¥Ñ¥¿¡¼¥ó¤Ç¤ÎÅÉ ¤ê¤Ä¤Ö¤·¤ò¹Ô¤¤¤Þ¤¹¡£ÍøÍѤǤ­¤ëÅɤê¤Ä¤Ö¤·¥Ñ¥¿¡¼¥ó¤Î¼ïÎà¤È¿ô¤Ï½ÐÎϥɥ饤 ¥Ð¤Ë°Í¸¤·¤Þ¤¹¡£Åɤê¤Ä¤Ö¤·¤Î boxes ¥¹¥¿¥¤¥ë¤ÇÊ£¿ô¤Î¥Ç¡¼¥¿½¸¹ç¤òÉÁ²è¤¹ ¤ë¾ì¹ç¤½¤Î¥Ñ¥¿¡¼¥ó¤Ï¡¢Ê£¿ô¤Î¶ÊÀþ¤ÎÉÁ²è¤Ë¤ª¤±¤ëÀþ¼ï¤Î¼þ´ü¤ÈƱÍÍ¡¢Í­¸ú¤Ê ¥Ñ¥¿¡¼¥ó¤ò¡¢¥Ñ¥¿¡¼¥ó < n> ¤«¤é»Ï¤á¤Æ¼þ´üŪ¤ËÍøÍѤ·¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó empty ¤Ï¡¢È¢¤òÅɤê¤Ä¤Ö¤·¤Þ¤»¤ó¤¬¡¢¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Î border ¤Ï¡¢¸½ºß¤ÎÀþ¤Î¼ïÎà¤Î¼ÂÀþ¤ÇÈ¢¤Î¶­³¦¤òÉÁ¤­¤Þ¤¹¡£ border < colorspec> ¤Ç¶­³¦¤Î¿§¤òÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£noborder ¤Ï ¶­³¦¤ÎÀþ¤¬ÉÁ¤«¤ì¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤¹¡£

82.66.4.1 Set style fill transparent

¤¤¤¯¤Ä¤«¤Î½ÐÎÏ·Á¼°¤Ï¡¢Åɤê¤Ä¤Ö¤·Îΰè¤Î transparent (Æ©ÌÀ²½) °À­¤ò¥µ ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£transparent solid ¤ÎÎΰèÅɤê¤Ä¤Ö¤·¤Ç¤Ï¡¢density (Ì©ÅÙ) ¥Ñ¥é¥á¡¼¥¿¤Ï¥¢¥ë¥Õ¥¡ÃͤȤ·¤Æ»ÈÍѤµ¤ì¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢Ì©ÅÙ 0 ¤Ï´°Á´ ¤ÊÆ©ÌÀ¤ò¡¢Ì©ÅÙ 1 ¤Ï´°Á´¤ÊÉÔÆ©ÌÀ¤ò°ÕÌ£¤·¤Þ¤¹¡£transparent pattern ¤ÎÅÉ ¤ê¤Ä¤Ö¤·¤Ç¤Ï¡¢¥Ñ¥¿¡¼¥ó¤ÎÇطʤ¬´°Á´¤ÊÆ©ÌÀ¤«´°Á´¤ÊÉÔÆ©ÌÀ¤Î¤¤¤º¤ì¤«¤Ç¤¹¡£

½ÐÎÏ·Á¼° solid pattern pm3d
gif no yes no
jpeg yes no yes
pdf yes yes yes
png TrueColor index yes
post no yes no
svg yes no yes
win yes yes yes
wxt yes yes yes
x11 no yes no

Æ©ÌÀ¤ÊÅɤê¤Ä¤Ö¤·Îΰè¤ò´Þ¤à¥°¥é¥Õ¤ò¸«¤¿¤êºî¤Ã¤¿¤ê¤¹¤ë¤Î¤Ë¤Ï¡¢Ê̤ÊÀ©¸Â¤¬ ¤¢¤ê¤¦¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£Î㤨¤Ð¡¢png ½ÐÎÏ·Á¼°¤Ç¤Ï¡¢"truecolor" ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Î¤ßÆ©ÌÀ²½¤ÎÅɤêÄÙ¤·¤¬ÍøÍѤǤ­¤Þ¤¹¡£ PDF ¥Õ¥¡¥¤¥ë¤Ë¤ÏÆ©ÌÀ²½Îΰ褬Àµ¤·¤¯µ­½Ò¤µ¤ì¤Æ¤¤¤Æ¤â¡¢PDF ¤Îɽ¼¨¥½¥Õ¥È¤Ë ¤è¤Ã¤Æ¤Ï¤½¤ì¤òÀµ¤·¤¯É½¼¨¤Ç¤­¤Ê¤¤¤³¤È¤â¤¢¤ê¤¨¤Þ¤¹¡£¼ÂºÝ¤Ë PostScript ¥× ¥ê¥ó¥¿¤Ç¤ÏÌäÂê¤Ï¤Ê¤¤¤Î¤Ë¡¢Ghostscript/gv ¤Ç¤Ï¥Ñ¥¿¡¼¥óÅɤê¤Ä¤Ö¤·Îΰè¤ò Àµ¤·¤¯É½¼¨¤Ç¤­¤Þ¤»¤ó¡£

82.66.5 Set style function

¥³¥Þ¥ó¥É set style function ¤Ï´Ø¿ôÉÁ²è¤ËÂФ¹¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÉÁ²è¥¹¥¿¥¤ ¥ë (lines, points, filledcurves ¤Ê¤É) ¤òÊѹ¹¤·¤Þ¤¹¡£°Ê²¼»²¾È:plotting styles (II)¡£

½ñ¼°:

     set style function <plotting-style>
     show style function

82.66.6 Set style increment

Ãí°Õ: ¤³¤Î¥³¥Þ¥ó¥É¤ÏÈó¿ä¾©¤Ç¤¹¡£Âå¤ï¤ê¤Ë¿·¤·¤¤¥³¥Þ¥ó¥É set linetype ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£¤³¤ì¤Ï¡¢ÂåÍѤΤ¿¤á¤Î°ì»þŪ¤ÊŬÅö¤ÊÀþ¼ï¤ò¸¡º÷¤¹¤ë¤Î ¤Ç¤Ï¤Ê¤¯¡¢Àþ¼ï¼«ÂΤòºÆÄêµÁ¤·¤Þ¤¹¡£°Ê²¼»²¾È: set linetype (82.32)¡£

½ñ¼°:

     set style increment {default|userstyles}
     show style increment

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢Æ±¤¸¥°¥é¥Õ¾å¤Î¼¡¤ÎÉÁ²è¤Ï¡¢¸½ºß¤Î½ÐÎÏ·Á¼°¤Ç¥Ç¥Õ¥©¥ë¥È¤Ç ÄêµÁ¤µ¤ì¤Æ¤¤¤ëÀþ¼ï¤Î¼¡¤Î¤â¤Î¤Ç¹Ô¤ï¤ì¤Þ¤¹¡£ ¤·¤«¤·¡¢set style increment user ¤òÁªÂò¤¹¤ë¤È¡¢¥Ç¥Õ¥©¥ë¥È¤ÎÀþ¼ï¤Ç¤Ï ¤Ê¤¯¡¢¥æ¡¼¥¶ÄêµÁ¥é¥¤¥ó¥¹¥¿¥¤¥ëÈÖ¹æ¤Î¤â¤Î¤ò»ÈÍѤµ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

Îã:


     set style line 1 lw 2 lc rgb "gold"
     set style line 2 lw 2 lc rgb "purple"
     set style line 4 lw 1 lc rgb "sea-green"
     set style increment user


     plot f1(x), f2(x), f3(x), f4(x)

¤³¤ì¤Ï¡¢´Ø¿ô f1, f2, f4 ¤Ï¿·¤¿¤Ë¥æ¡¼¥¶ÄêµÁ¤µ¤ì¤¿¥é¥¤¥ó¥¹¥¿¥¤¥ë¤ÇÉÁ²è¤µ ¤ì¤Þ¤¹¡£¥æ¡¼¥¶ÄêµÁ¥é¥¤¥ó¥¹¥¿¥¤¥ë¤¬¸«¤Ä¤«¤é¤Ê¤¤¾ì¹ç¤Ï¡¢Âå¤ï¤ê¤Ë¤½¤ì¤ËÂÐ ±þ¤¹¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÀþ¼ï¤¬ÍøÍѤµ¤ì¤Þ¤¹¡£Î㤨¤Ð¡¢¾å¤ÎÎã¤Ç¤Ï¡¢f3(x) ¤Ï¥Ç¥Õ ¥©¥ë¥È¤ÎÀþ¼ï 3 ¤ÇÉÁ²è¤µ¤ì¤Þ¤¹¡£

82.66.7 Set style line

½ÐÎÏÁõÃ֤ˤϤª¤Î¤ª¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÀþ¼ï¤ÈÅÀ¼ï¤Î½¸¹ç¤¬¤¢¤ê¡¢¤½¤ì¤é¤Ï¥³¥Þ¥ó ¥É test ¤Ç¸«¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£set style line ¤ÏÀþ¼ï¤ÈÀþÉý¡¢ÅÀ¼ï¤È ÅÀ¤ÎÂ礭¤µ¤ò¡¢¸Ä¡¹¤Î¸Æ¤Ó½Ð¤·¤Ç¡¢¤½¤ì¤é¤Î¾ðÊó¤òÁ´Éô»ØÄꤹ¤ëÂå¤ï¤ê¤Ë¡¢Ã± ¤Ê¤ëÈÖ¹æ¤Ç»²¾È¤Ç¤­¤ë¤è¤¦¤Ë¤¢¤é¤«¤¸¤áÄêµÁ¤¹¤ë¤â¤Î¤Ç¤¹¡£

½ñ¼°:

     set style line <index> default
     set style line <index> {{linetype  | lt} <line_type> | <colorspec>}
                            {{linecolor | lc} <colorspec>}
                            {{linewidth | lw} <line_width>}
                            {{pointtype | pt} <point_type>}
                            {{pointsize | ps} <point_size>}
                            {{pointinterval | pi} <interval>}
                            {palette}
     unset style line
     show style line

default ¤Ï¡¢Á´¤Æ¤Î¥é¥¤¥ó¥¹¥¿¥¤¥ë¥Ñ¥é¥á¡¼¥¿¤ò¤½¤ì¤ÈƱ¤¸ index ¤ò»ý¤Ä Àþ¼ï (linetype) ¤ËÀßÄꤷ¤Þ¤¹¡£

< index> ¤Î linestyle ¤¬´û¤Ë¸ºß¤¹¤ë¾ì¹ç¡¢Â¾¤ÎÁ´¤Æ¤ÏÊݸ¤µ¤ì¤¿¤Þ¤Þ¡¢Í¿ ¤¨¤é¤ì¤¿¥Ñ¥é¥á¡¼¥¿¤Î¤ß¤¬Êѹ¹¤µ¤ì¤Þ¤¹¡£< index> ¤¬Â¸ºß¤·¤Ê¤±¤ì¤Ð¡¢»ØÄꤵ ¤ì¤Ê¤«¤Ã¤¿Ãͤϥǥե©¥ë¥È¤ÎÃͤˤʤê¤Þ¤¹¡£

¤³¤Î¤è¤¦¤Ë¤Ä¤¯¤é¤ì¤ë¥é¥¤¥ó¥¹¥¿¥¤¥ë¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î·¿ (Àþ¼ï, ÅÀ¼ï) ¤ò Ê̤ʤâ¤Î¤ËÃÖ¤­´¹¤¨¤ë¤³¤È¤Ï¤·¤Ê¤¤¤Î¤Ç¡¢¥é¥¤¥ó¥¹¥¿¥¤¥ë¡¢¥Ç¥Õ¥©¥ë¥È¤Î·¿¡¢ ¤É¤Á¤é¤â»È¤¨¤Þ¤¹¡£¥é¥¤¥ó¥¹¥¿¥¤¥ë¤Ï°ì»þŪ¤Ê¤â¤Î¤Ç¡¢¥³¥Þ¥ó¥É reset ¤ò ¼Â¹Ô¤¹¤ì¤Ð¤¤¤Ä¤Ç¤â¤½¤ì¤é¤Ï¾Ã¤¨µî¤ê¤Þ¤¹¡£Àþ¼ï¼«ÂΤòºÆÄêµÁ¤·¤¿¤¤¾ì¹ç¤Ï¡¢ °Ê²¼»²¾È: set linetype (82.32)¡£

Àþ¼ï¤ÈÅÀ¼ï¤Ï¡¢¤½¤Î index Ãͤò¥Ç¥Õ¥©¥ë¥È¤È¤·¤Þ¤¹¡£¤½¤Î index ÃͤËÂФ¹¤ë ¼ÂºÝ¤Îµ­¹æ¤Î·Á¤Ï¡¢½ÐÎÏ·Á¼°¤Ë¤è¤Ã¤Æ°Û¤Ê¤êÆÀ¤Þ¤¹¡£

ÀþÉý¤ÈÅÀ¤ÎÂ礭¤µ¤Ï¡¢¸½ºß¤Î½ÐÎÏ·Á¼°¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÉý¡¢Â礭¤µ¤ËÂФ¹¤ë¾è¿ô ¤Ç¤¹ (¤·¤«¤·¡¢¤³¤³¤Ç¤Î < point_size> ¤Ï¡¢¥³¥Þ¥ó¥É set pointsize ¤ÇÍ¿ ¤¨¤é¤ì¤ë¾è¿ô¤Ë¤Ï±Æ¶Á¤ò¼õ¤±¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤)¡£

pointinterval ¤Ï¡¢¥¹¥¿¥¤¥ë linespoints ¤Ç¥°¥é¥ÕÃæ¤ËÉÁ¤«¤ì¤ëÅÀ¤Î´Ö ³Ö¤òÀ©¸æ¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï 0 ¤Ç¤¹ (¤¹¤Ù¤Æ¤ÎÅÀ¤¬ÉÁ²è¤µ¤ì¤ë)¡£Î㤨¤Ð¡¢ set style line N pi 3 ¤Ï¡¢ÅÀ¼ï¤¬ N¡¢ÅÀ¤ÎÂ礭¤µ¤ÈÀþÉý¤Ï¸½ºß¤Î½ÐÎÏ·Á¼° ¤Î¥Ç¥Õ¥©¥ë¥È¤Ç¡¢with linespoints ¤Ç¤ÎÉÁ²è¤Ç¤ÏÅÀ¤Ï 3 ÈÖÌÜËè¤ËÉÁ²è¤µ¤ì ¤ë¤è¤¦¤Ê¥é¥¤¥ó¥¹¥¿¥¤¥ë¤òÄêµÁ¤·¤Þ¤¹¡£¤½¤Î´Ö³Ö¤òÉé¤ÎÃͤˤ¹¤ë¤È¡¢¤½¤ì¤Ï´Ö ³Ö¤ÏÀµ¤ÎÃͤξì¹ç¤ÈƱ¤¸¤Ç¤¹¤¬¡¢ÅÀ¤Îµ­¹æ¤Î²¼¤Ë¤Ê¤ëÀþ¤ò½ñ¤«¤Ê¤¤¤è¤¦¤Ë¤·¤Þ ¤¹ (½ÐÎÏ·Á¼°¤Ë¤è¤Ã¤Æ¤Ï)¡£

Á´¤Æ¤Î½ÐÎÏÁõÃÖ¤¬ linewidth ¤ä pointsize ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤ï¤±¤Ç¤Ï ¤¢¤ê¤Þ¤»¤ó¡£¤â¤·¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¤½¤ì¤é¤Î¥ª¥×¥·¥ç¥ó¤Ï̵»ë¤µ¤ì ¤Þ¤¹¡£

½ÐÎÏ·Á¼°¤Ë°Í¸¤·¤Ê¤¤¿§¤ò linecolor < colorspec> ¤« linetype < colorspec> (¾Êά·Á¤Ï lc, lt) ¤Î¤¤¤º¤ì¤«¤ò»È¤Ã¤Æ³ä¤êÅö¤Æ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤Î ¾ì¹ç¡¢¿§¤Ï RGB ¤Î 3 ¤ÄÁȤÇÍ¿¤¨¤ë¤«¡¢gnuplot ¤Î»ý¤Ä¥Ñ¥ì¥Ã¥È¤Î¿§Ì¾¡¢¸½ºß ¤Î¥Ñ¥ì¥Ã¥È¤ËÂФ¹¤ë¾®¿ô»ØÄê¡¢¤Þ¤¿¤Ï cbrange ¤Ø¤Î¸½ºß¤Î¥Ñ¥ì¥Ã¥È¤ÎÂбþ¤Ë ÂФ¹¤ëÄê¿ôÃÍ¡¢¤Î¤¤¤º¤ì¤«¤ÇÍ¿¤¨¤Þ¤¹¡£°Ê²¼»²¾È: colors (17), colorspec (17.1),set palette (82.54), colornames (82.13), cbrange (82.126)¡£

set style line < n> linetype < lt> ¤Ï¡¢½ÐÎÏ·Á¼°¤Ë°Í¸¤·¤¿ÅÀÀþ/ÇËÀþ¤Î¥Ñ ¥¿¡¼¥ó¤È¿§¤ÎξÊý¤ò¥»¥Ã¥È¤·¤Þ¤¹¡£set style line < n> linecolor < colorspec> ¤ä set style line < n> linetype < colorspec> ¤Ï¡¢¸½ºß¤ÎÅÀÀþ/ÇËÀþ¤Î¥Ñ¥¿ ¡¼¥ó¤òÊѹ¹¤»¤º¤Ë¿·¤·¤¤Àþ¿§¤òÀßÄꤷ¤Þ¤¹¡£

3 ¼¡¸µ¥â¡¼¥É(splot ¥³¥Þ¥ó¥É) ¤Ç¤Ï¡¢"linetype palette z" ¤Î¾Êά·Á¤È¤· ¤ÆÆÃÊ̤˥­¡¼¥ï¡¼¥É palette ¤ò»È¤¦¤³¤È¤âµö¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤½¤Î¿§¤ÎÃͤϡ¢ splot ¤Î z ºÂɸ (¹â¤µ) ¤ËÂбþ¤·¡¢¶ÊÀþ¡¢¤¢¤ë¤¤¤Ï¶ÊÌ̤˱è¤Ã¤Æ³ê¤é¤«¤ËÊÑ ²½¤·¤Þ¤¹¡£

Îã: °Ê²¼¤Ç¤Ï¡¢ÈÖ¹æ 1, 2, 3 ¤ËÂФ¹¤ë¥Ç¥Õ¥©¥ë¥È¤ÎÀþ¼ï¤ò¤½¤ì¤¾¤ìÀÖ¡¢ÎС¢ÀĤȤ·¡¢¥Ç¥Õ¥©¥ë¥È¤ÎÅÀ¤Î·Á¤ò¤½¤ì¤¾¤ìÀµÊý·Á¡¢½½»ú¡¢»°³Ñ·Á¤Ç¤¢¤ë¤È¤·¤Þ¤¹¡£¤³¤Î¤È¤­ °Ê²¼¤Î¥³¥Þ¥ó¥É


     set style line 1 lt 2 lw 2 pt 3 ps 0.5

¤Ï¡¢¿·¤·¤¤¥é¥¤¥ó¥¹¥¿¥¤¥ë¤È¤·¤Æ¡¢ÎФǥǥե©¥ë¥È¤Î 2 ÇܤÎÉý¤ÎÀþ¡¢¤ª¤è¤Ó »°³Ñ·Á¤ÇȾʬ¤ÎÉý¤ÎÅÀ¤òÄêµÁ¤·¤Þ¤¹¡£¤Þ¤¿¡¢°Ê²¼¤Î¥³¥Þ¥ó¥É


     set style function lines
     plot f(x) lt 3, g(x) ls 1

¤Ï¡¢f(x) ¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÀÄÀþ¤Ç¡¢g(x) ¤Ï¥æ¡¼¥¶¤ÎÄêµÁ¤·¤¿ÎФÎÀþ¤ÇÉÁ²è¤·¤Þ ¤¹¡£Æ±Íͤˡ¢¥³¥Þ¥ó¥É


     set style function linespoints
     plot p(x) lt 1 pt 3, q(x) ls 1

¤Ï¡¢p(x) ¤òÀÖ¤¤Àþ¤Ç·ë¤Ð¤ì¤¿¥Ç¥Õ¥©¥ë¥È¤Î»°³Ñ·Á¤Ç¡¢q(x) ¤ÏÎФÎÀþ¤Ç·ë¤Ð¤ì ¤¿¾®¤µ¤¤»°³Ñ·Á¤ÇÉÁ²è¤·¤Þ¤¹¡£


     splot sin(sqrt(x*x+y*y))/sqrt(x*x+y*y) w l pal

¤Ï¡¢palette ¤Ë½¾¤Ã¤Æ³ê¤é¤«¤Ê¿§¤ò»È¤Ã¤Æ¶ÊÌ̤òÉÁ²è¤·¤Þ¤¹¡£¤³¤ì¤Ï¤½¤ì¤ò ¥µ¥Ý¡¼¥È¤·¤¿½ÐÎÏ·Á¼°¤Ç¤·¤«¤Á¤ã¤ó¤È¤ÏÆ°ºî¤·¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ °Ê²¼¤â»²¾È: set palette (82.54), set pm3d (82.53)¡£


     set style line 10 linetype 1 linecolor rgb "cyan"

¤Ï¡¢RGB ¥«¥é¡¼¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤¹¤Ù¤Æ¤Î½ÐÎÏ·Á¼°¤Ç¡¢¥é¥¤¥ó¥¹¥¿¥¤¥ë 10 ¤Ë¼Â Àþ¤Î¿å¿§¤ò³ä¤êÅö¤Æ¤Þ¤¹¡£

82.66.8 Set style circle

½ñ¼°:

     set style circle {radius {graph|screen} <R>} {clip|noclip}

¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢ÉÁ²è¥¹¥¿¥¤¥ë "with circles" ¤Ç»È¤ï¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤ÎȾ·Â ¤òÀßÄꤷ¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥Ç¡¼¥¿ÉÁ²è¤Ç 2 Îó¤Î¥Ç¡¼¥¿ (x,y) ¤·¤«Í¿¤¨¤Ê¤«¤Ã¤¿ ¾ì¹ç¡¢¤¢¤ë¤¤¤Ï´Ø¿ôÉÁ²è¤Î¤È¤­¤ËŬÍѤµ¤ì¤Þ¤¹¡£ "noclip" ¤Ï¡¢¥°¥é¥Õ¤Î¶­³¦¤Ç¤Î±ß¤Î¥¯¥ê¥Ã¥Ô¥ó¥°¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï°Ê²¼¤ÎÄ̤ê: "set style circle radius graph 0.02 clip"¡£

82.66.9 Set style rectangle

¥³¥Þ¥ó¥É set object ¤ÇÄêµÁ¤µ¤ì¤¿Ä¹Êý·Á¤Ë¤ÏÊÌ¡¹¤Î¥¹¥¿¥¤¥ë¤òÀßÄê¤Ç¤­¤Þ ¤¹¡£¤·¤«¤·¡¢¸ÄÊ̤Υ¹¥¿¥¤¥ë»ØÄê¤ò¤·¤Ê¤±¤ì¤Ð¡¢¤½¤Î¥ª¥Ö¥¸¥§¥¯¥È¤Ï¥³¥Þ¥ó¥É set style rectangle ¤Ë¤è¤ë¥Ç¥Õ¥©¥ë¥È¤ò¼õ¤±·Ñ¤®¤Þ¤¹¡£

½ñ¼°:

   set style rectangle {front|back} {lw|linewidth <lw>}
                       {fillcolor <colorspec>} {fs <fillstyle>}

°Ê²¼»²¾È: colorspec (17.1), fillstyle (82.66.4)¡£fillcolor ¤Ï fc ¤È¾Êά¤Ç¤­¤Þ¤¹¡£

Îã:

   set style rectangle back fc rgb "white" fs solid 1.0 border lt -1
   set style rectangle fc linsestyle 3 fs pattern 2 noborder

¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤Ï¡¢ÇØ·Ê¿§¤Ç¤ÎÅɤêÄÙ¤·¤Ç¡¢¶­³¦¤Ï¹õ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

82.66.10 Set style ellipse

½ñ¼°:

     set style ellipse {units xx|xy|yy} {clip|noclip}
                       {size {graph|screen} <a>, {{graph|screen} <b>}}
                       {angle <angle>}

¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢ÂʱߤÎľ·Â¤òƱ¤¸Ã±°Ì¤Ç·×»»¤¹¤ë¤«¤É¤¦¤«¤òÀ©¸æ¤·¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï xy ¤Ç¡¢¤³¤ì¤ÏÂʱߤμ缴 (Âè 1 ¼´) ¤Îľ·Â¤Ï x (¤Þ¤¿¤Ï x2) ¼´¤ÈƱ¤¸Ã±°Ì¤Ç·×»»¤·¡¢Éû¼´ (Âè 2 ¼´) ¤Îľ·Â¤Ï y (¤Þ¤¿¤Ï y2) ¼´¤Îñ°Ì¤Ç ·×»»¤·¤Þ¤¹¡£¤³¤Î¥â¡¼¥É¤Ç¤Ï¡¢ÂʱߤÎξ¼´¤ÎÈæ¤Ï¡¢ÉÁ²è¼´¤Î¥¢¥¹¥Ú¥¯¥ÈÈæ¤Ë°Í ¸¤·¤Þ¤¹¡£xx ¤« yy ¤ËÀßÄꤹ¤ì¤Ð¡¢¤¹¤Ù¤Æ¤ÎÂʱߤÎξ¼´¤ÏƱ¤¸Ã±°Ì¤Ç·× »»¤µ¤ì¤Þ¤¹¡£¤³¤ì¤Ï¡¢ÉÁ²è¤µ¤ì¤ëÂʱߤÎξ¼´¤ÎÈæ¤Ï¡¢²óž¤·¤Æ¤âÀµ¤·¤¤¤Þ¤Þ¤Ç ¤¹¤¬¡¢¿åÊ¿Êý¸þ¤«¿âľÊý¸þ¤Î°ìÊý¤Î½Ì¼Ü¤ÎÊѹ¹¤Ë¤è¤êÀµ¤·¤¯¤Ê¤¯¤Ê¤ë¤³¤È¤ò°Õ Ì£¤·¤Þ¤¹¡£

¤³¤ì¤Ï¡¢object ¤È¤·¤ÆÄêµÁ¤µ¤ì¤¿Âʱߡ¢¥³¥Þ¥ó¥É plot ¤Ë¤è¤Ã¤ÆÉÁ²è¤µ¤ì ¤ëÂʱߤÎξÊý¤Ë±Æ¶Á¤òÍ¿¤¨¤ëÁ´ÂÎŪ¤ÊÀßÄê¤Ç¤¹¤¬¡¢units ¤ÎÃͤϡ¢ÉÁ²èËè¡¢ ¥ª¥Ö¥¸¥§¥¯¥ÈËè¤ËÀßÄê¤òºÆÄêµÁ¤Ç¤­¤Þ¤¹¡£

ÂʱߤΥǥե©¥ë¥È¤Î¥µ¥¤¥º¤â¡¢¥­¡¼¥ï¡¼¥É size ¤ÇÀßÄê¤Ç¤­¤Þ¤¹¡£¥Ç¥Õ¥©¥ë ¥È¤Î¥µ¥¤¥º¤Ï¡¢2 Îó¤Î¤ß¤Î¥Ç¡¼¥¿¡¢¤Þ¤¿¤Ï´Ø¿ô¤Î plot Ì¿Îá¤ÇŬÍѤµ¤ì¤Þ¤¹¡£ 2 ¤Ä¤ÎÃͤϡ¢ÂʱߤΠ(2 ¤Ä¤Î¼ç¼´¡¢2 ¤Ä¤ÎÉû¼´¤Ë¸þ¤«¤¤¹ç¤¦) ¼ç¼´Ä¾·Â¤ÈÉû¼´ ľ·Â¤È¤·¤Æ»ÈÍѤµ¤ì¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ï¡¢"set style ellipse size graph 0.05,0.03" ¤Ç¤¹¡£

ºÇ¸å¤Ë¤Ê¤ê¤Þ¤¹¤¬¡¢¥Ç¥Õ¥©¥ë¥È¤Î¸þ¤­¤ò¥­¡¼¥ï¡¼¥É angle ¤ÇÀßÄê¤â¤Ç¤­¤Þ ¤¹¡£¸þ¤­¤Ï¡¢Âʱߤμ缴¤È¥°¥é¥Õ¤Î x ¼´¤ÎÊý¸þ¤È¤Ê¤¹³Ñ¤Ç¡¢Ã±°Ì¤ÏÅÙ¤ÇÍ¿¤¨ ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

"noclip" ¤Ï¡¢¥°¥é¥Õ¤Î¶­³¦¤Ç¤ÎÂʱߤΥ¯¥ê¥Ã¥Ô¥ó¥°¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£

ÂʱߤΠobject ¤ÎÄêµÁ¤Ë´Ø¤·¤Æ¤Ï°Ê²¼¤â»²¾È: set object ellipse (82.47.2)¡£2 ¼¡¸µ ¤ÎÉÁ²è¥¹¥¿¥¤¥ë¤Ë´Ø¤·¤Æ¤Ï°Ê²¼»²¾È: ellipses (32)¡£

82.67 Surface

¥³¥Þ¥ó¥É set surface ¤Ï splot ¤Ë¤è¤ë¶ÊÌ̤Îɽ¼¨¤òÀ©¸æ¤·¤Þ¤¹¡£

½ñ¼°:

     set surface
     unset surface
     show surface

¶ÊÌ̤ϥǡ¼¥¿¤ä´Ø¿ô¤ËÂФ·¤Æ¡¢with ¤Ç»ØÄꤵ¤ì¤¿¥¹¥¿¥¤¥ë¡¢¤¢¤ë¤¤¤Ï¾¤Î ŬÀڤʥ¹¥¿¥¤¥ë¤Ç½ñ¤«¤ì¤Þ¤¹¡£

unset surface ¤Ë¤è¤ê splot ¤Ï¡¢´Ø¿ô¤ä¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ÎÅÀ¤ËÂФ¹¤ë¤É ¤ó¤ÊÅÀ¤äÀþ¤âÉÁ¤«¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£¸ÄÊ̤ˤ¢¤ë´Ø¿ô¤ä¤¢¤ë¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î¶ÊÌÌ ÉÁ²è¤ò̵¸ú¤Ë¤·¤Æ¤½¤Î¾¤òÍ­¸ú¤Ë¤·¤¿¤¤¾ì¹ç¤Ë¤Ï¡¢¥³¥Þ¥ó¥É splot ¤Î¥­¡¼ ¥ï¡¼¥É nosurface ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£¤½¤Î¾ì¹ç¤Ç¤â set contour ¤ÎÀß Äê¤Ë¤è¤ê¶ÊÌ̤ÎÅù¹âÀþ¤Ï½ñ¤«¤ì¤Þ¤¹¡£unset surface; set contour base ¤Î ÁȤϡ¢Åù¹âÀþ¤ò³Ê»Ò¤ÎÅÚÂæ¤Ëɽ¼¨¤¹¤ëºÝ¤ËÊØÍø¤Ç¤¹¡£°Ê²¼¤â»²¾È:set contour (82.14)¡£

82.68 Table

table ¥â¡¼¥É¤¬Í­¸ú¤Ê¾ì¹ç¡¢plot ¤È splot ¥³¥Þ¥ó¥É¤Ï¡¢¸½ºß¤Î½ÐÎÏ·Á ¼°¤ËÂФ¹¤ë¼ÂºÝ¤ÎÉÁ²è¤òÀ¸À®¤¹¤ëÂؤï¤ê¤Ë X Y {Z} R ¤ÎÃͤÎÊ£¿ôÎ󤫤é¤Ê¤ë ɽ·Á¼°¤Î¥¢¥¹¥­¡¼½ÐÎϤò¹Ô¤Ê¤¤¤Þ¤¹¡£Ê¸»ú R ¤Ï¡¢¼¡¤Î 3 ¼ïÎà¤Î¤¦¤Á¤Î°ì¤Ä¤Ç ¤¹: ¤½¤ÎÅÀ¤¬Í­¸ú¤ÊÈÏ°ÏÆâ¤Ë¤¢¤ë¾ì¹ç¤Ï "i"¡¢Èϰϳ°¤Î¾ì¹ç¤Ï "o"¡¢Ì¤ÄêµÁÃÍ (undefined) ¤Î¾ì¹ç¤Ï "u" ¤Ç¤¹¡£¥Ç¡¼¥¿¤Î½ñ¼°¤Ï¡¢¼´¤Î¥é¥Ù¥ë¤Î½ñ¼° (°Ê²¼»²¾È: set format (82.23)) ¤Ë¤è¤Ã¤Æ·è¤Þ¤ê¡¢Îó¤Ï°ì¤Ä¤Î¶õÇò¤Ç¶èÀÚ¤é¤ì¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢Åù¹âÀþ¤òÀ¸À®¤·¡¢Î㤨¤Ð plot ¤ÇÉÁ²è¤¹¤ë¤Ê¤É¡¢¤½¤ì¤òºÆÍøÍѤ¹¤ë ¤¿¤á¤ËÊݸ¤·¤¿¤¤¤È¤­¤ËÊØÍø¤Ç¤¹¡£Îã¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: set contour (82.14)¡£ ¤³¤ÎÊýË¡¤Ï¡¢Êä´Ö¤µ¤ì¤¿¥Ç¡¼¥¿¤òÊݸ¤¹¤ë¤Î¤Ë¤â»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹ (°Ê²¼»²¾È: set samples (82.64), set dgrid3d (82.18))¡£

½ñ¼°:

     set table {"outfile"}
     plot <whatever>
     unset table

ɽ·Á¼°¤Î½ÐÎϤϡ¢»ØÄꤵ¤ì¤¿¥Õ¥¡¥¤¥ë¤Ë½ñ¤­½Ð¤µ¤ì¤Þ¤¹¤¬¡¢»ØÄ꤬¤Ê¤¤¾ì¹ç¤Ï ¸½ºß set output ¤Ç»ØÄꤵ¤ì¤Æ¤¤¤ëÃͤ˽ÐÎϤµ¤ì¤Þ¤¹¡£¸½ºß¤Î½ÐÎÏ·Á¼°¤Îɸ ½àŪ¤ÊÉÁ²è¤ËÌ᤹¤Ë¤Ï¡¢unset table ¤òÌÀ¼¨Åª¤Ë¹Ô¤Ê¤¦É¬Íפ¬¤¢¤ê¤Þ¤¹¡£

82.69 Terminal

gnuplot ¤Ï¿ô¿¤¯¤Î¥°¥é¥Õ¥£¥Ã¥¯·Á¼°¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£¥³¥Þ¥ó¥É set terminal ¤ò»È¤Ã¤Æ gnuplot ¤Î½ÐÎϤÎÂоݤȤʤë·Á¼°¤Î¼ïÎà¤òÁª¤ó¤Ç ¤¯¤À¤µ¤¤¡£½ÐÎÏÀè¤ò¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤Ï½ÐÎÏÁõÃ֤˥ê¥À¥¤¥ì¥¯¥È¤¹¤ë¤Ë¤Ï set output ¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£

½ñ¼°:

     set terminal {<terminal-type> | push | pop}
     show terminal

< terminal-type> ¤¬¾Êά¤µ¤ì¤ë¤È gnuplot ¤ÏÍøÍѲÄǽ¤Ê½ÐÎÏ·Á¼°¤Î°ìÍ÷¤ò ɽ¼¨¤·¤Þ¤¹¡£< terminal-type> ¤Î»ØÄê¤Ë¤Ïû½Ì·Á¤¬»È¤¨¤Þ¤¹¡£

set terminal ¤È set output ¤ÎξÊý¤ò»È¤¦¾ì¹ç¡¢set terminal ¤òºÇ½é ¤Ë¤¹¤ëÊý¤¬°ÂÁ´¤Ç¤¹¡£¤½¤ì¤Ï¡¢OS ¤Ë¤è¤Ã¤Æ¤Ï¡¢¤½¤ì¤¬É¬ÍפȤ¹¤ë¥Õ¥é¥°¤ò¥» ¥Ã¥È¤¹¤ë½ÐÎÏ·Á¼°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£

¤¤¤¯¤Ä¤«¤Î½ÐÎÏ·Á¼°¤Ï¤¿¤¯¤µ¤ó¤ÎÄɲ媥ץ·¥ç¥ó¤ò»ý¤Á¤Þ¤¹¡£ ³Æ < term> ¤ËÂФ·¡¢Ä¾Á°¤Î set term < term> < options> ¤Ç»ÈÍѤµ¤ì¤¿¥ª ¥×¥·¥ç¥ó¤Ïµ­²±¤µ¤ì¡¢¤½¤Î¸å¤Î set term < term> ¤¬¤½¤ì¤ò¥ê¥»¥Ã¥È¤¹¤ë¤³ ¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤³¤ì¤ÏÎ㤨¤Ð°õºþ»þ¤ËÍ­ÍѤǤ¹¡£´ö¤Ä¤«¤Î°Û¤Ê¤ë½ÐÎÏ·Á¼°¤ò ÀÚÂؤ¨¤ë¾ì¹ç¡¢Á°¤Î¥ª¥×¥·¥ç¥ó¤ò·«¤êÊÖ¤·¾§¤¨¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£

¥³¥Þ¥ó¥É set term push ¤Ï¡¢¸½ºß¤Î½ÐÎÏ·Á¼°¤È¤½¤ÎÀßÄê¤ò set term pop ¤Ë¤è¤Ã¤ÆÉüµ¢¤¹¤ë¤Þ¤Çµ­²±¤·¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ï save term, load term ¤È ¤Û¤ÜƱÅù¤Ç¤¹¤¬¡¢¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ø¤Î¥¢¥¯¥»¥¹¤Ï¹Ô¤ï¤º¡¢¤è¤Ã¤ÆÎ㤨¤Ð¤³¤ì ¤Ï¡¢°õºþ¸å¤Ë¥×¥é¥Ã¥È¥Û¡¼¥à¤Ë°Í¸¤·¤Ê¤¤·Á¤Ç½ÐÎÏ·Á¼°¤òÉüµ¢¤¹¤ëÌÜŪ¤Ë»È¤¨ ¤Þ¤¹¡£gnuplot ¤Îµ¯Æ°¸å¡¢¥Ç¥Õ¥©¥ë¥È¡¢¤Þ¤¿¤Ï startup ¥Õ¥¡¥¤¥ë¤Ë½ñ¤«¤ì ¤¿½ÐÎÏ·Á¼°¤¬¼«Æ°Åª¤Ëµ­²± (push) ¤µ¤ì¤Þ¤¹¡£¤è¤Ã¤Æ¡¢ÌÀ¼¨Åª¤Ë½ÐÎÏ·Á¼°¤òµ­ ²±¤µ¤»¤ë¤³¤È¤Ê¤¯¡¢Ç¤°Õ¤Î¥×¥é¥Ã¥È¥Û¡¼¥à¾å¤Ç¥Ç¥Õ¥©¥ë¥È¤Î½ÐÎÏ·Á¼°¤ò set term pop ¤Ë¤è¤Ã¤ÆÉüµ¢¤µ¤»¤ë¡¢¤È¤¤¤¦Æ°ºî¤ò´üÂÔ¤·¤¿¥¹¥¯¥ê¥×¥È¤ò²Ä ÈÂÀ­¤ò¼º¤ï¤º¤Ë½ñ¤¯¤³¤È¤¬½ÐÍè¤Þ¤¹¡£

¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: complete list of terminals (92)¡£

82.70 Termoption

¥³¥Þ¥ó¥É set termoption ¤Ï¡¢¸½ºß»ÈÍѤ·¤Æ¤¤¤ë½ÐÎÏ·Á¼°¤Î¿¶Éñ¤¤¤ò¡¢¿·¤¿ ¤Ê set terminal ¥³¥Þ¥ó¥É¤Îȯ¹Ô¤Ê¤·¤ËÊѹ¹¤¹¤ë¤³¤È¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£¤³¤Î ¥³¥Þ¥ó¥É°ì¤Ä¤ËÂФ·¤Æ°ì¤Ä¤Î¥ª¥×¥·¥ç¥ó¤Î¤ß¤¬Êѹ¹¤Ç¤­¤Þ¤¹¡£¤½¤·¤Æ¤³¤ÎÊýË¡ ¤ÇÊѹ¹¤Ç¤­¤ë¥ª¥×¥·¥ç¥ó¤Ï¤½¤¦Â¿¤¯¤Ï¤¢¤ê¤Þ¤»¤ó¡£¸½ºß»ÈÍѲÄǽ¤Ê¥ª¥×¥·¥ç¥ó ¤Ï°Ê²¼¤Î¤â¤Î¤Î¤ß¤Ç¤¹¡£


    set termoption {no}enhanced
    set termoption font "<fontname>{,<fontsize>}"
    set termoption fontscale <scale>
    set termoption {solid|dashed}
    set termoption {linewidth <lw>}{lw <lw>}

82.71 Tics

Á´¤Æ¤Î¼´¤Î (¸«½Ð¤·¤Î¤Ä¤¯) ÂçÌÜÀ¹¤ê¤ÎÀ©¸æ¤ò°ìÅ٤˹Ԥ¦¤³¤È¤Ï¡¢¥³¥Þ¥ó¥É set tics ¤Ç²Äǽ¤Ç¤¹¡£

Á´¤Æ¤Î¼´¤Î (¸«½Ð¤·¤Î¤Ä¤¯) ÂçÌÜÀ¹¤ê¤Ï ¥³¥Þ¥ó¥É set tics ¤Ç°ìÅÙ¤ËÀ©¸æ ¤Ç¤­¤Þ¤¹¡£ÌÜÀ¹¤ê¤Ï unset tics ¤Ç¾Ã¤¨¡¢set tics ¤Ç (¥Ç¥Õ¥©¥ë¥È¤Î¾õ ÂÖ¤Î) ÌÜÀ¹¤ê¤¬¤Ä¤­¤Þ¤¹¡£³Æñ°ì¼´¤ÎÂçÌÜÀ¹¤ê¤ÎÀ©¸æ¤ò¹Ô¤Ê¤¦Æ±ÍͤΥ³¥Þ¥ó¥É ¤¬¤¢¤ê¤Þ¤¹ (tics ¤ÎÁ°¤Ë¼´Ì¾¤ò¤Ä¤±¤¿¤â¤Î)¡£

½ñ¼°:

     set tics {axis | border} {{no}mirror}
              {in | out} {scale {default | <major> {,<minor>}}}
              {{no}rotate {by <ang>}} {offset <offset> | nooffset}
              {left | right | center | autojustify}
              { format "formatstring" } { font "name{,<size>}" }
              { textcolor <colorspec> }
     set tics {front | back}
     unset tics
     show tics

¾å¤ÎºÇ½é¤Î½ñ¼°¤Î¤È¤³¤í¤Ë½ñ¤¤¤¿¥ª¥×¥·¥ç¥ó¤Ï¡¢¸Ä¡¹¤Î¼´¤Ë¤â¡¢¤Þ¤¿¤Ï¤¹¤Ù¤Æ ¤Î¼´ (x, y, z, x2, y2, cb) ¤Ë¤âŬÍѤǤ­¤Þ¤¹¡£

tics ¤Î front ¤Þ¤¿¤Ï back ¤ÎÀßÄê¤Ï¡¢2D ÉÁ²è (splot ¤ÏÉÔ²Ä) ¤Ë¤Î¤ß ¤¹¤Ù¤Æ¤Î¼´¤Ë 1 ÅÙŬÍѤµ¤ì¤Þ¤¹¡£¤³¤ì¤Ï¡¢ÌÜÀ¹¤ÈÉÁ²èÍ×ÁǤ¬½Å¤Ê¤Ã¤¿¾ì¹ç¤Ë ÌÜÀ¹¤òÉÁ²èÍ×ÁǤÎÁ°Ì̤˽Ф¹¤«¡¢±ü¤ËÃÖ¤¯¤«¤òÀ©¸æ¤·¤Þ¤¹¡£

axis ¤È border ¤Ï gnuplot ¤ËÌÜÀ¹¤ê (ÌÜÀ¹¤ê¤Î¹ï¼«¿È¤È¤½¤Î¸«½Ð¤·) ¤ò¡¢¤½¤ì¤¾¤ì¼´¤Ë¤Ä¤±¤ë¤Î¤«¡¢¶­³¦¤Ë¤Ä¤±¤ë¤Î¤«¤ò»Ø¼¨¤·¤Þ¤¹¡£¼´¤¬¶­³¦¤Ë¤È ¤Æ¤â¶á¤¤¾ì¹ç¡¢axis ¤ò»ÈÍѤ¹¤ë¤È¶­³¦¤¬É½¼¨¤µ¤ì¤Æ¤¤¤ì¤Ð (°Ê²¼»²¾È:set border (82.7)) ÌÜÀ¹¤ê¤Î¸«½Ð¤·Ê¸»ú¤ò¶­³¦¤Î³°¤Ë½Ð¤·¤Æ¤·¤Þ¤¦¤Ç¤·¤ç¤¦¡£¤³¤Î ¾ì¹ç¼«Æ°Åª¤Ê¥ì¥¤¥¢¥¦¥È¥¢¥ë¥´¥ê¥º¥à¤Ë¤è¤ë;ÇòÀßÄê¤ÏÂçÄñ¤è¤¯¤Ê¤¤¤â¤Î¤È¤Ê ¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£

mirror ¤Ï gnuplot ¤ËÈ¿ÂЦ¤Î¶­³¦¤ÎƱ¤¸°ÌÃ֤ˡ¢¸«½Ð¤·¤Î¤Ê¤¤ÌÜÀ¹¤ê¤ò ½ÐÎϤ¹¤ë¤è¤¦»Ø¼¨¤·¤Þ¤¹¡£nomirror ¤Ï¡¢¤¢¤Ê¤¿¤¬ÁÛÁü¤·¤Æ¤¤¤ëÄ̤ê¤Î¤³¤È ¤ò¹Ô¤Ê¤¤¤Þ¤¹¡£

in ¤È out ¤ÏÌÜÀ¹¤ê¤Î¹ï¤ß¤òÆ⦤ËÉÁ¤¯¤«³°Â¦¤ËÉÁ¤¯¤«¤òÀÚ¤êÊѤ¨¤Þ¤¹¡£

ÌÜÀ¹¤ê¤Î¹ï¤ß¤Î¥µ¥¤¥º¤Ï scale ¤ÇÄ´À°¤Ç¤­¤Þ¤¹¡£< minor> ¤Î»ØÄ꤬¾Êά¤µ ¤ì¤¿¾ì¹ç¤Ï¡¢¤½¤ì¤Ï 0.5*< major> ¤Ë¤Ê¤ê¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥µ¥¤¥º¤Ï¡¢ÂçÌÜ À¹¤ê¤¬ 1.0 ¤Ç¾®ÌÜÀ¹¤ê¤¬ 0.5 ¤Ç¡¢¤³¤ì¤Ï scale default ¤Ç¸Æ¤Ó¤À¤»¤Þ¤¹¡£

rotate ¤Ï¡¢Ê¸»úÎó¤ò 90 Åٲ󞤵¤»¤Æ½ÐÎϤµ¤»¤è¤¦¤È¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢Ê¸ »úÎó¤Î²óž¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë½ÐÎϥɥ饤¥Ð (terminal) ¤Ç¤Ï¼Â¹Ô¤µ¤ì¤Þ¤¹¡£ norotate ¤Ï¤³¤ì¤ò¥­¥ã¥ó¥»¥ë¤·¤Þ¤¹¡£rotate by < ang> ¤Ï³ÑÅÙ < ang> ¤Î ²óž¤ò¹Ô¤Ê¤¤¤Þ¤¹¤¬¡¢¤³¤ì¤Ï¤¤¤¯¤Ä¤«¤Î½ÐÎÏ·Á¼° (terminal) ¤Ç¥µ¥Ý¡¼¥È¤µ¤ì ¤Æ¤¤¤Þ¤¹¡£

x ¤È y ¼´¤ÎÂçÌÜÀ¹¤ê¤Î¥Ç¥Õ¥©¥ë¥È¤Ï border mirror norotate ¤Ç¡¢x2, y2 ¼´¤Ï border nomirror norotate ¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¹¡£z ¼´¤Î¥Ç¥Õ¥©¥ë¥È¤Ï nomirror ¤Ç¤¹¡£

< offset> ¤Ï x,y ¤«¤Þ¤¿¤Ï x,y,z ¤Î·Á¼°¤Ç¤¹¤¬¡¢¤½¤ì¤ËºÂɸ·Ï¤òÁªÂò¤·¤Æ¡¢ ¤½¤ÎÁ°¤Ë first, second, graph, screen, character ¤Î¤¤¤º¤ì¤« ¤ò¤Ä¤±¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£< offset> ¤Ï¡¢ÌÜÀ¹¤ê¤Î¸«½Ð¤·Ê¸»úÎó¤Î¥Ç¥Õ¥©¥ë¥È ¤Î°ÌÃÖ¤«¤é¤Î¤º¤é¤·°ÌÃ֤ǡ¢¤½¤Î¥Ç¥Õ¥©¥ë¥È¤Îñ°Ì·Ï¤Ï character ¤Ç¤¹¡£ ¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: coordinates (10)¡£nooffset ¤Ï offset ¤ò OFF ¤Ë¤·¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¸«½Ð¤·¥é¥Ù¥ë¤Ï¡¢Èþ¤·¤¤·ë²Ì¤òÀ¸¤à¤è¤¦¤Ë¡¢¼´¤È²óž³Ñ¤Ë°Í¸ ¤·¤¿°ÌÃ֤˼«Æ°Åª¤Ë°ÌÃÖ¹ç¤ï¤»¤µ¤ì¤Þ¤¹¡£¤½¤ì¤¬µ¤¤Ë¤¤¤é¤Ê¤±¤ì¤Ð¡¢ÌÀ¼¨Åª¤Ë left, right, center ¤Î¥­¡¼¥ï¡¼¥É¤Ë¤è¤ê°ÌÃÖ¹ç¤ï¤»¤òÊѹ¹¤Ç¤­¤Þ¤¹¡£ autojustify ¤Ç¥Ç¥Õ¥©¥ë¥È¤ÎµóÆ°¤ËÉüµ¢¤·¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó¤Ê¤·¤Î set tics ¤Ï¡¢ÌÜÀ¹¤ê¤Î¹ï¤ß¤òÆ⦤ˤ·¤Þ¤¹¤¬¡¢¤½¤Î¾¤Î Á´¤Æ¤Î¥ª¥×¥·¥ç¥ó¤ÏľÁ°¤ÎÃͤòÊÝ»ý¤·¤Þ¤¹¡£

ÂçÌÜÀ¹¤ê (¥é¥Ù¥ë¤Î¤Ä¤¯) ¤Î¾¤ÎÀ©¸æ¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È: set xtics (82.96)¡£ ¾®ÌÜÀ¹¤ê¤ÎÀ©¸æ¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È: set mxtics (82.43)¡£¤³¤ì¤é¤Î¥³¥Þ¥ó¥É¤Ï¡¢ ¤½¤ì¤¾¤ì¤Î¼´¤ËÂФ·¤ÆÊÌ¡¹¤Ë¼´¤ÎÀ©¸æ¤òÄ󶡤·¤Þ¤¹¡£

82.72 Ticslevel

¸½ºß¤Ï¿ä¾©¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£°Ê²¼»²¾È: set xyplane (82.97)¡£

82.73 Ticscale

¥³¥Þ¥ó¥É set ticscale ¤Ï¸½ºß¤Ï¿ä¾©¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£Âå¤ï¤ê¤Ë set tics scale ¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£

82.74 Timestamp

¥³¥Þ¥ó¥É set timestamp ¤ÏÉÁ²è¤ÎÆüÉդȻþ¹ï¤òº¸¤Î;Çò¤Ëɽ¼¨¤·¤Þ¤¹¡£

½ñ¼°:

     set timestamp {"<format>"} {top|bottom} {{no}rotate}
                   {offset <xoff>{,<yoff>}} {font "<fontspec>"}
     unset timestamp
     show timestamp

½ñ¼°Ê¸»úÎó (format) ¤ò»È¤Ã¤Æ¡¢½ñ¤«¤ì¤ëÆüÉդȻþ¹ï¤Î½ñ¼°¤òÁªÂò¤¹¤ë¤³¤È¤¬ ¤Ç¤­¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï asctime() ¤¬»ÈÍѤ¹¤ë "%a %b %d %H:%M:%S %Y" ¤Ç ¤¹ (ÍËÆü¡¢·î̾¡¢Æü¡¢»þ¡¢Ê¬¡¢Éá¢4 ·å¤ÎÀ¾Îñ)¡£top ¤È bottom ¤ò»È¤Ã ¤ÆÆüÉÕ¤òº¸¤Î;Çò¤Î¾å¤ËÇÛÃÖ¤¹¤ë¤«¡¢²¼¤ËÇÛÃÖ¤¹¤ë¤«¤òÁªÂò¤Ç¤­¤Þ¤¹ (¥Ç¥Õ¥© ¥ë¥È¤Ï²¼)¡£rotate ¤Ï¡¢¤â¤·½ÐÎÏ·Á¼°¤¬¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ì¤Ð¤Ç¤¹¤¬¡¢ÆüÉÕ¤ò ¿âľÊý¸þ¤Îʸ»úÎó¤Ë¤·¤Þ¤¹¡£Äê¿ô < xoff> ¡¢< yoff> ¤Ï¤º¤ì (offset) ¤ò°ÕÌ£¤·¡¢ ¤³¤ì¤Ë¤è¤Ã¤Æ¤è¤êŬÀڤʰÌÃÖ¹ç¤ï¤»¤¬¹Ô¤¨¤Þ¤¹¡£< font> ¤ÏÆüÉÕ¤¬½ñ¤«¤ì¤ë¥Õ ¥©¥ó¥È¤ò»ØÄꤷ¤Þ¤¹¡£

timestamp ¤ÎÂå¤ï¤ê¤Ë¾Êά̾ time ¤ò»È¤Ã¤Æ¤â¹½¤¤¤Þ¤»¤ó¡£

Îã:

     set timestamp "%d/%m/%y %H:%M" offset 80,-2 font "Helvetica"

ÆüÉդνñ¼°Ê¸»úÎó¤Ë´Ø¤¹¤ë¾Ü¤·¤¤¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: set timefmt (82.75)¡£

82.75 Timefmt

¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¥Ç¡¼¥¿¤¬Æü»þ¤Î·Á¼°¤Ë¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¡¢¤½¤Î»þ·ÏÎó¥Ç¡¼¥¿ ¤ËŬÍѤµ¤ì¤Þ¤¹¡£¤³¤ì¤Ï¥³¥Þ¥ó¥É set xdata time ¤âÍ¿¤¨¤é¤ì¤Æ¤¤¤Ê¤¤¤È°Õ Ì£¤¬¤¢¤ê¤Þ¤»¤ó¡£

½ñ¼°:

     set timefmt "<format string>"
     show timefmt

ʸ»úÎó°ú¿ô (< format string> ) ¤Ï gnuplot ¤ËÆü»þ¥Ç¡¼¥¿¤ò¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë ¤«¤é¤É¤Î¤è¤¦¤ËÆɤफ¤ò»Ø¼¨¤·¤Þ¤¹¡£Í­¸ú¤Ê½ñ¼°¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹:

»þ·ÏÎó¥Ç¡¼¥¿½ñ¼°»ØÄê»Ò
½ñ¼° ÀâÌÀ
%d ²¿Æü, 1-31
%m ²¿·î, 1-12
%y ²¿Ç¯, 0-99
%Y ²¿Ç¯, 4 ·å
%j 1 ǯ¤Î²¿ÆüÌÜ, 1-365
%H ²¿»þ, 0-24
%M ²¿Ê¬, 0-60
%s Unix epoch (1970-01-01, 00:00 UTC) ¤«¤é¤ÎÉÿô
%S ²¿Éà (½ÐÎÏ¤Ç¤Ï 0-60 ¤ÎÀ°¿ô¡¢ÆþÎϤǤϼ¿ô)
%b ·î̾ (±Ñ¸ì) ¤Î 3 ʸ»ú¾Êά·Á
%B ·î̾ (±Ñ¸ì)

Ǥ°Õ¤Îʸ»ú¤òʸ»úÎóÃæ¤Ç»ÈÍѤǤ­¤Þ¤¹¤¬¡¢µ¬Â§¤Ë½¾¤Ã¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ \ t (¥¿¥Ö) ¤Ïǧ¼±¤µ¤ì¤Þ¤¹¡£¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å + 8 ¿Ê¿ôÎó ( \ nnn) ¤Ï¤½¤ì¤¬ ¼¨¤¹Ê¸»ú¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£Æü»þÍ×ÁǤÎÃæ¤ËʬΥʸ»ú¤¬¤Ê¤¤¾ì¹ç¡¢%d, %m, %y, %H, %M, %S ¤Ï¤½¤ì¤¾¤ì 2 ·å¤Î¿ô»ú¤òÆɤ߹þ¤ß¤Þ¤¹¡£%S ¤Ç¤ÎÆɤ߹þ¤ß¤Ç¾®¿ô ÅÀ¤¬¤½¤Î¥Õ¥£¡¼¥ë¥É¤Ë¤Ä¤¤¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¤½¤Î¾®¿ôÅÀ¤Ä¤­¤Î¿ô¤ò¾®¿ô¤ÎÉûØÄê ¤À¤È²ò¼á¤·¤Þ¤¹¡£%Y ¤Ï 4 ·å¡¢%j ¤Ï 3 ·å¤Î¿ô»ú¤òÆɤ߹þ¤ß¤Þ¤¹¡£%b ¤Ï 3 ʸ »ú¤ò¡¢%B ¤ÏɬÍפÊʬ¤À¤±¤Îʸ»ú¤òÍ׵ᤷ¤Þ¤¹¡£

¶õÇò (¥¹¥Ú¡¼¥¹) ¤Î°·¤¤¤Ï¤ä¤ä°ã¤¤¤Þ¤¹¡£½ñ¼°Ê¸»úÎóÃæ¤Î 1 ¤Ä¤Î¶õÇò¤Ï¡¢¥Õ¥¡¥¤¥ëÃæ¤Î 0 ¸Ä¡¢¤¢¤ë¤¤¤Ï 1 ¤Ä°Ê¾å¤Î¶õÇòʸ»úÎó¤òɽ¤·¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢ "%H %M" ¤Ï "1220" ¤ä "12 20" ¤ò "12 20" ¤ÈƱ¤¸¤è¤¦¤ËÆɤߤޤ¹¡£

¥Ç¡¼¥¿Ãæ¤ÎÈó¶õÇòʸ»ú¤Î½¸¤Þ¤ê¤½¤ì¤¾¤ì¤Ï¡¢using n:n »ØÄê¤Î°ì¤Ä°ì¤Ä¤ÎÎó ¤È¥«¥¦¥ó¥È¤µ¤ì¤Þ¤¹¡£¤è¤Ã¤Æ 11:11 25/12/76 21.0 ¤Ï 3 Îó¤Î¥Ç¡¼¥¿¤Èǧ ¼±¤µ¤ì¤Þ¤¹¡£º®Íð¤òÈò¤±¤ë¤¿¤á¤Ë¡¢Æü»þ¥Ç¡¼¥¿¤¬´Þ¤Þ¤ì¤ë¾ì¹ç gnuplot ¤Ï¡¢ ¤¢¤Ê¤¿¤Î using »ØÄ꤬´°àú¤Ê¤â¤Î¤Ç¤¢¤ë¤È²¾Äꤷ¤Þ¤¹¡£

ÆüÉեǡ¼¥¿¤¬ÍËÆü¡¢·î¤Î̾Á°¤ò´Þ¤ó¤Ç¤¤¤ë¾ì¹ç¡¢½ñ¼°Ê¸»úÎó¤Ç¤½¤ì¤òÇÓ½ü¤·¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¤¬¡¢"%a", "%A", "%b", "%B" ¤Ç¤½¤ì¤é¤òɽ¼¨¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤¹¡£gnuplot ¤Ï¿ôÃͤ«¤é·î¤äÍËÆü¤òÀµ¤·¤¯µá¤á¤Þ¤¹¡£¤³¤ì¤é¡¢µÚ¤ÓÆü»þ ¥Ç¡¼¥¿¤Î½ÐÎϤξ¤Î¥ª¥×¥·¥ç¥ó¤Î¾ÜºÙ¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È: set format (82.23)¡£

2 ·å¤ÎÀ¾Îñ¤ò %y ¤ÇÆɤà¾ì¹ç¡¢69-99 ¤Ï 2000 ǯ̤Ëþ¡¢00-68 ¤Ï 2000 ǯ°Ê¸å¤È¸«¤Ê¤·¤Þ¤¹¡£Ãí: ¤³¤ì¤Ï¡¢UNIX98 ¤Î»ÅÍͤ˹ç¤ï¤»¤¿¤â¤Î¤Ç¤¹¤¬¡¢¤³¤Î´·Î㠤Ϥ¢¤Á¤³¤Á¤Ç°ã¤¤¤¬¤¢¤ë¤Î¤Ç¡¢2 ·å¤ÎÀ¾ÎñÃͤÏËܼÁŪ¤Ë¤¢¤¤¤Þ¤¤¤Ç¤¹¡£

¾¤Î¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼¤â»²¾È: set xdata (82.91), time/date (25)¡£

Îã:

     set timefmt "%d/%m/%Y\t%H:%M"

¤Ï¡¢gnuplot ¤ËÆüÉդȻþ´Ö¤¬¥¿¥Ö¤ÇʬΥ¤·¤Æ¤¤¤ë¤³¤È¤ò¶µ¤¨¤Þ¤¹ (¤¿¤À¤·¡¢ ¤¢¤Ê¤¿¤Î¥Ç¡¼¥¿¤ò¤è¡¼¤¯¸«¤Æ¤¯¤À¤µ¤¤¡£¥¿¥Ö¤À¤Ã¤¿¤â¤Î¤¬¤É¤³¤«¤ÇÊ£¿ô¤Î¥¹¥Ú ¡¼¥¹¤ËÊÑ´¹¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¤« ? ½ñ¼°Ê¸»úÎó¤Ï¥Õ¥¡¥¤¥ëÃæ¤Ë¼ÂºÝ¤Ë¤¢¤ëʪ¤È°ìÃפ·¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó)¡£ °Ê²¼¤â»²¾È

»þ·ÏÎó¥Ç¡¼¥¿ (time data) ¥Ç¥â¡£

82.76 Title

¥³¥Þ¥ó¥É set title ¤Ï¡¢ÉÁ²è¤Î¾å¤Î¿¿Ãæ¤Ë½ñ¤«¤ì¤ëÉÁ²è¥¿¥¤¥È¥ë¤òÀ¸À®¤· ¤Þ¤¹¡£set title ¤Ï set label ¤ÎÆüì¤Ê¤â¤Î¡¢¤È¤ß¤Ê¤»¤Þ¤¹¡£

½ñ¼°:

     set title {"<title-text>"} {offset <offset>} {font "<font>{,<size>}"}
               {{textcolor | tc} {<colorspec> | default}} {{no}enhanced}
     show title

< offset> ¤ò x,y ¤«¤Þ¤¿¤Ï x,y,z ¤Î·Á¼°¤Ç»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢¥¿¥¤¥È¥ë¤ÏÍ¿¤¨ ¤é¤ì¤¿ÃͤÀ¤±°ÜÆ°¤µ¤ì¤Þ¤¹¡£¤½¤ì¤ËºÂɸ·Ï¤òÁªÂò¤·¤Æ¡¢¤½¤ÎÁ°¤Ë first, second, graph, screen, character ¤Î¤¤¤º¤ì¤«¤ò¤Ä¤±¤ë¤³¤È¤â¤Ç¤­ ¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: coordinates (10)¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï character ºÂɸ ·Ï¤¬»È¤ï¤ì¤Þ¤¹¡£Î㤨¤Ð¡¢"set title offset 0,-1" ¤Ï¥¿¥¤¥È¥ë¤Î y Êý¸þ ¤Î°ÌÃ֤ΤßÊѹ¹¤·¡¢Â礶¤Ã¤Ñ¤Ë¸À¤Ã¤Æ 1 ʸ»úʬ¤Î¹â¤µ¤À¤±¥¿¥¤¥È¥ë¤ò²¼¤Ë²¼ ¤²¤Þ¤¹¡£1 ʸ»ú¤ÎÂ礭¤µ¤Ï¡¢¥Õ¥©¥ó¥È¤È½ÐÎÏ·Á¼°¤ÎξÊý¤Ë°Í¸¤·¤Þ¤¹¡£

< font> ¤Ï¥¿¥¤¥È¥ë¤¬½ñ¤«¤ì¤ë¥Õ¥©¥ó¥È¤ò»ØÄꤹ¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£< size> ¤Î ñ°Ì¤Ï¡¢¤É¤Î½ÐÎÏ·Á¼° (terminal) ¤ò»È¤Ã¤Æ¤¤¤ë¤«¤Ë¤è¤Ã¤ÆÊѤï¤ê¤Þ¤¹¡£

textcolor < colorspec> ¤Ï¡¢Ê¸»ú¤Î¿§¤òÊѹ¹¤·¤Þ¤¹¡£< colorspec> ¤Ï¡¢Àþ ¼ï¡¢rgb ¿§¡¢¤Þ¤¿¤Ï¥Ñ¥ì¥Ã¥È¤Ø¤Î³äÅö¤Î¤¤¤º¤ì¤«¤¬»ØÄê¤Ç¤­¤Þ¤¹¡£°Ê²¼»²¾È:colorspec (17.1), palette (82.54)¡£

noenhanced ¤Ï¡¢³Èĥʸ»úÎó½èÍý (enhanced text) ¥â¡¼¥É¤¬Í­¸ú¤Ë¤Ê¤Ã¤Æ¤¤ ¤ë¾ì¹ç¤Ç¤â¡¢¥¿¥¤¥È¥ë¤ò³Èĥʸ»úÎó½èÍý¤µ¤»¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤¹¡£

set title ¤ò¥Ñ¥é¥á¡¼¥¿¤Ê¤·¤Ç»È¤¦¤È¥¿¥¤¥È¥ë¤ò¾Ãµî¤·¤Þ¤¹¡£

¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥åʸ»úÎó¤ÎºîÍÑ¡¢µÚ¤Óʸ»úÎó¤ò°Ï¤àñ°ì°úÍÑÉä¤ÈÆó½Å°úÍÑÉä¤Î °ã¤¤¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: syntax (24)¡£

82.77 Tmargin

¥³¥Þ¥ó¥É set tmargin ¤Ï¾å¤Î;Çò¤Î¥µ¥¤¥º¤ò¥»¥Ã¥È¤·¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set margin (82.39)¡£

82.78 Trange

¥³¥Þ¥ó¥É set trange ¤Ï¡¢ÇÞ²ðÊÑ¿ô¥â¡¼¥É¡¢¤¢¤ë¤¤¤Ï¶ËºÂɸ¥â¡¼¥É¤Ç¤Î x,y ¤ÎÃͤò·×»»¤¹¤ë¤Î¤Ë»È¤ï¤ì¤ëÇÞ²ðÊÑ¿ô¤ÎÈϰϤòÀßÄꤷ¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È:set xrange (82.95)¡£

82.79 Urange

set urange ¤È set vrange ¤Ï¡¢splot ¤ÎÇÞ²ðÊÑ¿ô¥â¡¼¥É¤Ç x,y,z ¤ÎÃÍ ¤ò·×»»¤¹¤ë¤Î¤Ë»È¤ï¤ì¤ëÇÞ²ðÊÑ¿ô¤ÎÈϰϤòÀßÄꤷ¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È:set xrange (82.95)¡£

82.80 Variables

show variables ¥³¥Þ¥ó¥É¤Ï¥æ¡¼¥¶ÄêµÁÊÑ¿ô¤ÈÆâÉôÊÑ¿ô¤Î¸½ºß¤ÎÃͤΰìÍ÷¤ò ɽ¼¨¤·¤Þ¤¹¡£gnuplot ¤Ï¡¢GPVAL_, MOUSE_, FIT_, TERM_ ¤Ç»Ï¤Þ¤ë̾Á°¤ò»ý¤Ä ÊÑ¿ô¤òÆâÉô¤ÇÄêµÁ¤·¤Æ¤¤¤Þ¤¹¡£

½ñ¼°:

     show variables      # GPVAL_ ¤Ç»Ï¤Þ¤ë¤â¤Î°Ê³°¤ÎÊÑ¿ô¤òɽ¼¨
     show variables all  # GPVAL_ ¤Ç»Ï¤Þ¤ë¤â¤Î¤â´Þ¤áÁ´¤Æ¤ÎÊÑ¿ô¤òɽ¼¨
     show variables NAME # NAME ¤Ç»Ï¤Þ¤ëÊÑ¿ô¤Î¤ß¤òɽ¼¨

82.81 Version

¥³¥Þ¥ó¥É show version ¤Ï¸½ºßµ¯Æ°¤·¤Æ¤¤¤ë gnuplot ¤Î¥Ð¡¼¥¸¥ç¥ó¡¢ºÇ½ª ½¤ÀµÆü¡¢Ãøºî¸¢¼Ô¤È¡¢FAQ ¤ä info-gnuplot ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¡¢¥Ð¥°¥ì¥Ý¡¼¥È Àè¤Î¥á¡¼¥ë¥¢¥É¥ì¥¹¤òɽ¼¨¤·¤Þ¤¹¡£ÂÐÏÃŪ¤Ë¥×¥í¥°¥é¥à¤¬¸Æ¤Ð¤ì¤Æ¤¤¤ë¤È¤­¤Ï ¥¹¥¯¥ê¡¼¥ó¾å¤Ë¤½¤Î¾ðÊó¤òɽ¼¨¤·¤Þ¤¹¡£

½ñ¼°:

     show version {long}

long ¥ª¥×¥·¥ç¥ó¤òÍ¿¤¨¤ë¤È¡¢¤µ¤é¤Ë¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¡¢gnuplot ¥¤¥ó¥¹¥È¡¼¥ë»þ¤Î¥³¥ó¥Ñ¥¤¥ë¥ª¥×¥·¥ç¥ó¡¢¥Ø¥ë¥×¥Õ¥¡¥¤¥ë¤ÎÃÖ¤­¾ì½ê¡¢¤½¤·¤Æ (ºÆ¤Ó) Í­ÍѤʥ᡼¥ë¥¢¥É¥ì¥¹¤òɽ¼¨¤·¤Þ¤¹¡£

82.82 View

¥³¥Þ¥ó¥É set view ¤Ï splot ¤Î»ëÀþ¤Î³ÑÅÙ¤òÀßÄꤷ¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥°¥é ¥ÕÉÁ²è¤Î 3 ¼¡¸µºÂɸ¤ò¤É¤Î¤è¤¦¤Ë 2 ¼¡¸µ¤Î²èÌÌ (screen) ¤ËÅê±Æ¤¹¤ë¤«¤òÀ© ¸æ¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢ÉÁ²è¤µ¤ì¤¿¥Ç¡¼¥¿¤Î²óž¤È½Ì¼Ü¤ÎÀ©¸æ¤òÍ¿¤¨¤Æ¤¯¤ì¤Þ¤¹¤¬ Àµ¼Í±Æ¤·¤«¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤»¤ó¡£3 ¼¡¸µ¼Í±Æ¡¢¤ª¤è¤Ó 2 ¼¡¸µÉÁ²èŪÃÏ¿Þ¾å ¤Ø¤Î 2 ¼¡¸µÄ¾¸ò¼Í±Æ¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

½ñ¼°:

     set view <rot_x>{,{<rot_z>}{,{<scale>}{,<scale_z>}}}
     set view map
     set view {no}equal {xy|xyz}
     show view

¤³¤³¤Ç < rot_x> ¤È < rot_z> ¤Ï¡¢²èÌ̤ËÅê±Æ¤µ¤ì¤ë²¾ÁÛŪ¤Ê 3 ¼¡¸µºÂɸ·Ï¤Î ²óž³Ñ (ñ°Ì¤ÏÅÙ) ¤ÎÀ©¸æ¤Ç¡¢ºÇ½é¤Ï (¤¹¤Ê¤ï¤Á²óž¤¬¹Ô¤Ê¤ï¤ì¤ëÁ°¤Ï) ²èÌÌÆâ¤Î¿åÊ¿¼´¤Ï x, ²èÌÌÆâ¤Î¿âľ¼´¤Ï y, ²èÌ̼«¿È¤Ë¿âľ¤Ê¼´¤¬ z ¤È¤Ê¤Ã ¤Æ¤¤¤Þ¤¹¡£ºÇ½é¤Ï x ¼´¤Î¼þ¤ê¤Ë < rot_x> ¤À¤±²óž¤µ¤ì¤Þ¤¹¡£¼¡¤Ë¡¢¿·¤·¤¤ z ¼´¤Î¼þ¤ê¤Ë < rot_z> ¤À¤±²óž¤µ¤ì¤Þ¤¹¡£

¥³¥Þ¥ó¥É set view map ¤Ï¡¢ÉÁ²è¤òÃϿޤȤ·¤Æɽ¼¨¤¹¤ë¤Î¤Ë»È¤¤¤Þ¤¹¡£¤³¤ì ¤ÏÅù¹âÀþ (contour) ¤ÎÉÁ²è¡¢¤ª¤è¤Ó¥«¥é¡¼É½¼¨ (pm3d) ¤Î¿§ÃϿޤ˻Ȥ¨ ¤Þ¤¹¡£¸å¼Ô¤Ë´Ø¤·¤Æ¤Ï¡¢ÆþÎϥǡ¼¥¿ÅÀ¤Î¥Õ¥£¥ë¥¿ÍѤΠzrange ¤ÎÀßÄê¡¢¤ª¤è ¤Ó¿§¤ÎÈϰϤν̼ܤ˴ؤ¹¤ë cbrange ¤ÎÀßÄê¤òŬÀڤ˹Ԥ¦¤³¤È¤ËÃí°Õ¤·¤Æ¤¯ ¤À¤µ¤¤¡£

< rot_x> ¤Ï [0:180] ¤ÎÈϰϤËÀ©¸Â¤µ¤ì¤Æ¤¤¤Æ¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 60 Å٤Ǥ¹¡£ < rot_z> ¤Ï [0:360] ¤ÎÈϰϤËÀ©¸Â¤µ¤ì¤Æ¤¤¤Æ¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 30 Å٤Ǥ¹¡£ < scale> ¤Ï splot Á´ÂΤο­½ÌΨ¤òÀ©¸æ¤·¡¢< scale_z> ¤Ï z ¼´¤Î¿­½Ì¤Î¤ß¤ò ¹Ô¤Ê¤¤¤Þ¤¹¡£¿­½ÌΨ¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¤É¤Á¤é¤â 1.0 ¤Ç¤¹¡£

Îã:

     set view 60, 30, 1, 1
     set view ,,0.5

ºÇ½é¤ÎÎã¤Ï 4 ¤Ä¤ÎÁ´¤Æ¤ò¥Ç¥Õ¥©¥ë¥È¤ÎÃͤˤ·¤Æ¤¤¤Þ¤¹¡£2 ¤Ä¤á¤ÎÎã¤Ï½Ì¾®Î¨ ¤Î¤ß¤ò 0.5 ¤ËÊѹ¹¤·¤Æ¤¤¤Þ¤¹¡£

82.82.1 Equal_axes

¥³¥Þ¥ó¥É set view equal xy ¤Ï x ¼´¤È y ¼´¤Îñ°Ì¤ÎŤµ¤¬¶¯À©Åª¤ËÅù¤· ¤¯¤Ê¤ë¤è¤¦¤Ë½Ì¼Ü¤ò¹ç¤ï¤»¡¢¥°¥é¥Õ¤¬¥Ú¡¼¥¸¤ËÃúÅٹ礦¤è¤¦¤Ë¤½¤Î½Ì¼Ü¤òÁªÂò ¤·¤Þ¤¹¡£¥³¥Þ¥ó¥É set view equal xyz ¤Ï¡¢¤µ¤é¤Ë z ¼´¤â x ¤È y ¼´¤Ë¹ç ¤¦¤è¤¦¤Ë¤·¤Þ¤¹¤¬¡¢¸½ºß¤Î z ¼´¤ÎÈϰϤ¬¡¢ÉÁ²è¶­³¦¤ÎÈϰϤ˹礦ÊݾڤϤ¢¤ê ¤Þ¤»¤ó¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢3 ¤Ä¤Î¼´¤ÏÆÈΩ¤ËÍ­¸ú¤ÊÎΰè¤òËä¤á¤ë¤è¤¦¤Ë¿­½Ì¤µ ¤ì¤Þ¤¹¡£

°Ê²¼¤â»²¾È: set xyplane (82.97)¡£

82.83 Vrange

¥³¥Þ¥ó¥É set urange ¤È set vrange ¤Ï¡¢splot ¤ÎÇÞ²ðÊÑ¿ô (¥Ñ¥é¥á¡¼ ¥¿) ¥â¡¼¥É¤Ç x, y, z ¤ÎÃͤò·×»»¤¹¤ë¤Î¤Ë»È¤ï¤ì¤ëÇÞ²ðÊÑ¿ô¤ÎÈϰϤòÀßÄꤷ ¤Þ¤¹¡£ ¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xrange (82.95)¡£

82.84 X2data

¥³¥Þ¥ó¥É set x2data ¤Ï x2 (¾å) ¼´¤Î¥Ç¡¼¥¿¤ò»þ·ÏÎó (Æü»þ) ·Á¼°¤ËÀßÄê ¤·¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xdata (82.91)¡£

82.85 X2dtics

¥³¥Þ¥ó¥É set x2dtics ¤Ï x2 (¾å) ¼´¤ÎÌÜÀ¹¤ê¤òÍËÆü¤ËÊѹ¹¤·¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢ °Ê²¼»²¾È: set xdtics (82.92)¡£

82.86 X2label

¥³¥Þ¥ó¥É set x2label ¤Ï x2 (¾å) ¼´¤Î¸«½Ð¤·¤òÀßÄꤷ¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xlabel (82.93)¡£

82.87 X2mtics

¥³¥Þ¥ó¥É set x2mtics ¤Ï¡¢x2 (¾å) ¼´¤ò 1 ǯ¤Î³Æ·î¤ËÀßÄꤷ¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢ °Ê²¼»²¾È: set xmtics (82.94)¡£

82.88 X2range

¥³¥Þ¥ó¥É set x2range ¤Ï x2 (¾å) ¼´¤Îɽ¼¨¤µ¤ì¤ë¿åÊ¿ÈϰϤòÀßÄꤷ¤Þ¤¹¡£ ¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xrange (82.95)¡£

82.89 X2tics

¥³¥Þ¥ó¥É set x2tics ¤Ï x2 (¾å) ¼´¤Î¡¢¸«½Ð¤·ÉÕ¤±¤µ¤ì¤ëÂçÌÜÀ¹¤ê¤ÎÀ©¸æ ¤ò¹Ô¤Ê¤¤¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xtics (82.96)¡£

82.90 X2zeroaxis

¥³¥Þ¥ó¥É set x2zeroaxis ¤Ï¡¢¸¶ÅÀ¤òÄ̤ë x2 (¾å) ¼´ (y2 = 0) ¤òÉÁ¤­¤Þ ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set zeroaxis (82.119)¡£

82.91 Xdata

¤³¤Î¥³¥Þ¥ó¥É¤Ï x ¼´¤Î¥Ç¡¼¥¿·Á¼°¤òÆü»þ¥Ç¡¼¥¿¤Ë¥»¥Ã¥È¤·¤Þ¤¹¡£Æ±ÍͤΥ³¥Þ ¥ó¥É¤¬Â¾¤Î¼´¤½¤ì¤¾¤ì¤ËÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

½ñ¼°:

     set xdata {time}
     show xdata

ydata, zdata, x2data, y2data, cbdata ¤Ë¤âƱ¤¸½ñ¼°¤¬Åö¤Æ¤Ï¤Þ ¤ê¤Þ¤¹¡£

time ¥ª¥×¥·¥ç¥ó¤Ï¥Ç¡¼¥¿¤¬Æü»þ¥Ç¡¼¥¿¤Ç¤¢¤ë¤³¤È¤òÅÁ¤¨¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó ¤ò¤Ä¤±¤Ê¤¤¾ì¹ç¡¢¥Ç¡¼¥¿·¿¤ÏÄ̾ï¤Î¤â¤Î¤ËÌá¤ê¤Þ¤¹¡£

gnuplot ¤Ë¤É¤Î¤è¤¦¤ËÆü»þ¥Ç¡¼¥¿¤òÆɤߤ³¤Þ¤»¤ë¤«¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È:set timefmt (82.75)¡£Æü»þ¥Ç¡¼¥¿¤Ïº£À¤µª¤Î»Ï¤Þ¤ê (ÌõÃí: ¸·Ì©¤Ë¤Ï 2000 ǯ 1 ·î 1 Æü¤Î»Ï¤Þ¤ê) ¤«¤é¤ÎÉÿô¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£»þ´Ö½ñ¼° (timefmt) ¤Ï¸½ºß¤Ï¤¿ ¤À°ì¤Ä¤À¤±¤·¤«»È¤¨¤Þ¤»¤ó¡£¤½¤ì¤Ï¡¢Á´¤Æ¤ÎÆü»þ¥Ç¡¼¥¿¹àÌܤ¬¤³¤Î½ñ¼°¤Ë°ìÃ× ¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£¤Þ¤¿¡¢ÈϰϤλØÄê¤Ï¡¢Æü»þ»ØÄ꤬¿ô¼° ¤È²ò¼á¤µ¤ì¤ë¤Î¤òÈò¤±¤ë¤¿¤á¤Ë¡¢¤½¤Î½ñ¼°¤Ë½¾¤Ã¤¿Ê¸»úÎó¤ò°úÍÑÉä¤Ç°Ï¤ó¤Ç»Ø Äꤹ¤Ù¤­¤Ç¤¹¡£

ÌÜÀ¹¤ê¹ï¤ß¤Î¸«½Ð¤· (label) ¤òɽ¼¨¤¹¤ë¤Î¤Ë¤Ï´Ø¿ô 'strftime' (unix ¤Ç¤½ ¤ì¤òÄ´¤Ù¤ë¤Ë¤Ï "man strftime" ¤È¥¿¥¤¥×¤·¤Æ¤¯¤À¤µ¤¤) ¤¬»È¤ï¤ì¤Þ¤¹¡£ set format x "string" ¤Ç¡¢10 ¿Ê¿ô¤Î½ñ¼°¤Ç¤Ï¤Ê¤µ¤½¤¦¤Ê¤â¤Î (2 ¤Ä°Ê¾å¤Î '%'¡¢¤Þ¤¿¤Ï %f ¤Ç¤â %g ¤Ç¤â¤Ê¤¤¤â¤Î) ¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢ gnuplot ¤Ï¤³¤ì¤òŬÅö¤Ë°ÕÌ£¤Î¤¢¤ë½ñ¼°¤Ç·×»»¤·¤Æɽ¼¨¤·¤Þ¤¹¡£

¾¤Î¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: time/date (25)¡£

82.92 Xdtics

¥³¥Þ¥ó¥É set xdtics ¤Ï x ¼´¤ÎÌÜÀ¹¤ê¤Î¹ï¤ß¤òÍËÆü¤ËÊÑ´¹¤·¤Þ¤¹ (0=Sun, 6=Sat)¡£6 ¤ò±Û¤¨¤ë¾ì¹ç¤Ï 7 ¤Ë¤è¤ë;¤ê¤¬»È¤ï¤ì¤Þ¤¹¡£unset xdtics ¤Ï ¤½¤Î¸«½Ð¤·¤ò¥Ç¥Õ¥©¥ë¥È¤Î·Á¼°¤ËÌᤷ¤Þ¤¹¡£Â¾¤Î¼´¤Ë¤âƱ¤¸¤³¤È¤ò¹Ô¤Ê¤¦Æ± ÍͤΥ³¥Þ¥ó¥É¤¬ÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

½ñ¼°:

     set xdtics
     unset xdtics
     show xdtics

ydtics, zdtics, x2dtics, y2dtics, cbdtics ¤Ë¤âƱ¤¸½ñ¼°¤¬Åö¤Æ ¤Ï¤Þ¤ê¤Þ¤¹¡£

°Ê²¼¤â»²¾È: set format (82.23)¡£

82.93 Xlabel

¥³¥Þ¥ó¥É set xlabel ¤Ï x ¼´¤Î¸«½Ð¤·¤òÀßÄꤷ¤Þ¤¹¡£Â¾¤Î¼´¤Ë¤â¸«½Ð¤·¤ò ÀßÄꤹ¤ëƱÍͤΥ³¥Þ¥ó¥É¤¬¤¢¤ê¤Þ¤¹¡£

½ñ¼°:

     set xlabel {"<label>"} {offset <offset>} {font "<font>{,<size>}"}
                {textcolor <colorspec>} {{no}enhanced}
                {rotate by <degrees> | rotate parallel | norotate}
     show xlabel

Ʊ¤¸½ñ¼°¤¬ x2label, ylabel, y2label, zlabel, cblabel ¤Ë¤âŬ ÍѤµ¤ì¤Þ¤¹¡£

< offset> ¤ò x,y ¤«¤Þ¤¿¤Ï x,y,z ¤Î·Á¼°¤Ç»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢¸«½Ð¤·¤ÏÍ¿¤¨¤é ¤ì¤¿ÃͤÀ¤±°ÜÆ°¤µ¤ì¤Þ¤¹¡£¤½¤ì¤ËºÂɸ·Ï¤òÁªÂò¤·¤Æ¡¢¤½¤ÎÁ°¤Ë first, second, graph, screen, character ¤Î¤¤¤º¤ì¤«¤ò¤Ä¤±¤ë¤³¤È¤â¤Ç¤­ ¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: coordinates (10)¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï character ºÂɸ ·Ï¤¬»È¤ï¤ì¤Þ¤¹¡£Î㤨¤Ð¡¢"set xlabel offset -1,0" ¤Ï¸«½Ð¤·¤Î x Êý¸þ¤Î °ÌÃ֤ΤßÊѹ¹¤·¡¢Â礶¤Ã¤Ñ¤Ë¸À¤Ã¤Æ 1 ʸ»úʬ¤ÎÉý¤À¤±¸«½Ð¤·¤òº¸¤Ë¤º¤é¤·¤Þ ¤¹¡£1 ʸ»ú¤ÎÂ礭¤µ¤Ï¡¢¥Õ¥©¥ó¥È¤È½ÐÎÏ·Á¼°¤ÎξÊý¤Ë°Í¸¤·¤Þ¤¹¡£

< font> ¤Ï¸«½Ð¤·¤¬½ñ¤«¤ì¤ë¥Õ¥©¥ó¥È¤ò»ØÄꤹ¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£¥Õ¥©¥ó¥È¤Î < size> (Â礭¤µ) ¤Îñ°Ì¤Ï¡¢¤É¤ó¤Ê½ÐÎÏ·Á¼°¤ò»È¤¦¤«¤Ë°Í¸¤·¤Þ¤¹¡£

noenhanced ¤Ï¡¢³Èĥʸ»úÎó½èÍý (enhanced text) ¥â¡¼¥É¤¬Í­¸ú¤Ë¤Ê¤Ã¤Æ¤¤ ¤ë¾ì¹ç¤Ç¤â¡¢¥é¥Ù¥ëʸ»úÎó¤ò³Èĥʸ»úÎó½èÍý¤µ¤»¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤¹¡£

¸«½Ð¤·¤ò¾Ãµî¤¹¤ë¤Ë¤Ï¡¢¥ª¥×¥·¥ç¥ó¤ò¤Ä¤±¤º¤Ë¼Â¹Ô¤·¤Þ¤¹¡£Îã: "set y2label"

¼´¤Î¸«½Ð¤·¤Î¥Ç¥Õ¥©¥ë¥È¤Î°ÌÃ֤ϰʲ¼¤ÎÄ̤ê¤Ç¤¹:

xlabel: x ¼´¤Î¸«½Ð¤·¤Ï¥°¥é¥Õ¤Î²¼¤Î¿¿Ãæ

ylabel: y ¼´¤Î¸«½Ð¤·¤Ï¥°¥é¥Õ¤Îº¸¤Î¿¿Ãæ¤Ç¡¢¿åÊ¿Êý¸þ¤Ë½ñ¤«¤ì¤ë¤«¿âľÊý¸þ ¤Ë¤Ê¤ë¤«¤Ï½ÐÎÏ·Á¼°°Í¸

zlabel: z ¼´¤Î¸«½Ð¤·¤Ï¼´¤Îɽ¼¨ÈϰϤè¤ê¾å¤Ç¡¢¸«½Ð¤·¤Î¿¿Ã椬 z ¼´¤Î¿¿¾å

cblabel: ¿§¸«ËÜ (color box) ¤Î¼´¤Î¸«½Ð¤·¤ÏÈ¢¤Ë±è¤Ã¤ÆÃæ±û·¤¨¤µ¤ì¡¢È¢¤Î ¸þ¤­¤¬¿åÊ¿¤Ê¤é²¼¤Ë¡¢¿âľ¤Ê¤é±¦¤Ë

y2label: y2 ¼´¤Î¸«½Ð¤·¤Ï y2 ¼´¤Î±¦¡£¤½¤Î°ÌÃ֤ϡ¢½ÐÎÏ·Á¼°°Í¸¤Ç y ¼´¤È ƱÍͤε¬Â§¤Ç·èÄê¡£

x2label: x2 ¼´¤Î¸«½Ð¤·¤Ï¥°¥é¥Õ¤Î¾å¤Ç¡¢¥¿¥¤¥È¥ë¤è¤ê¤Ï²¼¡£¤³¤ì¤Ï¡¢ ²þ¹Ô ʸ»ú¤ò»È¤¨¤Ð¡¢¤½¤ì¤Ë¤è¤ëÊ£¿ô¤Î¹Ô¤«¤é¤Ê¤ëÉÁ²è¥¿¥¤¥È¥ë¤Ç x2 ¼´¤Î¸«½Ð¤·¤ò À¸À®¤¹¤ë¤³¤È¤â²Äǽ¡£Îã:


     set title "This is the title\n\nThis is the x2label"

¤³¤ì¤ÏÆó½Å°úÍÑÉä¤ò»È¤¦¤Ù¤­¤Ç¤¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤Î¾ì¹ç¡¢¤â¤Á ¤í¤ó 2 ¤Ä¤Î¹Ô¤ÇƱ¤¸¥Õ¥©¥ó¥È¤¬»È¤ï¤ì¤Þ¤¹¡£

2 ¼¡¸µÉÁ²è¤Î¾ì¹ç¤Î x, x2, y, y2 ¼´¤Î¥é¥Ù¥ë¤ÎÊý¸þ (²óž³Ñ) ¤Ï¡¢ rotate by < ³ÑÅÙ> ¤ò»ØÄꤹ¤ë¤³¤È¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£3 ¼¡¸µÉÁ²è¤Î x, y ¼´ ¤Î¥é¥Ù¥ë¤ÎÊý¸þ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¿åÊ¿Êý¸þ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢ rotate parallel ¤ò»ØÄꤹ¤ë¤³¤È¤Ç¼´¤ËÊ¿¹Ô¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¤â¤·¼´¤Î°ÌÃ֤Υǥե©¥ë¥È¤Î°ÌÃÖ¤¬µ¤¤ËÆþ¤é¤Ê¤¤¤Ê¤é¤Ð¡¢Âå¤ï¤ê¤Ë set label ¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£¤³¤Î¥³¥Þ¥ó¥É¤Ïʸ»úÎó¤ò¤É¤³¤ËÇÛÃÖ¤¹¤ë¤«¤ò¤â¤Ã¤È¼«Í³¤Ë À©¸æ¤Ç¤­¤Þ¤¹¡£

¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥åʸ»úÎó¤ÎºîÍÑ¡¢µÚ¤Óʸ»úÎó¤ò°Ï¤àñ°ì°úÍÑÉä¤ÈÆó½Å°úÍÑÉä¤Î °ã¤¤¤Ë´Ø¤¹¤ë¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: syntax (24)¡£

82.94 Xmtics

¥³¥Þ¥ó¥É set xmtics ¤Ï x ¼´¤ÎÌÜÀ¹¤ê¤Î¸«½Ð¤·¤ò·î¤ËÊÑ´¹¤·¤Þ¤¹¡£1=Jan (1 ·î)¡¢12=Dec (12 ·î) ¤È¤Ê¤ê¤Þ¤¹¡£12 ¤ò±Û¤¨¤¿¿ô»ú¤Ï¡¢12 ¤Ç³ä¤Ã¤¿¤¢¤Þ¤ê¤Î ·î¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£unset xmtics ¤ÇÌÜÀ¹¤ê¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¸«½Ð¤·¤ËÌá¤ê¤Þ¤¹¡£ ¾¤Î¼´¤ËÂФ·¤Æ¤âƱ¤¸Ìò³ä¤ò¤¹¤ëƱÍͤΥ³¥Þ¥ó¥É¤¬ÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

½ñ¼°:

     set xmtics
     unset xmtics
     show xmtics

x2mtics, ymtics, y2mtics, zmtics, cbmtics ¤Ë¤âƱ¤¸½ñ¼°¤¬Å¬ÍÑ ¤µ¤ì¤Þ¤¹¡£

°Ê²¼¤â»²¾È: ¥³¥Þ¥ó¥É set format (82.23)¡£

82.95 Xrange

¥³¥Þ¥ó¥É set xrange ¤Ïɽ¼¨¤µ¤ì¤ë¿åÊ¿Êý¸þ¤ÎÈϰϤò»ØÄꤷ¤Þ¤¹¡£Â¾¤Î¼´ ¤Ë¤âƱÍͤΥ³¥Þ¥ó¥É¤¬Â¸ºß¤·¤Þ¤¹¤·¡¢¶ËºÂɸ¤Ç¤ÎÆ°·Â r, ÇÞ²ðÊÑ¿ô t, u, v ¤Ë¤â¸ºß¤·¤Þ¤¹¡£

½ñ¼°:

     set xrange { [{{<min>}:{<max>}}] {{no}reverse} {{no}writeback} }
                | restore
     show xrange

¤³¤³¤Ç < min> ¤È < max> ¤Ë¤ÏÄê¿ô¡¢¿ô¼°¡¢¤Þ¤¿¤Ï '*' ¤Ç¡¢'*' ¤Ï¼«Æ°½Ì¼Üµ¡ ǽ¤ò°ÕÌ£¤·¤Þ¤¹¡£¼«Æ°½Ì¼Üµ¡Ç½¤Ë´Ø¤¹¤ë¾ÜºÙ¤Ï²¼¤Ë½Ò¤Ù¤Þ¤¹¡£Æü»þ¥Ç¡¼¥¿¤Î¾ì ¹ç¡¢ÈÏ°Ï¤Ï set timefmt ¤Î½ñ¼°¤Ë½¾¤Ã¤¿Ê¸»úÎó¤ò°úÍÑÉä¤Ç°Ï¤àɬÍפ¬¤¢¤ê ¤Þ¤¹¡£¾Êά¤µ¤ì¤¿ÃͤÏÊѹ¹¤µ¤ì¤Þ¤»¤ó¡£

yrange, zrange, x2range, y2range, cbrange, rrange, trange, urange, vrange ¤ÏƱ¤¸½ñ¼°¤ò»ÈÍѤ·¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó reverse ¤Ï¼´¤ÎÊý¸þ¤òµÕ¤Ë¤·¤Þ¤¹¡£Î㤨¤Ð set xrange [0:1] reverse ¤Ï¡¢1 ¤¬º¸¡¢0 ¤¬±¦¤Ç¤¢¤ë¤è¤¦¤Ê¼´¤Ë¤·¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢¤â¤Á¤í¤ó set xrange [1:0] ¤ÈƱ¤¸¤Ç¤¹¤¬¡¢reverse ¤Ï¼ç¤Ë¼«Æ° ½Ì¼Ü (autoscale) ¤ÇÍѤ¤¤é¤ì¤ë¤³¤È¤ò°Õ¿Þ¤·¤Æ¤¤¤Þ¤¹¡£

¼«Æ°½Ì¼Üµ¡Ç½: < min> (ƱÍͤΤ³¤È¤¬ < max> ¤Ë¤âŬÍѤµ¤ì¤Þ¤¹) ¤¬¥¢¥¹¥¿¥ê¥¹ ¥¯ "*" ¤Î¾ì¹ç¤Ï¼«Æ°½Ì¼Üµ¡Ç½¤¬¥ª¥ó¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤Î¾ì¹ç¤Î¤½¤ÎÃͤˡ¢²¼¸Â < lb> ¡¢¤Þ¤¿¤Ï¾å¸Â < ub> ¡¢¤Þ¤¿¤Ï¤½¤ÎξÊý¤ÎÀ©¸Â¤òÍ¿¤¨¤é¤ì¤Þ¤¹¡£½ñ¼°¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£

     { <lb> < } * { < <ub> }

Î㤨¤Ð
     0 < * < 200

¤Ï < lb> = 0, < ub> = 200 ¤È¤Ê¤ê¤Þ¤¹¡£¤½¤Î¤è¤¦¤ÊÀßÄê¤Ç¤Ï¡¢< min> ¤Ï¼«Æ°½Ì ¼Ü¤µ¤ì¤Þ¤¹¤¬¡¢¤½¤ÎºÇ½ªÅª¤ÊÃÍ¤Ï 0 ¤«¤é 200 ¤Î´Ö¤Ë¤Ê¤ê¤Þ¤¹ (µ­¹æ¤Ï '< ' ¤Ç¤¹¤¬Î¾Ã¼¤ÎÃͤâ´Þ¤ß¤Þ¤¹)¡£²¼¸Â¤«¾å¸Â¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¤Ï¡¢¤½¤Î '< ' ¤â¾Ê ά¤Ç¤­¤Þ¤¹¡£< ub> ¤¬ < lb> ¤è¤ê¾®¤µ¤¤¾ì¹ç¤Ï¡¢À©¸Â¤Ï¥ª¥Õ¤Ë¤Ê¤ê¡¢´°Á´¤Ê¼« Æ°½Ì¼Ü¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤³¤Îµ¡Ç½¤Ï¡¢¼«Æ°½Ì¼Ü¤À¤±¤ì¤É¤âÈϰϤËÀ©¸Â¤¬¤¢¤ë¬Äê¥Ç¡¼¥¿¤ÎÉÁ²è¤ä¡¢³°¤ì ÃͤΥ¯¥ê¥Ã¥Ô¥ó¥°¡¢¤Þ¤¿¤Ï¥Ç¡¼¥¿¤¬¤½¤ì¤Û¤É¤ÎÈϰϤòɬÍפȤ·¤Æ¤¤¤Ê¤¯¤Æ¤âºÇ ¾®¤ÎÉÁ²èÈϰϤòÊݾڤ¹¤ë¤Î¤ËÍ­ÍѤǤ·¤ç¤¦¡£

¥ª¥×¥·¥ç¥ó writeback ¤Ï¡¢set xrange ¤ÇÀê¤á¤é¤ì¤Æ¤¤¤ë¥Ð¥Ã¥Õ¥¡¤ÎÃæ¤Ë ¼«Æ°½Ì¼Üµ¡Ç½¤Ë¤è¤êºî¤é¤ì¤¿ÈϰϤòÊݸ¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢¤¤¤¯¤Ä¤«¤Î´Ø¿ô¤òƱ »þ¤Ëɽ¼¨¤·¡¢¤·¤«¤·¤½¤ÎÈϰϤϤ½¤Î¤¦¤Á¤Î¤¤¤¯¤Ä¤«¤Î¤â¤Î¤«¤é·èÄꤵ¤»¤¿¤¤¾ì ¹ç¤ËÊØÍø¤Ç¤¹¡£writeback ¤ÎºîÍѤϡ¢plot ¤Î¼Â¹ÔÃæ¤Ëµ¡Ç½¤¹¤ë¤Î¤Ç¡¢¤½¤Î ¥³¥Þ¥ó¥É¤ÎÁ°¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ºÇ¸å¤ËÊݸ¤·¤¿¿åÊ¿Êý¸þ¤ÎÈÏ°Ï¤Ï set xrange restore ¤ÇÉü¸µ¤Ç¤­¤Þ¤¹¡£Îã¤ò¾å¤²¤Þ¤¹¡£


     set xrange [-10:10]
     set yrange [] writeback
     plot sin(x)
     set yrange restore
     replot x/2

¤³¤Î¾ì¹ç¡¢y ¤ÎÈÏ°Ï (yrange) ¤Ï sin(x) ¤ÎÃÍ°è¤È¤·¤Æºî¤é¤ì¤¿ [-1:1] ¤ÎÊý ¤Ë¤Ê¤ê¡¢x/2 ¤ÎÃÍ°è [-5:5] ¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£¾åµ­¤Î¤½¤ì¤¾¤ì¤Î¥³¥Þ¥ó¥É¤Î¸å ¤Ë show yrange ¤ò¼Â¹Ô¤¹¤ì¤Ð¡¢¾å¤Ç²¿¤¬¹Ô¤Ê¤ï¤ì¤Æ¤¤¤ë¤«¤òÍý²ò¤¹¤ë½õ¤± ¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£

2 ¼¡¸µÉÁ²è¤Ë¤ª¤¤¤Æ¡¢xrange ¤È yrange ¤Ï¼´¤ÎÈϰϤò·èÄꤷ¡¢trange ¤Ï¡¢ÇÞ²ðÊÑ¿ô¥â¡¼¥É¤ÎÇÞ²ðÊÑ¿ô¤ÎÈÏ°Ï¡¢¤¢¤ë¤¤¤Ï¶ËºÂɸ¥â¡¼¥É¤Î³ÑÅÙ¤ÎÈϰϤò ·èÄꤷ¤Þ¤¹¡£Æ±ÍÍ¤Ë 3 ¼¡¸µÇÞ²ðÊÑ¿ô¥â¡¼¥É¤Ç¤Ï¡¢xrange, yrange, zrange ¤¬¼´¤ÎÈϰϤò´ÉÍý¤·¡¢urange ¤È yrange ¤¬ÇÞ²ðÊÑ¿ô¤ÎÈϰϤò´ÉÍý¤·¤Þ¤¹¡£

¶ËºÂɸ¥â¡¼¥É¤Ç¤Ï¡¢rrange ¤ÏÉÁ²è¤µ¤ì¤ëÆ°·Â¤ÎÈϰϤò·èÄꤷ¤Þ¤¹¡£< rmin> ¤ÏÆ°·Â¤Ø¤ÎÄɲäÎÄê¿ô¤È¤·¤ÆºîÍѤ·¡¢°ìÊý < rmax> ¤ÏÆ°·Â¤òÀÚ¤ê¼Î¤Æ¤ë (clip) ¤è¤¦¤ËºîÍѤ·¡¢< rmax> ¤ò±Û¤¨¤¿Æ°·Â¤ËÂФ¹¤ëÅÀ¤ÏÉÁ²è¤µ¤ì¤Þ¤»¤ó¡£xrange ¤È yrange ¤Ï±Æ¶Á¤µ¤ì¤Þ¤¹¡£¤³¤ì¤é¤ÎÈϰϤϡ¢¥°¥é¥Õ¤¬ r(t)-rmin ¤Î¥°¥é ¥Õ¤Ç¡¢ÌÜÀ¹¤ê¤Î¸«½Ð¤·¤Ë¤Ï¤½¤ì¤¾¤ì rmin ¤ò²Ã¤¨¤¿¤è¤¦¤Ê¤â¤Î¤Ç¤¢¤ë¤«¤Î¤è¤¦ ¤Ë¥»¥Ã¥È¤µ¤ì¤Þ¤¹¡£

Á´¤Æ¤ÎÈϰϤÏÉôʬŪ¤Ë¡¢¤Þ¤¿¤ÏÁ´ÂÎŪ¤Ë¼«Æ°½Ì¼Ü¤µ¤ì¤Þ¤¹¤¬¡¢¥Ç¡¼¥¿¤ÎÉÁ²è¤Ç ¤Ê¤±¤ì¤Ð¡¢¥Ñ¥é¥á¡¼¥¿ÊÑ¿ô¤Î¼«Æ°½Ì¼Üµ¡Ç½¤Ï°ÕÌ£¤¬¤Ê¤¤¤Ç¤·¤ç¤¦¡£

ÈÏ°Ï¤Ï plot ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¾å¤Ç¤â»ØÄê¤Ç¤­¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¾å¤ÇÍ¿ ¤¨¤é¤ì¤¿ÈϰϤÏñ¤Ë¤½¤Î plot ¥³¥Þ¥ó¥É¤Ç¤À¤±»È¤ï¤ì¡¢set ¥³¥Þ¥ó¥É¤ÇÀß Äꤵ¤ì¤¿ÈϰϤϤ½¤Î¸å¤ÎÉÁ²è¤Ç¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÇÈϰϤò»ØÄꤷ¤Æ¤¤¤Ê¤¤¤â¤Î Á´¤Æ¤Ç»È¤ï¤ì¤Þ¤¹¡£¤³¤ì¤Ï splot ¤âƱ¤¸¤Ç¤¹¡£

Îã:

x ¤ÎÈϰϤò¥Ç¥Õ¥©¥ë¥È¤ÎÃͤˤ·¤Þ¤¹:

     set xrange [-10:10]

y ¤ÎÈϰϤ¬²¼Êý¤ØÁý²Ã¤¹¤ë¤è¤¦¤Ë¤·¤Þ¤¹:

     set yrange [10:-10]

z ¤ÎºÇ¾®ÃͤˤϱƶÁ¤òÍ¿¤¨¤º¤Ë (¼«Æ°½Ì¼Ü¤µ¤ì¤¿¤Þ¤Þ)¡¢ºÇÂçÃÍ¤Î¤ß 10 ¤ËÀß Äꤷ¤Þ¤¹:

     set zrange [:10]

x ¤ÎºÇ¾®Ãͤϼ«Æ°½Ì¼Ü¤È¤·¡¢ºÇÂçÃͤÏÊѹ¹¤·¤Þ¤»¤ó:

     set xrange [*:]

x ¤ÎºÇ¾®Ãͤò¼«Æ°½Ì¼Ü¤È¤·¤Þ¤¹¤¬¡¢¤½¤ÎºÇ¾®ÃÍ¤Ï 0 °Ê¾å¤Ë¤·¤Þ¤¹¡£

     set xrange [0<*:]

x ¤ÎÈϰϤò¼«Æ°½Ì¼Ü¤È¤·¤Þ¤¹¤¬¡¢¾®¤µ¤¯¤Æ¤â 10 ¤«¤é 50 ¤ÎÈϰϤòÊÝ»ý¤·¤Þ¤¹ (¼ÂºÝ¤Ï¤½¤ì¤è¤êÂ礭¤¯¤Ê¤ë¤Ç¤·¤ç¤¦):

     set xrange [*<10:50<*]

¼«Æ°½Ì¼Ü¤ÇºÇÂçÈϰϤò -1000 ¤«¤é 1000¡¢¤¹¤Ê¤ï¤Á [-1000:1000] Æâ¤Ç¼«Æ°½Ì ¼Ü¤·¤Þ¤¹:

     set xrange [-1000<*:*<1000]

x ¤ÎºÇ¾®Ãͤò -200 ¤«¤é 100 ¤Î´Ö¤Î¤É¤³¤«¤Ë¤·¤Þ¤¹:

     set xrange [-200<*<100:]

82.96 Xtics

x ¼´¤Î (¸«½Ð¤·¤Î¤Ä¤¯) ÂçÌÜÀ¹¤ê¤Ï ¥³¥Þ¥ó¥É set xtics ¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¡£ ÌÜÀ¹¤ê¤Ï unset xtics ¤Ç¾Ã¤¨¡¢set xtics ¤Ç (¥Ç¥Õ¥©¥ë¥È¤Î¾õÂÖ¤Î) ÌÜ À¹¤ê¤¬¤Ä¤­¤Þ¤¹¡£y,z,x2,y2 ¼´¤ÎÂçÌÜÀ¹¤ê¤ÎÀ©¸æ¤ò¹Ô¤Ê¤¦Æ±ÍͤΥ³¥Þ¥ó¥É¤¬¤¢ ¤ê¤Þ¤¹¡£

½ñ¼°:

     set xtics {axis | border} {{no}mirror}
               {in | out} {scale {default | <major> {,<minor>}}}
               {{no}rotate {by <ang>}} {offset <offset> | nooffset}
               {left | right | center | autojustify}
               {add}
               {  autofreq
                | <incr>
                | <start>, <incr> {,<end>}
                | ({"<label>"} <pos> {<level>} {,{"<label>"}...) }
               { format "formatstring" } { font "name{,<size>}" }
               { rangelimited }
               { textcolor <colorspec> }
     unset xtics
     show xtics

Ʊ¤¸½ñ¼°¤¬ ytics, ztics, x2tics, y2tics, cbtics ¤Ë¤âŬÍѤµ¤ì ¤Þ¤¹¡£

axis ¤È border ¤Ï gnuplot ¤ËÌÜÀ¹¤ê (ÌÜÀ¹¤ê¤Î¹ï¼«¿È¤È¤½¤Î¸«½Ð¤·) ¤ò¡¢¤½¤ì¤¾¤ì¼´¤Ë¤Ä¤±¤ë¤Î¤«¡¢¶­³¦¤Ë¤Ä¤±¤ë¤Î¤«¤ò»Ø¼¨¤·¤Þ¤¹¡£¼´¤¬¶­³¦¤Ë¤È ¤Æ¤â¶á¤¤¾ì¹ç¡¢axis ¤ò»ÈÍѤ¹¤ë¤ÈÌÜÀ¹¤ê¤Î¸«½Ð¤·Ê¸»ú¤ò¶­³¦¤Î³°¤Ë½Ð¤·¤Æ ¤·¤Þ¤¦¤Ç¤·¤ç¤¦¡£¤³¤Î¾ì¹ç¼«Æ°Åª¤Ê¥ì¥¤¥¢¥¦¥È¥¢¥ë¥´¥ê¥º¥à¤Ë¤è¤ë;ÇòÀßÄê¤Ï ÂçÄñ¤è¤¯¤Ê¤¤¤â¤Î¤È¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£

mirror ¤Ï gnuplot ¤ËÈ¿ÂЦ¤Î¶­³¦¤ÎƱ¤¸°ÌÃ֤ˡ¢¸«½Ð¤·¤Î¤Ê¤¤ÌÜÀ¹¤ê¤ò ½ÐÎϤ¹¤ë¤è¤¦»Ø¼¨¤·¤Þ¤¹¡£nomirror ¤Ï¡¢¤¢¤Ê¤¿¤¬ÁÛÁü¤·¤Æ¤¤¤ëÄ̤ê¤Î¤³¤È ¤ò¹Ô¤Ê¤¤¤Þ¤¹¡£

in ¤È out ¤ÏÌÜÀ¹¤ê¤Î¹ï¤ß¤òÆ⦤ËÉÁ¤¯¤«³°Â¦¤ËÉÁ¤¯¤«¤òÀÚ¤êÊѤ¨¤Þ¤¹¡£

ÌÜÀ¹¤ê¤Î¹ï¤ß¤Î¥µ¥¤¥º¤Ï scale ¤ÇÄ´À°¤Ç¤­¤Þ¤¹¡£< minor> ¤Î»ØÄ꤬¾Êά¤µ ¤ì¤¿¾ì¹ç¤Ï¡¢¤½¤ì¤Ï 0.5*< major> ¤Ë¤Ê¤ê¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥µ¥¤¥º¤Ï¡¢ÂçÌÜ À¹¤ê¤¬ 1.0 ¤Ç¾®ÌÜÀ¹¤ê¤¬ 0.5 ¤Ç¡¢¤³¤ì¤Ï scale default ¤Ç¸Æ¤Ó¤À¤»¤Þ¤¹¡£

rotate ¤Ï¡¢Ê¸»úÎó¤ò 90 Åٲ󞤵¤»¤Æ½ÐÎϤµ¤»¤è¤¦¤È¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢Ê¸ »úÎó¤Î²óž¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë½ÐÎϥɥ饤¥Ð (terminal) ¤Ç¤Ï¼Â¹Ô¤µ¤ì¤Þ¤¹¡£ norotate ¤Ï¤³¤ì¤ò¥­¥ã¥ó¥»¥ë¤·¤Þ¤¹¡£rotate by < ang> ¤Ï³ÑÅÙ < ang> ¤Î ²óž¤ò¹Ô¤Ê¤¤¤Þ¤¹¤¬¡¢¤³¤ì¤Ï¤¤¤¯¤Ä¤«¤Î½ÐÎÏ·Á¼° (terminal) ¤Ç¥µ¥Ý¡¼¥È¤µ¤ì ¤Æ¤¤¤Þ¤¹¡£

x ¤È y ¼´¤ÎÂçÌÜÀ¹¤ê¤Î¥Ç¥Õ¥©¥ë¥È¤Ï border mirror norotate ¤Ç¡¢x2, y2 ¼´¤Ï border nomirror norotate ¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¹¡£z ¼´¤Ë¤Ï¡¢ {axis | border} ¥ª¥×¥·¥ç¥ó¤Ï̵¸ú¤Ç¡¢¥Ç¥Õ¥©¥ë¥È¤Ï nomirror ¤Ç¤¹¡£z ¼´¤ÎÌÜÀ¹¤ê¤ò¥ß¥é¡¼²½¤·¤¿¤¤¤Ê¤é¡¢Â¿Ê¬ set border ¤Ç¤½¤Î¤¿¤á¤Î¶õ´Ö¤ò¤¢ ¤±¤ëɬÍפ¬¤¢¤ë¤Ç¤·¤ç¤¦¡£

< offset> ¤Ï x,y ¤«¤Þ¤¿¤Ï x,y,z ¤Î·Á¼°¤Ç»ØÄꤷ¤Þ¤¹¤¬¡¢¤½¤ì¤ËºÂɸ·Ï¤òÁª Âò¤·¤Æ¡¢¤½¤ÎÁ°¤Ë first, second, graph, screen, character ¤Î ¤¤¤º¤ì¤«¤ò¤Ä¤±¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£< offset> ¤Ï¹ï¤ßʸ»ú¤Î¥Ç¥Õ¥©¥ë¥È¤Î°ÌÃÖ ¤«¤é¤Î¤º¤ì¤òɽ¤·¡¢¥Ç¥Õ¥©¥ë¥È¤ÎºÂɸ·Ï¤Ï character ¤Ç¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: coordinates (10)¡£nooffset ¤Ï¤º¤é¤·¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£

Îã:

xtics ¤ò¤è¤êÉÁ²è¤Ë¶á¤Å¤±¤ë:

     set xtics offset 0,graph 0.05

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¸«½Ð¤·¥é¥Ù¥ë¤Ï¡¢Èþ¤·¤¤·ë²Ì¤òÀ¸¤à¤è¤¦¤Ë¡¢¼´¤È²óž³Ñ¤Ë°Í¸ ¤·¤¿°ÌÃ֤˼«Æ°Åª¤Ë°ÌÃÖ¹ç¤ï¤»¤µ¤ì¤Þ¤¹¡£¤½¤ì¤¬µ¤¤Ë¤¤¤é¤Ê¤±¤ì¤Ð¡¢ÌÀ¼¨Åª¤Ë left, right, center ¤Î¥­¡¼¥ï¡¼¥É¤Ë¤è¤ê°ÌÃÖ¹ç¤ï¤»¤òÊѹ¹¤Ç¤­¤Þ¤¹¡£ autojustify ¤Ç¥Ç¥Õ¥©¥ë¥È¤ÎµóÆ°¤ËÉüµ¢¤·¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó¤Ê¤·¤Ç set xtics ¤ò¼Â¹Ô¤¹¤ë¤È¡¢ÌÜÀ¹¤ê¤¬É½¼¨¤µ¤ì¤ë¾õÂ֤Ǥ¢ ¤ì¤Ð¡¢¤½¤ì¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¶­³¦¡¢¤Þ¤¿¤Ï¼´¤òÉü¸µ¤·¡¢¤½¤¦¤Ç¤Ê¤±¤ì¤Ð²¿¤â¤·¤Þ ¤»¤ó¡£¤½¤ÎÁ°¤Ë»ØÄꤷ¤¿ÌÜÀ¹¤ê¤Î´Ö³Ö¡¢°ÌÃÖ (¤È¸«½Ð¤·) ¤ÏÊÝ»ý¤µ¤ì¤Þ¤¹¡£

ÌÜÀ¹¤ê¤Î°ÌÃ֤ϡ¢¥Ç¥Õ¥©¥ë¥È¡¢¤Þ¤¿¤Ï¥ª¥×¥·¥ç¥ó autofreq ¤¬»ØÄꤵ¤ì¤Æ¤¤ ¤ì¤Ð¼«Æ°Åª¤Ë·×»»¤µ¤ì¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¢¼¡¤Î 2 ¤Ä¤Î·Á¼°¤Ç»ØÄꤵ¤ì¤Þ ¤¹:

°Å¼¨Åª¤Ê < start> , < incr> , < end> ·Á¼°¤Ï¡¢ÌÜÀ¹¤ê¤ÎÎó¤ò < start> ¤«¤é < end> ¤Î´Ö¤ò < incr> ¤Î´Ö³Ö¤Çɽ¼¨¤·¤Þ¤¹¡£< end> ¤ò»ØÄꤷ¤Ê¤±¤ì¤Ð¡¢¤½¤ì¤Ï̵¸ÂÂç ¤È¤ß¤Ê¤µ¤ì¤Þ¤¹¡£< incr> ¤ÏÉé¤ÎÃͤâ²Äǽ¤Ç¤¹¡£< start> ¤È < end> ¤ÎξÊý¤¬»Ø Äꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢< start> ¤Ï -¡ç¡¢< end> ¤Ï +¡ç¤È¤ß¤Ê¤µ¤ì¡¢ÌÜÀ¹¤ê¤Ï < incr> ¤ÎÀ°¿ôÇܤΰÌÃÖ¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£¼´¤¬Âпô¼´¤Î¾ì¹ç¡¢ÌÜÀ¹¤ê¤Î´Ö³Ö (Áýʬ) ¤Ï¡¢ÇÜ¿ô¤È¤·¤Æ»ÈÍѤµ¤ì¤Þ¤¹¡£

Éé¤Î < start> ¤ä < incr> ¤ò¡¢¿ôÃͤθå¤í¤Ë»ØÄꤹ¤ë¤È (Î㤨¤Ð rotate by < angle> ¤È¤« offset < offset> ¤Î¸å¤í)¡¢gnuplot ¤Î¹½Ê¸²òÀÏ ´ï¤Ï¡¢¤½¤ÎÃͤ«¤é¤½¤ÎÉé¤Î < start> ¤ä < incr> ¤ÎÃͤΰú¤­»»¤ò¹Ô¤ª¤¦¤È¤¹¤ë ´Ö°ã¤¤¤òÈȤ·¤Þ¤¹¡£¤³¤ì¤ò²óÈò¤¹¤ë¤Ë¤Ï¡¢¤½¤Î¤è¤¦¤Ê¾ì¹ç¤Ï¡¢0-< start> ¤ä 0-< incr> ¤Î¤è¤¦¤Ë»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£

Îã:

     set xtics border offset 0,0.5 -5,1,5

ºÇ¸å¤Î ',' ¤Î¤È¤³¤í¤Ç¼ºÇÔ¤·¤Þ¤¹¡£
     set xtics border offset 0,0.5 0-5,1,5

¤«
     set xtics offset 0,0.5 border -5,1,5

¤Ê¤é¤Ð¡¢¤Á¤ã¤ó¤È»Ø¼¨Ä̤ê¤Ë¡¢ÌÜÀ¹¤ê¤ò¶­³¦¤Ë¡¢ÌÜÀ¹¤ê¸«½Ð¤·Ê¸»úÎó¤ò 0,0.5 ʸ»úʬ¤À¤±¤º¤é¤·¤Æ¡¢start, increment, end ¤ò¤½¤ì¤¾¤ì -5,1,5 ¤ËÀßÄꤷ¤Þ ¤¹¡£

set grid ¤Î¥ª¥×¥·¥ç¥ó 'front', 'back', 'layerdefault' ¤â¡¢x ¼´¤ÎÌÜÀ¹ ¤ê¤ÎÉÁ²è¤Î½ç½ø¤Ë±Æ¶Á¤·¤Þ¤¹¡£

Îã:

ÌÜÀ¹¤ê¤ò 0, 0.5, 1, 1.5, ..., 9.5, 10 ¤Î°ÌÃÖ¤ËÀ¸À®

     set xtics 0,.5,10

ÌÜÀ¹¤ê¤ò ..., -10, -5, 0, 5, 10, ... ¤ËÀ¸À®

     set xtics 5

ÌÜÀ¹¤ê¤ò 1, 100, 1e4, 1e6, 1e8 ¤ËÀ¸À®

     set logscale x; set xtics 1,100,1e8

ÌÀ¼¨Åª¤Ê ("< label> " < pos> < level> , ...) ¤Î·Á¼°¤Ï¡¢Ç¤°Õ¤ÎÌÜÀ¹¤ê¤Î°ÌÃÖ¡¢ ¤¢¤ë¤¤¤Ï¿ô»ú¤Ç¤Ê¤¤¸«½Ð¤·¤ÎÀ¸À®¤â²Äǽ¤Ë¤·¤Þ¤¹¡£¤³¤Î·Á¼°¤Ç¤Ï¡¢ÌÜÀ¹¤ê¤Ï°Ì Ã֤οô»ú¤Î½ç¤ËÍ¿¤¨¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£³ÆÌÜÀ¹¤ê¤Ï°ÌÃÖ (pos) ¤È¸«½Ð¤· (label) ¤ò»ý¤Á¤Þ¤¹¤¬¡¢¸«½Ð¤·¤Ïɬ¿Ü¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£¸«½Ð¤·¤ÏÆó½Å°úÍÑÉä¤Ç °Ï¤Þ¤ì¤¿Ê¸»úÎó¤Ç¤¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£¤½¤ì¤Ï¡¢"hello" ¤Î¤è¤¦¤Ê¸Ç Äêʸ»úÎó¤Ç¤â¹½¤¤¤Þ¤»¤ó¤·¡¢"%3f clients" ¤Î¤è¤¦¤Ë¤½¤Î°ÌÃÖ¤ò¿ô»ú¤ËÊÑ´¹¤¹ ¤ë½ñ¼°Ê¸»úÎó¤ò´Þ¤ó¤Ç¤â¹½¤¤¤Þ¤»¤ó¤·¡¢¶õʸ»úÎó "" ¤Ç¤â¹½¤¤¤Þ¤»¤ó¡£¤è¤ê¾Ü ¤·¤¤¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: set format (82.23)¡£¤â¤·¡¢Ê¸»úÎó¤¬Í¿¤¨¤é¤ì¤Ê¤± ¤ì¤Ð¡¢¥Ç¥Õ¥©¥ë¥È¤Î¿ô»ú¤Î¸«½Ð¤·¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£

ÌÀ¼¨Åª¤Ê·Á¼°¤Ç¤Ï 3 ¤ÄÌܤΥѥé¥á¡¼¥¿¤È¤·¤Æ "¥ì¥Ù¥ë" (level) ¤òÍ¿¤¨¤ë¤³ ¤È¤¬¤Ç¤­¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥ì¥Ù¥ë¤Ï 0 ¤Ç¡¢¤³¤ì¤ÏÂçÌÜÀ¹¤ê¤ò°ÕÌ£¤·¡¢¥ì¥Ù ¥ë¤¬ 1 ¤Î¾ì¹ç¾®ÌÜÀ¹¤ê¤¬À¸À®¤µ¤ì¤Þ¤¹¡£¥ì¥Ù¥ë¤ò»ØÄꤹ¤ë¾ì¹ç¤Ï¥é¥Ù¥ë¤âɬ ¤º»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

Îã:

     set xtics ("low" 0, "medium" 50, "high" 100)
     set xtics (1,2,4,8,16,32,64,128,256,512,1024)
     set ytics ("bottom" 0, "" 10, "top" 20)
     set ytics ("bottom" 0, "" 10 1, "top" 20)

2 ÈÖÌܤÎÎã¤Ç¤Ï¡¢Á´¤Æ¤ÎÌÜÀ¹¤ê¤¬¸«½Ð¤·ÉÕ¤±¤µ¤ì¤Þ¤¹¡£3 ÈÖÌܤÎÎã¤Ç¤Ï¡¢Ã¼¤Î ¤â¤Î¤À¤±¤¬¸«½Ð¤·ÉÕ¤±¤µ¤ì¤Þ¤¹¡£4 ÈÖÌܤÎÎã¤Î¡¢¸«½Ð¤·¤Î¤Ê¤¤ÌÜÀ¹¤ê¤Ï¾®ÌÜÀ¹ ¤ê¤Ë¤Ê¤ê¤Þ¤¹¡£

Ä̾ïÌÀ¼¨Åª¤Ê (¼êÆ°¤Î) ÌÜÀ¹¤ê°ÌÃÖ¤¬Í¿¤¨¤é¤ì¤¿¾ì¹ç¡¢¼«Æ°Åª¤ËÀ¸À®¤µ¤ì¤ëÌÜ À¹¤ê¤Ï»È¤ï¤ì¤Þ¤»¤ó¡£µÕ¤Ë¡¢set xtics auto ¤Î¤è¤¦¤Ê¤â¤Î¤¬»ØÄꤵ¤ì¤¿¾ì ¹ç¤Ï¡¢°ÊÁ°¤Ë¼êÆ°¤ÇÀßÄꤷ¤¿ÌÜÀ¹¤ê¤Ï¾Ã¤µ¤ì¤Æ¤·¤Þ¤·¤Þ¤¹¡£¤³¤Î¼êÆ°¤ÎÌÜÀ¹¤ê ¤È¼«Æ°Åª¤ÊÌÜÀ¹¤ê¤ò¶¦Â¸¤µ¤»¤ë¤Ë¤Ï¥­¡¼¥ï¡¼¥É add ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£ ¤³¤ì¤ÏÄɲ乤ëÌÜÀ¹¤ê¤Î¥¹¥¿¥¤¥ë¤ÎÁ°¤Ë½ñ¤«¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£

Îã:

     set xtics 0,.5,10
     set xtics add ("Pi" 3.14159)

¤³¤ì¤Ï¼«Æ°Åª¤ËÌÜÀ¹¤ê¤Î¹ï¤ß¤ò x ¼´¤Ë 0.5 ´Ö³Ö¤Ç¤Ä¤±¤Þ¤¹¤¬¡¢¦Ð¤Î¤È¤³¤í¤Ë ÌÀ¼¨Åª¤Ê¸«½Ð¤·¤âÄɲä·¤Þ¤¹¡£

¤·¤«¤·»ØÄꤷ¤Æ¤â¡¢É½¼¨¤µ¤ì¤ë¤Î¤Ï¤¢¤¯¤Þ¤ÇÉÁ²èÈϰϤΤâ¤Î¤À¤±¤Ç¤¹¡£

ÌÜÀ¹¤ê¤Î¸«½Ð¤·¤Î½ñ¼° (¤Þ¤¿¤Ï¾Êά) ¤Ï set format ¤ÇÀ©¸æ¤µ¤ì¤Þ¤¹¡£¤¿¤À ¤·¤½¤ì¤Ï set xtics (< label> ) ¤Î·Á¼°¤ÎÌÀ¼¨Åª¤Ê¸«½Ð¤·Ê¸»úÎó¤¬´Þ¤Þ¤ì ¤Æ¤¤¤Ê¤¤¾ì¹ç¤À¤±¤Ç¤¹¡£

(¸«½Ð¤·ÉÕ¤±¤µ¤ì¤Ê¤¤) ¾®ÌÜÀ¹¤ê¤Ï¡¢set mxtics ¥³¥Þ¥ó¥É¤Ç¼«Æ°Åª¤ËÄɲä¹ ¤ë¤«¡¢¤Þ¤¿¤Ï°ÌÃÖ¤ò¼êÆ°¤Ç set xtics ("" < pos> 1, ...) ¤Î·Á¼°¤ÇÍ¿¤¨¤ë ¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

82.96.1 Xtics time_data

»þ·ÏÎó¥Ç¡¼¥¿¤Î¾ì¹ç¡¢¼´¤ÎÌÜÀ¹¤ê°ÌÃÖ¤ÎÃÍ¤Ï timefmt ¤Î½ñ¼°¤Ë¤·¤¿¤¬¤Ã¤¿ ÆüÉÕ¡¢¤Þ¤¿¤Ï»þ¹ï¤ò°úÍÑÉä¤Ç°Ï¤ó¤ÇÍ¿¤¨¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£< start> , < incr> , < end> ·Á¼°¤ò»È¤¦¾ì¹ç¡¢< start> ¤È < end> ¤Ï timefmt ¤Ë½¾¤Ã¤ÆÍ¿ ¤¨¤Þ¤¹¤¬¡¢< incr> ¤ÏÉÃñ°Ì¤ÇÍ¿¤¨¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤Î»þ¹ï¤Ï¼ÂºÝ¤Ë¤Ï set format ¤ÇÍ¿¤¨¤¿½ñ¼°¤Ë½¾¤Ã¤Æɽ¼¨¤µ¤ì¤Þ¤¹¡£

Îã:

     set xdata time
     set timefmt "%d/%m"
     set xtics format "%b %d"
     set xrange ["01/12":"06/12"]
     set xtics "01/12", 172800, "05/12"


     set xdata time
     set timefmt "%d/%m"
     set xtics format "%b %d"
     set xrange ["01/12":"06/12"]
     set xtics ("01/12", "" "03/12", "05/12")

¤³¤ì¤é¤ÏξÊý¤È¤â "Dec 1", "Dec 3", "Dec 5", ¤ÎÌÜÀ¹¤ê¤òÀ¸À®¤·¤Þ¤¹¤¬¡¢2 ÈÖÌܤÎÎã "Dec 3" ¤ÎÌÜÀ¹¤ê¤Ï¸«½Ð¤·ÉÕ¤±¤µ¤ì¤Þ¤»¤ó¡£

82.96.2 Xtics rangelimited

¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¼«Æ°Åª¤ËÀ¸À®¤µ¤ì¤ë¼´¤ÎÌÜÀ¹¤ê¤Î¸«½Ð¤·¤È¡¢ÉÁ²è¤µ¤ì¤¿¥Ç ¡¼¥¿¤Ç¼ÂºÝ¤ËÍ¿¤¨¤é¤ì¤ëÈϰϤËÂбþ¤¹¤ëÉÁ²è¶­³¦¤ÎξÊý¤òÀ©¸Â¤·¤Þ¤¹¡£¤³¤ì¤Ï ÉÁ²è¤ËÂФ¹¤ë¸½ºß¤ÎÈÏ°ÏÀ©¸Â¤È¤Ï̵´Ø·¸¤Ç¤¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£Î㤨 ¤Ð¥Ç¡¼¥¿ "file.dat" ¤Î¥Ç¡¼¥¿¤¬¤¹¤Ù¤Æ 2 < y < 4 ¤ÎÈϰϤˤ¢¤ë¤È¤¹¤ë¤È¡¢ °Ê²¼¤Î¥³¥Þ¥ó¥É¤Ï¡¢º¸Â¦¤ÎÉÁ²è¶­³¦ (y ¼´) ¤Ï y ¤ÎÈÏ°ÏÁ´ÂÎ ([0:10]) ¤Î¤³ ¤ÎÉôʬ ([2:4]) ¤Î¤ß¤¬ÉÁ²è¤µ¤ì¡¢¤³¤ÎÈÏ°Ï ([2:4]) ¤Î¼´¤ÎÌÜÀ¹¤ê¤Î¤ß¤¬ºî¤é ¤ì¤ëÉÁ²è¤òÀ¸À®¤·¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢ÉÁ²è¤Ï y ¤ÎÈÏ°ÏÁ´ÂÎ ([0:10]) ¤Ë³ÈÂ礵¤ì ¤Þ¤¹¤¬¡¢º¸¤Î¶­³¦¤Ï 0 ¤«¤é 2 ¤Î´Ö¡¢4 ¤«¤é 10 ¤Î´Ö¤Ï¶õÇòÎΰè¤È¤Ê¤ê¤Þ¤¹¡£ ¤³¤Î¥¹¥¿¥¤¥ë¤Ï¡¢ÈÏ°ÏÏÈ ¥°¥é¥Õ (range-frame) ¤È¤â¸Æ¤Ð¤ì¤Þ¤¹¡£
     set border 3
     set yrange [0:10]
     set ytics nomirror rangelimited
     plot "file.dat"

82.97 Xyplane

set xyplane ¥³¥Þ¥ó¥É¤Ï 3D ÉÁ²è¤ÇÉÁ¤«¤ì¤ë xy Ê¿Ì̤ΰÌÃÖ¤òÄ´À°¤¹¤ë¤Î¤Ë »È¤ï¤ì¤Þ¤¹¡£¸åÊý¸ß´¹À­¤Î¤¿¤á¤Ë¡¢"set ticslevel" ¤âƱ¤¸°ÕÌ£¤Î¥³¥Þ¥ó¥É¤È ¤·¤Æ»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

½ñ¼°:

     set xyplane at <zvalue>
     set xyplane relative <frac>
     set ticslevel <frac>        # set xyplane relative ¤ÈƱÅù
     show xyplane

set xyplane relative < frac> ¤Ï¡¢xy Ê¿Ì̤ò Z ¼´¤ÎÈϰϤΤɤ³¤ËÃÖ¤¯¤«¤ò ·èÄꤷ¤Þ¤¹¡£< frac> ¤Ë¤Ï¡¢xy Ê¿ÌÌ¤È z ¤Î°ìÈÖ²¼¤Î°ÌÃ֤Ȥκ¹¤Î¡¢z ¼´¤ÎÈÏ °ÏÁ´ÂΤËÂФ¹¤ë³ä¹ç¤òÍ¿¤¨¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤ÎÃÍ¤Ï 0.5 ¤Ç¤¹¡£Éé¤ÎÃͤâµö¤µ ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢¤½¤¦¤¹¤ë¤È 3 ¤Ä¤Î¼´¤ÎÌÜÀ¹¤ê¤Î¸«½Ð¤·¤¬½Å¤Ê¤ë²ÄǽÀ­¤¬¤¢¤ê ¤Þ¤¹¡£Èó¿ä¾©¤Ç¤¹¤¬¡¢¸Å¤¤·Á¼° set ticslevel ¤â¸åÊý¸ß´¹À­¤Î¤¿¤á¤Ë»Ä¤µ ¤ì¤Æ¤¤¤Þ¤¹¡£

xy Ê¿Ì̤ò z ¼´¤Î 'pos' ¤Î°ÌÃÖ¤ËÃÖ¤¯¤Ë¤Ï¡¢ticslevel ¤ÎÃͤò (pos - zmin) / (zmin - zmax) ¤È¤·¤Æ¤¯¤À¤µ¤¤¡£¤·¤«¤·¡¢¤³¤Î°ÌÃÖ¤Ï z ¤ÎÈÏ °Ï (zrange) ¤òÊѹ¹¤·¤¿¾ì¹ç¤ÏÊѤï¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£

¤â¤¦°ì¤Ä¤Î·Á¼°¤Ç¤¢¤ë set xyplane at < zvalue> ¤Ï¡¢¸½ºß¤Î z ¤ÎÈϰϤòµ¤ ¤Ë¤¹¤ë¤³¤È¤Ê¤¯¡¢»ØÄꤷ¤¿ z ¤ÎÃͤΰÌÃÖ¤Ë xy Ê¿Ì̤ò¸ÇÄꤷ¤Þ¤¹¡£¤è¤Ã¤Æ¡¢ x,y,z ¼´¤ò¶¦Ä̤θ¶ÅÀ¤òÄ̤ë¤è¤¦¤Ë¤¹¤ë¤Ë¤Ï¡¢set xyplane at 0 ¤È¤¹¤ì¤Ð ¤¤¤¤¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

°Ê²¼¤â»²¾È: set view (82.82), set zeroaxis (82.119)¡£

82.98 Xzeroaxis

¥³¥Þ¥ó¥É set xzeroaxis ¤Ï y = 0 ¤ÎľÀþ¤òÉÁ¤­¤Þ¤¹¡£¾ÜºÙ¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È: set zeroaxis (82.119)¡£

82.99 Y2data

¥³¥Þ¥ó¥É set y2data ¤Ï y2 (±¦) ¼´¤Î¥Ç¡¼¥¿¤ò»þ·ÏÎó (Æü»þ) ·Á¼°¤ËÀßÄê ¤·¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xdata (82.91)¡£

82.100 Y2dtics

¥³¥Þ¥ó¥É set y2dtics ¤Ï y2 (±¦) ¼´¤ÎÌÜÀ¹¤ê¤òÍËÆü¤ËÊѹ¹¤·¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢ °Ê²¼»²¾È: set xdtics (82.92)¡£

82.101 Y2label

¥³¥Þ¥ó¥É set y2label ¤Ï y2 (±¦) ¼´¤Î¸«½Ð¤·¤òÀßÄꤷ¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xlabel (82.93)¡£

82.102 Y2mtics

¥³¥Þ¥ó¥É set y2mtics ¤Ï y2 (±¦) ¼´¤ÎÌÜÀ¹¤ê¤ò 1 ǯ¤Î³Æ·î¤ËÊѹ¹¤·¤Þ¤¹¡£ ¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xmtics (82.94)¡£

82.103 Y2range

¥³¥Þ¥ó¥É set y2range ¤Ï y2 (±¦) ¼´¤Îɽ¼¨¤µ¤ì¤ë¿âľÈϰϤòÀßÄꤷ¤Þ¤¹¡£ ¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xrange (82.95)¡£

82.104 Y2tics

¥³¥Þ¥ó¥É set y2tics ¤Ï y2 (±¦) ¼´¤Î¡¢¸«½Ð¤·ÉÕ¤±¤µ¤ì¤ëÂçÌÜÀ¹¤ê¤ÎÀ©¸æ ¤ò¹Ô¤Ê¤¤¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xtics (82.96)¡£

82.105 Y2zeroaxis

¥³¥Þ¥ó¥É set y2zeroaxis ¤Ï¡¢¸¶ÅÀ¤òÄ̤ë y2 (±¦) ¼´ (x2 = 0) ¤òÉÁ¤­¤Þ ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set zeroaxis (82.119)¡£

82.106 Ydata

¥³¥Þ¥ó¥É set ydata ¤Ï y ¼´¤Î¥Ç¡¼¥¿¤ò»þ·ÏÎó (Æü»þ) ·Á¼°¤ËÀßÄꤷ¤Þ¤¹¡£ °Ê²¼»²¾È: set xdata (82.91)¡£

82.107 Ydtics

¥³¥Þ¥ó¥É set ydtics ¤Ï y ¼´¤ÎÌÜÀ¹¤ê¤òÍËÆü¤ËÊѹ¹¤·¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xdtics (82.92)¡£

82.108 Ylabel

¤³¤Î¥³¥Þ¥ó¥É¤Ï y ¼´¤Î¸«½Ð¤·¤òÀßÄꤷ¤Þ¤¹¡£°Ê²¼»²¾È: set xlabel (82.93)¡£

82.109 Ymtics

¥³¥Þ¥ó¥É set ymtics ¤Ï¡¢y ¼´¤ÎÌÜÀ¹¤ê¤ò·î¤ËÊѹ¹¤·¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xmtics (82.94)¡£

82.110 Yrange

¥³¥Þ¥ó¥É set yrange ¤Ï¡¢y Êý¸þ¤Î¿âľÈϰϤòÀßÄꤷ¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xrange (82.95)¡£

82.111 Ytics

¥³¥Þ¥ó¥É set ytics ¤Ï y ¼´¤Î (¸«½Ð¤·ÉÕ¤±¤µ¤ì¤ë) ÂçÌÜÀ¹¤ê¤òÀ©¸æ¤·¤Þ¤¹¡£ ¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xtics (82.96)¡£

82.112 Yzeroaxis

¥³¥Þ¥ó¥É set yzeroaxis ¤Ï x = 0 ¤ÎľÀþ (y ¼´) ¤ò½ñ¤­¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set zeroaxis (82.119)¡£

82.113 Zdata

¥³¥Þ¥ó¥É set zdata ¤Ï z ¼´¤Î¥Ç¡¼¥¿¤ò»þ·ÏÎó (Æü»þ) ·Á¼°¤ËÀßÄꤷ¤Þ¤¹¡£ °Ê²¼»²¾È: set xdata (82.91)¡£

82.114 Zdtics

¥³¥Þ¥ó¥É set zdtics ¤Ï z ¼´¤ÎÌÜÀ¹¤ê¤òÍËÆü¤ËÊѹ¹¤·¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xdtics (82.92)¡£

82.115 Zzeroaxis

¥³¥Þ¥ó¥É set zzeroaxis ¤Ï (x=0,y=0) ¤òÄ̤ëľÀþ¤òÉÁ¤­¤Þ¤¹¡£¤³¤ì¤Ï¡¢2D ÉÁ²è¡¢¤ª¤è¤Ó set view map ¤Ç¤Î splot ¤Ç¤Ï¸úÎϤò»ý¤Á¤Þ¤»¤ó¡£¾ÜºÙ¤Ï¡¢ °Ê²¼»²¾È: set zeroaxis (82.119), set xyplane (82.97)¡£

82.116 Cbdata

¤³¤Î¥³¥Þ¥ó¥É¤Ï¥«¥é¡¼¥Ü¥Ã¥¯¥¹¼´¤Î¥Ç¡¼¥¿¤ò»þ·ÏÎó (Æü»þ) ·Á¼°¤Ë¼°¤ËÀßÄꤷ ¤Þ¤¹¡£°Ê²¼»²¾È: set xdata (82.91)¡£

82.117 Cbdtics

¥³¥Þ¥ó¥É cbdtics ¤Ï¥«¥é¡¼¥Ü¥Ã¥¯¥¹¼´¤ÎÌÜÀ¹¤ê¤Î¹ï¤ß¤òÍËÆü¤ËÊÑ´¹¤·¤Þ¤¹¡£ ¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xdtics (82.92)¡£

82.118 Zero

zero ¤ÎÃͤϡ¢0.0 ¤Ë¶á¤¤¥Ç¥Õ¥©¥ë¥È¤ÎïçÃͤòɽ¤·¤Þ¤¹¡£

½ñ¼°:

     set zero <expression>
     show zero

gnuplot ¤Ï¡¢(Ê£ÁÇ¿ôÃͤò»ý¤ÄÅÀ¤ÎÉÁ²è¤Ë¤ª¤¤¤Æ¤Ï) ¤½¤ÎÃͤεõ¿ôÉôʬ¤ÎÀä ÂÐÃͤ¬ zero ïçÃͤè¤êÂ礭¤¤¾ì¹ç (¤Ä¤Þ¤ê¼Â¿ô¤Ç¤Ê¤¤Ãͤò»ý¤ÄÅÀ) ¤Ï¡¢¤½¤Î ÅÀ¤òÉÁ²è¤·¤Þ¤»¤ó¡£¤³¤ÎïçÃÍ¤Ï gnuplot ¤Î¾¤ÎÍÍ¡¹¤ÊÉôʬ¤Ë¤ª¤¤¤Æ¤½¤Î (Âç¤Þ¤«¤Ê) ¿ôÃÍ¸íº¹¤ÎïçÃͤȤ·¤Æ¤â»È¤ï¤ì¤Æ¤¤¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î zero ¤Î ÃÍ¤Ï 1e-8 ¤Ç¤¹¡£1e-3 (= ŵ·¿Åª¤Ê¥Ó¥Ã¥È¥Þ¥Ã¥×¥Ç¥£¥¹¥×¥ì¥¤¤Î²òÁüÅ٤εտô) ¤è¤êÂ礭¤¤ zero ¤ÎÃͤÏÀßÄꤹ¤Ù¤­¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤¬¡¢zero ¤ò 0.0 ¤È ÀßÄꤹ¤ë¤Î¤Ï°ÕÌ£¤Î¤Ê¤¤¤³¤È¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£

82.119 Zeroaxis

x ¼´¤Ï set xzeroaxis ¤Ë¤è¤Ã¤ÆÉÁ¤«¤ì¡¢unset xzeroaxis ¤Ë¤è¤Ã¤Æºï½ü ¤µ¤ì¤Þ¤¹¡£Æ±ÍͤΠy, x2, y2, z ¼´ÍѤΥ³¥Þ¥ó¥É¤¬Æ±ÍͤÎƯ¤­¤ò¤·¤Þ¤¹¡£

½ñ¼°:

     set {x|x2|y|y2|z}zeroaxis { {linestyle | ls <line_style>}
                                | { linetype | lt <line_type>}
                                  { linewidth | lw <line_width>}}
     unset {x|x2|y|y2|z}zeroaxis
     show {x|y|z}zeroaxis

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¤³¤ì¤é¤Î¥ª¥×¥·¥ç¥ó¤Ï¥ª¥Õ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ÁªÂò¤µ¤ì¤¿ 0 ¤Î¼´¤Ï < line_type> ¤ÎÀþ¤Î·¿¤È< line_width> ¤ÎÀþ¤ÎÉý (¸½ºß»ÈÍѤ·¤Æ¤¤¤ë ½ÐÎÏ·Á¼°¤¬¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ì¤Ð) ¤Ç¡¢¤¢¤ë¤¤¤Ï¤¢¤é¤«¤¸¤áÄêµÁ¤µ¤ì¤¿ < line_style> ¤Î¥¹¥¿¥¤¥ë¤ÇÉÁ¤«¤ì¤Þ¤¹¡£

Àþ¤Î·¿¤ò»ØÄꤷ¤Ê¤±¤ì¤Ð¡¢¼´¤ÏÄ̾ï¤Î¼´¤ÎÀþ¤Î·¿ (·¿ 0) ¤ÇÉÁ¤«¤ì¤Þ¤¹¡£

set zeroaxis ¤Ï set xzeroaxis; set yzeroaxis ¤ÈƱÅù¤Ç¤¹¡£z ¼´¤Ï¡¢ set zzeroaxis ¤ò»È¤Ã¤ÆÆÈΩ¤ËÀßÄꤹ¤ëɬÍפ¬¤¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

Îã:

y=0 ¤Î¼´¤ò¸«¤¨¤ë¤è¤¦¤Ë´Êñ¤Ë½ñ¤¯¾ì¹ç:


      set xzeroaxis

ÂÀ¤¤Àþ¤Ë¤·¤Æ¡¢°ã¤Ã¤¿¿§¡¢¤Þ¤¿¤ÏÅÀÀþ¥Ñ¥¿¡¼¥ó¤Ë¤·¤¿¤¤¾ì¹ç:


      set xzeroaxis linetype 3 linewidth 2.5

82.120 Zlabel

¤³¤Î¥³¥Þ¥ó¥É¤Ï z ¼´¤Î¸«½Ð¤·¤òÀßÄꤷ¤Þ¤¹¡£°Ê²¼»²¾È: set xlabel (82.93)¡£

82.121 Zmtics

¥³¥Þ¥ó¥É set zmtics ¤Ï z ¼´¤ÎÌÜÀ¹¤ê¤ò·î¤ËÊѹ¹¤·¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xmtics (82.94)¡£

82.122 Zrange

¥³¥Þ¥ó¥É set zrange ¤Ï z ¼´Êý¸þ¤Ëɽ¼¨¤µ¤ì¤ëÈϰϤòÀßÄꤷ¤Þ¤¹¡£¤³¤Î¥³ ¥Þ¥ó¥É¤Ï splot ¤Ë¤Î¤ßÍ­¸ú¤Ç¡¢plot ¤Ç¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xrange (82.95)¡£

82.123 Ztics

¥³¥Þ¥ó¥É set ztics ¤Ï z ¼´¤Î (¸«½Ð¤·ÉÕ¤±¤µ¤ì¤ë) ÂçÌÜÀ¹¤ê¤òÀ©¸æ¤·¤Þ¤¹¡£ ¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xtics (82.96)¡£

82.124 Cblabel

¤³¤Î¥³¥Þ¥ó¥É¤Ï¥«¥é¡¼¥Ü¥Ã¥¯¥¹¼´¤Î¸«½Ð¤·¤òÀßÄꤷ¤Þ¤¹¡£°Ê²¼»²¾È:set xlabel (82.93)¡£

82.125 Cbmtics

¥³¥Þ¥ó¥É set cbmtics ¤Ï¥«¥é¡¼¥Ü¥Ã¥¯¥¹¼´¤ÎÌÜÀ¹¤ê¤Î¸«½Ð¤·¤ò·î¤ËÊÑ´¹¤· ¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xmtics (82.94)¡£

82.126 Cbrange

¥³¥Þ¥ó¥É set cbrange ¤Ï¡¢¥¹¥¿¥¤¥ë with pm3d, with image ¤ä with palette ¤Ê¤É¤Ë¤è¤Ã¤Æ¸½ºß¤Î¥Ñ¥ì¥Ã¥È (palette) ¤ò»È¤Ã¤Æ¿§ÉÕ¤±¤µ ¤ì¤ëÃͤÎÈϰϤòÀßÄꤷ¤Þ¤¹¡£¤½¤ÎÈϰϳ°¤ÎÃͤËÂФ·¤Æ¤Ï¡¢ºÇ¤â¶á¤¤¸Â³¦¤ÎÃͤΠ¿§¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£

¥«¥é¡¼¥Ü¥Ã¥¯¥¹¼´ (cb-¼´) ¤¬ splot ¤Ç¼«Æ°½Ì¼Ü¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¤½¤Î ¥«¥é¡¼¥Ü¥Ã¥¯¥¹¤ÎÈÏ°Ï¤Ï zrange ¤¬»È¤ï¤ì¤Þ¤¹¡£splot ... pm3d| palette ¤ÇÉÁ²è¤µ¤ì¤ëÅÀ¤Ï¡¢°Û¤Ê¤ë zrange ¤È cbrange ¤ò»È¤¦¤³¤È¤Ç¥Õ¥£¥ë¥¿¥ê ¥ó¥°¤Ç¤­¤Þ¤¹¡£

set cbrange ¤Î½ñ¼°¤Ë´Ø¤¹¤ë¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xrange (82.95)¡£°Ê²¼¤â»²¾È:set palette (82.54), set colorbox (82.12)¡£

82.127 Cbtics

¥³¥Þ¥ó¥É set cbtics ¤Ï¥«¥é¡¼¥Ü¥Ã¥¯¥¹¼´¤Î (¸«½Ð¤·ÉÕ¤±¤µ¤ì¤ë) ÂçÌÜÀ¹¤ê ¤òÀ©¸æ¤·¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set xtics (82.96)¡£

83 Shell

shell ¥³¥Þ¥ó¥É¤ÏÂÐÏÃŪ¤Ê¥·¥§¥ë¤òµ¯Æ°¤·¤Þ¤¹¡£gnuplot ¤ËÌá¤ë¤Ë¤Ï¡¢ VMS ¤Ç¤Ï logout ¤ò¡¢Unix ¤Ê¤é¤Ð exit ¤â¤·¤¯¤Ï END-OF-FILE ʸ»ú¤ò¡¢ MS-DOS ¤« OS/2 ¤Ê¤é¤Ð exit ¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£

¥·¥§¥ë¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ëÊýË¡¤Ï 2 ¤Ä¤¢¤ê¤Þ¤¹: ¥³¥Þ¥ó¥É system ¤ò»È¤¦ ¤« ! (VMS ¤Ç¤Ï $) ¤ò»È¤¦¤«¡£Á°¼Ô¤Ï¡¢¥³¥Þ¥ó¥Éʸ»úÎó¤ò¥Ñ¥é¥á¡¼¥¿¤È¤·¤Æ ¼è¤ë¤Î¤Ç¡¢Â¾¤Î gnuplot ¥³¥Þ¥ó¥É¤Î¤É¤³¤Ç¤â»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¤¬¡¢¸å¼Ô¤Î ½ñ¼°¤Ï¡¢¤½¤Î¹Ô¤Ë¤½¤Î¥³¥Þ¥ó¥É¤¿¤À°ì¤Ä¤Ç¤¢¤ë¤³¤È¤òÍ׵ᤷ¤Þ¤¹¡£¤³¤ì¤é¤Î¾ì ¹ç¥³¥Þ¥ó¥É¤¬½ªÎ»¤¹¤ë¤È¤¹¤°¤ËÀ©¸æ¤Ï gnuplot ¤ËÌá¤Ã¤Æ¤­¤Þ¤¹¡£Î㤨¤Ð MS-DOS, OS/2 ¤Ç¤Ï¡¢


    ! dir

¤Þ¤¿¤Ï
    system "dir"

¤È¤¹¤ë¤È¥Ç¥£¥ì¥¯¥È¥ê¤Î°ìÍ÷¤òɽ¼¨¤·¤Æ gnuplot ¤ËÌá¤Ã¤Æ¤­¤Þ¤¹¡£

system ¤ò»È¤¦Â¾¤ÎÎã:

      system "date"; set time; plot "a.dat"
      print=1; if (print) replot; set out; system "lpr x.ps"

84 Splot

splot ¤Ï 3 ¼¡¸µÉÁ²è¤Î¤¿¤á¤Î¥³¥Þ¥ó¥É¤Ç¤¹ (¤â¤Á¤í¤ó¤´Â¸ÃΤǤ·¤ç¤¦¤¬¡¢ ¼ÂºÝ¤Ë¤Ï¤½¤Î 2 ¼¡¸µ¤Ø¤Î¼Í±Æ)¡£¤½¤ì¤Ï´Ø¿ô¡¢¤Þ¤¿¤Ï¥Õ¥¡¥¤¥ë¤«¤éÆɤ߹þ¤ó¤À ¥Ç¡¼¥¿¤«¤é plot ¥³¥Þ¥ó¥É¤È¤È¤Æ¤âÎɤ¯»÷¤¿ÊýË¡¤Ç¤½¤ÎÉÁ²è¤òºî¤ê¤Þ¤¹¡£ splot ¤Ï¡¢¤½¤ì¤¾¤ìñ°ì¤Î x, y, z ¼´¤òÄ󶡤¹¤ë¤À¤±¤Ç¡¢plot ¤ÇÍÑ°Õ¤µ ¤ì¤Æ¤¤¤ëÂè 2 ¼´ x2, y2 ¤Î¤è¤¦¤Ê¤â¤Î¤Ï¤¢¤ê¤Þ¤»¤ó¡£

2 ¼¡¸µ¤È 3 ¼¡¸µÉÁ²è¤ÎξÊý¤Ç»È¤¨¤ë¿¤¯¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È:plot (72)¡£

½ñ¼°:

     splot {<ranges>}
           {<iteration>}
           <function> | "<datafile>" {datafile-modifiers}}
           {<title-spec>} {with <style>}
           {, {definitions{,}} <function> ...}

¤³¤³¤Ç¡¢´Ø¿ô < function> ¡¢¤Þ¤¿¤Ï¥¯¥©¡¼¥È¤Ç¤¯¤¯¤é¤ì¤¿¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë̾¤Î ¤É¤Á¤é¤«¤¬É¬ÍפǤ¹¡£´Ø¿ô¤Ï¡¢°ìËܤοô¼°¡¢¤¢¤ë¤¤¤ÏÇÞ²ðÊÑ¿ô¥â¡¼¥É¤Ç¤Ï 3 ¤Ä¤Î¿ô¼°¤ÎÁȤǤ¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢splot ¤ÏÉÁ²è¤µ¤ì¤ë¥Ç¡¼¥¿¤Î²¼¤Ë´°Á´¤Ê xy Ì̤òÉÁ¤­¤Þ¤¹¡£ z ¤Î°ìÈÖ²¼¤ÎÌÜÀ¹¤ê¤È xy Ê¿Ì̤ΰÌÃÖ´Ø·¸¤Ï set xyplane ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£ splot ¤Î¼Í±Æ¤Î¸þ¤­¤Ï set view ¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È:set view (82.82), set xyplane (82.97)¡£

splot ¥³¥Þ¥ó¥É¤ÎÈϰϤλØÄê¤Î½ñ¼°¤Ï plot ¤Î¾ì¹ç¤ÈƱ¤¸¤Ç¤¹¡£ÇÞ²ðÊÑ¿ô ¥â¡¼¥É¤Ç¤Ê¤±¤ì¤ÐÈÏ°Ï¤Ï xrange, yrange, zrange ¤Î½ç¤Ç¤¢¤ê¡¢ÇÞ²ðÊÑ ¿ô¥â¡¼¥É¤Ç¤Ï urange, vrange, xrange, yrange, zrange ¤Î½ç¤Ç¤¹¡£

title ¥ª¥×¥·¥ç¥ó¤â plot ¤ÈƱ¤¸¤Ç¤¹¡£with ¤â plot ¤È¤Û¤ÜƱ¤¸ ¤Ç¤¹¤¬¡¢splot ¤Ç¤ÏÍøÍѲÄǽ¤ÊÉÁ²è¥¹¥¿¥¤¥ë¤Ï lines, points, linespoints, dots, impulses ¤Ë¸Â¤é¤ì¤Æ¤¤¤Þ¤¹¡£plot ¤Ç»È¤¨¤ë ¥¨¥é¡¼¥Ð¡¼¤Îµ¡Ç½¤Ï splot ¤Ë¤Ï¤¢¤ê¤Þ¤»¤ó¡£

datafile ¥ª¥×¥·¥ç¥ó¤Ë¤Ï¤µ¤é¤Ë°ã¤¤¤¬¤¢¤ê¤Þ¤¹¡£

°Ê²¼¤â»²¾È: show plot (82.52)¡£

84.1 ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë (datafile)

plot ¤ÈƱ¤¸¤è¤¦¤Ë¡¢splot ¤Ç¥Õ¥¡¥¤¥ë¤«¤é¥°¥é¥Õ¤òÀ¸À®¤Ç¤­¤Þ¤¹¡£

½ñ¼°:

     splot '<file_name>' {binary <binary list>}
                         {{nonuniform} matrix}
                         {index <index list>}
                         {every <every list>}
                         {using <using list>}

"" ¤ä "-" ¤È¤¤¤Ã¤¿ÆÃÊ̤ʥե¡¥¤¥ë̾¤â plot ¤ÈƱÍͤ˵ö¤µ¤ì¤Þ¤¹¡£°Ê²¼»²¾È: special-filenames (72.3.6)¡£

¼êû¤Ë¤¤¤¦¤È¡¢binary ¤ä matrix ¤Ï¤½¤Î¥Ç¡¼¥¿¤¬ÆÃÊ̤ʷÁ¤Ç¤¢¤ë¤³¤È¤ò¡¢ index ¤Ï¿½Å¥Ç¡¼¥¿½¸¹ç¥Õ¥¡¥¤¥ë¤«¤é¤É¤Î¥Ç¡¼¥¿½¸¹ç¤òÁª¤ó¤ÇÉÁ²è¤¹¤ë¤«¤ò¡¢ every ¤Ï³Æ¥Ç¡¼¥¿½¸¹ç¤«¤é¤É¤Î¥Ç¡¼¥¿¹Ô (Éôʬ½¸¹ç) ¤òÁª¤ó¤ÇÉÁ²è¤¹¤ë¤«¤ò¡¢ using ¤Ï³Æ¥Ç¡¼¥¿¹Ô¤«¤é¤É¤Î¤è¤¦¤ËÎó¤òÁª¤Ö¤«¤ò»ØÄꤷ¤Þ¤¹¡£

index ¤È every ¥ª¥×¥·¥ç¥ó¤Ï plot ¤Î¾ì¹ç¤ÈƱ¤¸¤è¤¦¤Ë¿¶Éñ¤¤¤Þ¤¹¡£ using ¤â¡¢using ¤Î¥ê¥¹¥È¤¬ 2 ¤Ä¤Ç¤Ê¤¯ 3 ¤ÄɬÍפǤ¢¤ë¤È¤¤¤¦¤³¤È¤ò ½ü¤¤¤Æ¤ÏƱÍͤǤ¹¡£

thru ¤ä smooth ¤È¤¤¤Ã¤¿ plot ¤Î¥ª¥×¥·¥ç¥ó¤Ï splot ¤Ç¤ÏÍøÍѤǤ­ ¤Þ¤»¤ó¡£¤·¤«¤·¡¢cntrparam ¤ä dgrid3d ¤¬¡¢À©¸Â¤µ¤ì¤Æ¤Ï¤¤¤Þ¤¹¤¬Ê¿³ê²½ ¤Î¤¿¤á¤ËÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î·Á¼°¤Ï¡¢³ÆÅÀ¤¬ (x,y,z) ¤Î 3 ¤ÄÁȤǤ¢¤ë°Ê³°¤Ï¡¢ËܼÁŪ¤Ëplot ¤ÈƱ¤¸¤Ç¤¹¡£¤â¤·°ì¤Ä¤ÎÃͤÀ¤±¤¬Í¿¤¨¤é¤ì¤ì¤Ð¡¢¤½¤ì¤Ï z ¤È¤·¤Æ»È¤ï¤ì¡¢ ¥Ç¡¼¥¿¥Ö¥í¥Ã¥¯Èֹ椬 y ¤È¤·¤Æ¡¢¤½¤·¤Æ x ¤Ï¤½¤Î¥Ç¡¼¥¿¥Ö¥í¥Ã¥¯Æâ¤Ç¤ÎÈֹ椬 »È¤ï¤ì¤Þ¤¹¡£¤â¤· 2 ¤Ä¡¢¤¢¤ë¤¤¤Ï 4 ¤Ä¤ÎÃͤ¬Í¿¤¨¤é¤ì¤ì¤Ð¡¢gnuplot ¤Ï¤½¤Î ºÇ¸å¤ÎÃͤò pm3d plot ¤Ç¤Î¿§¤Î·×»»¤Ë»È¤¤¤Þ¤¹¡£3 ¤Ä¤ÎÃÍ¤Ï (x,y,z) ¤ÎÁȤȸ« ¤Ê¤µ¤ì¤Þ¤¹¡£Â¾¤ËÃͤ¬¤¢¤ì¤Ð¡¢¤½¤ì¤Ï°ìÈÌ¤Ë¸íº¹¤È¸«¤Ê¤µ¤ì¤Þ¤¹¡£¤½¤ì¤Ï fit ¤Ç»È¤¦¤³¤È¤¬²Äǽ¤Ç¤¹¡£

splot ¤Î¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢1 ¹Ô¤Î¶õ¹Ô¤Ï¥Ç¡¼¥¿¥Ö¥í¥Ã¥¯¤ÎʬΥ»Ò¤Ç¤¹¡£ splot ¤Ï¸Ä¡¹¤Î¥Ç¡¼¥¿¥Ö¥í¥Ã¥¯¤ò¡¢´Ø¿ô¤Î y-¸ÉΩÀþ¤ÈƱ¤¸¤â¤Î¤È¤·¤Æ°·¤¤ ¤Þ¤¹¡£1 ¹Ô¤Î¶õ¹Ô¤ÇʬΥ¤µ¤ì¤Æ¤¤¤ëÅÀƱ»Î¤ÏÀþʬ¤Ç·ë¤Ð¤ì¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£ Á´¤Æ¤Î¥Ç¡¼¥¿¥Ö¥í¥Ã¥¯¤¬Á´¤¯Æ±¤¸ÅÀ¤Î¿ô¤ò»ý¤Ä¾ì¹ç¡¢gnuplot ¤Ï¥Ç¡¼¥¿ ¥Ö¥í¥Ã¥¯¤ò²£ÃǤ·¡¢Âбþ¤¹¤ëÅÀƱ»Î¤ò·ë¤Ö¸ÉΩÀþ¤òÉÁ¤­¤Þ¤¹¡£¤³¤ì¤Ï "grid data" ¤È¸Æ¤Ð¤ì¡¢¶ÊÌ̤ÎÉÁ²è¡¢Åù¹âÀþ¤ÎÉÁ²è (set contour)¡¢±£Àþ½èÍý (set hidden3d) ¤Ç¤Ï¡¢¤³¤Î·Á¤Î¥Ç¡¼¥¿¤Ç¤¢¤ë¤³¤È¤¬É¬ÍפȤʤê¤Þ¤¹¡£°Ê²¼¤â»²¾È: splot grid_data (84.2)¡£

3 Îó¤Î splot ¥Ç¡¼¥¿¤Ë¤ª¤¤¤Æ¤Ï¡¢ÇÞ²ðÊÑ¿ô¥â¡¼¥É (parametric) ¤ò»ØÄê ¤¹¤ë¤³¤È¤Ï¤â¤Ï¤äÉÔÍפǤ¹¡£

84.1.1 Matrix

gnuplot ¤Ï¡¢matrix (ÇÛÎó) ·Á¼°¤Î¥Ç¡¼¥¿¤ò¡¢2 ¤Ä¤Î°Û¤Ê¤ë·Á¼°¤Ç²ò¼á¤¹¤ë¤³ ¤È¤¬¤Ç¤­¤Þ¤¹¡£¤½¤Î 1 ¤Ä¤Ï¡¢x, y ¤ÎºÂɸ¤¬°ìÍͤǤ¢¤ë¤È²¾Äꤷ¤Æ¡¢¤½¤ÎÃͤò ¤³¤Î°ìÍͤʳʻҤΠmatrix ¤Î¤½¤ì¤¾¤ì¤ÎÍ×ÁǤ˳ä¤êÅö¤Æ¤ëÊýË¡¤Ç¤¹¡£¤³¤ì¤Ï¡¢ ASCII ¥Ç¡¼¥¿¤ËÂФ·¤Æ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤¹¤¬¡¢¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¤ËÂФ·¤Æ¤Ï¤½¤¦¤Ç ¤Ï¤¢¤ê¤Þ¤»¤ó¡£ °ìÍÍ¤Ê matrix ¥Ç¡¼¥¿¤òÉÁ²è¤¹¤ë¥³¥Þ¥ó¥É¤ÎÎã:
    splot 'file' matrix using 1:2:3          # ASCII ¥Ç¡¼¥¿
    splot 'file' binary general using 1:2:3  # ¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿

°ìÍͤʳʻҤΠmatrix ¥Ç¡¼¥¿¤Ç¤Ï¡¢³Æ¥Ö¥í¥Ã¥¯¤Î z ¤ÎÃͤϰì¹Ô¤Ç°ìÅÙ¤ËÆÉ¤Þ ¤ì¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢

   z11 z12 z13 z14 ...
   z21 z22 z23 z24 ...
   z31 z32 z33 z34 ...

Åù¡£

ASCII ÆþÎϤǤϡ¢¶õ¹Ô¤ä¥³¥á¥ó¥È¹Ô¤ÏÇÛÎó¥Ç¡¼¥¿¤ò½ªÎ»¤µ¤»¡¢¿·¤¿¤Ê¶ÊÌ̤ÎÌÖ (mesh) ¤ò³«»Ï¤·¤Þ¤¹¡£¤¤¤Ä¤â¤Î¤³¤È¤Ç¤¹¤¬¡¢splot ¥³¥Þ¥ó¥É ¤Î index ¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤Æ¥Õ¥¡¥¤¥ëÆâ¤ÎÌÖ¤ò¼«Í³¤ËÁªÂò¤Ç¤­¤Þ¤¹¡£ 2 ¤ÄÌܤηÁ¼°¤Ï¡¢Èó°ìÍͤʳʻҤǡ¢x, y ºÂɸ¤ÏÌÀ¼¨¤·¤Æ¤¤¤ë¤È²¾Äꤹ¤ë¤â¤Î ¤Ç¡¢ÆþÎϥǡ¼¥¿¤ÎºÇ½é¤Î¹Ô¤ò y ºÂɸ¡¢ºÇ½é¤ÎÎó¤ò x ºÂɸ¤È¤ß¤Ê¤·¤Þ¤¹¡£ ¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¤ËÂФ·¤Æ¤Ï¡¢1 ¹ÔÌܤκǽé¤ÎÍ×ÁǤϡ¢¥Ç¡¼¥¿Îó¿ô¤Ç¤Ê¤±¤ì¤Ð¤¤ ¤±¤Þ¤»¤ó (ASCII ¥Ç¡¼¥¿¤Ç¤Ï¤½¤Î¿ô¤Ï̵»ë¤µ¤ì¤Þ¤¹)¡£ºÂɸ¤È¥Ç¡¼¥¿Ãͤϡ¢ ¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¤Ç¤ÏñÀºÅÙÉâÆ°¾®¿ôÃͤȤߤʤµ¤ì¤Þ¤¹¡£ Èó°ìÍÍ¤Ê matrix ¥Ç¡¼¥¿¤òÉÁ²è¤¹¤ë¥³¥Þ¥ó¥É¤ÎÎã:

    splot 'file' nonuniform matrix using 1:2:3  # ASCII ¥Ç¡¼¥¿
    splot 'file' binary matrix using 1:2:3      # ¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿

¤è¤Ã¤Æ¡¢Èó°ìÍÍ¤Ê matrix ¥Ç¡¼¥¿¤Î¹½Â¤¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹:


     <N+1>  <y0>   <y1>   <y2>  ...  <yN>
      <x0> <z0,0> <z0,1> <z0,2> ... <z0,N>
      <x1> <z1,0> <z1,1> <z1,2> ... <z1,N>
       :      :      :      :   ...    :

¤³¤ì¤é¤Ï°Ê²¼¤Î¤è¤¦¤Ê 3 ¤Ä¤Î¿ô»ú¤ÎÁȤËÊÑ´¹¤µ¤ì¤Þ¤¹:


     <x0> <y0> <z0,0>
     <x0> <y1> <z0,1>
     <x0> <y2> <z0,2>
      :    :     :
     <x0> <yN> <z0,N>


     <x1> <y0> <z1,0>
     <x1> <y1> <z1,1>
      :    :     :

¤½¤·¤Æ¡¢¤³¤ì¤é¤Î 3 ¤Ä¤Î¿ô»ú¤ÎÁÈ¤Ï gnuplot ¤Î¸ÉΩÀþ¤ËÊÑ´¹¤µ¤ì¡¢¤½¤Î¸å gnuplot ¤¬Ä̾ï¤ÎÊýË¡¤ÇÉÁ²è¤Î»Ä¤ê¤ò¹Ô¤¤¤Þ¤¹¡£

¹ÔÎó¤ä¥Ù¥¯¥È¥ë¤ÎÁàºî¤Î¥µ¥Ö¥ë¡¼¥Á¥ó (C ¤Ë¤è¤ë) ¤¬ binary.c ¤ËÍÑ°Õ¤µ¤ì ¤Æ¤¤¤Þ¤¹¡£¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¤ò½ñ¤¯¥ë¡¼¥Á¥ó¤Ï


     int fwrite_matrix(file,m,nrl,nrl,ncl,nch,row_title,column_title)

¤Ç¤¹¡£¤³¤ì¤é¤Î¥µ¥Ö¥ë¡¼¥Á¥ó¤ò»È¤¦Î㤬 bf_test.c ¤È¤·¤ÆÍÑ°Õ¤µ¤ì¤Æ¤¤¤Æ¡¢ ¤³¤ì¤Ï¥Ç¥â¥Õ¥¡¥¤¥ë demo/binary.dem ÍѤËÊ£¿ô¤Î¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤òÀ¸À® ¤·¤Þ¤¹¡£

plot ¤Ç¤Î»ÈÍÑË¡:

   plot `a.dat` matrix
   plot `a.dat` matrix using 1:3
   plot 'a.gpbin' {matrix} binary using 1:3

¤³¤ì¤é¤ÏÇÛÎó¤Î¹Ô¤òÉÁ²è¤·¡¢using 2:3 ¤È¤¹¤ì¤ÐÇÛÎó¤ÎÎó¤òÉÁ²è¡¢using 1:2 ¤Ï¡¢ÅÀ¤ÎºÂɸ¤òÉÁ²è¤·¤Þ¤¹ (¿ʬ̵°ÕÌ£¤Ç¤¹)¡£¥ª¥×¥·¥ç¥ó every ¤òŬÍѤ¹ ¤ë¤³¤È¤ÇÌÀ¼¨Åª¤Ë¹Ô¤äÎó¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£

Îã - ASCII ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ÎÇÛÎó¤Î¼´¤Î³ÈÂç:

   splot `a.dat` matrix using (1+$1):(1+$2*10):3

Îã - ASCII ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ÎÇÛÎó¤ÎÂè 3 ¹Ô¤ÎÉÁ²è:

   plot 'a.dat' matrix using 1:3 every 1:999:1:2

(¹Ô¤Ï 0 ¤«¤é¿ô¤¨¤é¤ì¤ë¤Î¤Ç¡¢3 ¤Ç¤Ï¤Ê¤¯¤Æ 2 ¤ò»ØÄꤷ¤Þ¤¹)¡£

Gnuplot ¤Ï¡¢array, record, format, filetype ¤Ê¤É¤Î general ¥Ð ¥¤¥Ê¥ê·Á¼°¤òÆÃÄꤹ¤ë¤è¤¦¤Ê¥­¡¼¥ï¡¼¥É¤ò¤Ä¤±¤º¤Ë¥ª¥×¥·¥ç¥ó binary ¤ò»È ¤¦¤³¤È¤Ç¡¢matrix ¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤½¤Î¾¤ÎÊÑ´¹ ÍѤΠgeneral ¥Ð¥¤¥Ê¥ê¥­¡¼¥ï¡¼¥É¤Ï¡¢matrix ¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤Ë¤âŬÍѤǤ­ ¤ë¤Ç¤·¤ç¤¦¡£(¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: binary general (72.2.1)¡£)

84.1.2 ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ÎÎã

°Ê²¼¤Ï3 ¼¡¸µ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ÎÉÁ²è¤Îñ½ã¤Ê°ì¤Ä¤ÎÎã¤Ç¤¹¡£


     splot 'datafile.dat'

¤³¤³¤Ç¡¢"datafile.dat" ¤Ï°Ê²¼¤ò´Þ¤à¤È¤·¤Þ¤¹:


     # The valley of the Gnu.
        0 0 10
        0 1 10
        0 2 10


        1 0 10
        1 1 5
        1 2 10


        2 0 10
        2 1 1
        2 2 10


        3 0 10
        3 1 0
        3 2 10

¤³¤Î "datafile.dat" ¤Ï 4*3 ¤Î³Ê»Ò (¤½¤ì¤¾¤ì 3 ÅÀ¤«¤é¤Ê¤ë¥Ö¥í¥Ã¥¯¤Î 4 ¤Ä¤Î¹Ô) ¤òÄêµÁ¤¹¤ë¤³¤È¤ËÃí°Õ¤·¤Æ²¼¤µ¤¤¡£¹Ô (¥Ç¡¼¥¿¥Ö¥í¥Ã¥¯) ¤Ï 1 ¹Ô¤Î ¶õ¹Ô¤Ç¶èÀÚ¤é¤ì¤Þ¤¹¡£

x ¤ÎÃͤϤ½¤ì¤¾¤ì¤Î¥Ç¡¼¥¿¥Ö¥í¥Ã¥¯¤ÎÃæ¤ÇÄê¿ô¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤³¤È¤ËÃí°Õ¤·¤Æ²¼ ¤µ¤¤¡£¤â¤· y ¤òÄê¿ô¤ÎÃͤȤ·¡¢±£Àþ½èÍý¤¬Í­¸ú¤Ê¾õÂÖ¤ÇÉÁ²è¤¹¤ë¤È¡¢¤½¤Î¶ÊÌÌ¤Ï Î¢ÊÖ¤·¤Ç½ñ¤«¤ì¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

³Ê»Ò¾õ¥Ç¡¼¥¿ (grid data) ¤ËÂФ·¤Æ¡¢¸Ä¡¹¤Î¥Ç¡¼¥¿¥Ö¥í¥Ã¥¯Æâ¤Ç x ¤ÎÃͤòÄê ¿ô¤È¤·¤Æ¤ª¤¯É¬ÍפϤ¢¤ê¤Þ¤»¤ó¤·¡¢Æ±¤¸¾ì½ê¤Î y ¤ÎÃͤòƱ¤¸ÃͤË·¤¨¤Æ¤ª¤¯ ɬÍפ⤢¤ê¤Þ¤»¤ó¡£gnuplot ¤Ï¸Ä¡¹¤Î¥Ç¡¼¥¿¥Ö¥í¥Ã¥¯Æâ¤ÎÅÀ¤Î¿ô¤¬Åù¤·¤¤¤È ¤¤¤¦¤³¤È¤òɬÍפȤ·¤Æ¤¤¤ë¤À¤±¤Ç¤¹¡£¤·¤«¤·¡¢Åù¹âÀþ¤òƳ¤¯¤Î¤ËÍѤ¤¤é¤ì¤ë¶Ê Ì̤ÎÌÖÌܤϡ¢Âбþ¤¹¤ëÅÀ¤òÎóŪ¤ËÁª¤ó¤Ç·ë¤Ö¤¿¤á¡¢ÉÔ·¤¤¤Î³Ê»Ò¥Ç¡¼¥¿¤ËÂФ¹ ¤ë¶ÊÌ̤ÎÉÁ²è¤Ø¤Î±Æ¶Á¤ÏͽÁۤǤ­¤Þ¤»¤ó¡£¤½¤ì¤Ï¥±¡¼¥¹¥Ð¥¤¥±¡¼¥¹¤Î¸¶Íý¤Ç¥Æ ¥¹¥È¤¹¤Ù¤­¤Ç¤·¤ç¤¦¡£

84.2 ³Ê»Ò¾õ¥Ç¡¼¥¿ (grid data)

3 ¼¡¸µÉÁ²è¤Î¤¿¤á¤Î¥ë¡¼¥Á¥ó¤Ï¡¢¸Ä¡¹¤ÎÌÖÌܤγʻҤˤª¤¤¤Æ¤Ï°ì¤Ä¤ÎɸËÜÅÀ¤È °ì¤Ä¤Î¥Ç¡¼¥¿ÅÀ¤¬¤¢¤ë¡¢¤È¤¤¤¦·Á¤Î³Ê»Ò¾õ¥Ç¡¼¥¿ÍѤËÀ߷פµ¤ì¤Æ¤¤¤Þ¤¹¡£³Æ¥Ç ¡¼¥¿ÅÀ¤Ï¡¢´Ø¿ô¤ÎÃͤòɾ²Á¤¹¤ë¤³¤È (°Ê²¼»²¾È: set isosamples (82.29))¡¢¤Þ¤¿¤Ï ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤à¤³¤È (°Ê²¼»²¾È: splot datafile (84.1)) ¤Ë¤è¤Ã¤ÆÀ¸À® ¤µ¤ì¤Þ¤¹¡£"¸ÉΩÀþ" ¤È¤¤¤¦¸ÀÍդϴؿô¤ËÂФ·¤Æ¤â¡¢¥Ç¡¼¥¿¤ËÂФ·¤Æ¤â¤½¤ÎÌÖ ÌܤÎÀþ¤òɽ¤¹¤â¤Î¤È¤·¤ÆÍѤ¤¤é¤ì¤Þ¤¹¡£ÌÖÌܤϡ¢É¬¤º¤·¤â x, y ¤Ë´Ø¤¹¤ëĹÊý ·Á¤Ç¤Ê¤¯¤Æ¤â¤è¤¯¡¢u,v ¤ÇÇÞ²ðÊÑ¿ôɽ¼¨¤µ¤ì¤Æ¤â¹½¤ï¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ²¼¤µ ¤¤¡£°Ê²¼»²¾È: set isosamples (82.29)¡£

¤·¤«¤·¡¢gnuplot ¤Ï¤½¤Î¤è¤¦¤Ê·Á¼°¤òɬ¤º¤·¤âɬÍפȤϤ·¤Þ¤»¤ó¡£Î㤨¤Ð ´Ø¿ô¤Î¾ì¹ç¤Ï¡¢samples ¤Ï isosamples ¤È°ã¤Ã¤Æ¤¤¤Æ¤â¹½¤¤¤Þ¤»¤ó¡£ ¤¹¤Ê¤ï¤Á¡¢x-¸ÉΩÀþ¤Î¤¦¤Á¡¢1 ËܤΠy-¸ÉΩÀþ¤È¸ò¤ï¤Ê¤¤¤â¤Î¤¬¤¤¤¯¤Ä¤«¤¢¤ë ¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î¾ì¹ç¤Ï¡¢¸Ä¡¹¤Î¥Ç¡¼¥¿¥Ö¥í¥Ã¥¯¤Î¤Ð¤é¤Ä¤¤ ¤¿ÅÀ¤Î¸Ä¿ô¤¬Á´¤ÆƱ¤¸¤Ç¤¢¤ì¤Ð¡¢"¸ÉΩÀþ¤Ï" ¤Ï¥Ç¡¼¥¿¥Ö¥í¥Ã¥¯¤ÎÅÀ¤ò·ë¤Ó¡¢ "²£ÃǸÉΩÀþ" ¤Ï³Æ¥Ç¡¼¥¿¥Ö¥í¥Ã¥¯¤ÎÂбþ¤¹¤ëÅÀƱ»Î¤ò·ë¤Ó¡¢"¶ÊÌÌ" ¤òºî¤í¤¦ ¤È¤·¤Þ¤¹¡£¤É¤Á¤é¤Î¾ì¹ç¤Ç¤â¡¢Åù¹âÀþ¡¢¤ª¤è¤Ó±£Àþ½èÍý¥â¡¼¥É¤ÏÅÀ¤¬°Õ¿Þ¤·¤¿ ¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¤¢¤Ã¤¿¾ì¹ç¤È¤Ï°ã¤Ã¤¿ÉÁ²è¤òÍ¿¤¨¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£¤Ð¤é¤Ä¤­ ¤Î¤¢¤ë¥Ç¡¼¥¿¤Ï set dgrid3d ¤Ë¤è¤Ã¤Æ{°Û¤Ê¤ë}³Ê»Ò¾õ¥Ç¡¼¥¿¤ËÊÑ´¹¤¹¤ë¤³¤È ¤¬¤Ç¤­¤Þ¤¹¡£

Åù¹âÀþ¤Ë´Ø¤¹¤ë¥³¡¼¥É¤Ï¡¢y-¸ÉΩÀþ¤ÎÅÀ¤È¡¢¤½¤ì¤ËÂбþ¤¹¤ëÎ٤Πy-¸ÉΩÀþ¾å ¤ÎÅÀ¤Î´Ö¤ÎÀþʬ¤Ë±è¤Ã¤Æ¤Î z ¤ÎÄ¥ÎϤò·×¬¤·¤Þ¤¹¡£¤è¤Ã¤Æ¡¢x-¸ÉΩÀþ¤Ë¡¢ y-¸ÉΩÀþ¤È¤Î¸òÅÀ¤È¤Ï¤Ê¤é¤Ê¤¤¤è¤¦¤ÊɸËÜÅÀ¤¬¤¢¤ë¤è¤¦¤Ê¶ÊÌ̤ËÂФ·¤Æ¤Ï¡¢ splot ¤ÎÅù¹âÀþ¤Ï¤½¤Î¤è¤¦¤ÊɸËÜÅÀ¤ò̵»ë¤¹¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£°Ê²¼¤ò»î¤·¤Æ¤ß¤Æ²¼¤µ¤¤:

      set xrange [-pi/2:pi/2]; set yrange [-pi/2:pi/2]
      set style function lp
      set contour
      set isosamples 10,10; set samples 10,10;
      splot cos(x)*cos(y)
      set samples 4,10; replot
      set samples 10,4; replot

84.3 Splot ¤Î¶ÊÌÌ (splot surfaces)

splot ¤ÏÅÀ¤Î½¸¤Þ¤ê¤È¤·¤Æ¡¢¤¢¤ë¤¤¤Ï¡¢¤½¤ì¤é¤ÎÅÀ¤ò·ë¤Ö¤³¤È¤Ë¤è¤Ã¤Æ¶ÊÌÌ ¤òɽ¼¨¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£plot ¤ÈƱÍͤˡ¢ÅÀ¤Ï¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤«¤éÆÉ¤à ¤³¤È¤â¤Ç¤­¤Þ¤¹¤·¡¢»ØÄꤵ¤ì¤¿¶è´Ö¤Ç´Ø¿ô¤ÎÃͤòɾ²Á¤·¤ÆÆÀ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£ °Ê²¼»²¾È: set isosamples (82.29)¡£¶ÊÌ̤ϡ¢³ÆÅÀ¤òÀþʬ¤Ç·ë¤Ö¤³¤È¤Ç¶á»÷Ū¤Ëºî¤é ¤ì¤Þ¤¹¡£°Ê²¼»²¾È: set surface (82.67)¡£¤½¤·¤Æ¤½¤Î¾ì¹ç¶ÊÌ̤ϡ¢set hidden3d ¤ÇÉÔÆ©ÌÀ¤Ë¤â¤Ç¤­¤Þ¤¹¡£3 ¼¡¸µ¶ÊÌ̤òį¤á¤ë¸þ¤­¤Ï¡¢set view ¤ÇÊѹ¹¤Ç¤­ ¤Þ¤¹¡£

¤µ¤é¤Ë¡¢³Ê»Ò¾õ¤Î¥Ç¡¼¥¿ÅÀ¤ËÂФ·¤Æ¤Ï¡¢splot ¤ÏƱ¤¸¹â¤µ¤ò»ý¤ÄÅÀ¤òÊä´Ö¤¹ ¤ë¤³¤È¤¬¤Ç¤­ (°Ê²¼»²¾È: set contour (82.14))¡¢¤½¤·¤Æ¤½¤ì¤é¤ò·ë¤ó¤ÇÅù¹âÀþ¤òÉÁ ¤¯¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤µ¤é¤Ë¡¢¤½¤Î·ë¤ÓÊý¤Ë¤Ï¿¿Ä¾¤ÊÀþʬ¤ä³ê¤é¤«¤ÊÀþ¤ò»È¤¦¤³ ¤È¤¬¤Ç¤­¤Þ¤¹ (°Ê²¼»²¾È: set cntrparam (82.11))¡£´Ø¿ô¤Ï¡¢¾ï¤Ë set isosamples ¤È set samples ¤Ç·èÄꤵ¤ì¤ë³Ê»Ò¾õ¥Ç¡¼¥¿¤È¤·¤Æɾ²Á¤µ¤ì¤Þ¤¹¡£°ìÊý¡¢¥Õ ¥¡¥¤¥ë¤Î¥Ç¡¼¥¿¤Ï¡¢data-file ¤Ë½ñ¤«¤ì¤Æ¤¤¤ë¤è¤¦¤Ê³Ê»Ò¾õ¥Ç¡¼¥¿¥Õ¥©¡¼¥Þ ¥Ã¥È¤Ë¤¹¤ë¤«¡¢¤¢¤ë¤¤¤Ï³Ê»Ò¥Ç¡¼¥¿¤òÀ¸À®¤¹¤ë (°Ê²¼»²¾È: set dgrid3d (82.18)) ¤È¤¤¤¦¤³¤È¤ò¤·¤Ê¤±¤ì¤Ð¤½¤¦¤Ï¤Ê¤ê¤Þ¤»¤ó¡£

Åù¹âÀþ¤Ï¶ÊÌ̤ξå¤Ëɽ¼¨¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¤·¡¢ÄìÌ̤˼ͱƤ¹¤ë¤³¤È¤â¤Ç¤­¤Þ ¤¹¡£ÄìÌ̤ؤμͱƤϡ¢¥Õ¥¡¥¤¥ë¤Ë½ñ¤­½Ð¤¹¤³¤È¤â¤Ç¤­¡¢¤½¤·¤Æ¤½¤ì¤ò plot ¤ÇºÆ¤ÓÆɤ߹þ¤ó¤Ç plot ¤Î¤è¤ê¶¯¤¤À°·ÁǽÎϤòÀ¸¤«¤¹¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

85 Stats (´Êñ¤ÊÅý·×¾ðÊó)

½ñ¼°:
    stats 'filename' [using N[:M]] [name 'prefix'] [[no]output]]

¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¥Õ¥¡¥¤¥ë¤Î 1 Î󡢤ޤ¿¤Ï 2 Îó¤Î¥Ç¡¼¥¿¤Î´Êñ¤ÊÅý·×¾ðÊó¤ò Ä󶡤·¤Þ¤¹¡£using »ØÄê»Ò¤Ï¡¢plot ¥³¥Þ¥ó¥É¤ÈƱ¤¸·Á¤Ç²ò¼á¤µ¤ì¤Þ¤¹¤¬¡¢ index, every, using »ØÄê¤Ë´Ø¤¹¤ë¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï°Ê²¼»²¾È: plot (72)¡£ ¥Ç¡¼¥¿ÅÀ¤Ï¡¢¤½¤Î²òÀϤÎÁ°¤Ë xrange, yrange ¤Ë½¾¤Ã¤Æ¥Õ¥£¥ë¥¿¤Ë¤«¤±¤é¤ì¤Þ ¤¹¡£°Ê²¼»²¾È: set xrange (82.95)¡£¤½¤Î¾ðÊó¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥¹¥¯¥ê¡¼¥ó¤Ë½ÐÎϤµ ¤ì¤Þ¤¹¤¬¡¢¥³¥Þ¥ó¥É set print ¤òÀè¤Ë»È¤¦¤³¤È¤Ç½ÐÎϤò¥Õ¥¡¥¤¥ë¤Ë¥ê¥À¥¤ ¥ì¥¯¥È¤·¤¿¤ê¡¢¥ª¥×¥·¥ç¥ó nooutput ¤ò»È¤¦¤³¤È¤Ç½ÐÎϤ·¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤³ ¤È¤â¤Ç¤­¤Þ¤¹¡£

²èÌ̽ÐÎϤ˲䨡¢gnuplot ¤Ï¸Ä¡¹¤ÎÅý·×¾ðÊó¤ò 3 ¤Ä¤ÎÊÑ¿ô¥°¥ë¡¼¥×¤ËÊݸ¤· ¤Þ¤¹¡£ 1 ÈÖÌܤÎÊÑ¿ô¥°¥ë¡¼¥×¤Ï¡¢¤É¤ó¤Ê¥Ç¡¼¥¿¤¬Ê¤ó¤Ç¤¤¤ë¤«¤ò¼¨¤·¤Þ¤¹:

    STATS_records           # ÈÏ°ÏÆâ¤Î¥Ç¡¼¥¿¹Ô¤ÎÁí¿ô
    STATS_outofrange        # Èϰϳ°¤È¤·¤Æ½ü¤«¤ì¤¿¹Ô¿ô
    STATS_invalid           # ̵¸ú/ÉÔ´°Á´/·ç»¥Ç¡¼¥¿¹Ô¤ÎÁí¿ô
    STATS_blank             # ¶õ¹Ô¤ÎÁí¿ô
    STATS_blocks            # ¥Õ¥¡¥¤¥ëÆâ¤Î index ¥Ç¡¼¥¿¥Ö¥í¥Ã¥¯¿ô

2 ÈÖÌܤÎÊÑ¿ô¥°¥ë¡¼¥×¤Ï¡¢1 ¤Ä¤ÎÎó¤Î¡¢ÈÏ°ÏÆâ¤Î¥Ç¡¼¥¿¤ÎÀ­¼Á¤ò¼¨¤·¤Þ¤¹¡£ÂÐ ±þ¤¹¤ë¼´ (1 ¤ÄÌܤÎÎó¤Ë¤Ï x ¼´¡¢ÄɲäΠ2 ¤ÄÌܤÎÎó¤Ë¤Ï y ¼´) ¤¬¼«Æ°½Ì¼Ü ¤Î¾ì¹ç¤Ï¡¢ÈϰϤËÀ©¸Â¤Ï¤¢¤ê¤Þ¤»¤ó¡£2 ¤Ä¤ÎÎó¤ò 1 ²ó¤Î stats ¥³¥Þ¥ó¥É¤Ç ²òÀϤ¹¤ë¾ì¹ç¤Ï¡¢³ÆÊÑ¿ô̾¤Ë¤Ï "_x", "_y" ¤È¤¤¤¦ÀÜÈø¼­¤¬Äɲ䵤ì¤Þ¤¹¡£Îã ¤¨¤Ð STATS_mix_x ¤Ï¡¢1 ¤ÄÌܤÎÎó¤Î¥Ç¡¼¥¿¤ÎºÇ¾®Ãͤǡ¢STATS_min_y ¤Ï 2 ¤Ä ÌܤÎÎó¤Î¥Ç¡¼¥¿¤ÎºÇ¾®Ãͤò°ÕÌ£¤·¤Þ¤¹¡£

    STATS_min               # ÈÏ°ÏÆâ¤Î¥Ç¡¼¥¿ÅÀ¤ÎºÇ¾®ÃÍ
    STATS_max               # ÈÏ°ÏÆâ¤Î¥Ç¡¼¥¿ÅÀ¤ÎºÇÂçÃÍ
    STATS_index_min         # data[i] == STATS_min ¤È¤Ê¤ëź»ú i
    STATS_index_max         # data[i] == STATS_max ¤È¤Ê¤ëź»ú i
    STATS_lo_quartile       # Âè°ì (²¼¤Î) »Íʬ°Ì¶­³¦ÃÍ
    STATS_median            # ¥á¥¸¥¢¥óÃÍ (ÂèÆó»Íʬ°Ì¶­³¦ÃÍ)
    STATS_up_quartile       # Âè»° (¾å¤Î) »Íʬ°Ì¶­³¦ÃÍ
    STATS_mean              # ÈÏ°ÏÆâ¤Î¥Ç¡¼¥¿ÅÀ¤ÎÊ¿¶ÑÃÍ
    STATS_stddev            # ÈÏ°ÏÆâ¤Î¥Ç¡¼¥¿ÅÀ¤Îɸ½àÊк¹
    STATS_sum               # ÏÂ
    STATS_sumsq             # Ê¿ÊýÏÂ

3 ÈÖÌܤÎÊÑ¿ô¥°¥ë¡¼¥×¤Ï¡¢2 ¤Ä¤ÎÎó¤Î¥Ç¡¼¥¿¤Î²òÀÏÀìÍѤǤ¹¡£

    STATS_correlation       # x ¤È y ¤ÎÁê´Ø·¸¿ô
    STATS_slope             # ²óµ¢Ä¾Àþ y = Ax + B ¤Î·¸¿ô A
    STATS_intercept         # ²óµ¢Ä¾Àþ y = Ax + B ¤Î·¸¿ô B
    STATS_sumxy             # ÀÑÏ (x*y ¤ÎÏÂ)
    STATS_pos_min_y         # y ¤ÎºÇ¾®ÃͤòÍ¿¤¨¤ë x ºÂɸ
    STATS_pos_max_y         # y ¤ÎºÇÂçÃͤòÍ¿¤¨¤ë x ºÂɸ

Ʊ»þ¤Ë 2 ¤Ä°Ê¾å¤Î¥Õ¥¡¥¤¥ë¤«¤é¤ÎÅý·×¾ðÊó¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤ì¤ÐÊØÍø¤Ç¤·¤ç¤¦¤«¤é¡¢ÊÑ¿ô¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÀÜƬ¼­¤Ç¤¢¤ë "STATS" ¤ò¥ª¥×¥·¥ç¥ó name ¤Ç¥æ¡¼¥¶¤¬»ØÄꤹ¤ëʸ»úÎó¤ËÃÖ¤­´¹¤¨¤ë¤³¤È¤¬¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£Î㤨 ¤Ð¡¢°Û¤Ê¤ë 2 ¤Ä¤Î¥Õ¥¡¥¤¥ë¤Î¤½¤ì¤¾¤ì¤Î 2 ÎóÌܤΥǡ¼¥¿¤ÎÊ¿¶ÑÃͤϰʲ¼¤Î¤è¤¦¤Ë¤·¤ÆÈæ³Ó¤Ç¤­¤Þ¤¹:

    stats "file1.dat" using 2 name "A"
    stats "file2.dat" using 2 name "B"
    if (A_mean < B_mean) {...}

STATS_index_xxx ¤Ç¼¨¤µ¤ì¤ëź»ú¤ÎÃͤϡ¢plot ¥³¥Þ¥ó¥É¤ÎÂè 0 µ¿»÷Îó ($0) ¤ÎÃͤËÂбþ¤·¡¢ºÇ½é¤ÎÅÀ¤Ïź»ú¤Ï 0¡¢ºÇ¸å¤ÎÅÀ¤Îź»ú¤Ï N-1 ¤È¤Ê¤ê¤Þ¤¹¡£

¥á¥¸¥¢¥ó¤È»Íʬ°Ì¶­³¦Ãͤòõ¤¹ºÝ¤Ï¥Ç¡¼¥¿¤ÎÃͤò¥½¡¼¥È¤·¡¢ÅÀ¤ÎÁí¿ô N ¤¬´ñ ¿ô¤Î¾ì¹ç¤Ï¡¢¤½¤Î (N+1)/2 ÈÖÌܤÎÃͤò¥á¥¸¥¢¥óÃͤȤ·¡¢N ¤¬¶ö¿ô¤Î¾ì¹ç¤Ï¡¢ N/2 ÈÖÌÜ¤È (N+2)/2 ÈÖÌܤÎÃͤÎÊ¿¶ÑÃͤò¥á¥¸¥¢¥óÃͤȤ·¤Þ¤¹¡£»Íʬ°Ì¶­³¦ÃÍ ¤âƱÍͤ˽èÍý¤·¤Þ¤¹¡£

¤½¤Î¸å¤ÎÉÁ²è¤ËÃí¼á¤ò¤Ä¤±¤ë¤¿¤á¤Ë¥³¥Þ¥ó¥É stats ¤òÍøÍѤ·¤¿Îã¤Ë¤Ä¤¤¤Æ ¤Ï¡¢°Ê²¼¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

stats.dem¡£

¸½ºß¤Î¼ÂÁõ¤Ç¤Ï¡¢X ¼´¤È Y ¼´¤Î°ìÊý¤¬Âпô¼´¤Î¾ì¹ç¤Ï²òÀϤǤ­¤Þ¤»¤ó¡£¤³¤Î À©¸Â¤Ïº£¸å¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï²ò¾Ã¤µ¤ì¤ë¤Ç¤·¤ç¤¦¡£

86 System

system "command" ¤Ï¡¢É¸½àŪ¤Ê¥·¥§¥ë¤ò»È¤Ã¤Æ "command" ¤ò¼Â¹Ô¤·¤Þ¤¹¡£ °Ê²¼»²¾È: shell (83)¡£´Ø¿ô¤È¤·¤Æ¸Æ¤Ð¤ì¤¿¾ì¹ç¡¢system("command") ¤Ï·ë²Ì ¤È¤·¤Æɸ½à½ÐÎϤËή¤ì¤ëʸ»úÎó¤òʸ»úÎóÃͤȤ·¤ÆÊÖ¤·¤Þ¤¹¡£°ì¤ÄÄɲ䵤ì¤ë²þ ¹Ôʸ»ú¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£

¤³¤ì¤Ï¡¢gnuplot ¥¹¥¯¥ê¥×¥ÈÆâ¤Ë³°Éô´Ø¿ô¤ò¼è¤ê¹þ¤à¤Î¤Ë»È¤¨¤Þ¤¹:


     f(x) = real(system(sprintf("somecommand %f", x)))

87 Test

¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢½ÐÎÏ·Á¼°¤ä¥Ñ¥ì¥Ã¥È¤Ç¤É¤Î¤è¤¦¤Ê½ÐÎϤ¬¹Ô¤Ê¤¨¤ë¤«¤ò²èÁü¤Ç ¥Æ¥¹¥È¤·É½¼¨¤·¤Þ¤¹¡£

½ñ¼°:

     test {terminal | palette [rgb|rbg|grb|gbr|brg|bgr]}

test ¤Þ¤¿¤Ï test terminal ¤Ï¡¢¸½ºß»ÈÍÑÃæ¤Î½ÐÎÏ·Á¼° (terminal) ¤Ç »È¤¨¤ëÀþ¤Î¼ïÎà¡¢ÅÀ¤Î¼ïÎà¡¢¤Þ¤¿¤ÏÍ­ÍѤʤ½¤·¤ÆÍøÍѲÄǽ¤Ê¤½¤Î¾¤ÎÉÁ²è¤òÀ¸ À®¤·¤Þ¤¹¡£

test palette ¤Ï¡¢R(z),G(z),B(z) (0< =z< =1) ¤Î¾õÂÖ¤òÉÁ²è¤·¤Þ¤¹¡£¤³¤ì¤é ¤Ï¸½ºß¤Î¥«¥é¡¼¥Ñ¥ì¥Ã¥È (palette) ¤Î RGB À®Ê¬¤ò¼¨¤·¤Þ¤¹¡£¤Þ¤¿¡¢RGB ¤ò ³¥¿§³¬Ä´¤Ë¼ÌÁü¤¹¤ë NTSC ·¸¿ô¤òÍѤ¤¤Æ·×»»¤µ¤ì¤¿»ë¸÷ÅÙ¤âÉÁ²è¤·¤Þ¤¹¡£Äɲà ¤Î¥Ñ¥é¥á¡¼¥¿¤Ï¡¢r,g,b ¤Îʸ»ú¤ÎÁȹ礻¤Ç¡¢¤½¤ì¤Ë¤è¤êÉÁ²è¤¹¤ë½çÈÖ¤¬·èÄꤵ ¤ì¤Þ¤¹¡£

88 Undefine

1 ¤Ä¡¢¤Þ¤¿¤ÏÊ£¿ô¤ÎÄêµÁºÑ¤ß¤Î¥æ¡¼¥¶ÊÑ¿ô¤òºï½ü¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢½é´ü²½¥Æ¥¹ ¥È¤ò´Þ¤à¤è¤¦¤Ê¥¹¥¯¥ê¥×¥È¤Î¾õÂÖ¤ò¥ê¥»¥Ã¥È¤¹¤ë¤Î¤ËÊØÍø¤Ç¤·¤ç¤¦¡£

ÊÑ¿ô̾¤Ë¤Ï¡¢ºÇ¸å¤Îʸ»ú¤È¤·¤Æ¥ï¥¤¥ë¥É¥«¡¼¥Éʸ»ú * ¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ ¤¹¡£¥ï¥¤¥ë¥É¥«¡¼¥Éʸ»ú¤¬¸«¤Ä¤«¤ë¤È¡¢¤½¤ì¤è¤êÁ°¤ÎÉôʬ¤Ç»Ï¤Þ¤ë¤¹¤Ù¤Æ¤ÎÊÑ ¿ô¤òºï½ü¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢¶¦Ä̤ÎÀÜƬ¸ì¤ò»È¤Ã¤Æ¤¤¤ëÊ£¿ô¤ÎÊÑ¿ô¤òºï½ü¤¹¤ë¤Î ¤ËÊØÍø¤Ç¤·¤ç¤¦¡£¤¿¤À¤·¡¢¥ï¥¤¥ë¥É¥«¡¼¥Éʸ»ú¤ÏÊÑ¿ô̾¤ÎºÇ¸å¤Ë¤·¤«»È¤¨¤Ê¤¤ ¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£undefine ¤Ë¥ï¥¤¥ë¥É¥«¡¼¥Éʸ»ú¤Î¤ß¤ò°ú¿ô¤È¤· ¤ÆÍ¿¤¨¤¿¾ì¹ç¤Ï²¿¤â¤·¤Þ¤»¤ó¡£

Îã:


     undefine foo foo1 foo2
     if (!exists("foo")) load "initialize.gp"


     bar = 1; bar1 = 2; bar2 = 3
     undefine bar*                 # 3 ¤Ä¤ÎÊÑ¿ô¤òÁ´Éôºï½ü

89 Unset

¥³¥Þ¥ó¥É set ¤ÇÀßÄꤷ¤¿¥ª¥×¥·¥ç¥ó¤Ï¡¢¤½¤ì¤ËÂбþ¤·¤¿ unset ¥³¥Þ¥ó¥É ¤Ë¤è¤Ã¤Æ¤½¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃͤËÌ᤹¤³¤È¤¬²Äǽ¤Ç¤¹¡£unset ¥³¥Þ¥ó¥É¤Ë¤Ï·« ¤êÊÖ¤·Àá¤âÍøÍѤǤ­¤Þ¤¹¡£°Ê²¼»²¾È: iteration (68)¡£

Îã:

     set xtics mirror rotate by -45 0,10,100
     ...
     unset xtics


     # ÈÖ¹æ 100 ¤«¤é 200 ¤Þ¤Ç¤Î¥é¥Ù¥ë¤ò unset
     unset for [i=100:200] label i

89.1 Terminal

¥×¥í¥°¥é¥à¤ÎºÇ½é¤ËÍ­¸ú¤Ë¤Ê¤ë¥Ç¥Õ¥©¥ë¥È¤Î½ÐÎÏ·Á¼°¤Ï¡¢¸Ä¡¹¤Î¥·¥¹¥Æ¥à´Ä¶­¡¢ gnuplot ¤Î¥³¥ó¥Ñ¥¤¥ë¥ª¥×¥·¥ç¥ó¡¢¤ª¤è¤Ó´Ä¶­ÊÑ¿ô GNUTERM ¤Ë°Í¸¤·¤Þ¤¹¡£ ¤³¤Î¥Ç¥Õ¥©¥ë¥È¤¬²¿¤Ç¤¢¤Ã¤Æ¤â¡¢gnuplot ¤Ï¤½¤ì¤òÆâÉôÊÑ¿ô GNUTERM ¤ËÊݸ ¤·¤Æ¤¤¤Þ¤¹¤¬¡¢¥³¥Þ¥ó¥É unset terminal ¤Ï¡¢¤³¤Î½é´üÃͤòÉüµ¢¤·¤Þ¤¹¡£¤³ ¤ì¤Ï¡¢set terminal GNUTERM ¤È¤¹¤ë¤³¤È¤ÈƱ¤¸¤Ç¤¹¡£

90 Update

¤³¤Î¥³¥Þ¥ó¥É¤ÏÅö¤Æ¤Ï¤á (fit) ¤Î¥Ñ¥é¥á¡¼¥¿¤Î¸½ºß¤ÎÃͤò¡¢½é´üÃͤΥե¡¥¤ ¥ë¤Î·Á¼°¤Ç (fit ¤Î¹à¤ÇÀâÌÀ¤µ¤ì¤Æ¤¤¤ë)¡¢Í¿¤¨¤é¤ì¤¿¥Õ¥¡¥¤¥ë¤Ë½ñ¤­½Ð¤· ¤Þ¤¹¡£¤³¤ì¤Ï¡¢¸½ºß¤ÎÃͤò¡¢¸å¤Ç»È¤¦¤¿¤á¤Ë¡¢¤¢¤ë¤¤¤Ï½ªÎ»/ÃæÃǤ·¤¿Åö¤Æ¤Ï ¤á¤òºÆ¼Â¹Ô¤¹¤ë¤¿¤á¤ËÊݸ¤·¤Æ¤ª¤¯¤Î¤ËÍ­ÍѤǤ¹¡£

½ñ¼°:

     update <filename> {<filename>}

2 ÈÖÌܤΥե¡¥¤¥ë̾¤ò»ØÄꤹ¤ë¤È¡¢¸µ¤Î¥Ñ¥é¥á¡¼¥¿¥Õ¥¡¥¤¥ë¤ÏÊѹ¹¤»¤º¤Ë 2 ÈÖÌܤΥե¡¥¤¥ë¤ÎÊý¤Ë¹¹¿·¤µ¤ì¤¿Ãͤò½ñ¤­½Ð¤·¤Þ¤¹¡£

¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¢»ØÄꤷ¤¿¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤¹¤ì¤Ð gnuplot ¤Ï¤½¤Î¥Õ¥¡¥¤¥ë ̾¤Ë .old ¤ò¤Ä¤±¤Æ¥Õ¥¡¥¤¥ë̾¤òÊѹ¹¤·¡¢»ØÄꤷ¤¿¥Õ¥¡¥¤¥ë̾¤Î¥Õ¥¡¥¤¥ë¤ò ¿·¤¿¤Ë³«¤­Ä¾¤·¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢"update 'fred'" ¤È¤¹¤ë¤È¡¢¤½¤ì¤Ï "!rename fred fred.old; update 'fred.old' 'fred'" ¤È¤·¤¿¤³¤È¤ÈƱ¤¸¤³ ¤È¤Ë¤Ê¤ê¤Þ¤¹¡£["filename.ext" ¤Î 12 ʸ»ú¤·¤«»È¤¨¤Ê¤¤ MS-DOS ¤ä¾¤Î¥·¥¹ ¥Æ¥à¤Ç¤Ï¡¢"ext" ¤¬ "old" ¤Ë¤Ê¤Ã¤Æ "filename" ¤ÏºÇ½é¤Î¥Õ¥¡¥¤¥ë¤Ë´Ø·¸ ¤¹¤ë¤â¤Î (¿ʬ¤É¤ì¤«¤¬¤¹¤°¤Ëʬ¤«¤ë¤Ç¤·¤ç¤¦) ¤¬»È¤ï¤ì¤Þ¤¹¡£VMS ¤Ç¤Ï¡¢¥Õ ¥¡¥¤¥ë¤Î¥Ð¡¼¥¸¥ç¥ó´ÉÍý¥·¥¹¥Æ¥à¤¬»È¤ï¤ì¤ë¤¿¤á¡¢Ì¾Á°¤ÎÊѹ¹¤Ï¹Ô¤Ê¤ï¤ì¤Þ¤» ¤ó¡£]

¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ë´Ø¤·¤Æ¤Ï¡¢°Ê²¼»²¾È: fit (64)¡£

91 While

½ñ¼°:
     while (<expr>) {
         <commands>
     }

¤³¤ì¤Ï¡¢¥³¥Þ¥ó¥É¤Î¥Ö¥í¥Ã¥¯¤ò¡¢< expr> ¤¬ 0 ¤Ç¤Ê¤¤ÃͤÈɾ²Á¤µ¤ì¤ë´Ö¡¢·«¤ê ÊÖ¤·¼Â¹Ô¤·¤Þ¤¹¡£¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¸Å¤¤·Á¼° (¤«¤Ã¤³¤Ê¤·) ¤Î if/else ¹½Ê¸ ¤È°ì½ï¤Ë»È¤¦¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£°Ê²¼»²¾È: if (67)¡£

4 ½ÐÎÏ·Á¼° (Terminal)

92 ½ÐÎÏ·Á¼°¤Î°ìÍ÷

gnuplot ¤Ï¤È¤Æ¤â¿¤¯¤Î½ÐÎÏ·Á¼°¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤é¤Ï¡¢Å¬ÀÚ¤Ê ½ÐÎÏ·Á¼°¤ò¡¢É¬Íפʤ鵡ǽ¤òÊѹ¹¤¹¤ëÄɲ媥ץ·¥ç¥ó¤ò¤Ä¤±¤ÆÁªÂò¤¹¤ë¤³¤È ¤Ë¤è¤êÀßÄꤵ¤ì¤Þ¤¹¡£°Ê²¼»²¾È: set terminal (82.69)¡£

¤³¤Îʸ½ñ¤Ï¡¢¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à¾å¤Ç½é´üÀßÄꤪ¤è¤Ó¥¤¥ó¥¹¥È¡¼¥ë¤¬¤Ê¤µ¤ì¤Ê¤« ¤Ã¤¿¤¿¤á¤ËÍøÍѤǤ­¤Ê¤¤½ÐÎÏ·Á¼°¤Ë¤Ä¤¤¤Æ¤âµ­½Ò¤µ¤ì¤Æ¤¤¤ë¤«¤âÃΤì¤Þ¤»¤ó¡£ ¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿¸Ä¡¹¤Î gnuplot ¤Ç¡¢¤É¤Î½ÐÎÏ·Á¼°¤¬Í­¸ú¤Ê¤Î¤«¤Î°ìÍ÷¤ò ¸«¤ë¤Ë¤Ï¡¢¥ª¥×¥·¥ç¥ó¤ò²¿¤â¤Ä¤±¤º¤Ë 'set terminal' ¤ÈÂǤäƤ¯¤À¤µ¤¤¡£

(ÌõÃí: ¤³¤ÎÆüËܸìÌõ¤Ë´Þ¤Þ¤ì¤ë terminal ¤Î¥Þ¥Ë¥å¥¢¥ë¤Ï¡¢¤½¤Î°ìÍ÷¤Ë¤Ï¤Ê ¤¤½ÐÎÏ·Á¼°¤Î¤â¤Î¤â´Þ¤Þ¤ì¤Æ¤¤¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¤·¡¢µÕ¤Ë¤½¤Î°ìÍ÷Æâ¤Î½ÐÎÏ·Á ¼°¤Ç¥Þ¥Ë¥å¥¢¥ë¤¬¤Ê¤¤¤â¤Î¤â¤¢¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£)

92.1 Aed767

½ÐÎϥɥ饤¥Ð aed512 ¤È aed767 ¤Ï AED ¥°¥é¥Õ¥£¥Ã¥¯Ã¼Ëö¤ò¥µ¥Ý¡¼¥È¤· ¤Þ¤¹¡£¤³¤Î 2 ¤Ä¤Î¥É¥é¥¤¥Ð¤Ï¡¢¿åÊ¿Êý¸þ¤ÎÈϰϤΤߤ¬°ã¤Ã¤Æ¤¤¤Æ¡¢¤½¤ì¤¾¤ì 512 ¥Ô¥¯¥»¥ë¤È 767 ¥Ô¥¯¥»¥ë¤Ç¤¹¡£¿âľÊý¸þ¤Ï¤¤¤º¤ì¤â 575 ¥Ô¥¯¥»¥ë¤Ç¤¹¡£ ¤³¤ì¤é¤Î¥É¥é¥¤¥Ð¤Ë¤Ï¥ª¥×¥·¥ç¥ó¤Ï¤¢¤ê¤Þ¤»¤ó¡£

92.2 Aifm

Ãí°Õ: »þÂåÃÙ¤ì¤Î½ÐÎÏ·Á¼°¡¢¸µ¡¹¤Ï Adobe Illustrator 3.0+ ÍÑ¡£Adobe Illustrator ¤Ï¥ì¥Ù¥ë 1 ¤Î PostScript¥Õ¥¡¥¤¥ë¤òľÀÜǧ¼±¤¹¤ë¤Î¤Ç¡¢¤³¤ì¤Î Âå¤ï¤ê¤Ë set terminal post level1 »È¤¦¤Ù¤­¤Ç¤·¤ç¤¦¡£

½ñ¼°:

     set terminal aifm {color|monochrome} {"<fontname>"} {<fontsize>}

92.3 Aqua

¤³¤Î½ÐÎÏ·Á¼°¤Ï Mac OS X ¾å¤Îɽ¼¨¤Ë´Ø¤¹¤ë AquaTerm.app ¤Ë°Í¸¤·¤Æ¤¤¤Þ¤¹¡£

½ñ¼°:

     set terminal aqua {<n>} {title "<wintitle>"} {size <x> <y>}
                       {font "<fontname>{,<fontsize>}"}
                       {{no}enhanced} {solid|dashed} {dl <dashlength>}}

< n> ¤ÏÉÁ²è¤¹¤ë¥¦¥£¥ó¥É¥¦¤ÎÈÖ¹æ (¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 0) < wintitle> ¤Ï¥¿¥¤¥È¥ë¥Ð¡¼¤Ëɽ¼¨¤µ¤ì¤ë̾Á° (¥Ç¥Õ¥©¥ë¥È¤Ï "Figure < n> "), < x> < y> ¤ÏÉÁ²è¥µ¥¤¥º (¥Ç¥Õ¥©¥ë¥È¤Ï 846x594 pt = 11.75x8.25 ¥¤¥ó¥Á) ¤Ç¤¹¡£

»ÈÍѤ¹¤ë¥Õ¥©¥ó¥È¤Ï < fontname> ¤Ç»ØÄꤷ (¥Ç¥Õ¥©¥ë¥È¤Ï "Times-Roman")¡¢ ¥Õ¥©¥ó¥È¥µ¥¤¥º¤Ï < fontsize> ¤Ç»ØÄꤷ¤Þ¤¹ (¥Ç¥Õ¥©¥ë¥È¤Ï 14.0 pt)¡£

aqua ½ÐÎÏ·Á¼°¤Ï¡¢³Èĥʸ»úÎó½èÍý¥â¡¼¥É (enhanced text mode; °Ê²¼»²¾È:enhanced (12)) ¤ò¡¢½Å¤Í½ñ¤­°Ê³°¤Ï¥µ¥Ý¡¼¥È¤·¤Æ¤Þ¤¹¡£¥Õ¥©¥ó¥È¤Î»ÈÍѤϥ·¥¹¥Æ ¥à¤ÇÍ­¸ú¤Ê¥Õ¥©¥ó¥È¤ËÀ©¸Â¤µ¤ì¤Æ¤¤¤Þ¤¹¡£Ê¸»ú¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤Ï¡¢ set encoding ¤ÇÁªÂò¤Ç¤­¤Þ¤¹¤¬¡¢¸½ºß¤Ï iso_latin_1, iso_latin_2, cp1250 ¤È UTF8 (default) ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£

¶ÊÀþ¤Ï¡¢¼ÂÀþ¤«ÅÀÀþ (¥Ç¥Õ¥©¥ë¥È¤Ï¼ÂÀþ) ¤Î¤¤¤º¤ì¤«¤ÇÉÁ²è¤Ç¤­¡¢ÅÀÀþ¤Î´Ö³Ö¤Ï ÇÜΨ < dashlength> (> 0) ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£

92.4 Be

½ÐÎÏ·Á¼° be ¤Ï¡¢X ¥µ¡¼¥Ð¤òÍøÍѤ¹¤ëbeos ¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¾å ¤Ç gnuplot ¤ò¥³¥ó¥Ñ¥¤¥ë¤¹¤ë¿Í¤Î¤¿¤á¤Î¤â¤Î¤Ç¤¹¡£´Ä¶­ÊÑ¿ô DISPLAY ¤¬¥» ¥Ã¥È¤µ¤ì¤Æ¤¤¤ë¤«¡¢´Ä¶­ÊÑ¿ô TERM ¤¬ xterm ¤Ë¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤ë¤«¡¢¤Þ ¤¿¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤È¤·¤Æ -display ¤¬»È¤ï¤ì¤Æ¤¤¤ì¤Ð¡¢¥×¥í¥° ¥é¥à¤Îµ¯Æ°»þ¤Ë¤³¤Î½ÐÎÏ·Á¼°¤¬ÁªÂò¤µ¤ì¤Þ¤¹¡£

½ñ¼°:

         set terminal be {reset} {<n>}

Ê£¿ô¤Î¥°¥é¥ÕÉÁ²è¥¦¥£¥ó¥É¥¦¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£set terminal be < n> ¤ÏÈÖ¹æ n ¤Î¥¦¥£¥ó¥É¥¦¤Ë½ÐÎϤ·¤Þ¤¹¡£n> 0 ¤Î¾ì¹ç¡¢¤½¤ÎÈÖ¹æ¤Ï¥¦¥£¥ó¥É¥¦¥¿ ¥¤¥È¥ë¤È¥¢¥¤¥³¥ó̾¤Ë gplt < n> ¤È¤·¤ÆÉÕ¤±¤é¤ì¤Þ¤¹¡£¸½ºß¤Î¥¦¥£¥ó¥É¥¦¤Ï ¥«¡¼¥½¥ëµ­¹æ¤ÎÊѲ½¤Ç¶èÊ̤Ǥ­¤Þ¤¹ (¥Ç¥Õ¥©¥ë¥È¥«¡¼¥½¥ë¤«¤é½½»ú¥«¡¼¥½¥ë¤Ø)¡£

gnuplot ¥É¥é¥¤¥Ð¤¬Ê̤ʽÐÎϥɥ饤¥Ð¤ËÊѹ¹¤µ¤ì¤Æ¤â¡¢ÉÁ²è¥¦¥£¥ó¥É¥¦¤Ï³« ¤¤¤¿¤Þ¤Þ¤Ë¤Ê¤ê¤Þ¤¹¡£ÉÁ²è¥¦¥£¥ó¥É¥¦¤Ï¡¢¤½¤Î¥¦¥£¥ó¥É¥¦¤Ë¥«¡¼¥½¥ë¤òÃÖ¤¤¤Æ ʸ»ú q ¤ò²¡¤¹¤«¡¢¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤Î¥á¥Ë¥å¡¼¤Î close ¤òÁªÂò¤¹¤ì¤Ð ÊĤ¸¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£reset ¤ò¼Â¹Ô¤¹¤ì¤ÐÁ´¤Æ¤Î¥¦¥£¥ó¥É¥¦¤ò°ìÅÙ¤ËÊĤ¸ ¤ì¤Þ¤¹¡£¤½¤ì¤Ï¼ÂºÝ¤Ë¥¦¥£¥ó¥É¥¦¤ò´ÉÍý¤·¤Æ¤¤¤ë»Ò¥×¥í¥»¥¹¤ò½ªÎ»¤·¤Þ¤¹ (¤â ¤· -persist ¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð)¡£

ÉÁ²è¥¦¥£¥ó¥É¥¦¤Ï -persisit ¥ª¥×¥·¥ç¥ó¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢ÂÐÏäΠ½ªÎ»»þ¤Ë¼«Æ°Åª¤ËÊĤ¸¤é¤ì¤Þ¤¹¡£

ÉÁ²è¥µ¥¤¥º¤È¥¢¥¹¥Ú¥¯¥ÈÈæ¤Ï¡¢gnuplot ¤Î¥¦¥£¥ó¥É¥¦¤ò¥ê¥µ¥¤¥º¤¹¤ë¤³¤È¤Ç ¤âÊѹ¹¤Ç¤­¤Þ¤¹¡£

Àþ¤ÎÉý¤ÈÅÀ¤Î¥µ¥¤¥º¤Ï gnuplot ¤Î set linestyle ¤ÇÊѹ¹²Äǽ¤Ç¤¹¡£

½ÐÎϥɥ饤¥Ð be ¤Ë´Ø¤·¤Æ¤Ï¡¢gnuplot ¤Ï (µ¯Æ°»þ¤Ë)¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¡¢ ¤Þ¤¿¤ÏÀßÄê¥Õ¥¡¥¤¥ë¤«¤é¡¢geometry ¤ä font, name ¤Ê¤É¤ÎÄ̾ï¤Î X Toolkit ¥ª¥×¥·¥ç¥ó¤ä¥ê¥½¡¼¥¹¤Î»ØÄê¤ò¼õ¤±ÉÕ¤±¤Þ¤¹¡£¤½¤ì¤é¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤Æ¤Ï X(1) ¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸ (¤ä¤½¤ì¤ÈƱÅù¤Î¤â¤Î) ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

¾¤Ë¤â be ½ÐÎÏ·Á¼°ÍѤο¤¯¤Î gnuplot ¤Î¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì ¤é¤Ï gnuplot ¤ò¸Æ¤Ö¤È¤­¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤È¤·¤Æ»ØÄꤹ¤ë¤«¡¢ ¤Þ¤¿¤ÏÀßÄê¥Õ¥¡¥¤¥ë ".Xdefaults" ¤Î¥ê¥½¡¼¥¹¤È¤·¤Æ»ØÄê¤Ç¤­¤Þ¤¹¡£¤³¤ì¤é¤Ï µ¯Æ°»þ¤ËÀßÄꤵ¤ì¤ë¤Î¤Ç¡¢gnuplot ¼Â¹Ô»þ¤Ë¤ÏÊѹ¹¤Ç¤­¤Þ¤»¤ó¡£

92.4.1 ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó (command-line_options)

X Toolkit ¥ª¥×¥·¥ç¥ó¤Ë²Ã¤¨¡¢°Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤¬ gnuplot ¤ÎΩ¤Á¾å¤²»þ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¡¢¤Þ¤¿¤Ï¥æ¡¼¥¶¤Î¥Õ¥¡¥¤¥ë ".Xdefaults" Æâ¤Î¥ê¥½¡¼¥¹¤È¤·¤Æ»ØÄê¤Ç¤­¤Þ¤¹:

`-mono` ¥«¥é¡¼¥Ç¥£¥¹¥×¥ì¥¤¾å¤Ç¶¯À©Åª¤ËÇò¹õÉÁ²è
`-gray` ¥°¥ì¥¤¥¹¥±¡¼¥ë¤Þ¤¿¤Ï¥«¥é¡¼¥Ç¥£¥¹¥×¥ì¥¤¾å¤Ç¤Î¥°¥ì¥¤¥¹¥±¡¼¥ëÉÁ²è
  (¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥°¥ì¥¤¥¹¥±¡¼¥ë¥Ç¥£¥¹¥×¥ì¥¤¤ÏÇò¹õÉÁ²è¤ò¼õ¤±ÉÕ¤±¤ë)
`-clear` ¿·¤·¤¤ÉÁ²è¤òɽ¼¨¤¹¤ëÁ°¤Ë (½Ö´ÖŪ¤Ë) ²èÌ̤ò¾Ãµî
`-raise` ³ÆÉÁ²è¸å¤ËÉÁ²è¥¦¥£¥ó¥É¥¦¤òºÇÁ°Ì̤ؽФ¹
`-noraise` ³ÆÉÁ²è¸å¤ËÉÁ²è¥¦¥£¥ó¥É¥¦¤òºÇÁ°Ì̤ؽФ¹¤³¤È¤Ï¤·¤Ê¤¤
`-persist` gnuplot ¥×¥í¥°¥é¥à½ªÎ»¸å¤âÉÁ²è¥¦¥£¥ó¥É¥¦¤ò»Ä¤¹
¾åµ­¤Î¥ª¥×¥·¥ç¥ó¡¢¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó¾å¤Ç¤Î»ØÄê½ñ¼°¤Ç¡¢".Xdefaults" ¤Ë¥ê ¥½¡¼¥¹¤È¤·¤Æ»ØÄꤹ¤ë¤È¤­¤Ï°Û¤Ê¤ë½ñ¼°¤ò»È¤¤¤Þ¤¹¡£

Îã:

         gnuplot*gray: on

gnuplot ¤ÏÉÁ²è¥¹¥¿¥¤¥ë points ¤ÇÉÁ²è¤¹¤ëÅÀ¤Î¥µ¥¤¥º¤ÎÀ©¸æ¤Ë¤â¡¢¥³¥Þ¥ó¥É ¥é¥¤¥ó¥ª¥×¥·¥ç¥ó (-pointsize < v> ) ¤È¥ê¥½¡¼¥¹ (gnuplot*pointsize: < v> ) ¤òÄ󶡤·¤Æ¤¤¤Þ¤¹¡£ÃÍ v ¤ÏÅÀ¤Î¥µ¥¤¥º¤Î³ÈÂçΨ¤È¤·¤Æ»È¤ï¤ì¤ë¼Â¿ôÃÍ (0 < v < = 10) ¤Ç¡¢Î㤨¤Ð -pointsize 2 ¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥µ¥¤¥º¤Î 2 ÇÜ¡¢ -pointsize 0.5 ¤ÏÉáÄ̤Υµ¥¤¥º¤ÎȾʬ¤ÎÅÀ¤¬»È¤ï¤ì¤Þ¤¹¡£

92.4.2 Çò¹õ¥ª¥×¥·¥ç¥ó (monochrome_options)

Çò¹õ¥Ç¥£¥¹¥×¥ì¥¤¤ËÂФ·¤Æ¤Ï gnuplot ¤ÏÉÁ²è¿§ (foreground) ¤âÇØ·Ê¿§ (background) ¤âÍ¿¤¨¤Þ¤»¤ó¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤ÏÇطʤÏÇò¡¢ÉÁ²è¤Ï¹õ¤Ç¤¹¡£-rv ¤ä gnuplot*reverseVideo: on ¤Î¾ì¹ç¤Ë¤ÏÇطʤ¬¹õ¤ÇÉÁ²è¤ÏÇò¤Ë¤Ê¤ê¤Þ¤¹¡£

92.4.3 ¥«¥é¡¼¥ê¥½¡¼¥¹ (color_resources)

¥«¥é¡¼¥Ç¥£¥¹¥×¥ì¥¤¤ËÂФ·¤Æ¤Ï¡¢gnuplot ¤Ï°Ê²¼¤Î¥ê¥½¡¼¥¹ (¤³¤³¤Ç¤Ï¤½¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃͤò¼¨¤·¤Þ¤¹)¡¢¤Þ¤¿¤ÏÇò¹õ³¬Ä´ (greyscale) ¤Î¥ê¥½¡¼¥¹¤ò»²¾È ¤·¤Þ¤¹¡£¥ê¥½¡¼¥¹¤ÎÃͤϥ·¥¹¥Æ¥à¾å¤Î BE rgb.txt ¥Õ¥¡¥¤¥ë¤Ë½ñ¤«¤ì¤Æ¤¤¤ë¿§ ̾¡¢¤Þ¤¿¤Ï 16 ¿Ê¤Î¿§»ØÄê (BE ¤Î¥Þ¥Ë¥å¥¢¥ë¤ò»²¾È) ¤«¡¢¿§Ì¾¤È¶¯ÅÙ (0 ¤« ¤é 1 ¤Î´Ö¤ÎÃÍ) ¤ò¥³¥ó¥Þ¤Ç¶èÀڤä¿Ãͤò»ÈÍѤǤ­¤Þ¤¹¡£Î㤨¤Ð blue, 0.5 ¤ÏȾʬ¤Î¶¯ÅÙ¤ÎÀÄ¡¢¤ò°ÕÌ£¤·¤Þ¤¹¡£

  gnuplot*background: white
  gnuplot*textColor: black
  gnuplot*borderColor: black
  gnuplot*axisColor: black
  gnuplot*line1Color: red
  gnuplot*line2Color: green
  gnuplot*line3Color: blue
  gnuplot*line4Color: magenta
  gnuplot*line5Color: cyan
  gnuplot*line6Color: sienna
  gnuplot*line7Color: orange
  gnuplot*line8Color: coral

¤³¤ì¤é¤Ë´Ø¤¹¤ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Î½ñ¼°¤Ï¡¢Î㤨¤Ð°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£

Îã:

         gnuplot -background coral

92.4.4 ³¥¿§³¬Ä´¥ê¥½¡¼¥¹ (grayscale_resources)

-gray ¤òÁªÂò¤¹¤ë¤È¡¢gnuplot ¤Ï¡¢¥°¥ì¥¤¥¹¥±¡¼¥ë¤Þ¤¿¤Ï¥«¥é¡¼¥Ç¥£¥¹¥× ¥ì¥¤¤ËÂФ·¤Æ¡¢°Ê²¼¤Î¥ê¥½¡¼¥¹¤ò»²¾È¤·¤Þ¤¹ (¤³¤³¤Ç¤Ï¤½¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃͤò¼¨¤·¤Þ¤¹)¡£¥Ç¥Õ¥©¥ë¥È¤ÎÇØ·Ê¿§¤Ï¹õ¤Ç¤¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

  gnuplot*background: black
  gnuplot*textGray: white
  gnuplot*borderGray: gray50
  gnuplot*axisGray: gray50
  gnuplot*line1Gray: gray100
  gnuplot*line2Gray: gray60
  gnuplot*line3Gray: gray80
  gnuplot*line4Gray: gray40
  gnuplot*line5Gray: gray90
  gnuplot*line6Gray: gray50
  gnuplot*line7Gray: gray70
  gnuplot*line8Gray: gray30

92.4.5 ÀþÉÁ²è¥ê¥½¡¼¥¹ (line_resources)

gnuplot ¤ÏÉÁ²è¤ÎÀþ¤ÎÉý (¥Ô¥¯¥»¥ëñ°Ì) ¤ÎÀßÄê¤Î¤¿¤á¤Ë°Ê²¼¤Î¥ê¥½¡¼¥¹¤ò»²¾È¤·¤Þ¤¹ (¤³¤³¤Ç¤Ï¤½¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃͤò¼¨¤·¤Þ¤¹)¡£0 ¤Þ¤¿¤Ï 1 ¤ÏºÇ¾®¤Î ÀþÉý¤Î 1 ¥Ô¥¯¥»¥ëÉý¤ò°ÕÌ£¤·¤Þ¤¹¡£2 ¤Þ¤¿¤Ï 3 ¤ÎÃͤˤè¤Ã¤Æ¥°¥é¥Õ¤Î³°´Ñ¤ò ²þÁ±¤Ç¤­¤ë¾ì¹ç¤â¤¢¤ë¤Ç¤·¤ç¤¦¡£

  gnuplot*borderWidth: 2
  gnuplot*axisWidth: 0
  gnuplot*line1Width: 0
  gnuplot*line2Width: 0
  gnuplot*line3Width: 0
  gnuplot*line4Width: 0
  gnuplot*line5Width: 0
  gnuplot*line6Width: 0
  gnuplot*line7Width: 0
  gnuplot*line8Width: 0

gnuplot ¤ÏÀþÉÁ²è¤Ç»ÈÍѤ¹¤ëÅÀÀþ¤Î·Á¼°¤ÎÀßÄêÍѤ˰ʲ¼¤Î¥ê¥½¡¼¥¹¤ò»²¾È¤·¤Þ¤¹¡£0 ¤Ï¼ÂÀþ¤ò°ÕÌ£¤·¤Þ¤¹¡£2 ·å¤Î 10 ¿Ê¿ô jk (j ¤È k ¤Ï 1 ¤«¤é 9 ¤Þ¤Ç¤ÎÃÍ) ¤Ï¡¢j ¸Ä¤Î¥Ô¥¯¥»¥ë¤ÎÉÁ²è¤Ë k ¸Ä¤Î¶õÇò¤Î¥Ô¥¯¥»¥ë¤¬Â³¤¯ ¥Ñ¥¿¡¼¥ó¤Î·«¤êÊÖ¤·¤«¤é¤Ê¤ëÅÀÀþ¤ò°ÕÌ£¤·¤Þ¤¹¡£Î㤨¤Ð '16' ¤Ï 1 ¸Ä¤Î¥Ô¥¯ ¥»¥ë¤Î¸å¤Ë 6 ¤Ä¤Î¶õÇò¤¬Â³¤¯¥Ñ¥¿¡¼¥ó¤ÎÅÀÀþ¤Ë¤Ê¤ê¤Þ¤¹¡£¤µ¤é¤Ë¡¢4 ·å¤Î 10 ¿Ê¿ô¤Ç¤è¤ê¾ÜºÙ¤Ê¥Ô¥¯¥»¥ë¤È¶õÇò¤ÎÎó¤Î¥Ñ¥¿¡¼¥ó¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£Î㤨¤Ð¡¢ '4441' ¤Ï 4 ¤Ä¤Î¥Ô¥¯¥»¥ë¡¢4 ¤Ä¤Î¶õÇò¡¢4 ¤Ä¤Î¥Ô¥¯¥»¥ë¡¢1 ¤Ä¤Î¶õÇò¤Î¥Ñ¥¿ ¡¼¥ó¤ò°ÕÌ£¤·¤Þ¤¹¡£°Ê²¼¤Î¥Ç¥Õ¥©¥ë¥È¤Î¥ê¥½¡¼¥¹Ãͤϡ¢Çò¹õ¥Ç¥£¥¹¥×¥ì¥¤¡¢¤¢¤ë¤¤¤Ï¥«¥é¡¼¤äÇò¹õ³¬Ä´ (grayscale) ¥Ç¥£¥¹¥×¥ì¥¤¾å¤ÎÇò¹õÉÁ²è¤Ë¤ª¤±¤ëÃÍ ¤Ç¤¹¡£¥«¥é¡¼¥Ç¥£¥¹¥×¥ì¥¤¤Ç¤Ï¤½¤ì¤é¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃͤϤۤȤó¤É 0 (¼ÂÀþ) ¤Ç¡¢axisDashes ¤Î¤ß¤¬¥Ç¥Õ¥©¥ë¥È¤Ç '16' ¤ÎÅÀÀþ¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

  gnuplot*borderDashes: 0
  gnuplot*axisDashes: 16
  gnuplot*line1Dashes: 0
  gnuplot*line2Dashes: 42
  gnuplot*line3Dashes: 13
  gnuplot*line4Dashes: 44
  gnuplot*line5Dashes: 15
  gnuplot*line6Dashes: 4441
  gnuplot*line7Dashes: 42
  gnuplot*line8Dashes: 13

92.5 Cairolatex

½ÐÎÏ·Á¼° cairolatex ¤Ï¡¢cairo ¤È pango ¤ÎÊä½õ¥é¥¤¥Ö¥é¥ê¤ò»È¤Ã¤Æ¡¢EPS (Encapsulated PostScript) ¤« PDF ½ÐÎϤòÀ¸À®¤·¤Þ¤¹¤¬¡¢Ê¸»úÎó½ÐÎϤˤϡ¢½Ð ÎÏ·Á¼° epslatex ¤ÈƱ¤¸¤ä¤êÊý¤Ç LaTeX ¤ò»ÈÍѤ·¤Þ¤¹¡£

½ñ¼°:

     set terminal cairolatex
                    {eps | pdf}
                    {standalone | input}
                    {blacktext | colortext | colourtext}
                    {header <header> | noheader}
                    {mono|color} {solid|dashed}
                    {{no}transparent} {{no}crop} {background <rgbcolor>}
                    {font <font>} {fontscale <scale>}
                    {linewidth <lw>} {rounded|butt} {dashlength <dl>}
                    {size <XX>{unit},<YY>{unit}}

cairolatex ½ÐÎÏ·Á¼°¤Ï¡¢epscairo ½ÐÎÏ·Á¼° (termnal epscairo) ¤ä pdfcairo ½ÐÎÏ·Á¼° (terminal pdfcairo) ¤ÈƱÅù¤Î¥°¥é¥Õ¤ò½ÐÎϤ·¤Þ¤¹¤¬¡¢ ¥Æ¥­¥¹¥Èʸ»úÎó¤Ï¥°¥é¥Õ¤ÎÃæ¤ËÆþ¤ì¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢LaTeX ¤ËÅϤ·¤Þ¤¹¡£°Ê²¼¤Ç¿¨¤ì¤Ê¤¤¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: pdfcairo (92.47)¡£

eps ¤È pdf ¤Ï¡¢¥°¥é¥Õ½ÐÎϤηÁ¼°¤òÁªÂò¤·¤Þ¤¹¡£latex/dvips ÍÑ¤Ë¤Ï eps ¤ò¡¢pdflatex ÍÑ¤Ë¤Ï pdf ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

blacktext ¤Ï¡¢¥«¥é¡¼¥â¡¼¥É¤Ç¤â¤¹¤Ù¤Æ¤Îʸ»úÎó¤ò¹õ¤Ç½ñ¤¯¤è¤¦¤Ë¤·¤Þ¤¹¡£

cairolatex ½ÐÎϥɥ饤¥Ð¤Ï¡¢Ê¸»úÎó¤Î°ÌÃÖ¤ÎÆÃÊ̤ÊÀ©¸æÊýË¡¤òÄ󶡤·¤Þ¤¹: (a) '{' ¤Ç»Ï¤Þ¤ë¤¹¤Ù¤Æ¤Îʸ»úÎó¤Ï¡¢'}' ¤â¤½¤Îʸ»úÎó¤ÎºÇ¸å¤ËɬÍפǤ¹¤¬¡¢ ¤½¤Îʸ»úÎóÁ´ÂΤò LaTeX ¤Ç²£¤Ë¤â½Ä¤Ë¤â¥»¥ó¥¿¥ê¥ó¥°¤·¤Þ¤¹¡£ (b) '[' ¤Ç»Ï¤Þ¤ëʸ»úÎó¤Ï¡¢¤½¤Î¼¡¤Ë°ÌÃÖ»ØÄêʸ»ú (t,b,l,r,c ¤Î¤¦¤Á 2 ¤Ä¤Þ ¤Ç)¡¢']{'¡¢ÂоÝʸ»úÎ󡢤ȳ¤­ºÇ¸å¤Ë '}' ¤ÇÊĤ¸¤Þ¤¹¤¬¡¢¤³¤Îʸ»úÎó¤Ï¡¢ LaTeX ¤¬ LR-box ¤È¤·¤Æ½èÍý¤Ç¤­¤ë¤â¤Î¤Ê¤é¤Ê¤ó¤Ç¤â¹½¤¤¤Þ¤»¤ó¡£°ÌÃÖ¹ç¤ï¤» ¤ò´°Á´¤Ë¹Ô¤¦¤Ë¤Ï¡¢ \ rule{}{} ¤âÍ­ÍѤǤ·¤ç¤¦¡£°Ê²¼¤â»²¾È: pslatex (92.52)¡£ Ê£¿ô¹Ô¤ËÅϤë¥é¥Ù¥ë¤òÀ¸À®¤¹¤ë¾ì¹ç¡¢ \ shortstack ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£Îã:

  set ylabel '[r]{\shortstack{first line \\ second line}}'

¥³¥Þ¥ó¥É set label ¤Î¥ª¥×¥·¥ç¥ó back ¤Ï¡¢Â¾¤Î½ÐÎÏ·Á¼°¤È¤Ï¤ä¤ä°Û¤Ê¤ë ÊýË¡¤Ç½èÍý¤·¤Þ¤¹¡£back ¤ò»ÈÍѤ·¤¿¥é¥Ù¥ë¤Ï¡¢Â¾¤Î¤¹¤Ù¤Æ¤ÎÉÁ²èÍ×ÁǤθå¤í ¤Ë°õ»ú¤·¡¢front ¤ò»ÈÍѤ·¤¿¥é¥Ù¥ë¤Ï¡¢Â¾¤Î¤¹¤Ù¤Æ¤Î¾å¤Ë°õ»ú¤·¤Þ¤¹¡£

¤³¤Î¥É¥é¥¤¥Ð¤Ï 2 ¤Ä¤Î°Û¤Ê¤ë¥Õ¥¡¥¤¥ë¤òºîÀ®¤·¤Þ¤¹¡£°ì¤Ä¤Ï¿Þ¤Î eps ¤«¤Þ¤¿ ¤Ï pdf Éôʬ¤Ç¡¢¤â¤¦°ì¤Ä¤Ï LaTeX Éôʬ¤Ç¤¹¡£¤½¤Î LaTeX ¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢ ¥³¥Þ¥ó¥É set output ¤Î¤â¤Î¤ò»ÈÍѤ·¡¢eps/pdf ¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢¤½¤Î³È Ä¥»Ò (Ä̾ï¤Ï '.tex') ¤ò '.eps' ¤« '.pdf' ¤ËÃÖ¤­´¹¤¨¤¿¤â¤Î¤ò»ÈÍѤ·¤Þ¤¹¡£ ½ÐÎÏ¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢LaTeX ½ÐÎϤϤ·¤Þ¤»¤ó¡£multiplot ¥â¡¼¥É°Ê³°¤Ç¤Ï¡¢¼¡¤Î plot ¤ò¹Ô¤¦Á°¤Ë½ÐÎÏ¥Õ¥¡¥¤¥ë¤òÊĤ¸¤ë¤Î¤ò˺¤ì¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£

¤³¤Î²èÁü¤ò¤¢¤Ê¤¿¤Î LaTeX ʸ½ñ¤Ë¼è¤ê¹þ¤à¤Ë¤Ï¡¢' \ input{filename}' ¤ò»ÈÍÑ ¤·¤Æ¤¯¤À¤µ¤¤¡£'.eps' ¤ä '.pdf' ¥Õ¥¡¥¤¥ë¤Ï¡¢ \ includegraphics{...} ¥³¥Þ ¥ó¥É¤Ç¼è¤ê¹þ¤à¤Î¤Ç¡¢LaTeX ʸ½ñ¤Î¥×¥ê¥¢¥ó¥Ö¥ë¤Ë \ usepackage{graphicx} ¤òÆþ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¿§ÉÕ¤­¤Îʸ»ú (¥ª¥×¥·¥ç¥ó colourtext) ¤ò»ÈÍÑ ¤¹¤ë¾ì¹ç¤Ï¡¢¥×¥ê¥¢¥ó¥Ö¥ë¤Ë \ usepackage{color} ¤âÆþ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

¥Õ¥©¥ó¥ÈÁªÂò¤Ë´Ø¤¹¤ëµóÆ°¤Ï¡¢¥Ø¥Ã¥À¡¼¥â¡¼¥É¤Ë°Í¸¤·¤Þ¤¹¡£¤¤¤º¤ì¤Î¾ì¹ç¤Ç ¤â¡¢Í¿¤¨¤é¤ì¤¿¥Õ¥©¥ó¥È¥µ¥¤¥º¤ÏŬÀÚ¤ÊÂ礭¤µ¤ò·×»»¤¹¤ë¤Î¤Ë»È¤ï¤ì¤Þ¤¹¡£ standalone ¥â¡¼¥É¤ò»È¤Ã¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¡¢¤½¤ì¤òÆɤߤ³¤ó¤À¤È¤³¤í¤Ç¼ÂºÝ¤Ë LaTeX ¤¬»ÈÍѤ·¤Æ¤¤¤ë¥Õ¥©¥ó¥È¤È¥Õ¥©¥ó¥È¥µ¥¤¥º¤¬»È¤ï¤ì¤ë¤Î¤Ç¡¢¥Õ¥©¥ó¥È¤ò Êѹ¹¤¹¤ë¤Ë¤Ï LaTeX ¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£LaTeX ʸ½ñ¤ÎÊý¤Ç 12pt ¤Î¥Õ¥©¥ó¥È¥µ¥¤¥º¤ò»È¤Ã¤Æ¤¤¤ì¤Ð¡¢¥ª¥×¥·¥ç¥ó¤È¤·¤Æ '", 12"' ¤ò»ØÄꤷ¤Æ ¤¯¤À¤µ¤¤¡£¥Õ¥©¥ó¥È̾¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£'standalone' ¤Î¾ì¹ç¤Ï¡¢Í¿¤¨¤é¤ì¤¿¥Õ ¥©¥ó¥È¤È¥Õ¥©¥ó¥È¥µ¥¤¥º¤ò»ÈÍѤ·¤Þ¤¹¡£¾ÜºÙ¤Ï°Ê²¼¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

ʸ»úÎó¤ò¿§ÉÕ¤±¤·¤Æ°õ»ú¤¹¤ë¤«¤É¤¦¤«¤Ï¡¢TeX ¤Î¥Ö¡¼¥ëÊÑ¿ô \ ifGPcolor ¤È \ ifGPblacktext ¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¡£ \ ifGPcolor ¤¬ true ¤Ç \ ifGPblacktext ¤¬ false ¤Î¤È¤­¤Î¤ßʸ»úÎ󤬿§ÉÕ¤±¤µ¤ì¤Þ¤¹¡£¤³¤ì¤é¤ÎÊѹ¹¤Ï¡¢À¸À®¤µ¤ì¤¿ TeX ¥Õ¥¡¥¤¥ëÃæ¤Ç¹Ô¤¦¤«¡¢¤Þ¤¿¤ÏÂç°èŪ¤Ë¤¢¤Ê¤¿¤Î TeX ¥Õ¥¡¥¤¥ë¤Î¥×¥ê¥¢¥ó¥Ö ¥ë¤Ç¡¢Î㤨¤Ð°Ê²¼¤Î¤è¤¦¤Ë¤·¤ÆÀßÄê¤Ç¤­¤Þ¤¹:

  \newif\ifGPblacktext
  \GPblacktexttrue

¶É½êŪ¤ÊÀßÄê¤Ï¡¢Âç°èŪ¤ÊÃͤ¬¤Ê¤¤¾ì¹ç¤Ë¤Î¤ß¸úÎϤò»ý¤Á¤Þ¤¹¡£

½ÐÎÏ·Á¼° cairolatex ¤ò»È¤¦¾ì¹ç¤Ï¡¢¥³¥Þ¥ó¥É set output ¤Ç TeX ¥Õ¥¡¥¤¥ë ÀßÄꤹ¤ëºÝ¤Ë¥Õ¥¡¥¤¥ë¤Î³ÈÄ¥»Ò (Ä̾ï¤Ï ",tex") ¤ò¤Ä¤±¤Æ¤¯¤À¤µ¤¤¡£ ¥°¥é¥Õ¤Î¥Õ¥¡¥¤¥ë̾¤Ï¡¢¤½¤Î³ÈÄ¥»Ò¤òÃÖ¤­¤«¤¨¤ë¤³¤È¤Çºî¤é¤ì¤Þ¤¹¡£

standalone ¥â¡¼¥É¤ò»È¤¦¾ì¹ç¡¢LaTeX ¥Õ¥¡¥¤¥ë¤Ë´°Á´¤Ê LaTeX ¤Î¥Ø¥Ã¥À¤¬ Äɲ䵤졢¥°¥é¥Õ¥Õ¥¡¥¤¥ë¤Î¥Õ¥¡¥¤¥ë̾¤Ë¤Ï "-inc" ¤¬Äɲ䵤ì¤Þ¤¹¡£ standalone ¥â¡¼¥É¤Ï¡¢dvips, pdfTeX, VTeX ¤ò»È¤¦¾ì¹ç¤ËÀµ¤·¤¤¥µ¥¤¥º¤Î½Ð ÎϤòºî¤ë TeX ¥Õ¥¡¥¤¥ë¤òÀ¸À®¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï input ¤Ç¡¢¤³¤ì¤Ï LaTeX ʸ½ñ¤«¤é \ input ¥³¥Þ¥ó¥É¤Ç¼è¤ê¹þ¤Þ¤ì¤ëɬÍפ¬¤¢¤ë¥Õ¥¡¥¤¥ë¤òÀ¸À®¤· ¤Þ¤¹¡£

"" ¤ä "default" °Ê³°¤Î¥Õ¥©¥ó¥È¤òÍ¿¤¨¤¿¾ì¹ç¡¢¤½¤ì¤Ï LaTeX ¤Î¥Õ¥©¥ó¥È̾¤Ç¤¢¤ë¤È¤ß¤Ê¤µ¤ì¤Þ¤¹¡£¤½¤ì¤Ï ',' ¶èÀÚ¤ê¤ÇºÇÂç 3 ¤Ä¤ÎÉôʬ¤«¤é¤Ê¤ë¡¢ 'fontname,fontseries,fontshape' ¤Î·Á¼°¤Ç¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î fontshape ¤ä fontseries ¤ò»È¤¤¤¿¤¤¾ì¹ç¤Ï¡¢¤½¤ì¤é¤Ï¾Êά¤Ç¤­¤Þ¤¹¡£¤è¤Ã¤Æ¡¢¥Õ¥©¥ó¥È̾¤Î ¼ÂºÝ¤Î½ñ¼°¤Ï¡¢'{fontname}{,fontseries}{,fontshape}' ¤È¤Ê¤ê¤Þ¤¹¡£(ÌõÃí: ¤è¤ê gnuplot É÷¤Ë¸À¤¨¤Ð '{< fontname> }{,{< fontseries> }{,< fontshape> }}') ̾Á°¤Î³ÆÉôʬ¤Î»ØÄêË¡¤Ï¡¢LaTeX ¤Î¥Õ¥©¥ó¥È·Ï¤Î´·½¬¤Ë½¾¤¦É¬Íפ¬¤¢¤ê¤Þ¤¹¡£ ¥Õ¥©¥ó¥È̾ (fontname) ¤Ï 3 ¤«¤é 4 ʸ»ú¤ÎŤµ¤Ç¡¢°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹: ºÇ½é¤Îʸ»ú¤Ï¥Õ¥©¥ó¥È¤Î¶¡µë¼Ô¡¢¼¡¤Î 2 ¤Ä¤Îʸ»ú¤Ï¥Õ¥©¥ó¥È̾ÍÑ¡¢¥ª¥×¥·¥ç¥ó¤È¤·¤ÆÆÃÊ̤ʥե©¥ó¥ÈÍÑ¤Ë 1 ʸ»úÄɲäǤ­¤Þ¤¹¡£Î㤨¤Ð¡¢'j' ¤Ï¸Å¤¤¥¹¥¿ ¥¤¥ë¤Î¿ô»úÍѤΥե©¥ó¥È¡¢'x' ¤Ï¥¨¥­¥¹¥Ñ¡¼¥È¥Õ¥©¥ó¥ÈÍѤǤ¹¡£Â¿¤¯¤Î¥Õ¥©¥ó ¥È̾¤¬°Ê²¼¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤Þ¤¹:

http://www.tug.org/fontname/fontname.pdf

Î㤨¤Ð¡¢'cmr' ¤Ï Computer Modern Roman ¤ò¡¢'ptm' ¤Ï Times-Roman, 'phv' ¤Ï Helvetica ¤ò°ÕÌ£¤·¤Æ¤¤¤Þ¤¹¡£font series ¤Ï¡¢¥°¥ê¥Õ¤ÎÂÀ¤µ¤òɽ¤·¡¢Â¿¤¯ ¤Î¾ì¹ç¤Ï¡¢'m' ¤¬É¸½à ("medium")¡¢'bx' ¤« 'b' ¤¬ÂÀ»ú (bold) ¤Î¥Õ¥©¥ó¥È ¤ò°ÕÌ£¤·¤Þ¤¹¡£font shape ¤Ï¡¢°ìÈÌŪ¤Ë¤Ï 'n' ¤¬Î©ÂÎ (upright)¡¢'it' ¤¬¥¤ ¥¿¥ê¥Ã¥¯ (italic)¡¢'sl' ¤¬¼ÐÂÎ (slanted)¡¢'sc' ¤¬¥¹¥â¡¼¥ë¥­¥ã¥Ô¥¿¥ë (small caps) ¤ò°ÕÌ£¤·¤Þ¤¹¡£°Û¤Ê¤ë series ¤ä shapes ¤òÄ󶡤¹¤ë¥Õ¥©¥ó¥È¤â ¤¢¤ê¤Þ¤¹¡£

Îã:

Times-Roman ¤Î¥Ü¡¼¥ë¥ÉÂÎ (¼þ¤ê¤Îʸ»úÎó¤ÈƱ¤¸·Á¾õ) ¤ò»È¤¦¤Ë¤Ï:

     set terminal cairolatex font 'ptm,bx'

Helvetica, ¥Ü¡¼¥ë¥ÉÂΡ¢¥¤¥¿¥ê¥Ã¥¯¤ò»È¤¦¤Ë¤Ï:
     set terminal cairolatex font 'phv,bx,it'

¼þ¤ê¤ÈƱ¤¸¤Ç¼ÐÂΤηÁ¾õ¤Î¥Õ¥©¥ó¥È¤ò»È¤¦¤Ë¤Ï:
     set terminal cairolatex font ',,sl'

¥¹¥â¡¼¥ë¥­¥ã¥Ô¥¿¥ë¤ò»È¤¦¤Ë¤Ï
     set terminal cairolatex font ',,sc'

¤³¤ÎÊýË¡¤Ç¤Ï¡¢¥Æ¥­¥¹¥È¥Õ¥©¥ó¥È¤À¤±¤¬Êѹ¹¤µ¤ì¤Þ¤¹¡£¿ô¼°¥Õ¥©¥ó¥È¤âÊѹ¹¤· ¤¿¤¤¾ì¹ç¤Ï¡¢¥Õ¥¡¥¤¥ë "gnuplot.cfg" ¤«¡¢¤Þ¤¿¤Ï°Ê²¼¤ÇÀâÌÀ¤¹¤ë¥ª¥×¥·¥ç¥óheader ¤ò»È¤¦É¬Íפ¬¤¢¤ê¤Þ¤¹¡£

standalone ¥â¡¼¥É¤Ç¤Ï¡¢¥Õ¥©¥ó¥È¥µ¥¤¥º¤Ï¥³¥Þ¥ó¥É set terminal ¤Ç»ØÄê ¤·¤¿¥Õ¥©¥ó¥È¥µ¥¤¥º¤ò¼è¤ê¤Þ¤¹¡£»ØÄꤷ¤¿¥Õ¥©¥ó¥È¥µ¥¤¥º¤ò»È¤¦¤¿¤á¤Ë¤Ï¥Õ¥¡ ¥¤¥ë "size< size> .clo" ¤¬ LaTeX ¤Î¸¡º÷¥Ñ¥¹¤Ë¤¢¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥Ç¥Õ¥© ¥ë¥È¤Ç¤Ï 10pt, 11pt, 12pt ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£¥Ñ¥Ã¥±¡¼¥¸ "extsizes" ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ì¤Ð¡¢8pt, 9pt, 14pt, 17pt, 20pt ¤âÄɲ䵤ì¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó header ¤Ï°ì¤Ä¤Îʸ»úÎó¤ò°ú¿ô¤È¤·¤Æ¼è¤ê¡¢¤½¤Îʸ»úÎó¤òÀ¸À®¤¹ ¤ë LaTeX ¥Õ¥¡¥¤¥ë¤Ë½ñ¤­½Ð¤·¤Þ¤¹¡£standalone ¥â¡¼¥É¤Ç¤Ï¡¢¤½¤ì¤Ï¥×¥ê¥¢ ¥ó¥Ö¥ë¤Î \ begin{document} ¤ÎľÁ°¤Ë½ñ¤­¤Þ¤¹¤¬¡¢input ¥â¡¼¥É¤Ç¤Ï¡¢¤½¤ì ¤Ï¥°¥é¥Õ¤Ë´Ø¤¹¤ë¤¹¤Ù¤Æ¤ÎÀßÄê¤ò¶É½ê²½¤¹¤ë¤¿¤á¤Î \ begingroup ¥³¥Þ¥ó¥É¤Î ¤Îľ¸å¤Ë½ñ¤­¤Þ¤¹¡£

Îã:

T1 ¥Õ¥©¥ó¥È¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤ò»È¤¤¡¢¥Æ¥­¥¹¥È¥Õ¥©¥ó¥È¤È¿ô¼°¥Õ¥©¥ó¥È¤ò Times-Roman ¤Ë¡¢sans-serif ¥Õ¥©¥ó¥È¤ò Helvetica ¤ËÊѤ¨¤ë¤Ë¤Ï:

   set terminal cairolatex standalone header \
   "\\usepackage[T1]{fontenc}\n\\usepackage{mathptmx}\n\\usepackage{helvet}"

¥°¥é¥ÕÆâ¤Ç¤ÏÂÀ»ú (bold) ¤ò»È¤¦¤¬¡¢¥°¥é¥Õ³°¤Î¥Æ¥­¥¹¥È¤Ï¤½¤¦¤·¤Ê¤¤:
   set terminal cairolatex input header "\\bfseries"

LaTeX ¤¬¥Õ¥¡¥¤¥ë "gnuplot.cfg" ¤ò¸«¤Ä¤±¤ë¤È¡¢standalone ¥â¡¼¥É¤Ç¤Ï ¤½¤ì¤ò¥×¥ê¥¢¥ó¥Ö¥ë¤Ë¼è¤ê¹þ¤ß¤Þ¤¹¡£¤³¤ì¤Ï¡¢¤µ¤é¤ËÀßÄê¤òÄɲ乤ë¤Î¤Ë»È¤¨ ¤Þ¤¹¡£Îã: ʸ½ñ¤Î¥Õ¥©¥ó¥È¤ò¡¢¿ô¼°¥Õ¥©¥ó¥È ("mathptmx.sty" ¤¬½èÍý) ¤â¹ç ¤ï¤»¤Æ Times-Roman, Helvetica, Courier ¤Ë¤¹¤ë¤Ë¤Ï:

     \usepackage{mathptmx}
     \usepackage[scaled=0.92]{helvet}
     \usepackage{courier}

¥Õ¥¡¥¤¥ë "gnuplot.cfg" ¤Ï¡¢¥³¥Þ¥ó¥É header ¤ÇÀßÄꤹ¤ë¥Ø¥Ã¥À¡¼¾ðÊó¤è ¤ê¤âÁ°¤ËÆɤ߹þ¤ß¤Þ¤¹¤Î¤Ç¡¢"gnuplot.cfg" ¤ÇÀßÄꤹ¤ë¤â¤Î¤ò header ¤ò »È¤Ã¤Æ¾å½ñ¤­¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

92.6 Canvas

½ÐÎÏ·Á¼° canvas ¤Ï¡¢HTML5 ¤Î canvas Í×ÁǾå¤ËÉÁ²è¤¹¤ë javascript ¥³¥Þ ¥ó¥É¤Î½¸¹ç¤òÀ¸À®¤·¤Þ¤¹¡£ ½ñ¼°:

     set terminal canvas {size <xsize>, <ysize>} {background <rgb_color>}
                         {font {<fontname>}{,<fontsize>}} | {fsize <fontsize>}
                         {{no}enhanced} {linewidth <lw>}
                         {rounded | butt}
                         {solid | dashed {dashlength <dl>}}
                         {standalone {mousing} | name '<funcname>'}
                         {jsdir 'URL/for/javascripts'}
                         {title '<some string>'}

< xsize> ¤È < ysize> ¤ÏÉÁ²èÎΰè¤Î¥Ô¥¯¥»¥ëñ°Ì¤Ç¤Î¥µ¥¤¥º¤òÀßÄꤷ¤Þ¤¹¡£ standalone ¥â¡¼¥É¤Ç¤Î¥Ç¥Õ¥©¥ë¥È¤Î¥µ¥¤¥º¤Ï¡¢600x400 ¥Ô¥¯¥»¥ë¤Ç¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Î¥Õ¥©¥ó¥È¥µ¥¤¥º¤Ï 10 ¤Ç¤¹¡£

Ãí: ¥Õ¥¡¥¤¥ë canvastext.js ¤ÇÄ󶡤·¤Æ¤¤¤ë Hershey simplex Roman ¥Õ¥©¥ó ¥È¤Î¥¢¥¹¥­¡¼Éôʬ¤Î¥Õ¥©¥ó¥È°ì¤Ä¤À¤±¤¬ÍøÍѤǤ­¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥Õ¥¡¥¤¥ë canvasmath.js ¤ÇÃÖ¤­´¹¤¨¤ë¤³¤È¤â¤Ç¤­¡¢¤½¤³¤Ë¤Ï UTF-8 ¥¨¥ó¥³¡¼¥É¤µ¤ì¤¿ Hershey simplex Greek ¤È math symbols ¤â´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£Â¾¤Î½ÐÎÏ·Á¼°¤Ë ¹ç¤ï¤»¤Æ¡¢font "name,size" ¤Î·Á¼°¤â»È¤¨¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£º£¤Î ¤È¤³¤í name ¤Î¥Õ¥©¥ó¥È̾Éôʬ¤Ï̵»ë¤µ¤ì¤Þ¤¹¤¬¡¢¤½¤Î¤¦¤Á¤Ë¥Ö¥é¥¦¥¶¤¬Ì¾ Á°ÉÕ¤­¥Õ¥©¥ó¥È¤ò¥µ¥Ý¡¼¥È¤·¤À¤¹¤Ç¤·¤ç¤¦¡£

¥Ç¥Õ¥©¥ë¥È¤Î standalone ¥â¡¼¥É¤Ï¡¢HTML 5 ¤Î canvas Í×ÁǤò»ÈÍѤ·¤Æ¥° ¥é¥Õ¤òÉÁ²è¤¹¤ë¤è¤¦¤Ê javascript ¥³¡¼¥É¤ò´Þ¤à HTML ¥Ú¡¼¥¸¤òÀ¸À®¤·¤Þ¤¹¡£ ¤½¤Î HTML ¥Ú¡¼¥¸¤Ï¡¢2 ¤Ä¤ÎɬÍ×¤Ê javascript ¥Õ¥¡¥¤¥ë 'canvastext.js'¡¢ 'gnuplot_common.js' ¤Ë¥ê¥ó¥¯¤·¤Þ¤¹¡£ÅÀÀþ¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤¿¤á¤Ë¤Ï¤µ¤é¤ËÄÉ ²Ã¥Õ¥¡¥¤¥ë 'gnuplot_dashedlines.js' ¤¬É¬ÍפǤ¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¤½¤ì¤é¤Ï ¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤Ø¤Î¥ê¥ó¥¯¤Ç¡¢Unix ¸ß´¹¤Î¥·¥¹¥Æ¥à¤Ç¤ÏÄ̾ï¤Ï¤½¤ì¤é¥Ç¥£ ¥ì¥¯¥È¥ê /usr/local/share/gnuplot/< version> /js ¤Ë¤¢¤ê¤Þ¤¹¡£Â¾¤Î´Ä¶­¤Ë ¤Ä¤¤¤Æ¤Ï¡¢¥¤¥ó¥¹¥È¡¼¥ë¤Ë´Ø¤¹¤ëÃí°Õ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤ÎÀßÄê¤Ï¡¢¥ª¥× ¥·¥ç¥ó jsdir ¤ËÊÌ¤Î¥í¡¼¥«¥ë¥Ç¥£¥ì¥¯¥È¥ê¡¢¤¢¤ë¤¤¤Ï°ìÈÌŪ¤Ê URL ¤ò»ØÄê ¤¹¤ë¤³¤È¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£¥°¥é¥Õ¤ò¥ê¥â¡¼¥È¥¯¥é¥¤¥¢¥ó¥È¤Î¥Þ¥·¥ó¤Ç¸«¤ì¤ë¤è ¤¦¤Ë¤¹¤ë¾ì¹ç¤Ï¡¢Ä̾ï¤Ï¸å¼Ô¤ÎÀßÄ꤬ŬÀڤǤ·¤ç¤¦¡£

canvas ½ÐÎÏ·Á¼°¤ÇÀ¸À®¤µ¤ì¤ëÉÁ²è¤Ï¤¹¤Ù¤Æ¥Þ¥¦¥¹Áàºî²Äǽ¤Ç¤¹¡£¥­¡¼¥ï¡¼¥É mousing ¤òÄɲ乤ë¤È¡¢standalone ¥â¡¼¥É¤Î¥°¥é¥Õ¤Î²¼¤Ë¥Þ¥¦¥¹¥È¥é¥Ã ¥­¥ó¥°¥Ü¥Ã¥¯¥¹¤ò¤Ä¤±¤Þ¤¹¡£¤³¤ì¤Ï¡¢canvastext.js ¤¬ÃÖ¤«¤ì¤Æ¤¤¤ë¤Î¤ÈƱ ¤¸¥í¡¼¥«¥ë¥Ç¥£¥ì¥¯¥È¥ê¡¢¤Þ¤¿¤Ï URL Æâ¤Î¡¢'gnuplot_mouse.js' ¤È¤¤¤¦ javascript ¥Õ¥¡¥¤¥ë¤Ø¤Î¥ê¥ó¥¯¤È 'gnuplot_mouse.css' ¤È¤¤¤¦¥Þ¥¦¥¹¥Ü¥Ã¥¯ ¥¹¤Ë´Ø¤¹¤ë¥¹¥¿¥¤¥ë¥·¡¼¥È¤âÄɲä·¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó name ¤Ï¡¢javascript ¤Î¤ß¤ò´Þ¤à¥Õ¥¡¥¤¥ë¤ò°ì¤ÄÀ¸À®¤·¤Þ¤¹¡£ ¤½¤ì¤¬´Þ¤à javascript ´Ø¿ô¤È¡¢¤½¤ì¤¬ÉÁ²è¤¹¤ë canvas Í×ÁǤΠid ¤ÎξÊý¤Ï¡¢ °Ê²¼¤Îʸ»úÎó¥Ñ¥é¥á¡¼¥¿¤«¤é¼è¤é¤ì¤Þ¤¹¡£Î㤨¤Ð°Ê²¼¤Î¥³¥Þ¥ó¥É

     set term canvas name 'fishplot'
     set output 'fishplot.js'

¤Ï¡¢javascript ´Ø¿ô fishplot() ¤ò´Þ¤à¥Õ¥¡¥¤¥ë¤òÀ¸À®¤·¡¢¤½¤Î´Ø¿ô¤Ï¥°¥é ¥Õ¤ò id=fishplot ¤Î canvas ¾å¤ËÉÁ²è¤·¤Þ¤¹¡£¤³¤Î javascript ´Ø¿ô¤ò¸Æ¤Ó ½Ð¤¹ HTML ¥Ú¡¼¥¸¤Ï¡¢¾å¤ÇÀâÌÀ¤·¤¿ canvastext.js ¤âÆɤ߹þ¤Þ¤Ê¤±¤ì¤Ð¤¤¤± ¤Þ¤»¤ó¡£¾å¤Î¤è¤¦¤ËÀ¸À®¤·¤¿¡¢¤³¤Î fishplot ¤ò¼è¤ê¤³¤àºÇ¾®¤Î HTML ¥Õ¥¡¥¤ ¥ë¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹:


     <html>
     <head>
         <script src="canvastext.js"></script>
         <script src="gnuplot_common.js"></script>
     </head>
     <body onload="fishplot();">
         <script src="fishplot.js"></script>
         <canvas id="fishplot" width=600 height=400>
             <div id="err_msg">No support for HTML 5 canvas element</div>
         </canvas>
     </body>
     </html>

¤³¤Î¥­¥ã¥ó¥Ð¥¹¾å¤ËÉÁ¤«¤ì¤ë¤½¤ì¤¾¤ì¤Î¥°¥é¥Õ¤Î̾Á°¤Ï¡¢fishplot_plot_1, fishplot_plot_2 Åù¤È¤Ê¤ê¤Þ¤¹¡£³°Éô¤Î javascript ¥ë¡¼¥Á¥ó¤Ç¤½¤ì¤é¤ò»²¾È ¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£Îã: gnuplot.toggle_visibility("fishplot_plot_2")

92.7 Cgi

cgi ¤È hcgi ½ÐÎϥɥ饤¥Ð¤Ï SCO CGI ¥É¥é¥¤¥Ð¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£hcgi ¤Ï¥×¥ê¥ó¥¿ÍѤǡ¢´Ä¶­ÊÑ¿ô CGIPRNT ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£cgi ¤Ï¥Ç¥£¥¹¥×¥ì¥¤¡¢¤Þ¤¿¤Ï¥Ï¡¼¥É¥³¥Ô¡¼¤Ë»È¤¨¤Þ¤¹: ´Ä¶­ÊÑ¿ô CGIDISP ¤ò¤Þ¤º ¥Á¥§¥Ã¥¯¤·¡¢¼¡¤Ë CGIPRNT ¤òÄ´¤Ù¤Þ¤¹¡£¤³¤ì¤é¤Î½ÐÎϥɥ饤¥Ð¤Ë¤Ï¥ª¥×¥·¥ç ¥ó¤Ï¤¢¤ê¤Þ¤»¤ó¡£

92.8 Cgm

cgm ¥É¥é¥¤¥Ð¤Ï CGM ½ÐÎÏ (Computer Graphics Metafile Version 1) ¤òÀ¸ À®¤·¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï ANSI µ¬³Ê½ñ X3.122-1986 "Computer Graphics - Metafile for the Storage and Transfer of Picture Description Information" ¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¤â¤Î¤Î°ìÉôʬ¤Ç¤¹¡£

½ñ¼°:

     set terminal cgm {color | monochrome} {solid | dashed} {{no}rotate}
                      {<mode>} {width <plot_width>} {linewidth <line_width>}
                      {font "<fontname>,<fontsize>"}
                      {background <rgb_color>}
 [deprecated]         {<color0> <color1> <color2> ...}

solid ¤ÏÁ´¤Æ¤Î¶ÊÀþ¤ò¼ÂÀþ¤ÇÉÁ¤­¡¢¤É¤ó¤ÊÅÀÀþ¥Ñ¥¿¡¼¥ó¤âÅɤê¤Ä¤Ö¤·¤Þ¤¹; < mode> ¤Ï landscape, portrait, default ¤Î¤¤¤º¤ì¤«; < plot_width> ¤Ï¥Ý¥¤¥ó¥Èñ°Ì¤Ç¤Î¥°¥é¥Õ¤Î²¾Äꤵ¤ì¤Æ¤¤¤ëÉý; < line_width> ¤Ï¥Ý¥¤¥ó¥Èñ°Ì¤Ç¤ÎÀþÉý (¥Ç¥Õ¥©¥ë¥È¤Ï 1); < fontname> ¤Ï¥Õ¥©¥ó¥È¤Î̾Á° (°Ê²¼¤Î¥Õ¥©¥ó¥È°ìÍ÷»²¾È); ¤½¤·¤Æ < fontsize> ¤Ï¥Ý¥¤¥ó¥Èñ°Ì¤Ç¤Î¥Õ¥©¥ó¥È¤Î¥µ¥¤¥º (¥Ç¥Õ¥©¥ë¥È¤Ï 12) ¤Ç¤¹¡£

ºÇ½é¤Î 6 ¤Ä¤Î¥ª¥×¥·¥ç¥ó¤Ï¤É¤Î½çÈ֤ǻØÄꤷ¤Æ¤â¹½¤¤¤Þ¤»¤ó¡£default ¤ò ÁªÂò¤¹¤ë¤È¡¢Á´¤Æ¤Î¥ª¥×¥·¥ç¥ó¤ò¤½¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃͤˤ·¤Þ¤¹¡£

Àþ¤Î¿§¤ò set term ¥³¥Þ¥ó¥É¤ÇÀßÄꤹ¤ë»ÅÁȤߤϡ¢º£¤ÏÈó¿ä¾©¤Ç¤¹¡£Âå¤ï¤ê ¤Ë¡¢ÇØ·Ê¿§¤ÏʬΥ¤µ¤ì¤¿¥­¡¼¥ï¡¼¥É background ¤Ç¡¢Àþ¤Î¿§¤Ï set linetype ¤ÇÀßÄꤹ¤Ù¤­¤Ç¤·¤ç¤¦¡£¤³¤ÎÈó¿ä¾©¤Î»ÅÁȤߤǤϿ§¤Ï 'xrrggbb' ¤Î·Á¼°¤Ç¼õ¤± ¤Ä¤±¤Þ¤¹¤¬¡¢x ¤Ïʸ»ú 'x' ¤½¤Î¤â¤Î¡¢'rrggbb' ¤Ï 16 ¿Ê¿ô¤Ç¤ÎÀÖ¡¢ÎС¢ÀĤΠÀ®Ê¬¤Ç¤¹¡£ºÇ½é¤Î¿§¤òÇØ·Ê¿§¤È¤·¤Æ»È¤¤¡¢¤½¤Î¸å¤Ë³¤¯¿§»ØÄê¤ò½ç¼¡Àþ¤Î¿§¤È ¤È¤·¤Æ³ä¤êÅö¤Æ¤Æ¤¤¤Þ¤·¤¿¡£

Îã:

     set terminal cgm landscape color rotate dashed width 432 \
                    linewidth 1  'Helvetica Bold' 12       # ¥Ç¥Õ¥©¥ë¥È
     set terminal cgm linewidth 2  14  # ¤ä¤ä¹­¤¤Àþ¤È¤ä¤äÂ礭¤¤¥Õ¥©¥ó¥È
     set terminal cgm portrait "Times Italic" 12
     set terminal cgm color solid    # ÌÌÅݤÊÅÀÀþ¤Ê¤É¾Ã¤¨¤Æ¤·¤Þ¤¨ !

92.8.1 CGM ¤Î¥Õ¥©¥ó¥È (font)

CGM (Computer Graphics Metafile) ¥Õ¥¡¥¤¥ë¤ÎºÇ½é¤ÎÉôʬ¡¢¥á¥¿¥Õ¥¡¥¤¥ë¤Î µ­½ÒÉôʬ¤Ë¤Ï¡¢¥Õ¥©¥ó¥È¥ê¥¹¥È (font table) ¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£²èÁü¤ÎËÜÂÎ Éô¤Ç¤Ï¡¢¥Õ¥©¥ó¥È¤Ï¤³¤Î¥ê¥¹¥È¤Ë¤¢¤ëÈÖ¹æ¤Ç»ØÄꤵ¤ì¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¤³ ¤Î¥É¥é¥¤¥Ð¤Ï°Ê²¼¤Î 35 ¸Ä¤Î¥Õ¥©¥ó¥È¥ê¥¹¥È¤òÀ¸À®¤·¡¢¤µ¤é¤Ë¤³¤Î¥ê¥¹¥È¤ÎHelvetica, Times, Courier ¤Î³Æ¥Õ¥©¥ó¥È¤Î italic ¤ò oblique¤ÇÃÖ¤­´¹¤¨¤¿¤â¤Î¡¢¤ª¤è¤Ó¤½¤ÎµÕ¤Ë¤è¤ë 6 ¤Ä¤ÎÄɲäΥե©¥ó¥È¤¬´Þ¤Þ¤ì¤Þ¤¹(Microsoft Office ¤È Corel Draw CGM ¤Î import ¥Õ¥£¥ë¥¿¤Ï italic ¤Èoblique ¤òƱ¤¸¤â¤Î¤È¤·¤Æ°·¤¦¤«¤é¤Ç¤¹)¡£

CGM fonts
  Helvetica Hershey/Cartographic_Roman
  Helvetica Bold Hershey/Cartographic_Greek
  Helvetica Oblique Hershey/Simplex_Roman
  Helvetica Bold Oblique Hershey/Simplex_Greek
  Times Roman Hershey/Simplex_Script
  Times Bold Hershey/Complex_Roman
  Times Italic Hershey/Complex_Greek
  Times Bold Italic Hershey/Complex_Italic
  Courier Hershey/Complex_Cyrillic
  Courier Bold Hershey/Duplex_Roman
  Courier Oblique Hershey/Triplex_Roman
  Courier Bold Oblique Hershey/Triplex_Italic
  Symbol Hershey/Gothic_German
  ZapfDingbats Hershey/Gothic_English
  Script Hershey/Gothic_Italian
  15 Hershey/Symbol_Set_1
    Hershey/Symbol_Set_2
    Hershey/Symbol_Math
¤³¤ì¤é¤Î¥Õ¥©¥ó¥È¤ÎºÇ½é¤Î 13 ¸Ä¤Ï WebCGM ¤ÇÍ׵ᤵ¤ì¤Æ¤¤¤ë¤â¤Î¤Ç¤¹¡£ Microsoft Office ¤Î CGM import ¥Õ¥£¥ë¥¿¤Ï¤½¤Î 13 ¸Ä¤Îɸ½à¥Õ¥©¥ó¥È¤È 'ZapfDingbats' ¤È 'Script' ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£¤·¤«¤·¡¢¤½¤Î¥¹¥¯¥ê¥× ¥È (script) ¥Õ¥©¥ó¥È¤Ï '15' ¤È¤¤¤¦Ì¾Á°¤Ç¤·¤«¥¢¥¯¥»¥¹¤Ç¤­¤Þ¤»¤ó¡£ Microsoft ¤Î import ¥Õ¥£¥ë¥¿¤Î font ¤ÎÃÖ¤­´¹¤¨¤Ë´Ø¤¹¤ë¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ë ¤Ä¤¤¤Æ¤Ï¡¢
 C:\Program Files\Microsoft Office\Office\Cgmimp32.hlp

¤Î¥Ø¥ë¥×¥Õ¥¡¥¤¥ë¡¢¤Þ¤¿¤Ï
 C:\Program Files\Common Files\Microsoft Shared\Grphflt\Cgmimp32.cfg

¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Ê¤É¤ò¥Á¥§¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£

set term ¥³¥Þ¥ó¥É¤Ç¥Ç¥Õ¥©¥ë¥È¤Î¥Õ¥©¥ó¥È¥ê¥¹¥È¤Ë¤Ê¤¤¥Õ¥©¥ó¥È̾¤ò»ØÄê ¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£¤½¤Î¾ì¹ç¡¢¤½¤Î»ØÄꤷ¤¿¥Õ¥©¥ó¥È¤¬ºÇ½é¤Ë¸½¤ï¤ì¤ë¿· ¤·¤¤¥Õ¥©¥ó¥È¥ê¥¹¥È¤¬ºî¤é¤ì¤Þ¤¹¡£¤½¤Î¥Õ¥©¥ó¥È̾¤Ë´Ø¤·¤Æ¡¢¥¹¥Ú¥ë¡¢Ã±¸ì ¤ÎÀèƬ¤ÎÂçʸ»ú²½¤ä¤É¤³¤Ë¥¹¥Ú¡¼¥¹¤¬Æþ¤ë¤«¤Ê¤É¤¬¡¢ºî¤é¤ì¤ë CGM ¥Õ¥¡¥¤¥ë ¤òÆɤॢ¥×¥ê¥±¡¼¥·¥ç¥ó¤Ë¤È¤Ã¤ÆŬÀڤʤâ¤Î¤Ç¤¢¤ë¤«¤ò¤Á¤ã¤ó¤È³Îǧ¤¹¤ëɬÍ× ¤¬¤¢¤ê¤Þ¤¹¡£(gnuplot ¤ÈǤ°Õ¤Î MIL-D-28003A ½àµò¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ï¡¢¥Õ ¥©¥ó¥È̾¤ÎÂçʸ»ú¾®Ê¸»ú¤Î°ã¤¤¤Ï̵»ë¤·¤Þ¤¹¡£) ¿·¤·¤¤¥Õ¥©¥ó¥È¤ò¤¤¤¯¤Ä¤âÄÉ ²Ã¤·¤¿¤¤¾ì¹ç¤Ï¡¢set term ¥³¥Þ¥ó¥É¤ò·«¤êÊÖ¤·»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

Îã:

     set terminal cgm 'Old English'
     set terminal cgm 'Tengwar'
     set terminal cgm 'Arabic'
     set output 'myfile.cgm'
     plot ...
     set output

set label ¥³¥Þ¥ó¥É¤Ç¤Ï¿·¤·¤¤¥Õ¥©¥ó¥È¤òƳÆþ¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£

92.8.2 CGM ¤Î¥Õ¥©¥ó¥È¥µ¥¤¥º (fontsize)

¥Õ¥©¥ó¥È¤Ï¡¢¥Ú¡¼¥¸¤¬ 6 ¥¤¥ó¥Á¤ÎÉý¤Ç¤¢¤ë¤È²¾Äꤷ¤Æ¿­½Ì¤µ¤ì¤Þ¤¹¡£size ¥³¥Þ¥ó¥É¤Ç¥Ú¡¼¥¸¤Î½Ä²£È椬Êѹ¹¤µ¤ì¤Æ¤¤¤¿¤ê¡¢CGM ¥Õ¥¡¥¤¥ë¤¬°Û¤Ê¤ëÉý¤ËÊÑ ´¹¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢·ë²Ì¤È¤·¤Æ¥Õ¥©¥ó¥È¤Î¥µ¥¤¥º¤â³ÈÂ礵¤ì¤¿¤ê½Ì¾®¤µ¤ì¤¿¤ê ¤¹¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£²¾Äꤵ¤ì¤Æ¤¤¤ëÉý¤òÊѹ¹¤¹¤ë¤Ë¤Ï¡¢width ¥ª¥×¥·¥ç¥ó ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

92.8.3 Cgm linewidth

linewidth ¥ª¥×¥·¥ç¥ó¤ÏÀþ¤ÎÉý¤ò¥Ý¥¤¥ó¥Èñ°Ì (pt) ¤ÇÀßÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥© ¥ë¥È¤ÎÉý¤Ï 1 pt ¤Ç¤¹¡£fontsize ¤ä width ¥ª¥×¥·¥ç¥ó¤Î¤È¤³¤í¤ÇÀâÌÀ¤µ ¤ì¤Æ¤¤¤ë¤è¤¦¤Ë¡¢¥Ú¡¼¥¸¤Î¼ÂºÝ¤ÎÉý¤Ë¤è¤Ã¤Æ¤½¤Î½Ì¼Ü¤Ï±Æ¶Á¤ò¼õ¤±¤Þ¤¹¡£

92.8.4 Cgm rotate

norotate ¥ª¥×¥·¥ç¥ó¤Ï¥Æ¥­¥¹¥È¤Î²óž¤ò¤·¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤¹¡£Î㤨¤Ð Word for Windows 6.0c ÍѤΠCGM ÆþÎÏ¥Õ¥£¥ë¥¿¤Ï²óž¤µ¤ì¤¿Ê¸»úÎó¤ò¼õ¤±ÉÕ¤±¤Þ¤¹ ¤¬¡¢Word ¤ËÉÕ°¤¹¤ë DRAW ¥¨¥Ç¥£¥¿¤Ï¤½¤ì¤ò¼õ¤±ÉÕ¤±¤ë¤³¤È¤¬¤Ç¤­¤º¡¢¥°¥é ¥Õ¤òÊÔ½¸¤¹¤ë¤È (Î㤨¤Ð¶ÊÀþ¤Ë¸«½Ð¤·¤ò¤Ä¤±¤ë)¡¢Á´¤Æ¤Î²óž¤µ¤ì¤¿Ê¸»úÎó¤Ï ¿åÊ¿Êý¸þ¤Ë¤Ê¤Ã¤ÆÊݸ¤µ¤ì¤Æ¤·¤Þ¤¤¡¢Y ¼´¤Î¸«½Ð¤·¤Ï¥¯¥ê¥Ã¥×¤µ¤ì¤ë¶­³¦Àþ¤ò ±Û¤¨¤Æ¤·¤Þ¤¦¤Ç¤·¤ç¤¦¡£norotate ¥ª¥×¥·¥ç¥ó¤ò»È¤¨¤Ð¡¢¸«±É¤¨¤ÎÎɤ¯¤Ê¤¤ ¾ì½ê¤«¤é Y ¼´¤Î¸«½Ð¤·¤¬»Ï¤Þ¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¤¬¡¢ÊÔ½¸¤Ë¤è¤Ã¤Æ¥À¥á¡¼¥¸¤ò¼õ ¤±¤ë¤³¤È¤Ï¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£rotate ¥ª¥×¥·¥ç¥ó¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎµóÆ°¤òÊݾڤ· ¤Þ¤¹¡£

92.8.5 Cgm solid

solid ¥ª¥×¥·¥ç¥ó¤ÏÉÁ²è¤ÎÅÀÀþ¤ÎÀþÉÁ²è¥¹¥¿¥¤¥ë¤ò̵¸ú¤¹¤ë¤Î¤Ë»È¤¤¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢¥«¥é¡¼¤¬Í­¸ú¤Ç¤¢¤ë¾ì¹ç¡¢¤Þ¤¿ÅÀÀþ¤Ë¤¹¤ë¤³¤È¤Ç¥°¥é¥Õ¤¬¸«¤Ë¤¯¤¯¤Ê ¤ë¾ì¹ç¤ËÍ­ÍѤǤ·¤ç¤¦¡£dashed ¥ª¥×¥·¥ç¥ó¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎµóÆ°¤òÊݾڤ·¡¢ ¤³¤Î¾ì¹ç¸Ä¡¹¤ÎÀþ¼ï¤Ë°Û¤Ê¤ëÅÀÀþ¤Î¥Ñ¥¿¡¼¥ó¤¬Í¿¤¨¤é¤ì¤Þ¤¹¡£

92.8.6 CGM ¤Î¥µ¥¤¥º (size)

CGM ¥°¥é¥Õ¤Î¥Ç¥Õ¥©¥ë¥È¤Î¥µ¥¤¥º¤Ï¡¢²£ÃÖ¤­ (landscape) ¤Ç¤ÏÉý 32599, ½Ä 23457¡¢½ÄÃÖ¤­ (portrait) ¤Ç¤ÏÉý 23457, ½Ä 32599 ¤Ç¤¹¡£

92.8.7 Cgm width

CGM ¥Õ¥¡¥¤¥ë¤ÎÁ´¤Æ¤ÎŤµ¤ÏÃê¾ÝŪ¤Êñ°Ì¤ò»ý¤Á¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤òÆɤॢ¥×¥ê ¥±¡¼¥·¥ç¥ó¤¬ºÇ½ªÅª¤Ê¥°¥é¥Õ¤Î¥µ¥¤¥º¤ò·èÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤ÏºÇ½ªÅª¤Ê ¥°¥é¥Õ¤ÎÉý¤Ï 6 ¥¤¥ó¥Á (15.24 cm) ¤Ç¤¢¤ë¤È²¾Äꤵ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤ÎÉý¤ÏÀµ ¤·¤¤¥Õ¥©¥ó¥È¥µ¥¤¥º¤ò·×»»¤¹¤ë¤Î¤Ë»È¤ï¤ì¡¢width ¥ª¥×¥·¥ç¥ó¤ÇÊѹ¹¤Ç¤­¤Þ ¤¹¡£¥­¡¼¥ï¡¼¥É width ¤Î¸å¤ËÉý¤ò¥Ý¥¤¥ó¥Èñ°Ì¤Ç»ØÄꤷ¤Þ¤¹¡£(¤³¤³¤Ç¡¢¥Ý ¥¤¥ó¥È¤Ï PostScript ¤ÈƱÍÍ 1/72 ¥¤¥ó¥Á¤ò°ÕÌ£¤·¤Þ¤¹¡£¤³¤Îñ°Ì¤Ï TeX ¤Ç¤Ï "big point" ¤È¸Æ¤Ð¤ì¤Æ¤¤¤Þ¤¹¡£) ¾¤Îñ°Ì¤«¤éÊÑ´¹¤¹¤ë¤Ë¤Ï¡¢gnuplot ¤Î¿ô ¼°¤¬»È¤¨¤Þ¤¹¡£

Îã:

     set terminal cgm width 432            # ¥Ç¥Õ¥©¥ë¥È
     set terminal cgm width 6*72           # ¾å¤ÈƱ¤¸ÃÍ
     set terminal cgm width 10/2.54*72     # 10 cm ¤ÎÉý

92.8.8 Cgm nofontlist

¥Ç¥Õ¥©¥ë¥È¤Î¥Õ¥©¥ó¥È¥ê¥¹¥È (font table) ¤Ï WebCGM ¤Ç´«¹ð¤µ¤ì¤Æ¤¤¤ë¥Õ¥© ¥ó¥È¤ò´Þ¤ó¤Ç¤¤¤Æ¡¢¤³¤ì¤Ï Microsoft Office ¤È Corel Draw ¤Î CGM (Computer Graphics Metafile) ÆþÎÏ¥Õ¥£¥ë¥¿¤ËŬ¹ç¤·¤Æ¤¤¤Þ¤¹¡£Â¾¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó ¤Ï°Û¤Ê¤ë¥Õ¥©¥ó¥È¡¢¤¢¤ë¤¤¤Ï°Û¤Ê¤ë¥Õ¥©¥ó¥È̾¤ò»ÈÍѤ¹¤ë¤«¤âÃΤì¤Þ¤»¤ó¤¬¡¢ ¤½¤ì¤Ï¥Þ¥Ë¥å¥¢¥ë¤Ë¤Ï½ñ¤«¤ì¤Æ¤¤¤Ê¤¤¤«¤âÃΤì¤Þ¤»¤ó¡£¥ª¥×¥·¥ç¥ó nofontlist (winword6 ¤âƱ¤¸°ÕÌ£) ¤ò»ÈÍѤ¹¤ë¤È CGM ¥Õ¥¡¥¤¥ë¤«¤é¥Õ¥© ¥ó¥È¥ê¥¹¥È¤òºï½ü¤·¤Þ¤¹¡£¤³¤Î¾ì¹ç¡¢Æɤ߹þ¤ó¤À¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ï¥Ç¥Õ¥©¥ë ¥È¤Î¥Õ¥©¥ó¥È¥ê¥¹¥È¤ò»ÈÍѤ¹¤ë¤Ç¤·¤ç¤¦¡£gnuplot ¤Ï¤½¤Î¾ì¹ç¤Ç¤â¥Õ¥©¥ó¥ÈÈÖ ¹æ¤ÎÁªÂò¤Î¤¿¤á¤Ë¼«Ê¬¤Î¥Ç¥Õ¥©¥ë¥È¤Î¥Õ¥©¥ó¥È¥ê¥¹¥È¤ò»ÈÍѤ·¤Þ¤¹¡£¤è¤Ã¤Æ¡¢ 'Helvetica' ¤¬ 1 È֤ˤʤꡢ¤½¤ì¤¬¤¢¤Ê¤¿¤Î»ÈÍѤ¹¤ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î¥Ç ¥Õ¥©¥ë¥È¥Õ¥©¥ó¥È¥ê¥¹¥È¤ÎºÇ½é¤Î¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£'Helvetica Bold' ¤¬¤½¤Î ¥Õ¥©¥ó¥È¥ê¥¹¥È¤Î 2 ÈÖÌܤΥե©¥ó¥È¤ËÂбþ¤·¡¢Â¾¤âƱÍͤȤʤê¤Þ¤¹¡£

92.9 Context

ConTeXt ¤Ï (³¨¤ÎÉÁ²è¤Î¤¿¤á¤Ë) Metapost ¤È¹âÅÙ¤ËÍ»¹ç¤·¡¢¹âÉʼÁ¤Ê PDF ʸ ½ñ¤òÀ¸À®¤¹¤ë¤¿¤á¤Î TeX ¤Î¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤Ç¤¹¡£¤³¤Î½ÐÎÏ·Á¼°¤Ï¡¢Metafun ¥½¡¼¥¹¤òÀ¸À®¤·¤Þ¤¹¤¬¡¢¤³¤ì¤Ï¼êÆ°¤ÇÊÔ½¸¤Ç¤­¡¢³°Éô¤«¤é¤Û¤È¤ó¤É¤Î¤³¤È¤ò¤¢ ¤Ê¤¿¤¬ÀßÄê¤Ç¤­¤Þ¤¹¡£

ConTeXt + gnuplot ¥â¥¸¥å¡¼¥ë¤ÎÊ¿¶ÑŪ¤Ê¥æ¡¼¥¶¤Ë¤Ï¡¢¤³¤Î¥Ú¡¼¥¸¤òÆɤà¤è¤ê ¤â¡¢Using ConTeXt ¤ò»²¾È¤¹¤ë¤«¡¢ConTeXt ¤Î gnuplot ¥â¥¸¥å¡¼¥ë¤Î¥Þ¥Ë¥å ¥¢¥ë¤ò»²¾È¤¹¤ë¤³¤È¤ò¿ä¾©¤·¤Þ¤¹¡£

½ÐÎÏ·Á¼° context ¤Ï¡¢°Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹:

½ñ¼°:

    set term context {default}
            {defaultsize | size <scale> | size <xsize>{in|cm}, <ysize>{in|cm}}
            {input | standalone}
            {timestamp | notimestamp}
            {noheader | header "<header>"}
            {color | colour | monochrome}
            {rounded | mitered | beveled} {round | butt | squared}
            {dashed | solid} {dashlength | dl <dl>}
            {linewidth | lw <lw>}
            {fontscale <fontscale>}
            {mppoints | texpoints}
            {inlineimages | externalimages}
            {defaultfont | font "{<fontname>}{,<fontsize>}"}

standalone ¤Ç¤Ê¤¤¥°¥é¥Õ (input) ¤Ç¤Ï¡¢¥ª¥×¥·¥ç¥ó¤Ï¥°¥é¥Õ¥µ¥¤¥º¤òÁªÂò ¤¹¤ë size¡¢¤¹¤Ù¤Æ¤Î¥é¥Ù¥ë¤òÇÜΨ < fontscale> ¤Ç¿­½Ì¤¹¤ë fontscasle¡¢ ¤ª¤è¤Ó font ¥µ¥¤¥º¤Î¤ß°ÕÌ£¤ò»ý¤Á¡¢Â¾¤Î¥ª¥×¥·¥ç¥ó¤Ï·Ù¹ð¤Ê¤¯Ìµ»ë¤µ¤ì¤ë¤Î ¤ß¤Ç¡¢¤½¤ì¤é¤Ï¤½¤Î¥°¥é¥Õ¥£¥Ã¥¯¤òÆɤ߹þ¤à .tex ¥Õ¥¡¥¤¥ë¤ÎÊý¤ÇÀßÄꤷ¤Æ¤¯ ¤À¤µ¤¤¡£¸µ¤Îʸ½ñ¤Î¥Õ¥©¥ó¥È¤¬ 12pt ¤Ç¤Ï¤Ê¤¤¾ì¹ç¤Ï¡¢Å¬Àڤʥե©¥ó¥È¥µ¥¤¥º ¤ò»ØÄꤹ¤ë¤³¤È¤ò¶¯¤¯¿ä¾©¤·¤Þ¤¹¡£¤½¤ì¤Ë¤è¤ê¡¢gnuplot ¤¬¥é¥Ù¥ëÍѤˤɤ줯 ¤é¤¤¤ÎÂ礭¤µ¤Î¥¹¥Ú¡¼¥¹¤ò³ÎÊݤ¹¤ì¤Ð¤¤¤¤¤«¤òÃΤ뤳¤È¤¬¤Ç¤­¤Þ¤º¡£

default ¤Ï¡¢¤¹¤Ù¤Æ¤Î¥ª¥×¥·¥ç¥ó¤ò¥Ç¥Õ¥©¥ë¥È¤ÎÃͤ˥ꥻ¥Ã¥È¤·¤Þ¤¹¡£

defaultsize ¤Ï¡¢ÉÁ²è¥µ¥¤¥º¤ò 5in x 3in ¤ËÀßÄꤷ¤Þ¤¹¡£ size < scale> ¤Ï¡¢ÉÁ²è¥µ¥¤¥º¤ò¥Ç¥Õ¥©¥ë¥È¥µ¥¤¥º¤Î < scale> Çܤˤ·¤Þ¤¹¤¬ °ú¿ô¤ò ',' ¶èÀÚ¤ê¤Ç 2 ¤ÄÍ¿¤¨¤¿¾ì¹ç¤Ï¡¢ºÇ½é¤Î¤â¤Î¤Ï²£¤Î¥µ¥¤¥º¤ò¡¢2 ¤ÄÌÜ ¤Î¤â¤Î¤Ï¿âľ¥µ¥¤¥º¤òÀßÄꤷ¤Þ¤¹¡£¤½¤ì¤é¤Î¥µ¥¤¥º¤Ë¤Ï¡¢Ã±°Ì¤È¤·¤Æ¥¤¥ó¥Á ('in'), ¥»¥ó¥Á ('cm') ¤¬»È¤¨¤Þ¤¹¤¬¡¢¾Êά¤·¤¿¾ì¹ç¤Ï¥Ç¥Õ¥©¥ë¥ÈÃͤËÂФ¹¤ë Èæ¤Ç¤¢¤ë¤È¤ß¤Ê¤·¤Þ¤¹¡£

input (¥Ç¥Õ¥©¥ë¥È) ¤Ï¡¢Â¾¤Î ConTeXt ʸ½ñ¤«¤é¼è¤ê¹þ¤á¤ë¥°¥é¥Õ¤òÀ¸À®¤· ¤Þ¤¹¡£ standalone ¤Ï¡¢¤½¤ì¤Ë¿ô¹ÔÄɲä·¡¢¤½¤ì¼«¿È¤¬¤½¤Î¤Þ¤Þ¥³¥ó¥Ñ¥¤¥ë¤Ç¤­¤ë¤è ¤¦¤Ë¤·¤Þ¤¹¡£¤½¤Î¾ì¹ç¡¢header ¥ª¥×¥·¥ç¥ó¤¬É¬Íפˤʤ뤫¤â¤·¤ì¤Þ¤»¤ó¡£

standalone ¤Î¥°¥é¥Õ¤ËÀßÄê/ÄêµÁ/¥Þ¥¯¥í¤òÄɲä·¤¿¤¤¾ì¹ç¤Ï header ¤ò»ÈÍÑ ¤·¤Æ¤¯¤À¤µ¤¤¡£¥Ç¥Õ¥©¥ë¥È¤Ï noheader ¤Ç¤¹¡£

notimestamp ¤Ï¡¢¥³¥á¥ó¥ÈÉôʬ¤ÎÆü»þ¤Î½ÐÎϤòÍÞÀ©¤·¤Þ¤¹ (¥Ð¡¼¥¸¥ç¥ó´ÉÍý ¥·¥¹¥Æ¥à¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢ÆüÉÕ¤À¤±°ã¤¦¤â¤Î¤ò¿·¤·¤¤¥Ð¡¼¥¸¥ç¥ó¤È¤·¤ÆÅÐÏ¿ ¤·¤¿¤¯¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦)¡£

color (¥Ç¥Õ¥©¥ë¥È) ¤Ï¡¢¥«¥é¡¼ÉÁ²è¤òÀ¸À®¤·¤Þ¤¹¤¬¡¢monochrome ¤Ï°ìÀÚ special ¤òÆþ¤ì¤Þ¤»¤ó¡£Çò¹õ¥×¥ê¥ó¥¿ÍѤˤϡ¢¤½¤ÎµóÆ°¤ò¤³¤ó¤ÊÉ÷¤ËÊѤ¨¤¿Êý ¤¬¤â¤Ã¤ÈÎɤ¯¤Ê¤ë¤È¤¤¤¦¥¢¥¤¥Ç¥¢¤ò»ý¤Ã¤Æ¤¤¤ë¿Í¤Ï¡¢À§ÈóÄó°Æ¤·¤Æ¤¯¤À¤µ¤¤¡£

rounded (¥Ç¥Õ¥©¥ë¥È) ¤È mitered, beveled ¤Ï¡¢Àþʬ¤ÎÀܹçÉô¤Î·Á¾õ¤ò À©¸æ¤·¡¢round (default) ¤È butt, squared ¤Ï¡¢Àþʬ¤Îü¤Î·Á¾õ¤òÀ©¸æ ¤·¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢PostScript ¤« PDF ¤Î¥ê¥Õ¥¡¥ì¥ó¥¹¥Þ¥Ë¥å¥¢¥ë¤ò»²¾È¤·¤Æ¤¯ ¤À¤µ¤¤¡£·ã¤·¤¯ÊѲ½¤¹¤ë´Ø¿ô¤ÈÂÀ¤¤ÀþÍѤˤϡ¢Àþʬ¤ÎÀܹçÉô¤Ç¤ÎÀí¤Ã¤¿³Ñ¤òÈò ¤±¤ë¤è¤¦¤Ërounded ¤È round ¤ò»È¤¦¤È¤¤¤¤¤Ç¤·¤ç¤¦¡£ (¤³¤ì¤Ë´Ø¤¹¤ë°ìÈÌŪ¤Ê»ÅÁȤߤϡ¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ò³ÆÉÁ²è¥¹¥¿¥¤¥ëËè¤ËÊÌ¡¹¤Ë »ØÄê¤Ç¤­¤ë¤è¤¦ gnuplot ¤¬¥µ¥Ý¡¼¥È¤¹¤Ù¤­¤À¤È»×¤¤¤Þ¤¹¡£)

dashed (¥Ç¥Õ¥©¥ë¥È) ¤Ï¡¢°Û¤Ê¤ëÀþ¼ï¤Ë°Û¤Ê¤ëÅÀÀþ¥Ñ¥¿¡¼¥ó¤ò»È¤¤¡¢solid ¤Ï¡¢¤¹¤Ù¤Æ¤ÎÉÁ²è¤Ë¼ÂÀþ¤ò»ÈÍѤ·¤Þ¤¹¡£

dashlength (¤Þ¤¿¤Ï dl) ¤Ï¡¢ÅÀÀþ¤ÎÀþʬ¤ÎŤµ¤ò < dl> Çܤ·¤Þ¤¹¡£ linewidth (¤Þ¤¿¤Ï lw) ¤Ï¡¢¤¹¤Ù¤Æ¤ÎÀþÉý¤ò < lw> Çܤ·¤Þ¤¹¡£ (lw 1 ¤Ï 0.5bp ¤ò°ÕÌ£¤·¡¢¤³¤ì¤Ï Metapost ¤ÎÉÁ²è¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÀþÉý¤Ç¤¹) fontscale ¤Ï¡¢¥Æ¥­¥¹¥È¥é¥Ù¥ë¤ò¥Ç¥Õ¥©¥ë¥È¤Îʸ½ñ¥Õ¥©¥ó¥È¤Î < fontscale> Çܤ˳ÈÂ礷¤Þ¤¹¡£

mppoints ¤Ï¡¢Metapost ¤ÇÉÁ²è¤µ¤ì¤¿ÄêµÁºÑ¤ß¤ÎÅÀ¤Î·Á¾õ¤ò»ÈÍѤ·¤Þ¤¹¡£ texpoints ¤Ï¡¢´Êñ¤ËÀßÄê¤Ç¤­¤ëµ­¹æ¥»¥Ã¥È¤ò»ÈÍѤ·¤Þ¤¹¡£¤³¤ì¤Ï¡¢°Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ ConTeXt ¤ÇÄêµÁ¤Ç¤­¤Þ¤¹:

    \defineconversion[my own points][+,{\ss x},\mathematics{\circ}]
    \setupGNUPLOTterminal[context][points=tex,pointset=my own points]

inlineimages ¤Ï¡¢¥Ð¥¤¥Ê¥ê²èÁü¤òʸ»úÎó¤È¤·¤Æ½ñ¤­½Ð¤·¤Þ¤¹¤¬¡¢¤³¤ì¤Ï ConTeXt MKIV ¤Î¤ß¤Çµ¡Ç½¤·¤Þ¤¹¡£ externalimages ¤Ï¡¢PNG ¥Õ¥¡¥¤¥ë¤ò³°Éô½ÐÎϤ·¡¢¤³¤ì¤Ï ConTeXt MKII ¤Çµ¡ ǽ¤·¤Þ¤¹¡£¤³¤ì¤¬Æ°ºî¤¹¤ë¤¿¤á¤Ë¤Ï¡¢gnuplot ¤¬ PNG ²èÁü½ÐÎϤò¥µ¥Ý¡¼¥È¤·¤Æ ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

standalone ¤Î¥°¥é¥Õ¤Ç¤Ï¡¢font ¤Ç¥Õ¥©¥ó¥È̾¤È¥µ¥¤¥º¤òÀßÄê¤Ç¤­¤Þ¤¹¡£ standalone ¤Ç¤Ê¤¤¥â¡¼¥É (input) ¤Ç¤Ï¡¢¥Æ¥­¥¹¥È¥é¥Ù¥ë¤Ë½½Ê¬¤Ê¥¹¥Ú¡¼¥¹ ¤ò³ä¤êÅö¤Æ¤ë¤¿¤á¤Ë¥Õ¥©¥ó¥È¥µ¥¤¥º¤Î¤ß¤¬°ÕÌ£¤ò»ý¤Á¤Þ¤¹ ¥³¥Þ¥ó¥É

    set term context font "myfont,ss,10"

¤Ï¡¢°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹:
    \setupbodyfont[myfont,ss,10pt]

Î㤨¤Ð¤µ¤é¤ËÄÉ²Ã¤Ç fontscale ¤ò 0.8 ¤ËÀßÄꤹ¤ë¤È¡¢·ë²Ì¤È¤·¤Æ¥Õ¥©¥ó¥È ¤Ï 8pt ¤ÎÂ礭¤µ¤Ë¤Ê¤ê¡¢
    set label ... font "myfont,12"

¤Ï 9.6pt ¤Ë¤Ê¤ê¤Þ¤¹¡£

ŬÅö¤Ê¥¿¥¤¥×¥¹¥¯¥ê¥×¥È¥Õ¥©¥ó¥È (¤È¥Ø¥Ã¥À¡¼) ¤òÍÑ°Õ¤¹¤ë¤Î¤Ï¼«Ê¬¤Ç¹Ô¤Ã¤Æ ¤µ¤â¤Ê¤¯¤Ð¥Õ¥©¥ó¥È¤ÎÀÚ¤êÂؤ¨¤Ï¸ú²Ì¤ò»ý¤Á¤Þ¤»¤ó¡£ConTeXt MKII (pdfTeX) ¤Îɸ½à¥Õ¥©¥ó¥È¤Ï¡¢°Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ»È¤¨¤Þ¤¹:

    set terminal context standalone header '\usetypescript[iwona][ec]' \
        font "iwona,ss,11"

¥Õ¥©¥ó¥È¤ÎÍøÍѤ˴ؤ¹¤ë ConTeXt ¤ÎºÇ¿·¤Î¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢ConTeXt ¤Îʸ½ñ¡¢ wiki¡¢¥á¡¼¥ê¥ó¥°¥ê¥¹¥È (¥¢¡¼¥«¥¤¥Ö) ¤òõ¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

Îã:

    set terminal context size 10cm, 5cm     # 10cm, 5cm
    set terminal context size 4in, 3in      # 4in, 3in

UTF-8 ¥¨¥ó¥³¡¼¥É¥é¥Ù¥ë¤ò standalone (¥Ú¡¼¥¸Á´ÂÎ) ¥°¥é¥Õ¤Ç»ÈÍѤ¹¤ë¤Ë¤Ï:
    set terminal context standalone header '\enableregime[utf-8]'

92.9.1 Requirements

ConTeXt ÍѤΠgnuplot ¥â¥¸¥å¡¼¥ë:

http://ctan.org/pkg/context-gnuplot

¤È¡¢ºÇ¿·¤Î ConTeXt ¤¬É¬ÍפǤ¹¡£ ¤½¤³¤«¤é gnuplot ¤ò¸Æ¤Ó½Ð¤¹¤Ë¤Ï¡¢write18 ¤ò²Äǽ¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤Û¤È¤ó¤É¤Î TeX ÇÛÉÕʪ¤Ç¤Ï¡¢¤³¤ì¤Ï texmf.cnf ¤Ç shell_escape=t ¤È¤¹¤ë¤³ ¤È¤ÇÀßÄê¤Ç¤­¤Þ¤¹¡£

¤³¤Î½ÐÎÏ·Á¼°¤È¤è¤ê¾Ü¤·¤¤¥Ø¥ë¥×¤ÈÎã¤Ë´Ø¤·¤Æ¤Ï°Ê²¼¤â»²¾È¤·¤Æ¤¯¤À¤µ¤¤:

http://wiki.contextgarden.net/Gnuplot

92.9.2 Calling gnuplot from ConTeXt

ConTeXt ʸ½ñ¤Ç¥°¥é¥Õ¤òºîÀ®¤¹¤ëºÇ¤â´Êñ¤ÊÊýË¡¤Ï°Ê²¼¤ÎÄ̤ê:
    \usemodule[gnuplot]
    \starttext
    \title{How to draw nice plots with {\sc gnuplot}?}
    \startGNUPLOTscript[sin]
    set format y "%.1f"
    plot sin(x) t '$\sin(x)$'
    \stopGNUPLOTscript
    \useGNUPLOTgraphic[sin]
    \stoptext

¤³¤ì¤Ï¼«Æ°Åª¤Ë gnuplot ¤ò¼Â¹Ô¤·¡¢¤½¤Î·ë²Ì¤Î²èÁü¤òʸ½ñÃæ¤Ë¼è¤ê¹þ¤ß¤Þ¤¹¡£

92.10 Corel

corel ½ÐÎÏ·Á¼°¤Ï CorelDraw ÍѤνÐÎϤǤ¹¡£

½ñ¼°:

     set terminal corel {  default
                         | {monochrome | color
                              {"<font>" {<fontsize> 
                                 {<xsize> <ysize> {<linewidth> }}}}}

¤³¤³¤Ç¡¢¥Õ¥©¥ó¥È¥µ¥¤¥º (fontsize) ¤ÈÀþÉý (linewidth) ¤Ï¥Ý¥¤¥ó¥Èñ °Ì¡¢²£Éý (xsize) ¤È½ÄÉý (ysize) ¤Ï¥¤¥ó¥Áñ°Ì¤Ç¤¹¡£¥Ç¥Õ¥©¥ë¥È¤ÎÃÍ¤Ï ¤½¤ì¤¾¤ì¡¢monochrome, "SwitzerlandLight", 22, 8.2, 10, 1.2 ¤Ç¤¹¡£

92.11 Debug

¤³¤Î¥É¥é¥¤¥Ð¤Ï gnuplot ¤Î¥Ç¥Ð¥Ã¥°¤Î¤¿¤á¤ËÄ󶡤µ¤ì¤Æ¤¤¤ë¤â¤Î¤Ç¤¹¡£¤ª ¤½¤é¤¯¥½¡¼¥¹¥³¡¼¥É¤ò½¤Àµ¤¹¤ë¥æ¡¼¥¶¤Î¤ß¤¬»ÈÍѤ¹¤ë¤â¤Î¤Ç¤·¤ç¤¦¡£

92.12 Dumb

¥À¥àüËö (dumb) ¥É¥é¥¤¥Ð¤Ï¡¢ASCII ʸ»ú¤ò»ÈÍѤ·¤Æ¥Æ¥­¥¹¥ÈÎΰè¤ËÉÁ²è¤· ¤Þ¤¹¡£¥µ¥¤¥º¤Î»ØÄê¤È²þ¹ÔÀ©¸æÍѤΥª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£

½ñ¼°:

     set terminal dumb {size <xchars>,<ychars>} {[no]feed}
                       {[no]enhanced}

< xchars> , < ychars> ¤Ï¥Æ¥­¥¹¥ÈÎΰè¤Î¥µ¥¤¥º¤òÀßÄꤷ¡¢¥Ç¥Õ¥©¥ë¥È¤Ï 79 x 24 ¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£ºÇ¸å¤Î²þ¹Ô¤Ï¡¢feed ¥ª¥×¥·¥ç¥ó¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Î¤ß ½ÐÎϤµ¤ì¤Þ¤¹¡£

Îã:

     set term dumb size 60,15
     plot [-5:6.5] sin(x) with impulse


          1 +-------------------------------------------------+
        0.8 +|||++                   ++||||++   sin(x) +----+ |
        0.6 +|||||+                 ++|||||||+                |
        0.4 +||||||+               ++|||||||||+               |
        0.2 +|||||||+             ++|||||||||||+             +|
          0 ++++++++++++++++++++++++++++++++++++++++++++++++++|
       -0.2 +        +|||||||||||+              +|||||||||||+ |
       -0.4 +         +|||||||||+                +|||||||||+  |
       -0.6 +          +|||||||+                  +|||||||+   |
       -0.8 +   +       ++||||+   +       +        ++||||+  + |
         -1 +---+--------+--------+-------+--------+--------+-+
               -4       -2        0       2        4        6

92.13 Dxf

dxf ¥É¥é¥¤¥Ð¤Ï¡¢AutoCad (¥ê¥ê¡¼¥¹ 10.x) ¤Ë¼è¤ê¹þ¤à¤³¤È¤¬¤Ç¤­¤ë²èÁü¤ò À¸À®¤·¤Þ¤¹¡£¤³¤Î¥É¥é¥¤¥Ð¼«¿È¤Ë¤Ï¥ª¥×¥·¥ç¥ó¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢ÉÁ²è¤Ë´Ø¤¹¤ë ¤¤¤¯¤Ä¤«¤ÎÆÃħ¤Ï¾¤ÎÊýË¡¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤ÎÂ礭¤µ¤Ï AutoCad ¤Îñ°Ì¤Ç¤Î 120x80 ¤Ç¡¢¤³¤ì¤Ï set size ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£dxf ¤Ï 7 ¿§ (Çò¡¢ÀÖ¡¢²«¡¢ÎС¢¿å¿§¡¢ÀÄ¡¢ÀÖ»ç) ¤ò»È¤¤¤Þ¤¹¤¬¡¢¤³¤ì¤òÊѹ¹¤¹¤ë¤Ë¤Ï¥É¥é ¥¤¥Ð¥½¡¼¥¹¥Õ¥¡¥¤¥ë¤ò½¤Àµ¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£Çò¹õ¤Î½ÐÎÏÁõÃÖ¤ò»È¤¦¾ì¹ç¡¢ ¤½¤ì¤é¤Î¿§¤ÏÀþ¤ÎÂÀ¤µ¤Î°ã¤¤¤Çɽ¸½¤µ¤ì¤Þ¤¹¡£¾ÜºÙ¤Ï AutoCad ¤Î°õºþ/¥×¥í¥Ã ¥¿½ÐÎÏ¥³¥Þ¥ó¥É¤Ë´Ø¤¹¤ëµ­½Ò¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

92.14 Dxy800a

¤³¤Î¥É¥é¥¤¥Ð¤Ï Roland DXY800A ¥×¥í¥Ã¥¿¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó¤Ï¤¢ ¤ê¤Þ¤»¤ó¡£

92.15 Eepic

eepic ¥É¥é¥¤¥Ð¤Ï LaTeX picture ´Ä¶­¤ò³ÈÄ¥¤¹¤ë¤â¤Î¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£ ¤³¤ì¤Ï latex ¥É¥é¥¤¥Ð¤ËÂå¤ï¤ëÊ̤ÊÁªÂò»è¤Ç¤¹¡£

¤³¤Î¥É¥é¥¤¥Ð¤Ë¤è¤ë½ÐÎϤϡ¢LaTeX ÍѤΠ"eepic.sty" ¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤È¶¦ ¤Ë»È¤ï¤ì¤ë¤³¤È¤ò²¾Äꤷ¤Æ¤¤¤Þ¤¹¡£¤½¤ì¤ò»È¤¦¤Ë¤Ï¡¢"eepic.sty" ¤È "epic.sty"¡¢¤ª¤è¤Ó "tpic" \ special Ì¿Îá·²¤ò¥µ¥Ý¡¼¥È¤¹¤ë¥×¥ê¥ó¥¿¥É¥é¥¤ ¥Ð¤¬É¬ÍפǤ¹¡£¤â¤·¡¢¤¢¤Ê¤¿¤Î»È¤¦¥×¥ê¥ó¥¿¥É¥é¥¤¥Ð¤¬¤½¤ì¤é¤Î "tpic" \ special Ì¿Îá¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ç¤â¡¢"eepicemu.sty" ¤ò»È¤¦¤³¤È¤Ç ¤½¤ì¤é¤Î¤¦¤Á¤Î¤¤¤¯¤Ä¤«¤ò»È¤¨¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ dvips ¤È dvipdfm ¤Ï "tpic" \ special ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£

½ñ¼°:

  set terminal eepic {default} {color|dashed} {rotate} {size XX,YY}
                     {small|tiny|<fontsize>}

¥ª¥×¥·¥ç¥ó: ¥ª¥×¥·¥ç¥ó¤ÏǤ°Õ¤Î½çÈÖ¤ÇÍ¿¤¨¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ 'color' ¤Ï gnuplot ¤Ë \ color{...} ¥³¥Þ¥ó¥É¤òÀ¸À®¤µ¤»¡¢¤½¤ì¤Ë¤è¤ê¥°¥é¥Õ ¤ò¥«¥é¡¼¤Ë¤·¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¢latex ʸ½ñ¤Î¥×¥ê¥¢¥ó ¥Ö¥ë¤Ë \ usepackage{color} ¤òÆþ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ 'dashed' ¤ÏÀþ¼ï¤ËÅÀÀþ¤ò»ÈÍѤ¹¤ë¤³¤È¤òµö²Ä¤·¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄê ¤·¤Ê¤¤¤È¡¢¿§¡¹¤ÊÂÀ¤µ¤Î¼ÂÀþ¤Î¤ß¤¬»È¤ï¤ì¤Þ¤¹¡£ 'dashed' ¤È 'color' ¤Ï°ìÊý¤Î¤ß¤¬°ÕÌ£¤ò»ý¤Á¡¢'color' ¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢ 'dashed' ¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£ 'rotate' ¤ÏËÜÅö¤Ë²óž (90 ÅÙ) ¤µ¤ì¤¿Ê¸»úÎó¤ò»ÈÍѤ¹¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£»Ø Äꤷ¤Ê¤¤¾ì¹ç¤Ï¡¢1 ʸ»ú 1 ʸ»ú¡¢¾å¤ËÀѤ߾夲¤Æ¤¤¤¯ÊýË¡¤Ç²óž¤µ¤ì¤¿Ê¸»ú Îó¤òºî¤ê¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»È¤¦¾ì¹ç¤Ï¡¢ \ usepackage{graphicx} ¤ò¥×¥ê ¥¢¥ó¥Ö¥ë¤ËÆþ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ 'small' ¤Ï point ¥¹¥¿¥¤¥ë¤Ç¤Î¥°¥é¥ÕÉÁ²è¤Î°õ¤È¤·¤Æ \ scriptsize ¤Îµ­¹æ¤ò »ÈÍѤ·¤Þ¤¹ (¿ʬ¤³¤ì¤Ï TeX ¤Ç¤Ï¤À¤á¤Ç¡¢LaTeX2e ¤Ç¤·¤«»È¤¨¤Ê¤¤¤Ç¤·¤ç¤¦)¡£ ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ïɸ½à¤Î¿ô¼°¤Î¥µ¥¤¥º¤ò»ÈÍѤ·¤Þ¤¹¡£ 'tiny' ¤Ï¡¢¤½¤ì¤Ë \ scriptscriptstyle ¤Îµ­¹æ¤ò»ÈÍѤ·¤Þ¤¹¡£ 'default' ¤ÏÁ´¤Æ¤Î¥ª¥×¥·¥ç¥ó¤ò¥Ç¥Õ¥©¥ë¥È¤ÎÃͤ˥ꥻ¥Ã¥È¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë ¥È¤Ï¡¢color ¤Ï¤Ê¤·¡¢dashed line ¤Ï¤Ê¤·¡¢µ¿»÷²óž (ÀѤ߾夲) ʸ»úÎó¤Î»È ÍÑ¡¢Â礭¤Ê¥µ¥¤¥º¤Îµ­¹æ¤Î»ÈÍÑ¡¢¤Ç¤¹¡£ < fontsize> ¤Ï picture ´Ä¶­Æâ¤Ç¤Î¥Õ¥©¥ó¥È¥µ¥¤¥º¤ò»ØÄꤹ¤ë¿ô»ú¤Ç¤¹¡£Ã±°Ì ¤Ï pt (¥Ý¥¤¥ó¥È) ¤Ç¡¢10 pt ¤Ï¤Û¤Ü 3.5 mm ¤Ç¤¹¡£¥Õ¥©¥ó¥È¥µ¥¤¥º¤ò»ØÄꤷ ¤Ê¤¤¾ì¹ç¡¢Á´¤Æ¤Î¥°¥é¥ÕÆâ¤Îʸ»ú¤Ï \ footnotesize ¤ËÀßÄꤵ¤ì¤Þ¤¹¡£

Ãí°Õ: ʸ»ú # (¤ª¤è¤Ó¤½¤Î¾ (La)TeX ¤ÇÆÃÊ̤ʰÕÌ£¤ò»ý¤Ä¤½¤Î¾¤Îʸ»ú) ¤ò \ \ (¥Ð ¥Ã¥¯¥¹¥é¥Ã¥·¥å 2 ¤Ä) ¤Ç¥¨¥¹¥±¡¼¥×¤¹¤ë¤³¤È¤ò˺¤ì¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ ¥°¥é¥Õ¤Î³Ñ¤¬¶á¤¹¤®¤ë¤ÈÅÀÀþ¤Ï¼ÂÀþ¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£(¤³¤ì¤¬ tpic specials ¤Î°ìÈÌŪ¤ÊÌäÂê¤Ê¤Î¤«¡¢eepic.sty ¤ä dvips/dvipdfm ¤Î¥Ð¥°¤¬¸¶°ø¤Ê¤Î¤«¤Ï»ä ¤Ë¤Ï¤ï¤«¤ê¤Þ¤»¤ó¡£) ¥Ç¥Õ¥©¥ë¥È¤Î eepic ¥°¥é¥Õ¤ÎÂ礭¤µ¤Ï 5x3 ¥¤¥ó¥Á¤Ç¡¢¤³¤ì¤Ï teminal ¥ª¥×¥· ¥ç¥ó¤Î size ¤ÇÊѹ¹²Äǽ¤Ç¤¹¡£ ¿ô¤¢¤ëÃæ¤Ç¡¢ÅÀ (point) ¤Ï¡¢LaTeX ¤Î¥³¥Þ¥ó¥É " \ Diamond", " \ Box" ¤Ê¤É¤ò »È¤Ã¤ÆÉÁ¤«¤ì¤Þ¤¹¡£¤³¤ì¤é¤Î¥³¥Þ¥ó¥É¤Ï¸½ºß¤Ï LaTeX2e ¤Î¥³¥¢¤Ë¤Ï¸ºß¤»¤º latexsym ¥Ñ¥Ã¥±¡¼¥¸¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢¤³¤Î¥Ñ¥Ã¥±¡¼¥¸´ðËÜÇÛÉۤΰìÉô¤Ç ¤¢¤ê¡¢¤è¤Ã¤Æ¿¤¯¤Î LaTeX ¤Î¥·¥¹¥Æ¥à¤Î°ìÉô¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥Ñ¥Ã¥±¡¼ ¥¸¤ò»È¤¦¤³¤È¤ò˺¤ì¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£latexsym ¤ÎÂå¤ï¤ê¤Ë amssymb ¥Ñ¥Ã¥±¡¼ ¥¸¤ò»È¤¦¤³¤È¤â²Äǽ¤Ç¤¹¡£ LaTeX ¤Ë´Ø¤¹¤ëÁ´¤Æ¤Î¥É¥é¥¤¥Ð¤Ïʸ»úÎó¤ÎÇÛÃÖ¤ÎÀ©¸æ¤ËÆÃÊ̤ÊÊýË¡¤òÄ󶡤·¤Þ ¤¹: '{' ¤Ç»Ï¤Þ¤ëʸ»úÎó¤Ï¡¢'}' ¤ÇÊĤ¸¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤¬¡¢¤½¤Îʸ»úÎóÁ´ÂÎ ¤¬¿åÊ¿Êý¸þ¤Ë¤â¿âľÊý¸þ¤Ë¤â¥»¥ó¥¿¥ê¥ó¥°¤µ¤ì¤Þ¤¹¡£'[' ¤Ç»Ï¤Þ¤ëʸ»úÎó¤Î¾ì ¹ç¤Ï¡¢°ÌÃ֤λØÄê¤ò¤¹¤ëʸ»úÎó (t,b,l,r ¤Î¤¦¤Á 2 ¤Ä¤Þ¤Ç) ¤¬Â³¤­¡¢¼¡¤Ë ']{'¡¢Ê¸»úÎóËÜÂΡ¢¤ÇºÇ¸å¤Ë '}' ¤È¤·¤Þ¤¹¤¬¡¢¤³¤Îʸ»úÎó¤Ï LaTeX ¤¬ LR-box ¤È¤·¤ÆÀ°·Á¤·¤Þ¤¹¡£' \ rule{}{}' ¤ò»È¤¨¤Ð¤µ¤é¤ËÎɤ¤°ÌÃÖ¹ç¤ï¤»¤¬²Äǽ¤Ç¤·¤ç ¤¦¡£

Îã: set term eepic

 ¤Ï¡¢¥°¥é¥Õ¤ò picture ´Ä¶­¤Ë´Þ¤Þ¤ì¤¿ eepic ¥Þ¥¯¥í¤È¤·¤Æ½ÐÎϤ·¤Þ¤¹¡£
 ¤½¤Î¥Õ¥¡¥¤¥ë¤ò LaTeX ʸ½ñ¤Ë \input ¤Ç¼è¤ê¹þ¤ó¤Ç¤¯¤À¤µ¤¤¡£

set term eepic color tiny rotate 8
 eepic ¥Þ¥¯¥í¤ò \color ¥Þ¥¯¥í¡¢point °õ¤Ï \scripscriptsize ¤ÎÂ礭¤µ¡¢
 ËÜÅö¤Ë²óž¤µ¤ì¤¿Ê¸»ú¤Î»ÈÍÑ¡¢¤ª¤è¤ÓÁ´¤Æ¤Îʸ»ú¤ò 8pt ¤Ë¥»¥Ã¥È¤·¤Æ½ÐÎÏ
 ¤·¤Þ¤¹¡£

¸«½Ð¤·¤Î°ÌÃÖ¹ç¤ï¤»¤Ë´Ø¤·¤Æ: gnuplot ¤Î¥Ç¥Õ¥©¥ë¥È (ÂçÄñ¤½¤ì¤Ê¤ê¤Ë¤Ê¤ë¤¬¡¢¤½¤¦¤Ç¤Ê¤¤¤³¤È¤â¤¢¤ë):

      set title '\LaTeX\ -- $ \gamma $'

¿åÊ¿Êý¸þ¤Ë¤â¿âľÊý¸þ¤Ë¤â¥»¥ó¥¿¥ê¥ó¥°:
      set label '{\LaTeX\ -- $ \gamma $}' at 0,0

°ÌÃÖ¤òÌÀ¼¨Åª¤Ë»ØÄê (¾å¤Ë¹ç¤ï¤»¤ë):
      set xlabel '[t]{\LaTeX\ -- $ \gamma $}'

¾¤Î¸«½Ð¤· - ÌÜÀ¹¤ê¤ÎŤ¤¸«½Ð¤·¤ËÂФ¹¤ë¸«ÀѤê:
      set ylabel '[r]{\LaTeX\ -- $ \gamma $\rule{7mm}{0pt}}'

92.16 Emf

emf ¥É¥é¥¤¥Ð¤Ï EMF (Enhanced Metafile Format) ¥Õ¥¡¥¤¥ë¤òÀ¸À®¤·¤Þ¤¹¡£ ¤³¤Î·Á¼°¤Î¥Õ¥¡¥¤¥ë¤Ï¿¤¯¤Î MS-Windows ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Çǧ¼±¤Ç¤­¤Þ¤¹¡£

½ñ¼°:

     set terminal emf {color | monochrome} {solid | dashed}
                      {enhanced {noproportional}}
                      {rounded | butt}
                      {linewidth <LW>} {dashlength <DL>}
                      {size XX,YY} {background <rgb_color>}
                      {font "<fontname>{,<fontsize>}"}
                      {fontscale <scale>}

monochorome ¥â¡¼¥É¤ÏÀÞ¤ìÀþ¤òÅÀÀþ¤Î¥Ñ¥¿¡¼¥ó¤ò½Û´Ä¤µ¤»¤ÆÂǤÁ½Ð¤·¤Þ¤¹¡£ color ¥â¡¼¥É¤ÏÀÞ¤ìÀþ¤ò¤¤¤¯¤Ä¤«¤Î¿§¤ÇÂǤÁ½Ð¤·¡¢¤¹¤Ù¤Æ¤Î 8 ¤Ä¤Î¥Ç¥Õ¥© ¥ë¥È¿§¤ò»È¤¤¤Ä¤¯¤·¤¿¸å¤Ë¤Î¤ßÅÀÀþ¥Ñ¥¿¡¼¥ó¤òÊѲ½¤µ¤»¤Þ¤¹¡£ solid ¤ÏÁ´¤Æ¤ÎÀþ¤ò¼ÂÀþ¤Ç½ñ¤­¡¢ÅÀÀþ¤Î¥Ñ¥¿¡¼¥ó¤ÏÅɤê¤Ä¤Ö¤·¤Þ¤¹¡£ linewidth < factor> ¤ÏÁ´¤Æ¤ÎÀþÉý¤ò¤³¤³¤Ç»ØÄꤹ¤ëÃÍÇܤˤ·¤Þ¤¹¡£ dashlength < factor> ¤Ï¡¢ÂÀ¤¤Àþ¤Ë¤ÏÊØÍø¤Ç¤·¤ç¤¦¡£ < fontname> ¤Ï¥Õ¥©¥ó¥È̾¡¢ < fontsize> ¤Ï¥Ý¥¤¥ó¥Èñ°Ì¤Ç¤Î¥Õ¥©¥ó¥È¤ÎÂ礭¤µ¤Ç¤¹¡£

½ÐÎϲèÁü¤Î·Á¼°Åª¤Ê (̾¤Ð¤«¤ê¤Î) ¥µ¥¤¥º¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤ÏŬÅö¤Êñ°Ì¤Ç¤Î 1024x768 ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó size ¤ò»È¤Ã¤ÆÊ̤ʷÁ¼°Åª¤Ê¥µ¥¤¥º ¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£

³Èĥʸ»úÎó½èÍý¥â¡¼¥É (enhanced text mode) ¤Ï¡¢¥×¥í¥Ý¡¼¥·¥ç¥Ê¥ëʸ»ú´Ö³Ö ¤ò¶á»÷¤·¤è¤¦¤È¤·¤Þ¤¹¡£¥â¥Î¥¹¥Ú¡¼¥¹¥Õ¥©¥ó¥È¤ò»È¤¦¾ì¹ç¡¢¤¢¤ë¤¤¤Ï¤³¤Î¶á»÷ ¤ò¹¥¤Þ¤Ê¤¤¾ì¹ç¡¢¥ª¥×¥·¥ç¥ó noproportional ¤ò»È¤¦¤³¤È¤Ç¤³¤ÎÊäÀµ¤ò¥ª¥Õ ¤Ë¤Ç¤­¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤Ï¡¢color solid font "Arial,12" size 1024,768 ¤Ç¡¢ default ¤òÁªÂò¤¹¤ë¤ÈÁ´¤Æ¤Î¥ª¥×¥·¥ç¥ó¤¬¤½¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃͤˤʤê¤Þ¤¹¡£

Îã:

     set terminal emf 'Times Roman Italic, 12'
     set terminal emf dashed    # ¤³¤¦¤·¤Ê¤¤¤ÈÀþʬ¤Ï¤¹¤Ù¤Æ¼ÂÀþ¤Ç¤¹¡£

92.17 Emxvga

emxvga, emxvesa, vgal ¤Î³Æ¥É¥é¥¤¥Ð¤Ï¤½¤ì¤¾¤ì SVGA, vesa SVGA, VGA ¥°¥é¥Ã¥Õ¥£¥Ã¥¯¥Ü¡¼¥É¤Î PC ¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¤³¤ì¤é¤Ï DOS¡¢¤Þ¤¿¤Ï OS/2 ¾å¤Ç¡¢"emx-gcc" ¤Ç¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¤ë¤³¤È¤ò°Õ¿Þ¤·¤Æ¤¤¤Þ¤¹¡£¤³¤ì ¤é¤Ë¤Ï¤µ¤é¤Ë VESA ¥Ñ¥Ã¥±¡¼¥¸¤È SVGAKIT ¤¬É¬ÍפǤ¹¡£¤³¤ì¤é¤Ï Johannes Martin (JMARTIN@GOOFY.ZDV.UNI-MAINZ.DE) ¤¬Êݼ餷 David J. Liu (liu@phri.nyu.edu) ¤¬³ÈÄ¥¤·¤Æ¤¤¤ë¥é¥¤¥Ö¥é¥ê¤Ç¤¹¡£

½ñ¼°:

     set terminal emxvga
     set terminal emxvesa {vesa-mode}
     set terminal vgal

Í£°ì¤Î¥ª¥×¥·¥ç¥ó¤Ï emxvesa ¤ËÂФ¹¤ë vesa ¤Î¥â¡¼¥É¤Ç¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï ¤½¤ì¤Ï G640x480x256 ¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

92.18 Epscairo

½ÐÎÏ·Á¼° epscairo ¤Ï¡¢cairo, pango ¥é¥¤¥Ö¥é¥ê¤òÍѤ¤¤Æ EPS ½ÐÎÏ (Encapsulated PostScript) ¤òÀ¸À®¤·¤Þ¤¹¡£cairo ¤Ï version 1.6 °Ê¹ß¤¬É¬ÍפǤ¹¡£

¾ÜºÙ¤Ï¡¢pdfcairo ½ÐÎÏ·Á¼°¤Î¥Ø¥ë¥×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

92.19 Epslatex

epslatex ¥É¥é¥¤¥Ð¤Ï LaTeX ¤Ç½èÍý¤¹¤Ù¤­½ÐÎϤòÀ¸À®¤·¤Þ¤¹¡£

½ñ¼°:

     set terminal epslatex   {default}
     set terminal epslatex   {standalone | input}
                             {oldstyle | newstyle}
                             {level1 | leveldefault}
                             {color | colour | monochrome}
                             {background <rgbcolor> | nobackground}
                             {solid | dashed}
                             {dashlength | dl <DL>}
                             {linewidth | lw <LW>}
                             {rounded | butt}
                             {clip | noclip}
                             {palfuncparam <samples>{,<maxdeviation>}}
                             {size <XX>{unit},<YY>{unit}}
                             {header <header> | noheader}
                             {blacktext | colortext | colourtext}
                             {{font} "fontname{,fontsize}" {<fontsize>}}
                             {fontscale <scale>}

epslatex ½ÐÎÏ·Á¼°¤Ï¡¢Ê¸»úÎó¤ò PostScript ¥³¡¼¥É¤Ë´Þ¤Þ¤»¤ëÂå¤ï¤ê¤Ë LaTeX ¥Õ¥¡¥¤¥ë¤Ë°Ü¤¹¤³¤È¤ò½ü¤±¤Ð terminal postscript eps ƱÍͤËÉÁ²è¤·¤Þ¤¹¡£ ¤è¤Ã¤Æ¡¢postscript terminal ¤È¿¤¯¤Î¥ª¥×¥·¥ç¥ó¤¬¶¦Ä̤Ǥ¹¡£

version 4.0 ¤«¤é 4.2 ¤Î´Ö¤Ë¡¢postscript ½ÐÎÏ·Á¼°¤È¤Î¤è¤êÎɤ¤¸ß´¹À­¤Î ¤¿¤á¤Ë epslatex ½ÐÎϤÏÊѹ¹¤µ¤ì¤Þ¤·¤¿¡£ÉÁ²è¥µ¥¤¥º¤Ï 5 x 3 ¥¤¥ó¥Á¤«¤é 5 x 3.5 ¥¤¥ó¥Á¤Ø¤ÈÊѹ¹¤µ¤ì¡¢Ê¸»úÉý¤Ï½¾Íè¤Ï¥Õ¥©¥ó¥È¥µ¥¤¥º¤Î 50% ¤È¸« ¤Ê¤·¤Æ¤¤¤Þ¤·¤¿¤¬¡¢¸½ºß¤Ï 60% ¤Èɾ²Á¤·¤Æ¤¤¤Þ¤¹¡£¤è¤ê¿¤¯¤Î Postscript ¤ÎÀþ¼ï¤äµ­¹æ¤â»È¤ï¤ì¤Þ¤¹¡£°ÊÁ°¤Î¾õÂ֤ˤۤÜÅù¤·¤¤¾õÂ֤ˤ¹¤ë¤Ë¤Ï¥ª¥×¥·¥ç¥ó oldstyle ¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£(¼ÂºÝ¤Ë¤Ï¤´¤¯¤ï¤º¤«¤Ê°ã¤¤¤¬»Ä¤ê¤Þ¤¹: µ­¹æ¤Î¥µ¥¤¥º¤¬¤ï¤º¤«¤Ë°ã¤¤¡¢ÌÜÀ¹¹ï¤ß (tics) ¤Ï½¾Íè¤ÎȾʬ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹ ¤¬¤½¤ì¤Ï set tics scale ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£¤½¤·¤ÆÌð (arrow) ¤Ë´Ø¤·¤Æ¤Ï postscript ½ÐÎÏ·Á¼°¤Ç»È¤¨¤ëÁ´¤Æ¤Îµ¡Ç½¤¬ÍøÍѤǤ­¤Þ¤¹¡£)

°Ê²¼¤Î¤è¤¦¤Ê¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬½Ð¤¿¾ì¹ç:

     "Can't find PostScript prologue file ... "

°Ê²¼»²¾È: postscript prologue (92.51.3)¡£¤½¤·¤Æ¤½¤Î»Ø¼¨¤Ë½¾¤Ã¤Æ¤¯¤À¤µ¤¤¡£

¥ª¥×¥·¥ç¥ó color ¤Ï¥«¥é¡¼¤òÍ­¸ú¤Ë¤·¡¢monochrome ¤Ï³ÆÍ×ÁǤò¹õ¤ÈÇò ÉÁ²è¤·¤Þ¤¹¡£¤µ¤é¤Ë¡¢monochrome ¤Ï³¥¿§¤Î palette ¤â»ÈÍѤ·¤Þ¤¹¤¬¡¢ ¤³¤ì¤Ï¡¢ÌÀ¼¨Åª¤Ë colorspec ¤Ç»ØÄꤵ¤ì¤¿ÉôÉʤ理òÊѹ¹¤·¤Þ¤»¤ó¡£

solid ¤ÏÁ´¤Æ¤Î¥°¥é¥Õ¤ÎÅÀÀþ¤Î¥Ñ¥¿¡¼¥ó¤ò¼ÂÀþ¤Ç¾å½ñ¤­¤·¤Þ¤¹¡£ dashlength ¤Þ¤¿¤Ï dl ¤ÏÅÀÀþ¤ÎÀþʬ¤ÎŤµ¤ò < DL> (0 ¤è¤êÂ礭¤¤¼Â¿ô) ¤ËÀßÄꤷ¡¢ linewidth ¤Þ¤¿¤Ï lw ¤ÏÁ´¤Æ¤ÎÀþ¤ÎÉý¤ò < LW> ¤ËÀßÄꤷ¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢À¸À®¤µ¤ì¤ë PostScript ¥³¡¼¥É¤Ï¡¢Æä˥ե£¥ë¥¿¥ê¥ó¥°¤ä filledcurves ¤Î¤è¤¦¤Ê¤Ç¤³¤Ü¤³¤ÊÎΰè¤Î¥Ñ¥¿¡¼¥óÅɤê¤Ä¤Ö¤·¤Ë¤ª¤¤¤Æ¡¢ PostScript Level 2 ¤È¤·¤Æ¾Ò²ð¤µ¤ì¤Æ¤¤¤ë¸À¸ìµ¡Ç½¤ò»È¤¤¤Þ¤¹¡£PostScript Level 2 ¤Îµ¡Ç½¤Ï¾ò·ïŪ¤ËÊݸ¤ì¤Æ¤¤¤Æ¡¢PostScript Level 1 ¤Î¥¤¥ó¥¿¡¼ ¥×¥ê¥¿¤¬¥¨¥é¡¼¤ò½Ð¤µ¤º¡¢¤à¤·¤í¥á¥Ã¥»¡¼¥¸¤« PostScript Level 1 ¤Ë¤è¤ë ¶á»÷¤Ç¤¢¤ë¤³¤È¤òɽ¼¨¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£level1 ¥ª¥×¥·¥ç¥ó¤Ï¡¢¤³ ¤ì¤é¤Îµ¡Ç½¤ò¶á»÷¤¹¤ë PostScript Level1 ¤ÇÂåÍѤ·¡¢PostScript Level 2 ¥³¡¼¥É¤ò°ìÀÚ»ÈÍѤ·¤Þ¤»¤ó¡£¤³¤ì¤Ï¸Å¤¤¥×¥ê¥ó¥¿¤ä¡¢Adobe Illustrator ¤Î ¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤Ê¤É¤ÇɬÍפˤʤ뤫¤â¤·¤ì¤Þ¤»¤ó¡£¤³¤Î¥Õ¥é¥° level1 ¤Ï ½ÐÎϤµ¤ì¤¿ PostScript ¥Õ¥¡¥¤¥ë¤Î¤¢¤ë°ì¹Ô¤ò¼ê¤ÇÊÔ½¸¤¹¤ë¤³¤È¤Ç¡¢¸å¤«¤é ¶¯À©Åª¤Ë PostScript Level 1 µ¡Ç½¤ò ON/OFF ¤Ë¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£level 2 ¤Î¥³¡¼¥É¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¾å¤Îµ¡Ç½¤Ï¸½¤ï¤ì¤Ê¤¤¤«¡¢¤³¤Î¥Õ¥é¥°¤¬¥» ¥Ã¥È¤µ¤ì¤¿¾ì¹ç¡¢¤¢¤ë¤¤¤Ï PostScript ¥¤¥ó¥¿¥×¥ê¥¿¥×¥í¥°¥é¥à¤¬ level 2 °Ê¾å¤Î PostScript ¤ò²ò¼á¤¹¤ë¤È¤Ï¸À¤ï¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë·Ù¹ðʸ¤ËÃÖ¤­´¹¤ï¤ê¤Þ¤¹¡£

rounded ¤Ï¡¢Àþ¤Îü¤äÀܹçÉô¤ò´Ý¤¯¤·¡¢¥Ç¥Õ¥©¥ë¥È¤Î butt ¤ÏÀí¤Ã¤¿Ã¼¤È ³ÑÄ¥¤Ã¤¿ÀܹçÉô¤ò»ÈÍѤ·¤Þ¤¹¡£

clip ¤Ï¡¢PostScript ¤Ë¤¹¤Ù¤Æ¤Î½ÐÎϤò BoundingBox (PostScript ¤Î³°ÏÈ) ¤Ç¥¯¥ê¥Ã¥×¤¹¤ë¤³¤È¤ò»Ø¼¨¤·¤Þ¤¹; ¥Ç¥Õ¥©¥ë¥È¤Ï noclip ¤Ç¤¹¡£

palfuncparam ¤Ï set palette functions ¤«¤é½ÐÎϤη¹¤­¤ò¤É¤Î¤è¤¦¤Ë¥³ ¡¼¥É²½¤¹¤ë¤«¤òÀ©¸æ¤·¤Þ¤¹¡£²òÀÏŪ¤Ê¿§¤ÎÀ®Ê¬´Ø¿ô (set palatte functions ¤ÇÀßÄꤵ¤ì¤ë) ¤Ï¡¢postscript ½ÐÎϤǤϷ¹¤­¤ÎÀþ·ÁÊä´°¤òÍѤ¤¤Æ¥³¡¼¥É²½¤µ ¤ì¤Þ¤¹: ¤Þ¤º¿§¤ÎÀ®Ê¬´Ø¿ô¤¬ < samples> ¸Ä¤ÎÅÀ¤ÇɸËܲ½¤µ¤ì¡¢¤½¤·¤Æ¤½¤ì¤é ¤ÎÅÀ¤Ï¡¢·ë²Ì¤È¤·¤ÆÀþ·ÁÊä´°¤È¤ÎÊк¹¤¬ < maxdeviation> °ÊÆâ¤Ë¼ý¤Þ¤ë¤è¤¦¤Ëºï½ü¤µ¤ì¤Þ¤¹¡£¤Û¤È¤ó¤ÉÁ´¤Æ¤ÎÍ­¸ú¤Ê¥Ñ¥ì¥Ã¥È¤Ç¡¢¥Ç¥Õ¥©¥ë¥È¤Î < samples> =2000 ¤È < maxdeviation> =0.003 ¤ÎÃͤò¤½¤Î¤Þ¤Þ»È¤¦¤Î¤¬Îɤ¤¤Ç¤·¤ç¤¦¡£

PostScript ½ÐÎϤΥǥե©¥ë¥È¤ÎÂ礭¤µ¤Ï 10 ¥¤¥ó¥Á x 7 ¥¤¥ó¥Á¤Ç¤¹¡£EPS ½ÐÎϤΥǥե©¥ë¥È¤ÎÂ礭¤µ¤Ï 5 x 3.5 ¥¤¥ó¥Á¤Ç¤¹¡£¥ª¥×¥·¥ç¥ó size ¤Ï ¤³¤ì¤é¤ò¥æ¡¼¥¶¤¬»ØÄꤷ¤¿¤â¤Î¤ËÊѹ¹¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï X ¤È Y ¤Î¥µ ¥¤¥º¤Îñ°Ì¤Ï¥¤¥ó¥Á¤È¤ß¤Ê¤µ¤ì¤Þ¤¹¤¬¡¢Â¾¤Îñ°Ì (¸½ºß¤Ï cm ¤Î¤ß) ¤â»È¤¦ ¤³¤È¤Ï¤Ç¤­¤Þ¤¹¡£ÉÁ²è¤Î BoundingBox (PostScript ¥Õ¥¡¥¤¥ë¤Î³°ÏÈ) ¤Ï¡¢ ¥µ¥¤¥º¤¬Êѹ¹¤µ¤ì¤¿²èÁü¤òÃúÅÙ´Þ¤à¤è¤¦¤ËÀµ¤·¤¯ÀßÄꤵ¤ì¤Þ¤¹¡£ ¥¹¥¯¥ê¡¼¥óºÂɸ¤Ï¡¢¥ª¥×¥·¥ç¥ó size ¤Ç»ØÄꤵ¤ì¤¿ÉÁ²èÏȤÎÁ´ÂΤ¬ 0.0 ¤«¤é 1.0 ¤Ë¤Ê¤ê¤Þ¤¹¡£ Ãí°Õ: ¤³¤ì¤Ï¡¢°ÊÁ°¤Ï¡¢½ÐÎÏ·Á¼°¤Ç¤ÎÀßÄê¤è¤ê¤â¡¢¥³¥Þ¥ó¥É set size ¤ÇÀßÄꤷ¤¿Êý¤¬¤¤¤¤¡¢¤È¸À¤Ã¤Æ¤¤¤¿¤³¤È¤ÎÊѹ¹¤ò°ÕÌ£¤·¤Þ¤¹¡£°ÊÁ°¤ÎÊýË¡¤Ç¤Ï BoundingBox ¤ÏÊѹ¹¤µ¤ì¤º¤Ë»Ä¤Ã¤Æ¤·¤Þ¤¤¡¢¥¹¥¯¥ê¡¼¥óºÂɸ¤¬¼ÂºÝ¤ÎÉÁ²è¤Î¸Â³¦¤ËÂбþ¤·¤Æ¤¤¤Þ¤»¤ó¤Ç¤·¤¿¡£

blacktext ¤Ï¡¢¤¿¤È¤¨¥«¥é¡¼¥â¡¼¥É¤Ç¤âÁ´¤Æ¤Îʸ»úÎó¤ò¹õ¤Ç½ñ¤­¤Þ¤¹¡£

epslatex ¥É¥é¥¤¥Ð¤Ïʸ»úÎó¤ÎÇÛÃÖ¤ÎÀ©¸æ¤ËÆÃÊ̤ÊÊýË¡¤òÄ󶡤·¤Þ¤¹: (a) '{' ¤Ç»Ï¤Þ¤ëʸ»úÎó¤Ï¡¢'}' ¤ÇÊĤ¸¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤¬¡¢¤½¤Îʸ»úÎóÁ´ÂÎ ¤¬ LaTeX ¤Ë¤è¤Ã¤Æ¿åÊ¿Êý¸þ¤Ë¤â¿âľÊý¸þ¤Ë¤â¥»¥ó¥¿¥ê¥ó¥°¤µ¤ì¤Þ¤¹¡£ (b) '[' ¤Ç»Ï¤Þ¤ëʸ»úÎó¤Î¾ì¹ç¤Ï¡¢°ÌÃ֤λØÄê¤ò¤¹¤ëʸ»úÎó (t,b,l,r,c ¤Î¤¦ ¤Á 2 ¤Ä¤Þ¤Ç) ¤¬Â³¤­¡¢¼¡¤Ë ']{'¡¢Ê¸»úÎóËÜÂΡ¢¤ÇºÇ¸å¤Ë '}' ¤È¤·¤Þ¤¹¤¬¡¢ ¤³¤Îʸ»úÎó¤Ï LaTeX ¤¬ LR-box ¤È¤·¤ÆÀ°·Á¤·¤Þ¤¹¡£ \ rule{}{} ¤ò»È¤¨¤Ð¤µ ¤é¤ËÎɤ¤°ÌÃÖ¹ç¤ï¤»¤¬²Äǽ¤Ç¤·¤ç¤¦¡£°Ê²¼¤â»²¾È: ¥É¥é¥¤¥Ð pslatex (92.52) ¤Ë´Ø¤¹¤ëÀâÌÀ¡£ Ê£¿ô¹Ô¤Î¸«½Ð¤·¤òºîÀ®¤¹¤ë¤Ë¤Ï \ shortstack ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£Î㤨¤Ð¡¢

  set ylabel '[r]{\shortstack{first line \\ second line}}'

set label ¥³¥Þ¥ó¥É¤Î¥ª¥×¥·¥ç¥ó back ¤Ï»È¤¨¤Þ¤¹¤¬¡¢Â¾¤Î½ÐÎÏ·Á¼°¤Î¤â ¤Î¤È¤Ï¾¯¤·°ã¤Ã¤Æ¤¤¤Þ¤¹¡£front ¤Î¾ì¹ç¤Î¸«½Ð¤·¤¬Â¾¤ÎÁ´¤Æ¤ÎÍ×ÁǤξå¤Ë½Ð ÎϤµ¤ì¤ë¤Î¤ËÂФ·¤Æ¡¢back ¤ò»È¤Ã¤¿¸«½Ð¤·¤Ï¾¤ÎÁ´¤Æ¤ÎÍ×ÁǤβ¼¤Ë½ÐÎϤµ¤ì ¤Þ¤¹¡£

¤³¤Î¥É¥é¥¤¥Ð¤Ï 2 ¤Ä¤ÎÊ̤Υե¡¥¤¥ë¤òºî¤ê¤Þ¤¹¡£1 ¤Ä¤Ï¿Þ¤Î eps ¤ÎÉôʬ¤Ç¡¢ ¤â¤¦°ì¤Ä¤Ï LaTeX ¤ÎÉôʬ¤Ç¤¹¡£LaTeX ¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢set output ¥³¥Þ ¥ó¥É¤Î¤â¤Î¤¬»È¤ï¤ì¡¢eps ¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¤½¤Î³ÈÄ¥»Ò (Ä̾ï .tex) ¤ò .eps ¤ËÃÖ¤­´¹¤¨¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ ½ÐÎÏ¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Ê¤±¤ì¤Ð LaTeX ½ÐÎϤϹԤʤï¤ì¤Þ¤»¤ó ! multiplot ¥â¡¼¥É°Ê³°¤Ç¤Ï¡¢¼¡¤ÎÉÁ²è¤ò¹Ô¤Ê¤¦Á°¤Ë¤½¤Î½ÐÎÏ¥Õ¥¡¥¤¥ë¤ò¥¯¥í¡¼¥º¤¹¤ë¤Î¤ò˺¤ì¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£

LaTeX ¤Îʸ½ñ¤Ç¿Þ¤ò¼è¤ê¹þ¤à¤Ë¤Ï ' \ input{filename}' ¤È¤·¤Æ¤¯¤À¤µ¤¤¡£ .eps ¥Õ¥¡¥¤¥ë¤Ï \ includegraphics{...} ¥³¥Þ¥ó¥É¤Ç¼è¤ê¹þ¤à¤Î¤Ç¡¢¤è¤Ã¤Æ LaTeX ¤Î¥×¥ê¥¢¥ó¥Ö¥ë¤Ë \ usepackage{graphicx} ¤âÆþ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ textcolour ¥ª¥×¥·¥ç¥ó¤Ç¿§ÉÕ¤­¤Îʸ»úÎó¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢LaTeX ¤Î ¥×¥ê¥¢¥ó¥Ö¥ë¤Ë \ usepackage{color} ¤âÆþ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

¤³¤Î eps ¥Õ¥¡¥¤¥ë¤«¤é 'epstopdf' ¤ò»È¤Ã¤Æ pdf ¥Õ¥¡¥¤¥ë¤òºî¤ë¤³¤È¤â¤Ç¤­ ¤Þ¤¹¡£graphics ¥Ñ¥Ã¥±¡¼¥¸¤¬Å¬ÀÚ¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤Î LaTeX ¤Î¥Õ¥¡ ¥¤¥ë¤Ï¡¢Êѹ¹¤Ê¤·¤Ë pdflatex ¤Ë¤è¤Ã¤Æ¤â½èÍý¤Ç¤­¡¢¤½¤Î¾ì¹ç eps ¥Õ¥¡¥¤¥ë ¤ÎÂå¤ï¤ê¤Ë pdf ¥Õ¥¡¥¤¥ë¤¬¼è¤ê¹þ¤Þ¤ì¤Þ¤¹¡£

¥Õ¥©¥ó¥È¤ÎÁªÂò¤Ë´Ø¤¹¤ëµóÆ°¤Ï¥Ø¥Ã¥À¡¼¥â¡¼¥É¤Ë°Í¸¤·¤Þ¤¹¡£ ¤É¤Î¾ì¹ç¤Ç¤â¡¢Í¿¤¨¤é¤ì¤¿¥Õ¥©¥ó¥È¥µ¥¤¥º¤Ï¥¹¥Ú¡¼¥¹¤Î·×»»¤Ë¤Á¤ã¤ó¤È»ÈÍѤµ ¤ì¤Þ¤¹¡£standalone ¥â¡¼¥É¤¬»È¤ï¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢include ¤µ¤ì¤ë¾ì½ê¤Ç ¤Î¼ÂºÝ¤Î LaTeX ¥Õ¥©¥ó¥È¤È¥Õ¥©¥ó¥È¥µ¥¤¥º¤¬»È¤ï¤ì¤ë¤Î¤Ç¡¢¤è¤Ã¤Æ¥Õ¥©¥ó¥È¤Î Êѹ¹¤Ë¤Ï LaTeX ¥³¥Þ¥ó¥É¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£Î㤨¤Ð¥Õ¥©¥ó¥È¥µ¥¤¥º¤È¤·¤Æ LaTeX ʸ½ñÃæ¤Ç 12pt ¤ò»È¤¦¾ì¹ç¤Ï¡¢¥ª¥×¥·¥ç¥ó '"" 12' ¤ò»È¤¤¤Þ¤¹¡£¤³¤Î ¾ì¹ç¥Õ¥©¥ó¥È̾¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£standalone ¤ò»È¤¦¾ì¹ç¤Ï¡¢Í¿¤¨¤é¤ì¤¿¥Õ¥© ¥ó¥È¤È¥Õ¥©¥ó¥È¥µ¥¤¥º¤¬»È¤ï¤ì¤Þ¤¹¡£¾ÜºÙ¤Ï²¼µ­¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

ʸ»úÎ󤬥«¥é¡¼¤Çɽ¼¨¤µ¤ì¤ë¤«¤É¤¦¤«¤Ï TeX ¤Î Bool ÃÍÊÑ¿ô \ ifGPcolor ¤È \ ifGPblacktext ¤ÇÀ©¸æ¤·¤Þ¤¹¡£ \ ifGPcolor ¤¬ true ¤Ç \ ifGPblacktext ¤¬ false ¤Î¾ì¹ç¤Î¤ßʸ»úÎó¤Ï¥«¥é¡¼¤Çɽ¼¨¤µ¤ì¤Þ¤¹¡£¤½¤ì¤é¤ÏÀ¸À®¤µ¤ì¤ë TeX ¥Õ ¥¡¥¤¥ë¤òÊѹ¹¤¹¤ë¤«¡¢¤Þ¤¿¤Ï¤¢¤Ê¤¿¤Î TeX ¥Õ¥¡¥¤¥ë¤ÇÂç°èŪ¤ËÍ¿¤¨¤Æ¤¯¤À¤µ¤¤¡£ Î㤨¤Ð

  \newif\ifGPblacktext
  \GPblacktexttrue

¤ò¤¢¤Ê¤¿¤Î¥Õ¥¡¥¤¥ë¤Î¥×¥ê¥¢¥ó¥Ö¥ë¤Ë½ñ¤­¤Þ¤¹¡£ÉôʬŪ¤Ê»ØÄê¤ÏÂç°èŪ¤ÊÃͤ¬ Í¿¤¨¤é¤ì¤Æ¤¤¤Ê¤¤¤È¤­¤Î¤ßƯ¤­¤Þ¤¹¡£

epslatex ½ÐÎÏ·Á¼°¤ò»È¤¦¾ì¹ç¡¢set output ¥³¥Þ¥ó¥É¤Ç TeX ¥Õ¥¡¥¤¥ë¤Î̾Á° ¤ò³ÈÄ¥»ÒÉÕ¤­ (Ä̾ï ".tex") ¤ÇÍ¿¤¨¤Æ¤¯¤À¤µ¤¤¡£eps ¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¤½¤Î ³ÈÄ¥»Ò¤ò ".eps" ¤ËÃÖ¤­´¹¤¨¤¿Ì¾Á°¤Ë¤Ê¤ê¤Þ¤¹¡£

standalone ¥â¡¼¥É¤ò»È¤¦¾ì¹ç¡¢¤½¤Î LaTeX ¥Õ¥¡¥¤¥ë¤Ë´°Á´¤Ê LaTeX ¤Î¥Ø¥Ã ¥À¤¬Éղ䵤졢eps ¥Õ¥¡¥¤¥ë¤Î¥Õ¥¡¥¤¥ë̾¤Ë¤Ï "-inc" ¤¬Äɲ䵤ì¤Þ¤¹¡£ standalone ¥â¡¼¥É¤Ï¡¢dvips, pdfTeX, VTeX ¤ò»È¤¦¾ì¹ç¤ËÀµ¤·¤¤¥µ¥¤¥º¤Ç½Ð ÎϤµ¤ì¤ë¤è¤¦¤Ê TeX ¥Õ¥¡¥¤¥ë¤òºî¤ê¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï input ¥â¡¼¥É¤Ç¡¢¤³¤ì¤Ï \ input ¥³¥Þ¥ó¥É¤ò»È¤Ã¤Æ¡¢Ê̤Î

LaTeX ¥Õ¥¡¥¤¥ë¤«¤éÆɤ߹þ¤Þ¤ì¤ë¤è¤¦¤Ê¥Õ¥¡¥¤¥ë¤òÀ¸À®¤·¤Þ¤¹¡£

"" ¤« "default" °Ê³°¤Î¥Õ¥©¥ó¥È̾¤¬Í¿¤¨¤é¤ì¤¿¾ì¹ç¡¢¤½¤ì¤Ï LaTeX ¤Î¥Õ¥©¥ó¥È̾¤È²ò¼á¤µ¤ì¤Þ¤¹¡£¤½¤ì¤Ï¡¢'fontname,fontseries,fontshape' ¤Î¡¢¥³ ¥ó¥Þ¤Ç¶èÀÚ¤é¤ì¤¿ 3 ¤Ä°Ê²¼¤ÎÉôʬ¤«¤é¤Ê¤ê¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥Õ¥©¥ó¥È¥·¥§¥¤ ¥×¡¢¥Õ¥©¥ó¥È¥·¥ê¡¼¥º¤¬»È¤¤¤¿¤¤¾ì¹ç¤Ï¤½¤ì¤é¤Ï¾Êά¤Ç¤­¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢¥Õ¥© ¥ó¥È̾¤ËÂФ¹¤ëÀµ¼°¤Ê½ñ¼°¤Ï¡¢'[fontname][,fontseries][,fontshape]' ¤È¤Ê ¤ê¤Þ¤¹¡£¤½¤Î¤¤¤º¤ì¤ÎÉôʬ¤â̾Á°¤Ë´Ø¤·¤Æ¤Ï LaTeX ¤Î¥Õ¥©¥ó¥ÈÂηϤδ·½¬¤Ë½¾ ¤¤¤Þ¤¹¡£fontname ¤Ï 3 ¤«¤é 4 ʸ»ú¤ÎŤµ¤Ç¡¢¼¡¤Î¤è¤¦¤Êµ¬Â§¤Çºî¤é¤ì¤Æ¤¤¤Þ ¤¹: 1 ¤ÄÌܤ¬¥Õ¥©¥ó¥È¤ÎÀ½Â¤¸µ¤òɽ¤·¡¢¼¡¤Î 2 ¤Ä¤¬¥Õ¥©¥ó¥È̾¡¢¥ª¥×¥·¥ç¥ó¤Ç Äɲ䵤ì¤ë 1 ¤Ä¤ÏÆÃÊ̤ʥե©¥ó¥È¤ò°ÕÌ£¤·¡¢Î㤨¤Ð 'j' ¤Ïµì¼°¤Î¿ô»ú¤ò»ý¤Ä ¥Õ¥©¥ó¥È¡¢'x' ¤Ï expert ¥Õ¥©¥ó¥ÈÅù¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£°Ê²¼¤Ë¤Ï¡¢Â¿¤¯¤Î¥Õ¥©¥ó¥È¤Î̾Á°¤Ë¤Ä¤¤¤Æ½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£

http://www.tug.org/fontname/fontname.pdf

Î㤨¤Ð 'cmr' ¤Ï Computer Modern Roman ¥Õ¥©¥ó¥È¡¢'ptm' ¤Ï Times-Roman, 'phv' ¤Ï Helvetica Åù¤òɽ¤·¤Þ¤¹¡£¥Õ¥©¥ó¥È¥·¥ê¡¼¥º¤Ïʸ»ú¤ÎÀþ¤ÎÂÀ¤µ¤ò°ÕÌ£ ¤·¡¢ÂçȾ¤Ï 'm' ¤ÇÉáÄÌ ("medium")¡¢'bx' ¤Þ¤¿¤Ï 'b' ¤¬ÂÀ»ú (bold) ¥Õ¥© ¥ó¥È¤ò°ÕÌ£¤·¤Þ¤¹¡£¥Õ¥©¥ó¥È¥·¥§¥¤¥×¤Ï°ìÈÌ¤Ë 'n' ¤¬Î©ÂÎ (upright)¡¢'it' ¤Ï¥¤¥¿¥ê¥Ã¥¯¡¢'sl' ¤Ï¼ÐÂÎ (slanted)¡¢'sc' ¤Ï¾®¤µ¤¤Âçʸ»ú (small caps) ¤È¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤é¤È¤Ï°Û¤Ê¤ë¥Õ¥©¥ó¥È¥·¥ê¡¼¥º¤ä¥Õ¥©¥ó¥È¥·¥§¥¤¥×¤ÇÍ¿¤¨¤é ¤ì¤ë¥Õ¥©¥ó¥È¤â¸ºß¤·¤Þ¤¹¡£

Îã:

Times-Roman ¤ÇÂÀ»ú (¥·¥§¥¤¥×¤Ï¼þ¤ê¤Îʸ»úÎó¤ÈƱ¤¸¤â¤Î) ¤ò»È¤¦¾ì¹ç:

     set terminal epslatex 'ptm,bx'

Helvetica ¤ÇÂÀ»ú¤Ç¥¤¥¿¥ê¥Ã¥¯¤ò»È¤¦¾ì¹ç:
     set terminal epslatex 'phv,bx,it'

¼ÐÂΤΥ·¥§¥¤¥×¤Ç¼þ¤ê¤Î¥Õ¥©¥ó¥È¤ò»È¤¤Â³¤±¤ë¾ì¹ç:
     set terminal epslatex ',,sl'

¾®·¿¤ÎÂçʸ»ú (small caps) ¤ò»È¤¦¾ì¹ç:
     set terminal epslatex ',,sc'

¤³¤ÎÊýË¡¤Ç¤Ïʸ»úÎó¤Î¥Õ¥©¥ó¥È¤Î¤ß¤¬Êѹ¹¤µ¤ì¤Þ¤¹¡£¿ô¼°¤Î¥Õ¥©¥ó¥È¤âÊѹ¹¤· ¤¿¤¤¾ì¹ç¤Ï¡¢"gnuplot.cfg" ¥Õ¥¡¥¤¥ë¤«¤Þ¤¿¤Ï header ¥ª¥×¥·¥ç¥ó¤ò»È¤¦ ɬÍפ¬¤¢¤ê¤Þ¤¹¤¬¡¢¤³¤ì¤Ë¤Ä¤¤¤Æ¤Ï°Ê²¼¤Ë½ñ¤­¤Þ¤¹¡£

standalone ¥â¡¼¥É¤Ç¤Ï¡¢¥Õ¥©¥ó¥È¥µ¥¤¥º¤Ï set terminal ¥³¥Þ¥ó¥É¤ÇÍ¿¤¨¤é ¤ì¤¿¥Õ¥©¥ó¥È¥µ¥¤¥º¤¬»È¤ï¤ì¤Þ¤¹¡£»ØÄꤷ¤¿¥Õ¥©¥ó¥È¥µ¥¤¥º¤¬»È¤¨¤ë¤¿¤á¤Ë¤Ï LaTeX ¤Î¸¡º÷¥Ñ¥¹¤Ë "size< size> .clo" ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤·¤Ê¤±¤ì¤Ð¤Ê ¤ê¤Þ¤»¤ó¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 10pt, 11pt, 12pt ¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¥Ñ¥Ã ¥±¡¼¥¸ "extsizes" ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ì¤Ð¡¢8pt, 9pt, 14pt, 17pt, 20pt ¤âÄɲ䵤ì¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó header ¤Ïʸ»úÎó°ú¿ô¤ò¼è¤ê¤Þ¤¹¡£¤½¤Îʸ»úÎó¤Ï¡¢À¸À®¤µ¤ì¤ë LaTeX ¥Õ¥¡¥¤¥ë¤Ë½ñ¤­¹þ¤Þ¤ì¤Þ¤¹¡£standalone ¥â¡¼¥É¤ò»È¤¦¾ì¹ç¡¢¤½¤Îʸ»ú Îó¤Ï¥×¥ê¥¢¥ó¥Ö¥ë¤Î \ begin{document} ¥³¥Þ¥ó¥É¤ÎľÁ°¤Ë½ñ¤­¹þ¤Þ¤ì¤Þ¤¹¡£ input ¥â¡¼¥É¤Ç¤Ï¡¢¤½¤Îʸ»úÎó¤Ï \ begingroup ¥³¥Þ¥ó¥É¤Îľ¸å¤ËÃÖ¤«¤ì¡¢ ÉÁ²è¤Ø¤ÎÀßÄ꤬¤¹¤Ù¤Æ¶É½êŪ¤Ë¤Ê¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£

Îã:

T1 ¥Õ¥©¥ó¥È¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤ò»È¤¤¡¢Ê¸»úÎ󡢿ô¼°¥Õ¥©¥ó¥È¤ò Times-Roman ¤È¤·¡¢¥µ¥ó¥»¥ê¥Õ¥Õ¥©¥ó¥È¤ò Helvetica ¤ÈÊѹ¹¤¹¤ë¾ì¹ç:

   set terminal epslatex standalone header \
   "\\usepackage[T1]{fontenc}\n\\usepackage{mathptmx}\n\\usepackage{helvet}"

ÉÁ²è¤Î³°¤Îʸ»úÎó¤Ë¤Ï±Æ¶Á¤òÍ¿¤¨¤Ê¤¤¤è¤¦¤ËÉÁ²èÆâ¤ÇÂÀ»ú (boldface) ¥Õ¥©¥ó ¥È¤ò»È¤¦¾ì¹ç:
   set terminal epslatex input header "\\bfseries"

¥Õ¥¡¥¤¥ë "gnuplot.cfg" ¤¬ LaTeX ¤Ë¤è¤Ã¤Æ¸«¤Ä¤±¤é¤ì¤ë¤È¡¢standalone ¥â¡¼¥É¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¤½¤ì¤ÏÀ¸À®¤µ¤ì¤ë LaTeX ʸ½ñ¤Î¥×¥ê¥¢¥ó¥Ö¥ë¤Ë¼è ¤ê¹þ¤Þ¤ì¤Þ¤¹¡£¤½¤ì¤ÏÄɲäÎÀßÄê¤ò¹Ô¤Ê¤¦¤Î¤Ë»È¤¨¤Þ¤¹¡£Î㤨¤Ð¡¢Ê¸½ñ¤Î¥Õ¥© ¥ó¥È¤ò TImes-Roman, Helvetica, Courier ¤ÈÊѹ¹¤·¡¢("mathptmx.sty" ¤Ç°· ¤ï¤ì¤Æ¤¤¤ë) ¿ô¼°¥Õ¥©¥ó¥È¤òÆþ¤ì¤ë¾ì¹ç:

     \usepackage{mathptmx}
     \usepackage[scaled=0.92]{helvet}
     \usepackage{courier}

¥Õ¥¡¥¤¥ë "gnuplot.cfg" ¤Ï header ¥³¥Þ¥ó¥É¤ÇÍ¿¤¨¤é¤ì¤ë¥Ø¥Ã¥À¾ðÊó¤ÎÁ° ¤ËÆɤ߹þ¤Þ¤ì¤Þ¤¹¡£¤è¤Ã¤Æ¡¢"gnuplot.cfg" ¤Ç¹Ô¤Ê¤ï¤ì¤ëÀßÄê¤Î¤¤¤¯¤Ä¤«¤ò header ¤ò»È¤Ã¤Æ¾å½ñ¤­¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

92.20 Epson_180dpi

¤³¤Î¥É¥é¥¤¥Ð¤Ï¥¨¥×¥½¥ó¥×¥ê¥ó¥¿¤Î¤¤¤¯¤Ä¤«¤È¤½¤ì¤ËÎà»÷¤¹¤ë¤â¤Î¤ò¥µ¥Ý¡¼¥È ¤·¤Þ¤¹¡£

epson_180dpi ¤È epson_60dpi ¤Ï¤½¤ì¤¾¤ì 180dpi (¥É¥Ã¥È/¥¤¥ó¥Á), 60dpi ¤Î²òÁüÅ٤ΠEpson LQ ·¿ 24 ¥Ô¥ó¥×¥ê¥ó¥¿ÍѤΥɥ饤¥Ð¤Ç¤¹¡£

epson_lx800 ¤Ï Epson LX-800, Star ¤Î NL-10 ¤ä NX-1000, PROPRINTER ¤Ê ¤É¤ÎŬÅö¤Ê¥×¥ê¥ó¥¿¤ËήÍѤǤ­¤ë¡¢°ìÈÌŪ¤Ê 9 ¥Ô¥ó¥×¥ê¥ó¥¿¥É¥é¥¤¥Ð¤Ç¤¹¡£

nec_cp6 ¤Ï NEC CP6 ¤ä Epson LQ-800 ¤Ê¤É¤Î¥×¥ê¥ó¥¿¤Ç»È¤¨¤ë¡¢°ìÈÌŪ¤Ê 24 ¥Ô¥ó¥×¥ê¥ó¥¿ÍѤΥɥ饤¥Ð¤Ç¤¹¡£

okidata ¥É¥é¥¤¥Ð¤Ï 9 ¥Ô¥ó¤Î OKIDATA 320/321 ɸ½à¥×¥ê¥ó¥¿¤ò¥µ¥Ý¡¼¥È¤· ¤Þ¤¹¡£

starc ¥É¥é¥¤¥Ð¤Ï Star ¥«¥é¡¼¥×¥ê¥ó¥¿ÍѤǤ¹¡£

tandy_60dpi ¥É¥é¥¤¥Ð¤Ï 9 ¥Ô¥ó 60dpi ¤Î Tandy DMP-130 ¥·¥ê¡¼¥ºÍѤǤ¹¡£

dpu414 ¥É¥é¥¤¥Ð¤Ï Seiko DPU-414 ´¶Ç®¥×¥ê¥ó¥¿ÍѤǤ¹¡£

nec_cp6 ¤Ë¤Ï¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹:

½ñ¼°:

     set terminal nec_cp6 {monochrome | colour | draft}

¥Ç¥Õ¥©¥ë¥È¤Ç¤ÏÇò¹õ (monochrome) ¤Ç¤¹¡£

dpu414 ¤Ë¤Ï¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹:

½ñ¼°:

     set terminal dpu414 {small | medium | large} {normal | draft}

¥Ç¥Õ¥©¥ë¥È¤Ï medium (= ¥Õ¥©¥ó¥È¥µ¥¤¥º) ¤Ç normal ¤Ç¤¹¡£ ¤ª¤¹¤¹¤á¤ÎÁȤ߹ç¤ï¤»¤Ï¡¢medium normal ¤« small draft ¤Ç¤¹¡£

92.21 Excl

excl ¥É¥é¥¤¥Ð¤Ï EXCL ¥ì¡¼¥¶¡¼¥×¥ê¥ó¥¿¡¼¤ä 1590 ¤Î¤è¤¦¤Ê Talaris ¥×¥ê ¥ó¥¿¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó¤Ï¤¢¤ê¤Þ¤»¤ó¡£

92.22 Fig

fig ¥É¥é¥¤¥Ð¤Ï Fig ¥°¥é¥Õ¥£¥Ã¥¯¸À¸ì¤Ç¤Î½ÐÎϤòÀ¸À®¤·¤Þ¤¹¡£

½ñ¼°:

     set terminal fig {monochrome | color}
                      {landscape | portrait}
                      {small | big | size <xsize> <ysize>}
                      {metric | inches}
                      {pointsmax <max_points>}
                      {solid | dashed}
                      {font "<fontname>{,<fontsize>}"}
                      {textnormal | {textspecial texthidden textrigid}}
                      {{thickness|linewidth} <units>}
                      {depth <layer>}
                      {version <number>}

monochrome ¤È color ¤Ï ²èÁü¤òÇò¹õ¤Ë¤¹¤ë¤« color ¤Ë¤¹¤ë¤«¤ò·èÄꤷ ¤Þ¤¹¡£small ¤È big ¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î landscape ¥â¡¼¥É¤Ç¤Ï¥°¥é¥Õ¤ò 5x3 ¥¤¥ó¥Á¤Ë¤¹¤ë¤« 8x5 ¥¤¥ó¥Á¤Ë¤¹¤ë¤«¡¢portrait ¥â¡¼¥É¤Ç¤Ï 3x5 ¥¤¥ó ¥Á¤Ë¤¹¤ë¤« 5x8 ¥¤¥ó¥Á¤Ë¤¹¤ë¤«¤ò·èÄꤷ¤Þ¤¹¡£size ¤ÏÉÁ²èÈϰϤò < xsize> *< ysize> ¤ËÀßÄê (Êѹ¹) ¤·¤Þ¤¹¡£¤³¤Î¾ì¹ç¤Îñ°Ì¤Ï¡¢inches ¤« metric ¤«¤ÎÀßÄê¤Ë¤è¤Ã¤Æ¤½¤ì¤¾¤ì¥¤¥ó¥Á¤«¥»¥ó¥Á¥á¡¼¥È¥ë¤«¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤³¤ÎÀßÄê¤Ï "xfig" ¤Ç¤ÎÊÔ½¸¤ËÂФ¹¤ë¥Ç¥Õ¥©¥ë¥È¤Îñ°Ì¤È¤·¤Æ¤â»È¤ï¤ì¤Þ¤¹¡£

pointsmax < max_points> ¤ÏÀÞ¤ìÀþ¤ÎºÇÂçÅÀ¿ô¤òÀßÄꤷ¤Þ¤¹¡£

solid ¤Ï¡¢¼ÂÀþ (solid) ¤Î linestyle ¤¬Á´Éô»È¤ï¤ì¤Æ¤·¤Þ¤Ã¤¿¸å¤Ç¼«Æ°Åª ¤Ë»È¤ï¤ì¤ëÅÀÀþ¤Î»ÈÍѤòÍÞÀ©¤·¡¢Ê̤ʷÁ¤Çɽ¼¨¤·¤Þ¤¹¡£

font ¤Ï¡¢¥Æ¥­¥¹¥È¥Õ¥©¥ó¥È¥Õ¥§¡¼¥¹Ì¾¤ò < fontname> ¤Ë¡¢¥Õ¥©¥ó¥È¥µ¥¤¥º¤ò < fontsize> ¥Ý¥¤¥ó¥È¤ËÀßÄꤷ¤Þ¤¹¡£textnormal ¤Ï¥Æ¥­¥¹¥È¥Õ¥é¥°¤ÎÀßÄê¤ò ¥ê¥»¥Ã¥È¤·¤Æ postscript ¥Õ¥©¥ó¥È¤òÁªÂò¤·¡¢textspecial ¤Ï¥Æ¥­¥¹¥È¥Õ¥é ¥°¤ò LaTeX special ¤ËÀßÄꤷ¡¢texthidden, textrigid ¤Ï¤½¤ì¤¾¤ì̵ɽ¼¨ ¤Î¥Æ¥­¥¹¥È¡¢¥¹¥±¡¼¥ê¥ó¥°¤µ¤ì¤Ê¤¤¥Æ¥­¥¹¥ÈÍѤΥե饰¤òÀßÄꤷ¤Þ¤¹¡£

depth ¤ÏÁ´¤Æ¤ÎÀþ¤Èʸ»úÎó¤ËÂФ¹¤ë¡¢½Å¤Ê¤ê¤Ë´Ø¤¹¤ë¥Ç¥Õ¥©¥ë¥È¤Î¿¼¤µ (depth layer) ¤òÀßÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¿¼¤µ¤Ï 10 ¤Ç¡¢"xfig" ¤Ç¥°¥é¥Õ ¤Î¾å¤Ë²¿¤«¤ò¾å½ñ¤­¤¹¤ë¤¿¤á¤Î;ÃϤò»Ä¤·¤Æ¤¤¤Þ¤¹¡£

version ¤ÏÀ¸À®¤µ¤ì¤ë fig ½ÐÎϤνñ¼°¥Ð¡¼¥¸¥ç¥ó¤òÀßÄꤷ¤Þ¤¹¡£¸½ºß¤Ï¡¢ ¥Ð¡¼¥¸¥ç¥ó 3.1 ¤È 3.2 ¤Î¤ß¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

thickness ¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÀþ¤ÎÂÀ¤µ¤òÀßÄꤷ¡¢»ØÄꤵ¤ì¤Ê¤±¤ì¤Ð 1 ¤Ë¤Ê¤ê¤Þ ¤¹¡£ÂÀ¤µ¤ÎÊѹ¹¤Ï¡¢plot ¥³¥Þ¥ó¥É¤Î linetype ¤ÎÃÍ¤Ë 100 Çܤοô¤ò²Ã¤¨ ¤ë¤³¤È¤Ç¼Â¸½¤Ç¤­¤Þ¤¹¡£Æ±Íͤˡ¢(¥Ç¥Õ¥©¥ë¥È¤Î¿¼¤µ¤ËÂФ¹¤ë) ³ÆÉÁ²èÍ×ÁǤΠ¿¼¤µ¤ÎÃÍ¤Ï < linetype> ¤Ë 1000 Çܤοô¤ò²Ã¤¨¤ë¤³¤È¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¡£¤è¤Ã¤Æ ¤½¤Î¿¼¤µ¤Ï < layer> +< linetype> /1000 ¤Ë¤Ê¤ê¡¢Àþ¤ÎÂÀ¤µ¤Ï (< linetype> %1000) /100 ¤È¤Ê¤ê¤Þ¤¹¤¬¡¢¤½¤ÎÃͤ¬ 0 ¤Î¾ì¹ç¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÀþ¤ÎÂÀ¤µ¤Ë¤Ê¤ê¤Þ¤¹¡£ linewidth ¤Ï thickness ¤ÈƱµÁ¤Ç¤¹¡£

plot ¥³¥Þ¥ó¥É¤Î point ¥¹¥¿¥¤¥ë¤Ë¤è¤ëÉÁ²è¤ÎºÝ¤Îµ­¹æ¤ò fig ¥É¥é¥¤ ¥Ð¤ÇÄɲ乤뤳¤È¤â¤Ç¤­¤Þ¤¹¡£µ­¹æ¤Î»ØÄê¤Ï (pointtype ¤ÎÃÍ) % 100 ¤Î 50 °Ê¾å¤ÎÃͤ¬»È¤ï¤ì¡¢¤½¤ÎÅɤê¤Ä¤Ö¤·¤ÎÇ»¤µ¤Ï < pointtype> % 5 ¤ÎÃͤÇÀ©¸æ¤·¡¢¤½¤ÎÎسԤϹõ (< pointtype> % 10 < 5 ¤Î¾ì¹ç) ¤Þ¤¿¤Ï¸½ºß¤Î¿§¤Ç½ñ¤«¤ì ¤Þ¤¹¡£ÍøÍѲÄǽ¤Êµ­¹æ¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£

       50 - 59:  ±ß
       60 - 69:  ÀµÊý·Á
       70 - 79:  ¤Ò¤··Á
       80 - 89:  ¾å¸þ¤­¤Î»°³Ñ·Á
       90 - 99:  ²¼¸þ¤­¤Î»°³Ñ·Á

¤³¤ì¤é¤Îµ­¹æ¤ÎÂ礭¤µ¤Ï¥Õ¥©¥ó¥È¤ÎÂ礭¤µ¤È´Ø·¸¤·¤Æ¤¤¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï µ­¹æ¤Î¿¼¤µ¤Ï¡¢Îɤ¤¥¨¥é¡¼¥Ð¡¼¤ò¼Â¸½¤¹¤ë¤¿¤á¤Ë¡¢Àþ¤Î¿¼¤µ¤è¤ê 1 ¤À¤±¾®¤µ ¤¤ÃͤˤʤäƤ¤¤Þ¤¹¡£< pointtype> ¤¬ 1000 ¤è¤êÂ礭¤¤¾ì¹ç¡¢¿¼¤µ¤Ï < layer> +< pointtype> /1000-1 ¤Ë¤Ê¤ê¤Þ¤¹¡£< pointtype> %1000 ¤¬ 100 ¤è¤êÂ礭¤¤¾ì¹ç Åɤê¤Ä¤Ö¤·¿§¤Ï (< pointtype> %1000)/100-1 ¤Ë¤Ê¤ê¤Þ¤¹¡£

Í­¸ú¤ÊÅɤê¤Ä¤Ö¤·¿§ (1 ¤«¤é 9) ¤Ï¡¢¹õ¡¢ÀÄ¡¢ÎС¢¿å¿§¡¢ÀÖ¡¢»ç¡¢²«¡¢Çò¡¢°Å ¤¤ÀÄ (Çò¹õ¥â¡¼¥É¤Ç¤Ï 1 ¤«¤é 6 ¤Þ¤Ç¤Ï¹õ¤Ç 7 ¤«¤é 9 ¤Þ¤Ç¤ÏÇò) ¤Ç¤¹¡£

< linetype> ¤È < pointtype> ¤Î¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: plot with (72.11)¡£

big ¥ª¥×¥·¥ç¥ó¤Ï°ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤Î bfig ¥É¥é¥¤¥Ð¤ÎÂåÍÑÉʤǤ¹¤¬¡¢¤³¤Î¥É¥é¥¤¥Ð¤Ïº£¤Ï¤â¤¦¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£

Îã:

     set terminal fig monochrome small pointsmax 1000  # ¥Ç¥Õ¥©¥ë¥È


     plot 'file.dat' with points linetype 102 pointtype 759

¤Ï¡¢²«¿§¤ÇÅɤê¤Ä¤Ö¤µ¤ì¤¿±ß¤òÀ¸À®¤·¡¢¤½¤ì¤éÎسԤÏÉý 1 ¤ÎÀĤ¤Àþ¤Ç¤¹¡£


     plot 'file.dat' using 1:2:3 with err linetype 1 pointtype 554

¤Ï¹õ¤¤Àþ¤Ë¤è¤ë¥¨¥é¡¼¥Ð¡¼¤ÈÀÖ¤ÇÅɤê¤Ä¤Ö¤µ¤ì¤¿±ß¤òÀ¸À®¤·¤Þ¤¹¡£¤³¤Î±ß¤ÏÀþ ¤è¤ê¤â 1 ÁؤÀ¤±¾å¤Ë¤Ê¤ê¤Þ¤¹ (¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¿¼¤µ¤Ï 9)¡£

±ß¤Î¾å¤Ë¥¨¥é¡¼¥Ð¡¼¤ò½ñ¤¯¤Ë¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

     plot 'file.dat' using 1:2:3 with err linetype 1 pointtype 2554

92.23 Ggi

ggi ¥É¥é¥¤¥Ð¤Ï X ¤ä svgalib ¤Î¤è¤¦¤Ê°Û¤Ê¤ë¥¿¡¼¥²¥Ã¥È¾å¤ÇÆ°ºî¤·¤Þ¤¹¡£

½ñ¼°:

  set terminal ggi [acceleration <integer>] [[mode] {mode}]

X ¤Ç¤Ï¡¢¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤Îµ¡Ç½¤ò»È¤Ã¤Æ¥¦¥£¥ó¥É¥¦¤Î¥µ¥¤¥º¤òÊѹ¹¤¹¤ë ¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¤¬¡¢¥â¡¼¥É¤ò mode ¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤Æ¡¢Î㤨¤Ð°Ê²¼¤Î¤è¤¦¤ËÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹:

- V1024x768
- V800x600
- V640x480
- V320x200

¾¤Î¥â¡¼¥É¤Ë¤Ä¤¤¤Æ¤Ï¡¢ggi (libggi) ¤Î¥É¥­¥å¥á¥ó¥È¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ ¥­¡¼¥ï¡¼¥É mode ¤ÏÄɲ䷤Ƥ⤷¤Ê¤¯¤Æ¤â·ë¹½¤Ç¤¹¡£libggi ¤Î¥Þ¥Ë¥å¥¢¥ë ¥Ú¡¼¥¸¤Ç¾Ò²ð¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ë¡¢´Ä¶­ÊÑ¿ô¤Ç¥¿¡¼¥²¥Ã¥È¤òÁªÂò¤¹¤ë¤³¤È¤ò¤ª´« ¤á¤·¤Þ¤¹¡£X ¾å¤Ç DGA ¤ò»È¤¦¤Ê¤é¡¢Î㤨¤Ð°Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£
  bash> export GGI_DISPLAY=DGA
  csh>  setenv GGI_DISPLAY DGA

acceleration ¤Ï¡¢ÁêÂÐŪ¤Ê¥Ý¥¤¥ó¥¿Æ°ºî¥¤¥Ù¥ó¥È¤òȯÀ¸¤¹¤ë¥¿¡¼¥²¥Ã¥È (Î㤨¤Ð DGA) ¤Ç¤Î¤ß»ÈÍѤµ¤ì¡¢Àµ¤ÎÀ°¿ô¤ÇÁêÂÐŪ¤Êµ÷Î¥¤ËÂФ¹¤ëÇÜΨ (ÀÑ°ø »Ò) ¤òɽ¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î acceleration ¤Ï 7 ¤Ç¤¹¡£

Îã:

  set term ggi acc 10
  set term ggi acc 1 mode V1024x768
  set term ggi V1024x768

92.24 Gif

½ñ¼°:
     set terminal gif 
            {{no}enhanced}
            {{no}transparent} {rounded|butt}
            {linewidth <lw>} {dashlength <dl>}
            {tiny | small | medium | large | giant}
            {font "<face> {,<pointsize>}"} {fontscale <scale>}
            {size <x>,<y>} {{no}crop}
            {animate {delay <d>} {loop <n>} {{no}optimize}}
            {background <rgb_color>}

PNG, JPEG, GIF ²èÁü¤Ï¡¢³°Éô¥é¥¤¥Ö¥é¥ê libgd ¤ò»È¤Ã¤ÆÀ¸À®¤µ¤ì¤Þ¤¹¡£GIF ¤ÎÉÁ²è¤Ï¡¢ImageMagick ¥Ñ¥Ã¥±¡¼¥¸¤Î¥½¥Õ¥È 'display' ¤Ë¤½¤Î½ÐÎϤò°Ê²¼¤Î¤è¤¦¤Ë¥Ñ¥¤¥×¤ÇÅϤ¹¤³¤È¤ÇÂÐÏÃŪ¤Ëɽ¼¨¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹:

              set term gif
              set output '| display gif:-'

¼¡¤ÎÉÁ²è¥³¥Þ¥ó¥É¤«¤é¤Î½ÐÎϤϡ¢display ¥¦¥£¥ó¥É¥¦¾å¤ÇÂÐÏÃŪ¤Ë < space> ¤òÂǤĤ³¤È¤Ç¸«¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¸½ºß¤ÎÉÁ²è¤ò¥Õ¥¡¥¤¥ë¤ËÊݸ¤¹¤ë¤Ë¤Ï¡¢ display ¥¦¥£¥ó¥É¥¦¤Çº¸¥¯¥ê¥Ã¥¯¤·¡¢save ¤òÁªÂò¤·¤Æ¤¯¤À¤µ¤¤¡£

transparent ¤Ï¡¢¥É¥é¥¤¥Ð¤ËÇØ·Ê¿§¤ÎÆ©ÌÀ²½ (transparent) ¤ò¹Ô¤¦¤è¤¦»Ø ¼¨¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï notransparent ¤Ç¤¹¡£

¥ª¥×¥·¥ç¥ó linewidth ¤È dashlength ¤Ï³ÈÂçΨ¤Ç¡¢ÉÁ²è¤µ¤ì¤ë¤¹¤Ù¤Æ¤Î Àþ¤Ë±Æ¶Á¤òÍ¿¤¨¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢¤³¤ì¤é¤ÏÍÍ¡¹¤ÊÉÁ²è¥³¥Þ¥ó¥É¤ÇÍ׵ᤵ¤ì¤ëÃÍ ¤Ë³Ý»»¤µ¤ì¤Þ¤¹¡£

butt ¤ÏÀþʬ¤ÎÉÁ²è¤Ç¡¢¤½¤Îü¤ÎÅÀ¤Ç¤Î¤Ï¤ß¤À¤·¤òµ¯¤³¤µ¤Ê¤¤ÉÁ²è¥á¥½¥Ã¥É ¤ò»È¤¦¤è¤¦¥É¥é¥¤¥Ð¤Ë»Ø¼¨¤·¤Þ¤¹¡£¤³¤ÎÀßÄê¤Ï¡¢ÀþÉý¤¬ 1 ¤è¤êÂ礭¤¤¾ì¹ç¤Ë ¤Î¤ßÍ­¸ú¤Ç¤¹¡£¤³¤ÎÀßÄê¤Ï¡¢¿åÊ¿Àþ¡¢¿âľÀþ¤ÎÉÁ²è¤Î¾ì¹ç¤ËÍ­ÍѤǤ·¤ç¤¦¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï rounded (´Ý¤á) ¤Ç¤¹¡£

¥Õ¥©¥ó¥È¤ÎÁªÂò¤Î¾ÜºÙ¤Ï¡¢¤ä¤äÊ£»¨¤Ç¤¹¡£ °Ê²¼¤ËƱ¤¸°ÕÌ£¤ò»ý¤Ä´Êñ¤ÊÎã¤ò¼¨¤·¤Þ¤¹:

    set term gif font arial 11
    set term gif font "arial,11"

¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢fonts ¤Î²¼¤Î³ºÅö¤¹¤ë¥»¥¯¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯ ¤À¤µ¤¤¡£

¥ª¥×¥·¥ç¥ó animate ¤Ï¤¢¤Ê¤¿¤Î¼ê¸µ¤Ë¤¢¤ë gd ¥é¥¤¥Ö¥é¥ê¤¬¥¢¥Ë¥á¡¼¥·¥ç ¥ó gif ¤ÎºîÀ®¤ò¥µ¥Ý¡¼¥È¤¹¤ë¾ì¹ç¤Ë¤Î¤ßÍ­¸ú¤Ç¤¹¡£ºîÀ®¤µ¤ì¤ë²èÁü¤Îɽ¼¨´Ö ³Ö¤Ï¡¢1/100 ÉÃñ°Ì¤Ç»ØÄê¤Ç¤­¤Þ¤¹ (¥Ç¥Õ¥©¥ë¥È¤Ï 5)¡£¤¿¤À¤·¼ÂºÝ¤Îɽ¼¨´Ö ³Ö¤Ï¡¢»ÈÍѤ¹¤ëɽ¼¨¥½¥Õ¥È¤Ë¤è¤Ã¤ÆÊѲ½¤·¤Þ¤¹¡£ ¥¢¥Ë¥á¡¼¥·¥ç¥ó¤Î·«¤êÊÖ¤·²ó¿ô¤â»ØÄê¤Ç¤­¤Þ¤¹¤¬¡¢¥Ç¥Õ¥©¥ë¥È¤Ï 0 ¤Ç¤½¤ì¤Ï ̵¸Â¤Î·«¤êÊÖ¤·¤ò°ÕÌ£¤·¤Þ¤¹¡£ ¥¢¥Ë¥á¡¼¥·¥ç¥ó²èÁüÎó¤Ï¡¢¼¡¤Î set output ¤« set term ¥³¥Þ¥ó¥É¤Ë¤è¤Ã ¤Æ½ªÎ»¤·¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó optimize ¤Ï¡¢¥¢¥Ë¥á¡¼¥·¥ç¥ó¤Ë´Ø¤¹¤ë 2 ¤Ä¤Î ¸ú²Ì¤ò»ý¤Á¤Þ¤¹¡£

1) ¥¢¥Ë¥á¡¼¥·¥ç¥óÁ´ÂΤòÄ̤¸¤Æñ°ì¤Î¥«¥é¡¼¥Þ¥Ã¥×¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£¤³¤ì¤Ï ¥¢¥Ë¥á¡¼¥·¥ç¥ó¤ÎÁ´¤Æ¤Î¥Õ¥ì¡¼¥à¤Ç»ÈÍѤµ¤ì¤ëÁ´¤Æ¤Î¿§¤¬ºÇ½é¤Î¥Õ¥ì¡¼¥à¤Ç ÄêµÁ¤µ¤ì¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

2) ²Äǽ¤Ê¤é¤Ð¡¢¸Ä¡¹¤Î¥Õ¥ì¡¼¥à¤Ç°ì¤ÄÁ°¤Î¥Õ¥ì¡¼¥à¤È°ã¤¦Éôʬ¤Î¤ß¤¬¥¢¥Ë¥á ¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤ËÊݸ¤µ¤ì¤Þ¤¹¡£¤³¤ì¤Ï¥Õ¥¡¥¤¥ë¥µ¥¤¥º¤ò¾®¤µ¤¯¤·¤Æ¤¯¤ì ¤Þ¤¹¤¬¡¢Æ©ÌÀ²½µ¡Ç½¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¤Ë¤ÏƯ¤«¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£

¤³¤ì¤éξÊý¤ÎºÇŬ²½¤Ï¤è¤ê¾®¤µ¤¤¥µ¥¤¥º¤Î½ÐÎÏ¥Õ¥¡¥¤¥ë¤òºî¤í¤¦¤È¤¹¤ë¤â¤Î ¤Ç¤¹¤¬¡¢Â¿Ê¬¤½¤Î¸º¾¯Î̤ϡ¢Ä¹¤¤¥¢¥Ë¥á¡¼¥·¥ç¥ó¤«¤Þ¤¿¤Ï¥Õ¥ì¡¼¥à¥µ¥¤¥º¤¬ ¤È¤Æ¤â¾®¤µ¤Ê¾ì¹ç¤Ë¤Î¤ß°ÕÌ£¤¬¤¢¤ëÄøÅ٤Ǥ·¤ç¤¦¡£ ¥ª¥×¥·¥ç¥ó nooptimize ¤Ï¤³¤ì¤é¤Î¸ú²Ì¤ò¤¤¤º¤ì¤â̵¸ú¤Ë¤·¤Þ¤¹¡£³Æ¥Õ¥ì ¡¼¥à¤Ï¡¢¸Ä¡¹¤Î¥«¥é¡¼¥Þ¥Ã¥× (¥×¥é¥¤¥Ù¡¼¥È¥«¥é¡¼¥Þ¥Ã¥×) ¤ò»È¤¤¡¢´Ý¤´¤È Êݸ¤µ¤ì¤Æ¤¤¤­¤Þ¤¹¡£°ì¤ÄÃí°Õ¤·¤Æ¤ª¤­¤Þ¤¹¤¬¡¢ºÇŬ²½¤µ¤ì¤Æ¤¤¤Ê¤¤¥¢¥Ë¥á ¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤Ï³°Éô¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤ò»È¤Ã¤Æ¸å½èÍý¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹ ¤·¡¢¤½¤Î¸å½èÍý¤Ë¤è¤Ã¤Æ gnuplot ¤ÎºÇŬ²½¤è¤ê¤â¾®¤µ¤Ê¥Õ¥¡¥¤¥ë¤¬ºî¤é¤ì ¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï nooptimize ¤Ç¤¹¡£

½ÐÎÏÉÁ²è¥µ¥¤¥º < x,y> ¤Ï¥Ô¥¯¥»¥ëñ°Ì¤ÇÍ¿¤¨¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï 640x480 ¤Ç ¤¹¡£°Ê²¼¤â»²¾È: canvas (7), set size (82.65)¡£ ÉÁ²è½ªÎ»¸å¤Îü¤Î;Çò¤Ï¡¢¥ª¥×¥·¥ç¥ó crop ¤Ç¼è¤ê½ü¤¯¤³¤È¤¬¤Ç¤­¡¢¤½¤Î·ë ²Ì¤È¤·¤Æ¤½¤Î²èÁü¥µ¥¤¥º¤Ï¾®¤µ¤¯¤Ê¤ê¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï nocrop ¤Ç¤¹¡£

92.24.1 Îã


     set terminal gif medium size 640,480 background '#ffffff'

¤³¤ÎÎã¤Ï medium ¥µ¥¤¥º¤Î¡¢Â礭¤µÊѹ¹ÉÔǽ¤Ç²óž¤Ç¤­¤Ê¤¤ÁȤ߹þ¤ß¥Õ¥©¥ó¥È ¤ò»ÈÍѤ·¡¢Æ©ÌÀ²½¤µ¤ì¤Ê¤¤ÇØ·Ê¿§¤È¤·¤ÆÇò (16 ¿Ê¿ô¤Î 24bit RGB) ¤ò»ÈÍѤ·¤Þ ¤¹¡£


     set terminal gif font arial 14 enhanced

¤³¤ì¤Ï¡¢'arial' ¤È¤¤¤¦¥Õ¥§¡¼¥¹Ì¾¤Î¥¹¥±¡¼¥é¥Ö¥ë¥Õ¥©¥ó¥È¤ò¸¡º÷¤·¡¢¥Õ¥©¥ó ¥È¥µ¥¤¥º¤ò 14pt ¤ËÀßÄꤷ¤Þ¤¹¡£¥Õ¥©¥ó¥È¤Î¸¡º÷¤¬¤É¤Î¤è¤¦¤Ë¹Ô¤ï¤ì¤ë¤«¤Ë¤Ä ¤¤¤Æ¤Ï°Ê²¼»²¾È: fonts (15)¡£¤³¤ì¤Ï¥¹¥±¡¼¥é¥Ö¥ë¥Õ¥©¥ó¥È¤Ê¤Î¤Ç¡¢³Èĥʸ»úÎó ½èÍý¥â¡¼¥É¤¬»ÈÍѤǤ­¤Þ¤¹¡£


     set term gif animate transparent opt delay 10 size 200,200
     load "animate2.dem"

¤³¤ì¤Ï¡¢¥¢¥Ë¥á¡¼¥·¥ç¥ó GIF ¥Õ¥¡¥¤¥ë¤ÎºîÀ®ÍÑ¤Ë gif ½ÐÎÏ·Á¼°¤ò³«¤­¤Þ¤¹¡£ ¥¢¥Ë¥á¡¼¥·¥ç¥óÎó¤Î¸Ä¡¹¤Î¥Õ¥ì¡¼¥à¤Ï¡¢É¸½à¥Ç¥â¥Õ¥¡¥¤¥ë½¸¤Ë¤¢¤ë¥¹¥¯¥ê¥×¥È ¥Õ¥¡¥¤¥ë animate2.dem ¤Ë¤è¤Ã¤ÆÀ¸À®¤µ¤ì¤Þ¤¹¡£

92.25 Gpic

gpic ¥É¥é¥¤¥Ð¤Ï FSF (the Free Software Foundations) ¤Î "groff" ¥Ñ¥Ã ¥±¡¼¥¸¤ÎÃæ¤Î GPIC ·Á¼°¤Î¥°¥é¥Õ¤òÀ¸À®¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤ÎÂ礭¤µ¤Ï 5 x 3 ¥¤¥ó¥Á¤Ç¤¹¡£¥ª¥×¥·¥ç¥ó¤Ï¸¶ÅÀ¤Ë´Ø¤¹¤ë¤â¤Î¤Î¤ß¤Ç¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï (0,0) ¤Ç¤¹¡£

½ñ¼°:

     set terminal gpic {<x> <y>}

¤³¤³¤Ç x ¤È y ¤Îñ°Ì¤Ï¥¤¥ó¥Á¤Ç¤¹¡£

ñ½ã¤Ê¥°¥é¥Õ¤òÀ°·Á¤¹¤ë¤Ë¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£


     groff -p -mpic -Tps file.pic > file.ps

pic ¤«¤é¤Î½ÐÎϤϥѥ¤¥×¤Ç eqn ¤ËÅϤ¹¤³¤È¤â¤Ç¤­¤ë¤Î¤Ç¡¢'set label' ¤È set {x/y}label ¥³¥Þ¥ó¥É¤Ç¥°¥é¥Õ¤ËÊ£»¨¤Ê´Ø¿ô¤Î¼°¤òÆþ¤ì¤ë¤³¤È¤â²Äǽ¤Ç ¤¹¡£Î㤨¤Ð¡¢


     set ylab '@space 0 int from 0 to x alpha ( t ) roman d t@'

¤È¤¹¤ì¤Ð¡¢°Ê²¼¤Î¥³¥Þ¥ó¥É¤Ë¤è¤Ã¤Æ y ¼´¤ËåºÎï¤ÊÀÑʬ¤¬¸«½Ð¤·ÉÕ¤±¤µ¤ì¤Þ¤¹¡£


     gpic filename.pic | geqn -d@@ -Tps | groff -m[macro-package] -Tps
         > filename.ps

¤³¤Î¤è¤¦¤Ë¤·¤Æºî¤é¤ì¤¿¿Þ¤Ïʸ½ñ¤ËåºÎï¤ËÅö¤Æ¤Ï¤Þ¤ë¤è¤¦¤Ë¿­½Ì¤¹¤ë¤³¤È¤¬¤Ç ¤­¤Þ¤¹¡£pic ¸À¸ì¤Ï´Êñ¤ËÍý²ò¤Ç¤­¤ë¤Î¤Ç¡¢É¬ÍפʤéÍưפ˥°¥é¥Õ¤òľÀÜÊÔ½¸ ¤Ç¤­¤Þ¤¹¡£gnuplot ¤Çºî¤é¤ì¤ë pic ¥Õ¥¡¥¤¥ë¤ÎÁ´¤Æ¤ÎºÂɸ¤Ï x+gnuplotx, y+gnuploty ¤Î·Á¤ÇÍ¿¤¨¤é¤ì¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï x, y ¤ÎÃÍ¤Ï 0 ¤Ç¤¹¡£¤¤¤¯ ¤Ä¤«¤Î¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¤½¤Î x,y ¤ò 0 ¤ÈÀßÄꤷ¤Æ¤¤¤ë¹Ô¤òºï½ü¤¹¤ì¤Ð¡¢°Ê²¼¤Î¤è¤¦¤Ë¤·¤ÆÊ£¿ô¤Î¥°¥é¥Õ¤ò°ì¤Ä¤Î¿Þ¤ÎÃæ¤ËÆþ¤ì¤Æ¤·¤Þ¤¦¤³¤È¤â¤Ç¤­¤Þ¤¹ (¥Ç¥Õ¥©¥ë¥È¤ÎÂ礭¤µ¤Ï 5.0x3.0 ¥¤¥ó¥Á):


     .PS 8.0
     x=0;y=3
     copy "figa.pic"
     x=5;y=3
     copy "figb.pic"
     x=0;y=0
     copy "figc.pic"
     x=5;y=0
     copy "figd.pic"
     .PE

¤³¤ì¤Ï¡¢²£¤Ë 2 ¤Ä¡¢½Ä¤Ë 2 ¤Ä¤º¤Äʤó¤À 4 ¤Ä¤Î¥°¥é¥Õ¤«¤é¤Ê¤ë¡¢8 ¥¤¥ó¥Á ¤Î¹­¤µ¤Î¿Þ¤òÀ¸À®¤·¤Þ¤¹¡£

°Ê²¼¤Î¥³¥Þ¥ó¥É¤Ç¤âƱ¤¸¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£


     set terminal gpic x y

¤³¤ì¤òÎ㤨¤Ð°Ê²¼¤Î¤è¤¦¤Ë»È¤¤¤Þ¤¹¡£


     .PS 6.0
     copy "trig.pic"
     .PE

92.26 Grass

grass ¥É¥é¥¤¥Ð¤Ï GRASS ÃÏÍý¾ðÊó¥·¥¹¥Æ¥à¤Î¥æ¡¼¥¶¤¬ gnuplot ¤òÍøÍѤ¹ ¤ë¤³¤È¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£¾Ü¤·¤¤¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï grassp-list@moon.cecer.army.mil ¤ËÏ¢Íí¤ò¼è¤Ã¤Æ¤¯¤À¤µ¤¤¡£¥Ú¡¼¥¸¤Ï GRASS ¥°¥é¥Õ¥¦¥£¥ó¥É¥¦¤Î¸½ºß¤Î¥Õ¥ì¡¼ ¥à¤Ë½ñ¤«¤ì¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó¤Ï¤¢¤ê¤Þ¤»¤ó¡£

92.27 Hp2623a

hp2623a ¥É¥é¥¤¥Ð¤Ï¥Ò¥å¡¼¥ì¥Ã¥È¥Ñ¥Ã¥«¡¼¥É (Hewlett Packard) HP2623A ¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó¤Ï¤¢¤ê¤Þ¤»¤ó¡£

92.28 Hp2648

hp2648 ¥É¥é¥¤¥Ð¤Ï¥Ò¥å¡¼¥ì¥Ã¥È¥Ñ¥Ã¥«¡¼¥É (Hewlett Packard) HP2647 ¤È HP2648 ¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó¤Ï¤¢¤ê¤Þ¤»¤ó¡£

92.29 Hp500c

hp500c ¥É¥é¥¤¥Ð¤Ï¥Ò¥å¡¼¥ì¥Ã¥È¥Ñ¥Ã¥«¡¼¥É (Hewlett Packard) ¼Ò¤Î HP DeskJet 500c ¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¤³¤ì¤Ë¤Ï²òÁüÅ٤Ȱµ½Ì¤Ë´Ø¤¹¤ë¥ª¥×¥·¥ç¥ó ¤¬¤¢¤ê¤Þ¤¹¡£

½ñ¼°:

     set terminal hp500c {<res>} {<comp>}

¤³¤³¤Ç res ¤Ï 75, 100, 150, 300 ¤Î¤¤¤º¤ì¤«¤Î²òÁüÅÙ (DPI; dots per inch) ¤Ç¡¢comp ¤Ï "rle" ¤« "tiff" ¤Ç¤¹¡£Â¾¤ÎÀßÄê¤ò¤¹¤ë¤È¤½¤ì¤Ï¥Ç¥Õ¥© ¥ë¥È¤ÎÃͤˤʤê¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï 75 dpi ¤Ç°µ½Ì¤Ï¤Ê¤·¤Ç¤¹¡£¹â²òÁüÅ٤ǤΠ¥é¥¹¥¿¥é¥¤¥º¤Ï¤¿¤¯¤µ¤ó¤Î¥á¥â¥ê¤òɬÍפȤ·¤Þ¤¹¡£

92.30 Hpgl

hpgl ¥É¥é¥¤¥Ð¤Ï HP7475A ¥×¥í¥Ã¥¿¤Î¤è¤¦¤ÊÁõÃÖÍѤΠHPGL ½ÐÎϤò¹Ô¤Ê¤¤¤Þ ¤¹¡£¤³¤ì¤Ï 2 ¤Ä¤ÎÀßÄê²Äǽ¤Ê¥ª¥×¥·¥ç¥ó¤ò»ý¤Á¤Þ¤¹: ¤½¤ì¤Ï¥Ú¥ó¤Î¿ô¤È eject ¥ª¥×¥·¥ç¥ó¤Ç¡¢"eject" ¤ÏÉÁ²è¸å¤Ë¥×¥í¥Ã¥¿¤Ë¥Ú¡¼¥¸¤òÇӽФµ¤»¤ë¤è¤¦»Ø¼¨¤· ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 6 ¤Ä¤Î¥Ú¥ó¤ò»È¤¤¡¢ÉÁ²è¸å¤Î¥Ú¡¼¥¸¤ÎÇӽФϹԤʤ¤¤Þ¤»¤ó¡£

¹ñºÝŪʸ»ú¥»¥Ã¥È ISO-8859-1 ¤È CP850 ¤ò set encoding iso_8859_1 ¤ä set encoding cp850 ¤Çǧ¼±¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹ (¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È:set encoding (82.20))¡£

½ñ¼°:

     set terminal hpgl {<number_of_pens>} {eject}

°Ê²¼¤ÎÀßÄê


     set terminal hpgl 8 eject

¤Ï¡¢°ÊÁ°¤Î hp7550 ¥É¥é¥¤¥Ð¤ÈƱÅù¤Ç¡¢ÀßÄê


     set terminal hpgl 4

¤Ï¡¢°ÊÁ°¤Î hp7580b ¥É¥é¥¤¥Ð¤ÈƱÅù¤Ç¤¹¡£

pcl5 ¥É¥é¥¤¥Ð¤Ï¡¢Hewlett-Packard Designjet 750C¡¢Hewlett-Packard Laserjet III, Hewlett-Packard Laserjet IV ¤Î¤è¤¦¤Ê¥×¥í¥Ã¥¿¤ò¥µ¥Ý¡¼¥È¤· ¤Þ¤¹¡£¤³¤ì¤Ï¼ÂºÝ¤Ë¤Ï HPGL-2 ¤ò»ÈÍѤ·¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢ÁõÃÖ´Ö¤Ç̾Á°¤Î¾×ÆÍ ¤¬¤¢¤ê¤Þ¤¹¡£¤³¤Î¥É¥é¥¤¥Ð¤Ë¤Ï¤¤¤¯¤Ä¤«¤Î¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¤¬¡¢¤½¤ì¤é¤Ï °Ê²¼¤Ë¼¨¤·¤¿½ç½ø¤Ç»ØÄꤷ¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó:

½ñ¼°:

     set terminal pcl5 {mode <mode>} {<plotsize>}
         {{color {<number_of_pens>}} | monochrome} {solid | dashed}
         {font <font>} {size <fontsize>} {pspoints | nopspoints}

< mode> ¤Ï landscape ¤« portrait ¤Ç¤¹¡£< plotsize> ¤Ï¥°¥é¥Õ¤ÎʪÍýŪ ¤ÊÉÁ²è¥µ¥¤¥º¤Ç¡¢¤½¤ì¤Ï°Ê²¼¤Î¤¦¤Á¤Î¤¤¤º¤ì¤«¤Ç¤¹: letter ¤Ïɸ½à¤Î(8 1/2" X 11") ½ÐÎÏ¡¢legal ¤Ï (8 1/2" X 14") ½ÐÎÏ¡¢noextended ¤Ï (36" X 48") ½ÐÎÏ (letter ¥µ¥¤¥ºÈæ)¡¢extended ¤Ï (36" X 55") ½ÐÎÏ (¤Û¤Ü legal ¥µ¥¤¥ºÈæ)¡£color ¤ÏÊ£¿ô¤Î¥Ú¥ó (¤¹¤Ê¤ï¤Á¥«¥é¡¼) ÉÁ²èÍÑ¤Ç < number_of_pens> ¤Ï¥«¥é¡¼½ÐÎϤǻÈÍѤµ¤ì¤ë¥Ú¥ó¤ÎËÜ¿ô (¤¹¤Ê¤ï¤Á¿§¿ô) ¤Ç ¤¹¡£monochrome ¤Ï 1 ËܤΥڥó (Î㤨¤Ð¹õ) ¤ÎÉÁ²è¤Ç¤¹¡£solid ¤ÏÁ´¤Æ¤Î Àþ¤ò¼ÂÀþ¤ÇÉÁ¤­¡¢dashed ¤Ï°Û¤Ê¤ëÅÀÀþ¤äº¿Àþ¥Ñ¥¿¡¼¥ó¤ÇÀþ¤òÉÁ¤­Ê¬¤±¤Þ¤¹¡£ < font> ¤Ï stick, univers, cg_times, zapf_dingbats, antique_olive, arial, courier, garamond_antigua, letter_gothic, cg_omega, albertus, times_new_roman, clarendon, coronet, marigold, truetype_symbols, wingdings ¤Î¤¤¤º¤ì¤«¤Ç¤¹¡£< fontsize> ¤Ï¥Ý¥¤¥ó¥È ñ°Ì¤Ç¤Î¥Õ¥©¥ó¥È¤ÎÂ礭¤µ¤Ç¤¹¡£ÅÀ¤Î¼ïÎà (point type) ¤Ï¡¢nopspoints ¤ò »ØÄꤹ¤ë¤³¤È¤Çɸ½àŪ¤Ê¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄ꤫¤éÁªÂò¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¤¬¡¢ pspoints ¤ò»ØÄꤹ¤ë¤È postscript terminal ¤ÈƱ¤¸ÅÀ¤Î¼ïÎà¤ÎÀßÄ꤫¤é ÁªÂò¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

¤³¤ì¤é¤Î¥ª¥×¥·¥ç¥ó¤Î¤¤¤¯¤Ä¤«¤ÎÁȤ߹þ¤Þ¤ì¤¿¥µ¥Ý¡¼¥È¤Ï¡¢¥×¥ê¥ó¥¿¤Ë°Í¸¤¹ ¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£Î㤨¤ÐÁ´¤Æ¤Î¥Õ¥©¥ó¥È¤Ï¶²¤é¤¯ HP Laserjet IV ¤Ç¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤Ç¤·¤ç¤¦¤¬¡¢HP Laserjet III ¤È Designjet 750C ¤Ç ¤Ï 2,3 (Î㤨¤Ð univers, stick) ¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤Î¤ß¤Ç¤·¤ç¤¦¡£ ¤Þ¤¿¡¢laserjet ¤ÏÇò¹õ¤Î½ÐÎÏÁõÃ֤ʤΤǡ¢¤½¤ì¤é¤Ç¤Ï¥«¥é¡¼¤âÌÀ¤é¤«¤Ë»È¤¨ ¤Þ¤»¤ó¡£

¥Ç¥Õ¥©¥ë¥È: landscape, noextended, color (6 pens), solid, univers, 12

           point, nopspoints

pcl5 ¤Ç¤Ï¹ñºÝŪʸ»ú¥»¥Ã¥È¤Ï¥×¥ê¥ó¥¿¤Ç°·¤ï¤ì¤Þ¤¹¤Î¤Ç¡¢¥Æ¥­¥¹¥Èʸ»úÎó ¤ËŬÀÚ¤Ê 8-bit ʸ»ú¥³¡¼¥É¤òÆþ¤ì¤ë¤À¤±¤Ç¡¢¤ï¤¶¤ï¤¶ set encoding ¤Ç¼Ù Ëâ¤ò¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£

HPGL ¥°¥é¥Õ¥£¥Ã¥¯¤Ï¿¤¯¤Î¥½¥Õ¥È¥¦¥§¥¢¥Ñ¥Ã¥±¡¼¥¸¤Ç¼è¤ê¹þ¤à¤³¤È¤¬²Äǽ¤Ç ¤¹¡£

92.31 Hpljii

hpljii ¥É¥é¥¤¥Ð¤Ï HP Laserjet Sries II ¥×¥ê¥ó¥¿¤ò¡¢hpdj ¥É¥é¥¤¥Ð¤Ï HP DeskJet 500 ¥×¥ê¥ó¥¿¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¤³¤ì¤é¤Î¥É¥é¥¤¥Ð¤Ç¤Ï¡¢²òÁüÅÙ ¤ÎÁªÂò¤¬²Äǽ¤Ç¤¹¡£

½ñ¼°:

     set terminal hpljii | hpdj {<res>}

¤³¤³¤Ç res ¤Ï 75, 100, 150, 300 ¤Î¤¤¤º¤ì¤«¤Î²òÁüÅÙ (DPI; dots per inch) ¤Ç¡¢¥Ç¥Õ¥©¥ë¥È¤Ï 75 ¤Ç¤¹¡£¹â²òÁüÅ٤ǤΥ饹¥¿¥é¥¤¥º¤Ï¤¿¤¯¤µ¤ó¤Î¥á ¥â¥ê¤òɬÍפȤ·¤Þ¤¹¡£

hp500c ¥É¥é¥¤¥Ð¤Ï hpdj ¤È¤Û¤ÜƱ¤¸¤Ç¤¹¤¬¡¢hp500c ¤Ï²Ã¤¨¤Æ¥«¥é¡¼¤È °µ½Ì¤â¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£

92.32 Hppj

hppj ¥É¥é¥¤¥Ð¤Ï HP PaintJet ¤È HP3630 ¥×¥ê¥ó¥¿¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¥ª¥× ¥·¥ç¥ó¤Ï¥Õ¥©¥ó¥È¤òÁªÂò¤¹¤ë¤â¤Î¤¬¤¢¤ë¤Î¤ß¤Ç¤¹¡£

½ñ¼°:

     set terminal hppj {FNT5X9 | FNT9X17 | FNT13X25}

Ãæ´Ö¥µ¥¤¥º¥Õ¥©¥ó¥È (FNT9X17) ¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¹¡£

92.33 Imagen

imagen ¥É¥é¥¤¥Ð¤Ï Imagen ¥ì¡¼¥¶¥×¥ê¥ó¥¿¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¤³¤ì¤Ï 1 ¥Ú ¡¼¥¸¤ËÊ£¿ô¤Î¥°¥é¥Õ¤òÇÛÃÖ¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£

½ñ¼°:

     set terminal imagen {<fontsize>} {portrait | landscape}
                         {[<horiz>,<vert>]}

fontsize ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 12 ¥Ý¥¤¥ó¥È¤Ç¡¢¥ì¥¤¥¢¥¦¥È¤Î¥Ç¥Õ¥©¥ë¥È¤Ï landscape ¤Ç¤¹¡£< horiz> ¤È < vert> ¤Ï¥°¥é¥Õ¤ò²£Êý¸þ¤È½ÄÊý¸þ¤Ë²¿Îó ÃÖ¤¯¤«¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤é¤Î¥Ç¥Õ¥©¥ë¥È¤Ï 1 ¤Ç¤¹¡£

Îã:

     set terminal imagen portrait [2,3]

¤³¤ì¤Ï¡¢1 ¥Ú¡¼¥¸¤Ë 6 ¤Ä¤Î¥°¥é¥Õ¤ò²£¤Ë 2 Îó¡¢½Ä¤Ë 3 Îó¡¢½ÄÃÖ¤­ (portrait) ¤ÇÇÛÃÖ¤·¤Þ¤¹¡£

92.34 Jpeg

½ñ¼°:
     set terminal jpeg 
            {{no}enhanced}
            {{no}interlace}
            {linewidth <lw>} {dashlength <dl>} {rounded|butt}
            {tiny | small | medium | large | giant}
            {font "<face> {,<pointsize>}"} {fontscale <scale>}
            {size <x>,<y>} {{no}crop}
            {background <rgb_color>}

PNG, JPEG, GIF ²èÁü¤Ï¡¢³°Éô¥é¥¤¥Ö¥é¥ê libgd ¤ò»È¤Ã¤ÆÀ¸À®¤µ¤ì¤Þ¤¹¡£ÂçÄñ ¤Î¾ì¹ç¡¢Ã±°ì¤ÎÉÁ²è¤Ê¤é PNG ¤ÎÊý¤¬¸þ¤¤¤Æ¤¤¤Æ¡¢GIF ¤Ï¥¢¥Ë¥á¡¼¥·¥ç¥óÍÑ¤Ç ¤¹¡£¤½¤ì¤é¤Ï»¼º¤Î¾¯¤Ê¤¤²èÁü·Á¼°¤Ç¡¢Â»¼º¤Î¤¢¤ë JPEG ·Á¼°¤è¤ê¤â¾å¼Á¤Î²è Áü¤òÀ¸À®¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢Æä˥٥¿ÅɤêÄÙ¤·¤¿ÇطʤǤΥ«¥é¡¼¤Î¼ÂÀþ¡¢¤Ä¤Þ¤ê ¤Þ¤µ¤Ë gnuplot ¤¬À¸À®¤¹¤ëŵ·¿Åª¤Ê²èÁü¤ËÂФ·¤Æ¤ÏÃí°Õ¤¹¤Ù¤­¤³¤È¤Ç¤¹¡£

¥ª¥×¥·¥ç¥ó interlace ¤Ï¡¢¥×¥í¥°¥ì¥Ã¥·¥Ö JPEG ²èÁü¤òÀ¸À®¤·¤Þ¤¹¡£¥Ç¥Õ ¥©¥ë¥È¤Ï nointerlace ¤Ç¤¹¡£

¥ª¥×¥·¥ç¥ó linewidth ¤È dashlength ¤Ï³ÈÂçΨ¤Ç¡¢ÉÁ²è¤µ¤ì¤ë¤¹¤Ù¤Æ¤Î Àþ¤Ë±Æ¶Á¤òÍ¿¤¨¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢¤³¤ì¤é¤ÏÍÍ¡¹¤ÊÉÁ²è¥³¥Þ¥ó¥É¤ÇÍ׵ᤵ¤ì¤ëÃÍ ¤Ë³Ý»»¤µ¤ì¤Þ¤¹¡£

butt ¤ÏÀþʬ¤ÎÉÁ²è¤Ç¡¢¤½¤Îü¤ÎÅÀ¤Ç¤Î¤Ï¤ß¤À¤·¤òµ¯¤³¤µ¤Ê¤¤ÉÁ²è¥á¥½¥Ã¥É ¤ò»È¤¦¤è¤¦¥É¥é¥¤¥Ð¤Ë»Ø¼¨¤·¤Þ¤¹¡£¤³¤ÎÀßÄê¤Ï¡¢ÀþÉý¤¬ 1 ¤è¤êÂ礭¤¤¾ì¹ç¤Ë ¤Î¤ßÍ­¸ú¤Ç¤¹¡£¤³¤ÎÀßÄê¤Ï¡¢¿åÊ¿Àþ¡¢¿âľÀþ¤ÎÉÁ²è¤Î¾ì¹ç¤ËÍ­ÍѤǤ·¤ç¤¦¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï rounded (´Ý¤á) ¤Ç¤¹¡£

¥Õ¥©¥ó¥È¤ÎÁªÂò¤Î¾ÜºÙ¤Ï¡¢¤ä¤äÊ£»¨¤Ç¤¹¡£ °Ê²¼¤ËƱ¤¸°ÕÌ£¤ò»ý¤Ä´Êñ¤ÊÎã¤ò¼¨¤·¤Þ¤¹:

    set term jpeg font arial 11
    set term jpeg font "arial,11"

¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢fonts ¤Î²¼¤Î³ºÅö¤¹¤ë¥»¥¯¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯ ¤À¤µ¤¤¡£

½ÐÎÏÉÁ²è¥µ¥¤¥º < x,y> ¤Ï¥Ô¥¯¥»¥ëñ°Ì¤ÇÍ¿¤¨¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï 640x480 ¤Ç ¤¹¡£°Ê²¼¤â»²¾È: canvas (7), set size (82.65)¡£ ÉÁ²è½ªÎ»¸å¤Îü¤Î;Çò¤Ï¡¢¥ª¥×¥·¥ç¥ó crop ¤Ç¼è¤ê½ü¤¯¤³¤È¤¬¤Ç¤­¡¢¤½¤Î·ë ²Ì¤È¤·¤Æ¤½¤Î²èÁü¥µ¥¤¥º¤Ï¾®¤µ¤¯¤Ê¤ê¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï nocrop ¤Ç¤¹¡£

92.35 Kyo

kyo ¤È prescribe ¤Î¥É¥é¥¤¥Ð¤Ï Kyocera (µþ¥»¥é) ¥ì¡¼¥¶¡¼¥×¥ê¥ó¥¿¤ò ¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¤³¤Îξ¼Ô¤ÎÍ£°ì¤Î°ã¤¤¤Ï¡¢kyo ¤¬ "Helvetica" ¤ò»È¤¦¤Î ¤ËÂФ·¤Æ prescribe ¤¬ "Courier" ¤ò»È¤¦¤³¤È¤À¤±¤Ç¤¹¡£¥ª¥×¥·¥ç¥ó¤Ï¤¢¤ê ¤Þ¤»¤ó¡£

92.36 Latex

½ñ¼°:
     set terminal {latex | emtex} {default | {courier|roman} {<fontsize>}}
                  {size <XX>{unit}, <YY>{unit}} {rotate | norotate}

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¤½¤ì¤òËä¤á¹þ¤àʸ½ñ¤Î¥Õ¥©¥ó¥È¤ÎÀßÄê¤ò°ú¤­·Ñ¤®¤Þ¤¹¤¬¡¢Âå ¤ï¤ê¤Ë Courier (cmtt) ¤« Roman (cmr) ¥Õ¥©¥ó¥È¤Î¤¤¤º¤ì¤«¤Ë¤¹¤ë¥ª¥×¥·¥ç ¥ó¤¬»È¤¨¤Þ¤¹¡£¤½¤ÎºÝ¤Ï¥Õ¥©¥ó¥È¥µ¥¤¥º¤â»ØÄê¤Ç¤­¤Þ¤¹¡£ ¤¢¤Ê¤¿¤Î DVI ¥É¥é¥¤¥Ð¤¬Ç¤°Õ¤Î¥µ¥¤¥º¤Î¥Õ¥©¥ó¥È¤òºî¤ê½Ð¤¹¤³¤È¤¬¤Ç¤­¤Ê¤¤ ¾ì¹ç (Î㤨¤Ð dvips)¡¢É¸½àŪ¤Ê 10, 11, 12 ¥Ý¥¤¥ó¥È¥µ¥¤¥º¤Ç¤Ê¤ó¤È¤«¤·¤Î ¤¤¤Ç¤¯¤À¤µ¤¤¡£

METAFONT ¥æ¡¼¥¶¤Ø¤Î·Ù¹ð: METAFONT ¤Ï̯¤Ê¥µ¥¤¥º¤Ï¹¥¤ß¤Þ¤»¤ó¡£

LaTeX ¤Ë´Ø¤¹¤ëÁ´¤Æ¤Î¥É¥é¥¤¥Ð¤Ïʸ»úÎó¤ÎÇÛÃÖ¤ÎÀ©¸æ¤ËÆÃÊ̤ÊÊýË¡¤òÄ󶡤·¤Þ ¤¹: '{' ¤Ç»Ï¤Þ¤ëʸ»úÎó¤Ï¡¢'}' ¤ÇÊĤ¸¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤¬¡¢¤½¤Îʸ»úÎóÁ´ÂÎ ¤¬¿åÊ¿Êý¸þ¤Ë¤â¿âľÊý¸þ¤Ë¤â¥»¥ó¥¿¥ê¥ó¥°¤µ¤ì¤Þ¤¹¡£'[' ¤Ç»Ï¤Þ¤ëʸ»úÎó¤Î¾ì ¹ç¤Ï¡¢°ÌÃ֤λØÄê¤ò¤¹¤ëʸ»úÎó (t,b,l,r ¤Î¤¦¤Á 2 ¤Ä¤Þ¤Ç) ¤¬Â³¤­¡¢¼¡¤Ë ']{'¡¢Ê¸»úÎóËÜÂΡ¢¤ÇºÇ¸å¤Ë '}' ¤È¤·¤Þ¤¹¤¬¡¢¤³¤Îʸ»úÎó¤Ï LaTeX ¤¬ LR-box ¤È¤·¤ÆÀ°·Á¤·¤Þ¤¹¡£' \ rule{}{}' ¤ò»È¤¨¤Ð¤µ¤é¤ËÎɤ¤°ÌÃÖ¹ç¤ï¤»¤¬²Äǽ¤Ç¤·¤ç ¤¦¡£

¿ô¤¢¤ëÃæ¤Ç¡¢ÅÀ (point) ¤Ï¡¢LaTeX ¤Î¥³¥Þ¥ó¥É " \ Diamond" ¤È " \ Box" ¤ò»È ¤Ã¤ÆÉÁ¤«¤ì¤Þ¤¹¡£¤³¤ì¤é¤Î¥³¥Þ¥ó¥É¤Ï¸½ºß¤Ï LaTeX2e ¤Î¥³¥¢¤Ë¤Ï¸ºß¤»¤º¡¢ latexsym ¥Ñ¥Ã¥±¡¼¥¸¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢¤³¤Î¥Ñ¥Ã¥±¡¼¥¸´ðËÜÇÛÉۤΰìÉô¤Ç ¤¢¤ê¡¢¤è¤Ã¤Æ¿¤¯¤Î LaTeX ¤Î¥·¥¹¥Æ¥à¤Î°ìÉô¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥Ñ¥Ã¥±¡¼ ¥¸¤ò»È¤¦¤³¤È¤ò˺¤ì¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£ ¾¤ÎÅÀ¼ï¤Ï¡¢amssymb ¥Ñ¥Ã¥±¡¼¥¸¤Îµ­¹æ¤ò»ÈÍѤ·¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤ÎÉÁ²è¥µ¥¤¥º¤Ï 5 inch ¡ß 3 inch ¤Ç¤¹¤¬¡¢¥ª¥×¥·¥ç¥ó size ¤Ç ¤³¤ì¤ò¥æ¡¼¥¶¤Î´õ˾¤¹¤ë¤â¤Î¤ËÊѹ¹¤Ç¤­¤Þ¤¹¡£¤Þ¤¿¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï X ¤È Y ¤Î¥µ¥¤¥º¤Îñ°Ì¤Ï inch ¤Ç¤¹¤¬¡¢Â¾¤Îñ°Ì¤ò»È¤¦¤³¤È¤â²Äǽ¤Ç¤¹ (¸½ºß¤Ï cm ¤Î¤ß)¡£

'rotate' ¤ò»ØÄꤹ¤ë¤È¡¢Ê¸»úÎó¤Î²óž¡¢ÆÃ¤Ë y ¼´¤Î¥é¥Ù¥ë¤Î²óž¤¬²Äǽ¤Ë¤Ê ¤ê¤Þ¤¹ (graphics ¤« graphicx ¥Ñ¥Ã¥±¡¼¥¸¤¬É¬Í×)¡£¤½¤Î¾ì¹ç¡¢y ¼´¥é¥Ù¥ë¤ò 'ÀѤ߾夲·¿' ¤Ë¤¹¤ë»ÅÁȤߤÏÄä»ß¤µ¤ì¤Þ¤¹¡£

Îã: ¸«½Ð¤·¤Î°ÌÃÖ¹ç¤ï¤»¤Ë´Ø¤·¤Æ: gnuplot ¤Î¥Ç¥Õ¥©¥ë¥È (ÂçÄñ¤½¤ì¤Ê¤ê¤Ë¤Ê¤ë¤¬¡¢¤½¤¦¤Ç¤Ê¤¤¤³¤È¤â¤¢¤ë):

      set title '\LaTeX\ -- $ \gamma $'

¿åÊ¿Êý¸þ¤Ë¤â¿âľÊý¸þ¤Ë¤â¥»¥ó¥¿¥ê¥ó¥°:
      set label '{\LaTeX\ -- $ \gamma $}' at 0,0

°ÌÃÖ¤òÌÀ¼¨Åª¤Ë»ØÄê (¾å¤Ë¹ç¤ï¤»¤ë):
      set xlabel '[t]{\LaTeX\ -- $ \gamma $}'

¾¤Î¸«½Ð¤· - ÌÜÀ¹¤ê¤ÎŤ¤¸«½Ð¤·¤ËÂФ¹¤ë¸«ÀѤê:
      set ylabel '[r]{\LaTeX\ -- $ \gamma $\rule{7mm}{0pt}}'

92.37 Linux

linux ¥É¥é¥¤¥Ð¤Ë¤Ï»ØÄꤹ¤ë¥ª¥×¥·¥ç¥ó¤Ï²¿¤â¤¢¤ê¤Þ¤»¤ó¡£¤½¤ì¤Ï¥Ç¥Õ¥©¥ë ¥È¤Î¥â¡¼¥ÉÍѤ˴Ķ­ÊÑ¿ô GSVGAMODE ¤ò»²¾È¤·¤Þ¤¹¡£¤â¤·¤½¤ì¤¬ÀßÄꤵ¤ì¤Æ¤¤ ¤Ê¤±¤ì¤Ð 1024x768x256 ¤ò¥Ç¥Õ¥©¥ë¥È¤È¤·¤Æ»ÈÍѤ·¤Þ¤¹¤¬¡¢¤½¤ì¤¬¤Ç¤­¤Ê¤±¤ì ¤Ð 640x480x16 (ɸ½à¤Î VGA) ¤È¤·¤Þ¤¹¡£

92.38 Lua

¤³¤Î lua ½ÐÎϥɥ饤¥Ð¤Ï¡¢ÂоÝÀè»ØÄêÉÁ²è¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ë¤¿¤á¤Î¡¢³° Éô Lua ¥¹¥¯¥ê¥×¥È¤È¤ÎÁȤ߹ç¤ï¤»¤Çµ¡Ç½¤·¤Þ¤¹¡£¸½ºß¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ëÂÐ¾Ý ¤Ï¡¢TikZ -> pdflatex ¤Î¤ß¤Ç¤¹¡£

Lua ¤Ë´Ø¤¹¤ë¾ðÊó¤Ï¡¢http://www.lua.org ¤Ç»²¾È¤Ç¤­¤Þ¤¹¡£

½ñ¼°:

  set terminal lua <target name> | "<file name>"
                      {<script_args> ...}
                      {help}

¥¹¥¯¥ê¥×¥ÈÍÑ¤Ë 'target name'¡¢¤Þ¤¿¤Ï°úÍÑÉäÉÕ¤­¤Î 'file name' ¤¬É¬¿Ü¤Ç ¤¹¡£¥¹¥¯¥ê¥×¥È¤Î 'target name' ¤òÍ¿¤¨¤¿¾ì¹ç¤Ï¡¢¤³¤Î½ÐÎÏ·Á¼°¤Ï¡¢ "gnuplot-< target name> .lua" ¤ò¤Þ¤º¥í¡¼¥«¥ë¥Ç¥£¥ì¥¯¥È¥ê¤Çõ¤·¡¢¤½¤ì¤Ë ¼ºÇÔ¤¹¤ë¤È´Ä¶­ÊÑ¿ô GNUPLOT_LUA_DIR ¤òõ¤·¤Þ¤¹¡£

¤½¤Î¾¤Î¤¹¤Ù¤Æ¤Î°ú¿ô¤Ï¡¢ÁªÂò¤·¤¿¥¹¥¯¥ê¥×¥È¤Ëɾ²Á¤µ¤»¤ë¤è¤¦¤ËÍ¿¤¨¤é¤ì¤Þ ¤¹¡£Î㤨¤Ð¡¢'set term lua tikz help' ¤Ï¡¢¥¹¥¯¥ê¥×¥È¤½¤ì¼«¿È¤Ë¡¢¥¹¥¯¥ê ¥×¥ÈÍѤΥª¥×¥·¥ç¥ó¤ÈÁªÂò¤Ë´Ø¤¹¤ëÄɲäΥإë¥×¤òɽ¼¨¤µ¤»¤Þ¤¹¡£

92.38.1 Lua tikz

TikZ ¥É¥é¥¤¥Ð¤Ï¡¢ÈÆÍÑ Lua ½ÐÎÏ·Á¼°¤Î½ÐÎϥ⡼¥É¤Î°ì¤Ä¤Ç¤¹¡£

½ñ¼°:

   set terminal lua tikz


    {latex | tex | context}
    {color | monochrome}
    {dashed | solid}
    {nooriginreset | originreset}
    {nogparrows | gparrows}
    {nogppoints | gppoints}
    {picenvironment | nopicenvironment}
    {noclip | clip}
    {notightboundingbox | tightboundingbox}
    {background "<colorpec>"}
    {size <x>{unit},<y>{unit}}
    {scale <x>,<y>}
    {plotsize <x>{unit},<y>{unit}}
    {charsize <x>{unit},<y>{unit}}
    {font "<fontdesc>"}
    {{fontscale | textscale} <scale>}
    {nofulldoc | nostandalone | fulldoc | standalone}
    {{preamble | header} "<preamble_string>"}
    {tikzplot <ltn>,...}
    {notikzarrows | tikzarrows}
    {rgbimages | cmykimages}
    {noexternalimages|externalimages}
    {bitmap | nobitmap}
    {providevars <var name>,...}
    {createstyle}
    {help}

°ú¿ô¤È¤·¤ÆŤµ¤òɬÍפȤ¹¤ë¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤Æ¤Ï¡¢Ã±°Ì¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤± ¤ì¤Ð¤½¤Î¥Ç¥Õ¥©¥ë¥È¤Ï 'cm' ¤È¤Ê¤ê¤Þ¤¹¡£¤¹¤Ù¤Æ¤ÎŤµ¤Ë¤Ï¡¢°Ê²¼¤Îñ°Ì¤ò»ÈÍѤǤ­¤Þ¤¹: 'cm', 'mm', 'in' ¤Þ¤¿¤Ï 'inch', 'pt', 'pc', 'bp', 'dd','cc' (ÌõÃí: in ¤Ï¥¤¥ó¥Á (1in=2.54cm), pt ¤Ï¥Ý¥¤¥ó¥È (72.27pt=1in), pc ¤Ï¥Ñ¥¤¥« (1pc=12pt), bp ¤Ï¥Ó¥Ã¥°¥Ý¥¤¥ó¥È (72bp=1in), dd ¤Ï Didot ¥Ý¥¤ ¥ó¥È (26.6dd=1cm), cc ¤Ï Cicero (1cc=12dd))¡£¿ôÃͤÈñ°Ì¤Î´Ö¤Ë¶õÇò¤òÆþ ¤ì¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£

'monochrome' ¤Ï¡¢Àþ¤Î¿§ÉÕ¤±¤ò̵¸ú¤Ë¤·¡¢ÅɤêÄÙ¤·¤ò³¥¿§³¬Ä´¤ËÀÚ¤êÂؤ¨¤Þ ¤¹¡£

'solid' ¤Ï¡¢¼ÂÀþ¤Î¤ß¤ò»ÈÍѤ·¤Þ¤¹¡£

'originreset' ¤Ï¡¢TikZ ²è¤Î¸¶ÅÀ¤ò¡¢ÉÁ²è¤Îº¸²¼³Ñ¤Ø°ÜÆ°¤·¤Þ¤¹¡£¤³¤ì¤Ï¤¤ ¤¯¤Ä¤«¤ÎÉÁ²è¤ò°ì¤Ä¤Î tikzpicture ´Ä¶­Æâ¤ËÀ°Î󤹤ë¤Î¤Ë»ÈÍѤǤ­¤Þ¤¹¡£¤³ ¤ì¤Ï¡¢multiplot¡¢pm3d ÉÁ²è¤Ç¤Ï½½Ê¬¤Ë¤Ï¥Æ¥¹¥È¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£

'gparrows' ¤Ï¡¢TikZ ¤¬Ä󶡤¹¤ëÌð (arrow) ¤ÎÂå¤ï¤ê¤Ë¡¢gnuplot ÆâÉô¤ÎÌð (arrow) ¤ÎÉÁ²è´Ø¿ô¤ò»ÈÍѤ·¤Þ¤¹¡£

'gppoints' ¤Ï¡¢TikZ ¤¬Ä󶡤¹¤ëÉÁ²èµ­¹æ¤ÎÂå¤ï¤ê¤Ë¡¢gnuplot ÆâÉô¤Îµ­¹æÉÁ ²è´Ø¿ô¤ò»ÈÍѤ·¤Þ¤¹¡£

'nopicenvironment' ¤Ï¡¢'tikzpicture' ´Ä¶­¤ÎÀë¸À¤ò¼êÆ°¤Ç¹Ô¤¦¤è¤¦¤Ë¤¹¤ë ¤¿¤á¤Ë¤½¤ì¤ò¾Êά¤·¤Þ¤¹¡£¤³¤ì¤Ë¤è¤ê¡¢ÉÁ²è¤ÎÁ°¸å¤Ë¡¢¤¢¤ë PGF/TikZ ¥³¡¼¥É ¤òľÀÜÆþ¤ì¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

'clip' ¤Ï¡¢ÉÁ²è¤òÄêµÁ¤µ¤ì¤¿¥­¥ã¥ó¥Ð¥¹¥µ¥¤¥º¤Ç¥¯¥ê¥Ã¥Ô¥ó¥°¤·¤Þ¤¹¡£¥Ç¥Õ¥© ¥ë¥È¤Ï 'noclip' ¤Ç¡¢¤³¤ì¤Ï¥­¥ã¥ó¥Ð¥¹¥µ¥¤¥º¤ò´Þ¤àºÇ¾®¤Î¶ë·Á³°ÏȤΤߤòÀß Äꤷ¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó 'plotsize' ¤« 'tightboundingbox' ¤ò»ÈÍѤ·¤¿¾ì¹ç¤Ï ¶ë·Á³°ÏȤ⥯¥ê¥Ã¥Ô¥ó¥°¤ÎÈ¢¤â¤¤¤º¤ì¤âÀßÄꤷ¤Þ¤»¤ó¡£

'tightboundingbox' ¤ò¥»¥Ã¥È¤¹¤ë¤È¡¢¥ª¥×¥·¥ç¥ó 'clip' ¤Ï̵»ë¤µ¤ì¡¢ºÇ½ªÅª ¤Ê¶ë·Á³°ÏÈ¤Ï tikz ¤¬·×»»¤¹¤ë¼«Á³¤Ê¶ë·Á³°ÏȤˤʤê¤Þ¤¹¡£

'background' ¤Ï¡¢ÇØ·Ê¿§¤ò°ú¿ô < colorspec> ¤Ç»ØÄꤷ¤¿ÃͤËÀßÄꤷ¤Þ¤¹¡£ < colorspec> ¤ÏÍ­¸ú¤Ê¿§Ì¾¤«¡¢'#' ¤Î¸å¤Ë 16 ¿Ê¿ô¤òÃÖ¤¯ 3 ¥Ð¥¤¥È¤Î RGB ¥³ ¡¼¥É (Î㤨¤Ð '#ff0000' ¤Ï¿¿ÀÖ) ¤Î¤¤¤º¤ì¤«¤Ç¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£¾Êά¤·¤¿ ¾ì¹ç¤ÏÇطʤÏÆ©ÌÀ¤Ë¤Ê¤ê¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó 'size' ¤Ï¡¢¥­¥ã¥ó¥Ð¥¹¥µ¥¤¥º¤Î 2 ¤Ä¤ÎŤµ < x> , < y> ¤òɬÍ×¤È ¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥­¥ã¥ó¥Ð¥¹¥µ¥¤¥º¤Ï 12.5cm x 8.75cm ¤Ç¤¹¡£

¥ª¥×¥·¥ç¥ó 'scale' ¤Ï¡¢¥ª¥×¥·¥ç¥ó 'size' ¤ÈƱÅù¤Îµ¡Ç½¤Ç¤¹¤¬¡¢¤³¤Î < x> , < y> ¤ÏŤµ¤Ç¤Ï¤Ê¤¯¡¢³ÈÂçΨ¤Ë¤Ê¤ê¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó 'plotsize' ¤Ï¡¢¥­¥ã¥ó¥Ð¥¹¥µ¥¤¥º¤ÎÂå¤ï¤ê¤ËÉÁ²èÎΰè¤Î¥µ¥¤¥º¤Î ÀßÄê¤ò¹Ô¤¤¤Þ¤¹¤¬¡¢¤½¤ì¤¬Ä̾ï¤Î gnuplot ¤ÎµóÆ°¤Ç¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»È ÍѤ¹¤ë¤È¡¢¤ï¤º¤«¤ËÈóÂоΤʹï¤ßÉý¤òºî¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£'originreset' ¤Î ¤è¤¦¤Ë¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ò multiplot ¤ä pm3d ÉÁ²è¤Ç»ÈÍѤ¹¤ë¤È¡¢ÉÔÅÔ¹ç¤Ê ·ë²Ì¤ò¾·¤¯¶²¤ì¤¬¤¢¤ê¤Þ¤¹¡£¤½¤ì¤ËÂå¤ï¤ëÊýË¡¤È¤·¤Æ¡¢¤¹¤Ù¤Æ¤Î margin ¤ò 0 ¤ÈÀßÄꤷ¤¿¾å¤Ç¥ª¥×¥·¥ç¥ó 'noclip' ¤ò»ÈÍѤ¹¤ë¡¢¤È¤¤¤¦¼ê¤â¤¢¤ê¤Þ¤¹¡£¤³¤Î ¾ì¹ç¤Ï¡¢ÉÁ²èÎΰè¤ÏÍ¿¤¨¤¿¥­¥ã¥ó¥Ð¥¹¥µ¥¤¥º¤ÎÂ礭¤µ¤Ë¤Ê¤ê¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó 'charsize' ¤Ï¡¢»ÈÍѤ¹¤ë¥Õ¥©¥ó¥È¤Î¿åÊ¿¥µ¥¤¥º¤È¿âľ¥µ¥¤¥º¤ÎÊ¿ ¶ÑÃͤòɬÍפȤ·¤Þ¤¹¡£¤¢¤Ê¤¿¤Î TeX ʸ½ñÆâ¤Ç¤³¤ì¤ò¤É¤Î¤è¤¦¤Ë»ÈÍѤ¹¤ë¤«¤Ë ¤Ä¤¤¤Æ¤Ï¡¢¥µ¥ó¥×¥ë¤È¤·¤ÆÀ¸À®¤µ¤ì¤ë¥¹¥¿¥¤¥ë¥Õ¥¡¥¤¥ë¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£

¥ª¥×¥·¥ç¥ó 'fontscale', 'textscale' ¤Ë¤Ï¡¢½Ì¼ÜÈæ¥Ñ¥é¥á¡¼¥¿¤¬É¬ÍפǤ¹¡£ ¥°¥é¥ÕÆâ¤Î¤¹¤Ù¤Æ¤Îʸ»úÎ󤬤½¤Î½Ì¼ÜÈæ¤Ç¿­½Ì¤µ¤ì¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó 'tex', 'latex', 'context' ¤Ï¡¢TeX ½ÐÎÏ·Á¼°¤ÎÁªÂò¤Ç¤¹¡£¥Ç¥Õ¥© ¥ë¥È¤Ï LaTeX ¤Ç¤¹¡£¤½¤Î¥¹¥¿¥¤¥ë¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤à¤Ë¤Ï¡¢¤¢¤Ê¤¿¤Îʸ½ñ¥Õ¥¡ ¥¤¥ë¤ÎÀèƬ¤ËÂбþ¤¹¤ë¹Ô¤òÆþ¤ì¤Æ¤¯¤À¤µ¤¤:

 \input gnuplot-lua-tikz.tex    % (plain TeX ¤Î¾ì¹ç)
 \usepackage{gnuplot-lua-tikz}  % (LaTeX ¤Î¾ì¹ç)
 \usemodule[gnuplot-lua-tikz]   % (ConTeXt ¤Î¾ì¹ç)

'createstyle' ¤Ï¡¢¤½¤Î¥¹¥¯¥ê¥×¥È¤«¤é TeX/LaTeX/ConTeXt ¥¹¥¿¥¤¥ë¥Õ¥¡¥¤¥ë ¤òƳ¤­½Ð¤·¡¢¤½¤ì¤é¤òŬÀڤʥե¡¥¤¥ë¤Ë½ñ¤­½Ð¤·¤Þ¤¹¡£

'fulldoc' ¤Þ¤¿¤Ï 'standalone' ¤Ï¡¢¤½¤Î¤Þ¤Þ¥³¥ó¥Ñ¥¤¥ë¤Ç¤­¤ë¤è¤¦¤Ê´°Á´¤Ê LaTeX ʸ½ñ¤òÀ¸À®¤·¤Þ¤¹¡£

'preamble' ¤Þ¤¿¤Ï 'header' ¤Ï¡¢standalone ¥â¡¼¥É¤Î¥É¥­¥å¥á¥ó¥È¤Î¥×¥ê¥¢ ¥ó¥Ö¥ë¤ËÄɲà LaTeX ¥³¡¼¥É¤ò½ÐÎϤ¹¤ë¤Î¤Ë»È¤¤¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó 'tikzplot' ¤Ç¤Ï¡¢¥³¥Þ¥ó¥É ' \ path' ¤ÎÂå¤ï¤ê¤Ë ' \ path plot' ¤ò»ÈÍѤ·¤Þ¤¹¡£¤½¤ì¤Ë³¤¯Àþ¼ï (linetype) ¤Î¿ôÃͤΥꥹ¥È (< ltn> ,...) ¤Ï ¤½¤ì¤Ë±Æ¶Á¤µ¤ì¤ëÉÁ²èÀþ¤òÄêµÁ¤·¤Þ¤¹¡£¤¹¤Ù¤Æ¤ÎÀþ¼ï¤ËÂФ·¡¢°ì¤Ä¤ÎÉÁ²è¥¹¥¿ ¥¤¥ë¤¬Â¸ºß¤·¤Þ¤¹¡£1 °Ê¾å¤Î¤¹¤Ù¤Æ¤ÎÀþ¼ï¤ËÂФ·¤Æ¡¢¥Ç¥Õ¥©¥ë¥È¤ÎÉÁ²è¥¹¥¿¥¤¥ë¤Ï 'smooth' ¤Ç¤¹¡£

¥ª¥×¥·¥ç¥ó 'tikzarrows' ¤ò»ÈÍѤ¹¤ë¤È¡¢¥æ¡¼¥¶¤ÎÄêµÁ¤·¤¿ gnuplot ¤ÎÌð (arrow) ¤Î¥¹¥¿¥¤¥ë¤ò TikZ ¤ÎÌð¤Î¥¹¥¿¥¤¥ë¤Ë³ä¤êÅö¤Æ¤Þ¤¹¡£¤³¤ì¤Ï¡¢Ìð¤ÎÄê µÁ¤Î³Ñ¤ÎÃͤò '¸í¤Ã¤Æ»ÈÍѤ¹¤ë' ¤³¤È¤Ç¤Ê¤µ¤ì¤Æ¤¤¤Þ¤¹¡£Î㤨¤Ð¡¢³Ñ '7' ¤Ë ¤è¤ëÌð¤Î¥¹¥¿¥¤¥ë¤Ï TikZ ¥¹¥¿¥¤¥ë 'gp arrow 7' ¤Ë³ä¤êÅö¤Æ¤é¤ì¡¢Â¾¤ËÍ¿¤¨ ¤é¤ì¤¿ÃͤϤ¹¤Ù¤Æ̵»ë¤µ¤ì¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢TikZ ½ÐÎÏ·Á¼°¤Ï¤¹¤Ù¤Æ¤Î Ìð¤ËÂФ·¤Æ¥¹¥Æ¥ë¥¹·Á¤ÎÌðÀè¤ò»ÈÍѤ·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î gnuplot ¤Î¤è¤¦¤Ë ¤¹¤ë¤Ë¤Ï¡¢¥ª¥×¥·¥ç¥ó 'gparrows' ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

'cmykimages' ¤Ç¤Ï¡¢¥¤¥ó¥é¥¤¥ó²èÁü¥Ç¡¼¥¿¤ËÂФ·¤Æ RGB ¥«¥é¡¼¥â¥Ç¥ë¤ÎÂå¤ï ¤ê¤Ë CMYK ¥â¥Ç¥ë¤ò»ÈÍѤ·¤Þ¤¹¤¬¡¢Â¾¤Î¤¹¤Ù¤Æ¤Î¿§ (Àþ¤Î¿§¤Ê¤É) ¤Ï¡¢¤½¤ì¤é ¤¬¡¢Î㤨¤Ð xcolors ¥Ñ¥Ã¥±¡¼¥¸¤Ç½èÍý¤µ¤ì¤ë¤Î¤Ç¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤Î±Æ¶Á¤ò¼õ ¤±¤Þ¤»¤ó¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢²èÁü¤¬¥¤¥ó¥é¥¤¥ó²èÁü¤Ç¤Ê¤¯³°Éô¥Ç¡¼¥¿¤Ç¤¢¤ë ¾ì¹ç¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó 'externalimages' ¤ò»ÈÍѤ¹¤ë¤È¡¢¤¹¤Ù¤Æ¤Î¥Ó¥Ã¥È¥Þ¥Ã¥×²èÁü¤ò³° Éô¤Î PNG ²èÁü¤È¤·¤Æ½ñ¤­½Ð¤·¡¢¤½¤ì¤é¤¬Ê¸½ñ¤Î¥³¥ó¥Ñ¥¤¥ë»þ¤ËÆɤ߹þ¤Þ¤ì¤ë¤è ¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£DVI ¥Õ¥¡¥¤¥ë¡¢¤ª¤è¤Ó¤½¤Î¸å¤Î PostScript ¥Õ¥¡¥¤¥ë¤òÀ¸À®¤¹ ¤ë¤Ë¤Ï¡¢PNG ¥Õ¥¡¥¤¥ë¤ò EPS ¥Õ¥¡¥¤¥ë¤Ë¡¢Ê̤ËÊÑ´¹¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤³¤ì ¤ÏÎ㤨¤Ð ImageMagick ¤Î convert ¤Ç¹Ô¤¨¤Þ¤¹¡£Æ©ÌÀ²½¥Ó¥Ã¥È¥Þ¥Ã¥×²èÁü¤Ï ¾ï¤Ë³°Éô PNG ²èÁü¤È¤·¤ÆÀ¸À®¤·¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó 'nobitmap' ¤Ï¡¢¥Í¥¤¥Æ¥£¥Ö¤Î PS, PDF ¥¤¥ó¥é¥¤¥ó²èÁü·Á¼°¤ÎÂå ¤ï¤ê¤Ë¡¢²èÁü¤òÅɤêÄÙ¤µ¤ì¤¿Ä¹Êý·Á¤È¤·¤Æ¥ì¥ó¥À¥ê¥ó¥°¤·¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç ¥ó¤Ï¡¢²èÁü¤¬¥¤¥ó¥é¥¤¥ó²èÁü¤Ç¤Ê¤¯³°Éô¥Ç¡¼¥¿¤Ç¤¢¤ë¾ì¹ç¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó 'providevars' ¤Ï¡¢gnuplot ¤ÎÆâÉôÊÑ¿ô¡¢¥æ¡¼¥¶ÊÑ¿ô¤ò¡¢TeX ¥¹ ¥¯¥ê¥×¥ÈÆâ¤Ç¤â¥³¥Þ¥ó¥É ' \ gpgetvar{< var name> }' ¤ò»ÈÍѤ¹¤ë¤³¤È¤ÇÍøÍÑ²Ä Ç½¤Ë¤µ¤»¤Þ¤¹¡£ÍøÍѤǤ­¤ëÊÑ¿ô¤Î°ìÍ÷¤ò¸«¤ë¤Ë¤Ï¡¢'show variables all' ¥³ ¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

ʸ»úÎó < fontdesc> ¤Ë¤Ï¡¢Î㤨¤Ð ' \ small' ¤Î¤è¤¦¤Ê TeX/LaTeX/ConTeXt ¤Ç Í­¸ú¤Ê¥Õ¥©¥ó¥È¥³¥Þ¥ó¥É¤òÆþ¤ì¤ë¤³¤È¤â¤Ç¤­¡¢¤½¤ì¤Ï¡¢"font=< fontdesc> " ¤Î·Á¼°¤Î¥Î¡¼¥É¥Ñ¥é¥á¡¼¥¿¤È¤·¤ÆľÀÜÅϤµ¤ì¤Þ¤¹¡£¤³¤ì¤Ï¡¢¤¢¤ë¥Î¡¼¥É¤Ë¥³¡¼ ¥É¤òÄɲ乤ë¤Î¤Ë¡Ö¤ï¤¶¤È´Ö°ã¤¨¤Æ¡×»È¤¨¤Þ¤¹¡£Î㤨¤Ð ' \ small,yshift=1ex' ¤âÍ­¸ú¤Ç¤¹¤¬¡¢',yshift=1ex' ¤âÍ­¸ú¤Ç¡¢¤³¤Á¤é¤Ï¸½ºß¤Î¥Õ¥©¥ó¥ÈÀßÄê¤òÊѹ¹ ¤·¤Þ¤»¤ó¡£¤·¤«¤·¥ê¥¹¥È¤ÎÂè 2 °ú¿ô¤ÏÎã³°¤Ç¤¹¡£¤½¤ì¤¬ < ¿ôÃÍ> {ñ°Ì} ¤Î·Á¼° ¤Î¿ôÃͤξì¹ç¡¢¤½¤ì¤Ï¾¤Î½ÐÎÏ·Á¼°¤Ç¤½¤¦¤Ç¤¢¤ë¤è¤¦¤Ë¥Õ¥©¥ó¥È¥µ¥¤¥º¤È²ò¼á ¤µ¤ì¡¢Âè 1 °ú¿ô¤ËÄɲ䵤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¡£Ã±°Ì¤¬¾Êά¤µ¤ì¤¿ÃÍ¤Ï 'pt' ñ°Ì¤È ²ò¼á¤µ¤ì¤Þ¤¹¡£Î㤨¤Ð¡¢' \ sffamily,12,fill=red' ¤Ï¡¢ÇØ·Ê¿§¤¬ÀÖ¤Ç 12pt ¤Î LaTeX sans serif ¥Õ¥©¥ó¥È¤òÀßÄꤷ¤Þ¤¹¡£ Ʊ¤¸¤³¤È¤¬ ConTeXt ¤Ë¤â¸À¤¨¤Þ¤¹¡£Î㤨¤Ð¡¢' \ switchtobodyfont[iwona],10' ¤Ï¥Õ¥©¥ó¥È¤ò 10pt ¥µ¥¤¥º¤Î Iwona ¤ËÊѹ¹¤·¤Þ¤¹¡£ Plain TeX ¥æ¡¼¥¶¤Ï¡¢¥Õ¥©¥ó¥È¥µ¥¤¥º¤ÎÊѹ¹¤ÏºÇ½é¤Î°ú¿ô¤ÇÌÀ¼¨Åª¤Ë¹Ô¤ï¤Ê¤± ¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£¥Æ¥­¥¹¥È¥Ü¥Ã¥¯¥¹¤Î½Ì¼Ü¤òÀµ¤·¤¯¼èÆÀ¤¹¤ë¤è¤¦¡¢2 ¤ÄÌܤâƱ ¤¸ÃͤËÀßÄꤹ¤Ù¤­¤Ç¤¹¡£

ʸ»úÎó¤Ïñ°ì¡¢¤¢¤ë¤¤¤ÏÆó½Å°úÍÑÉäÆâ¤ËÆþ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£Æó½Å°úÍÑÉä¤Ç ¤¯¤¯¤é¤ì¤¿Ê¸»úÎó¤Ë¤Ï¡¢²þ¹Ô¤Î ' \ n' ¤Ê¤É¤ÎÆÃÊ̤Êʸ»ú¤òÆþ¤ì¤ë¤³¤È¤¬¤Ç¤­ ¤Þ¤¹¡£

92.39 Macintosh

½ñ¼°:
    set terminal macintosh {singlewin | multiwin} {vertical | novertical}
                           {size <width>, <height> | default}

'singlewin' ¤Ïñ°ì¥¦¥£¥ó¥É¥¦¤Ø¤ÎÀ©¸Â¤Ç¤¢¤ê¡¢¥¢¥Ë¥á¡¼¥·¥ç¥óÍѤËÍ­ÍѤǤ¹¡£ 'multiwin' ¤ÏÊ£¿ô¤Î¥¦¥£¥ó¥É¥¦¤¬»È¤¨¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ 'vertical' ¤Ï gx ¥ª¥×¥·¥ç¥ó¤Î¸µ¤Ç¤Î¤ßÍ­¸ú¤Ç¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ç¤Ï²óž ¤·¤¿Ê¸»úÎó¤ò¿âľÊý¸þ¤Ë½ñ¤­¤Þ¤¹¡£novertical ¤Ï¤³¤Î¥ª¥×¥·¥ç¥ó¤ò̵¸ú¤Ë¤· ¤Þ¤¹¡£ size < width> , < height> ¤Ï preferences dialog ¤ÇÀßÄꤵ¤ì¤¿¥°¥é¥Õ¥µ¥¤¥º ¤ò½ñ¤­´¹¤¨¡¢'set term mac size default' ¤« 'set term mac default' ¤¬»Ø Äꤵ¤ì¤ë¤Þ¤Ç¤½¤ÎÃͤÏÊÝ»ý¤µ¤ì¤Þ¤¹¡£

'set term mac size default' ¤Ï¥¦¥£¥ó¥É¥¦¥µ¥¤¥º¤ÎÀßÄê¤ò preferences dialog ¤ÇÀßÄꤷ¤¿¤â¤Î¤Ë¤·¤Þ¤¹¡£

'set term mac default' ¤ÏÁ´¤Æ¤Î¥ª¥×¥·¥ç¥ó¤ò¥Ç¥Õ¥©¥ë¥È¤ÎÃͤËÀßÄꤷ¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥ÈÃÍ¤Ï nogx, multiwin, novertical ¤Ç¤¹¡£

multiwin ¥ª¥×¥·¥ç¥ó¤Î¸µ¤Ç¥°¥é¥Õ¤òºîÀ®¤·¡¢¤½¤Î¸å singlewin ¤Ë¥¹¥¤¥Ã¥Á¤· ¤¿¾ì¹ç¡¢¼¡¤Î plot ¥³¥Þ¥ó¥É¤Ç¤Ï¹¹¤Ë°ì¤Ä¥¦¥£¥ó¥É¥¦¤¬ºî¤é¤ì¡¢¤³¤Î¿·¤·¤¤¥¦ ¥£¥ó¥É¥¦¤Ç¤Ï singlewin ¤¬Í­¸ú¤Ê´Ö»ÈÍѤµ¤ì¤Þ¤¹¡£¤½¤·¤Æ multiwin ¤ËÌá¤ê¡¢ ¤¤¤¯¤Ä¤«¤Î¥°¥é¥Õ¤òÀ¸À®¤·¡¢¤Þ¤¿ºÆ¤Ó singlewin ¤Ë¥¹¥¤¥Ã¥Á¤¹¤ë¤È¡¢¤â¤·¸µ ¤Î 'singlewin' ¥¦¥£¥ó¥É¥¦¤¬¤Þ¤À³«¤¤¤Æ¤¤¤ì¤Ð¤½¤ì¤¬»È¤ï¤ì¡¢¤½¤¦¤Ç¤Ê¤±¤ì ¤Ð¿·¤·¤¤ 'singlewin' ¥¦¥£¥ó¥É¥¦¤¬ºî¤é¤ì¤Þ¤¹¡£'singlewin' ¥¦¥£¥ó¥É¥¦¤Ï ÈÖ¹æÉÕ¤±¤Ï¤µ¤ì¤Þ¤»¤ó¡£

92.40 Mf

mf ¥É¥é¥¤¥Ð¤Ï METAFONT ¥×¥í¥°¥é¥à¤Ø¤ÎÆþÎÏ¥Õ¥¡¥¤¥ë¤òºî¤ê¤Þ¤¹¡£¤è¤Ã¤Æ ¤½¤Î¿Þ¤Ï TeX ¤Îʸ½ñÃæ¤Ç¤Ïʸ»ú¤ÈƱ¤¸¤è¤¦¤Ë»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

ʸ½ñÃæ¤Ç¿Þ¤ò»È¤¦¤Ë¤Ï¡¢gnuplot ¤Î½ÐÎϤ¹¤ë¥Õ¥¡¥¤¥ë¤òÆþÎϤȤ·¤Æ METAFONT ¥×¥í¥°¥é¥à¤ò¼Â¹Ô¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤è¤Ã¤Æ¡¢¥æ¡¼¥¶¤Ï¥Õ¥©¥ó¥È¤¬ºî¤é¤ì¤ë ¥×¥í¥»¥¹¤È¿·¤·¤¯ºî¤Ã¤¿¥Õ¥©¥ó¥È¤ò¥É¥­¥å¥á¥ó¥È¤Ë¼è¤ê¹þ¤à¤¿¤á¤Î´ðÁÃÃ챤¬ ɬÍפȤʤê¤Þ¤¹¡£¤·¤«¤·¡¢»ÈÍѤ¹¤ë¥µ¥¤¥È¤Ç METAFONT ¥×¥í¥°¥é¥à¤¬Å¬ÀÚ¤ËÀß Äꤵ¤ì¤Æ¤¤¤ì¤Ð¡¢·Ð¸³¤Î¤Ê¤¤¥æ¡¼¥¶¤Ç¤â¤½¤¦ÌäÂê¤Ê¤¯Áàºî¤Ï¤Ç¤­¤ë¤Ç¤·¤ç¤¦¡£

¥°¥é¥ÕÃæ¤Îʸ»ú¤Ï METAFONT ¤Îʸ»ú¥»¥Ã¥È¤Ë´ð¤Å¤¤¤Æ¥µ¥Ý¡¼¥È¤µ¤ì¤Þ¤¹¡£¸½¾õ ¤Ç¤Ï Computer Modern Roman ¥Õ¥©¥ó¥È¥»¥Ã¥È¤¬ÆþÎϤǤ¹¤¬¡¢¥æ¡¼¥¶¤ÏɬÍ×¤Ê ¥Õ¥©¥ó¥È¤ò²¿¤Ç¤â¼«Í³¤ËÁª¤Ö¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤¿¤À¤·¤½¤ÎÁª¤ó¤À¥Õ¥©¥ó¥È¤Î METAFONT ¥½¡¼¥¹¥Õ¥¡¥¤¥ë¤¬»È¤¨¤ë¾õÂ֤ˤʤäƤ¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¸Ä¡¹¤Î ʸ»ú¤Ï METAFONT ¤ÎÃæ¤ÇÊÌ¡¹¤Î¥Ô¥¯¥Á¥ã¡¼ÊÑ¿ô¤ËÊݸ¤µ¤ì¡¢Ê¸»ú¤¬É¬Íפˤʤà ¤¿¤È¤­¤Ë¤³¤ì¤é¤ÎÊÑ¿ô¤¬Áàºî (²óž¡¢¿­½ÌÅù) ¤µ¤ì¤Þ¤¹¡£·çÅÀ¤Ï¡¢METAFONT ¥×¥í¥°¥é¥à¤¬²ò¼á¤ËÍפ¹¤ë»þ´Ö¤Ç¤¹¡£¤¢¤ë·×»»µ¡ (¤Ä¤Þ¤ê PC) ¤Ç¤Ï¡¢¥Ô¥¯¥Á ¥ã¡¼ÊÑ¿ô¤ò¤¿¤¯¤µ¤ó»ÈÍѤ·¤¹¤®¤ë¤³¤È¤Ç¡¢»È¤¨¤ë¥á¥â¥ê¤ÎÎ̤賦¤¬ÌäÂê¤òµ¯ ¤³¤¹¤³¤È¤â¤¢¤ê¤Þ¤¹¡£

mf ¥É¥é¥¤¥Ð¤Ë¤Ï¥ª¥×¥·¥ç¥ó¤Ï¤¢¤ê¤Þ¤»¤ó¡£

92.40.1 METAFONT ¤Î»È¤¤Êý

- ½ÐÎÏ·Á¼° (terminal) ¤ò METAFONT ¤Ë¥»¥Ã¥È:

 set terminal mf

- ½ÐÎÏ¥Õ¥¡¥¤¥ë̾¤òÀßÄê¡£Î㤨¤Ð:
 set output "myfigures.mf"

- ¥°¥é¥Õ¤ÎÉÁ²è¡£³Æ¥°¥é¥Õ¤ÏÊÌ¡¹¤Îʸ»ú¤òÀ¸À®¤·¡¢¤½¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÂ礭¤µ¤Ï 5x3 ¥¤¥ó¥Á¤Ç¤¹¤¬¡¢¤³¤ÎÂ礭¤µ¤Ï set size 0.5,0.5 ¤Î¤è¤¦¤Ë¤·¤Æ¤É¤ó¤Ê¥µ ¥¤¥º¤Ë¤Ç¤â¼«Í³¤ËÊѹ¹¤Ç¤­¤Þ¤¹¡£

- gnuplot ¤ò½ªÎ»

- gnuplot ¤Î½ÐÎÏ¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ METAFONT ¤ò¼Â¹Ô¤·¡¢TFM ¥Õ¥¡¥¤¥ë¤È GF ¥Õ¥¡¥¤¥ë¤òºî¤ê¤Þ¤¹¡£¥°¥é¥Õ¤Ï³ä¤ÈÂ礭¤¤ (5x3 ¥¤¥ó¥Á) ¤Î¤Ç¡¢memmax ¤ÎÃͤ¬ ¾¯¤Ê¤¯¤È¤â 150000 ¤Ç¤¢¤ë METAFONT ¤ò»È¤¦É¬Íפ¬¤¢¤ë¤Ç¤·¤ç¤¦¡£Unix ¤Ç¤Ï¡¢ ¤½¤ì¤ÏÄ̾ï bigmf ¤È¤¤¤¦Ì¾Á°¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤Ç¤·¤ç¤¦¡£°Ê²¼¤Ç¤Ï¡¢virmf ¥³¥Þ¥ó¥É¤¬ big ÈǤΠMETAFONT ¤Ç¤¢¤ë¤È²¾Äꤷ¡¢¼Â¹ÔÎã¤ò¼¨¤·¤Þ¤¹:

- METAFONT ¤ÎΩ¤Á¾å¤²:

   virmf '&plain'

- ½ÐÎÏÁõÃÖ¤ÎÁªÂò: METAFONT ¥×¥í¥ó¥×¥È ('*') ¾å¤Ç¼¡¤Î¤è¤¦¤ËÂǤÁ¤Þ¤¹:
   \mode:=CanonCX;     % ¤¢¤Ê¤¿¤Î»ÈÍѤ¹¤ë¥×¥ê¥ó¥¿¤ò»ØÄê

- ³ÈÂçΨ (magnification) ¤ÎÁªÂò (¥ª¥×¥·¥ç¥ó):
   mag:=1;             % ¤¢¤Ê¤¿¤Î¹¥¤ß¤ÎÃͤò»ØÄê

- gnuplot ¤Çºî¤Ã¤¿¥Õ¥¡¥¤¥ë¤òÆþÎÏ:
   input myfigures.mf

ŵ·¿Åª¤Ê Unix ¥Þ¥·¥ó¤Ç¤Ï¡¢virmf '&plain' ¤ò¼Â¹Ô¤¹¤ë¥¹¥¯¥ê¥×¥È "mf" ¤¬ ¤¢¤ë¤Î¤Ç¡¢virmf &plain ¤ÎÂå¤ï¤ê¤Ë mf ¤ò»È¤¨¤Þ¤¹¡£¤³¤ì¤Ë¤è¤ê mfput.tfm ¤È mfput.$$$gf ($$$ ¤Ï½ÐÎÏÁõÃ֤βòÁüÅÙ) ¤Î 2 ¤Ä¤Î¥Õ¥¡¥¤¥ë¤¬ºî¤é¤ì¤Þ¤¹¡£ ¾å¤Îºî¶È¤Ï¡¢¤¹¤Ù¤Æ¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¾å¤Ç´Êñ¤Ë¼Â¹Ô¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹: virmf '&plain' ' \ mode:=CanonCX; mag:=1; input myfigures.mf' ¤³¤Î¾ì¹ç¡¢ºî¤é¤ì¤ë¥Õ¥¡¥¤¥ë̾¤Ï myfigures.tfm ¤È myfigures.300gf ¤È¤¤¤¦ ̾Á°¤Ë¤Ê¤ê¤Þ¤¹¡£

- gftopk ¤ò»È¤Ã¤Æ GF ¥Õ¥¡¥¤¥ë¤«¤é PK ¥Õ¥¡¥¤¥ë¤òÀ¸À®:

 gftopk myfigures.300gf myfigures.300pk

gftopk ¤¬ºî¤ë¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¤¢¤Ê¤¿¤¬»ÈÍѤ¹¤ë DVI ¥É¥é¥¤¥Ð¤Ë°Í¸¤·¤Þ¤¹ ¤Î¤Ç¡¢¥µ¥¤¥È¤Î TeX ¤Î´ÉÍý¼Ô¤Ë¥Õ¥©¥ó¥È̾¤Îµ¬Â§¤Ë¤Ä¤¤¤Æʹ¤¤¤Æ¤¯¤À¤µ¤¤¡£ ¼¡¤Ë TFM ¥Õ¥¡¥¤¥ë¤È PK ¥Õ¥¡¥¤¥ë¤òŬÅö¤Ê¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤« ¤Þ¤¿¤Ï´Ä¶­ÊÑ¿ô¤òŬÀÚ¤ÊÃͤËÀßÄꤷ¤Þ¤¹¡£Ä̾綠¤ì¤Ï¡¢TEXFONTS ¤Ë¥«¥ì¥ó¥È¥Ç ¥£¥ì¥¯¥È¥ê¤ò´Þ¤á¤ë¤³¤È¤È¡¢¤¢¤Ê¤¿¤¬»ÈÍѤ¹¤ë DVI ¥É¥é¥¤¥Ð¤¬»ÈÍѤ·¤Æ¤¤¤ë´Ä ¶­ÊÑ¿ô (ɸ½àŪ¤Ê̾Á°¤Ï¤¢¤ê¤Þ¤»¤ó¤¬ ...) ¤ËÂФ·¤ÆƱ¤¸¤³¤È¤ò¤ä¤ì¤ÐºÑ¤ß¤Þ ¤¹¡£¤³¤ì¤Ï TeX ¤¬¥Õ¥©¥ó¥È¥á¥È¥ê¥Ã¥¯ (TFM) ¥Õ¥¡¥¤¥ë ¤ò¸«¤Ä¤±¡¢DVI ¥É¥é¥¤ ¥Ð¤¬ PK ¥Õ¥¡¥¤¥ë¤ò¸«¤Ä¤±¤é¤ì¤ë¤è¤¦¤Ë¤¹¤ë¤¿¤á¤ËɬÍפʺî¶È¤Ç¤¹¡£

- ʸ½ñ¤Ë¤½¤Î¥°¥é¥Õ¤òÆþ¤ì¤ë¤¿¤á¤Ë TeX ¤Ë¤½¤Î¥Õ¥©¥ó¥È̾¤ò»Ø¼¨:

 \font\gnufigs=myfigures

³Æ¥°¥é¥Õ¤Ï¡¢ºÇ½é¤Î¥°¥é¥Õ¤¬Ê¸»ú 0¡¢2 ÈÖÌܤΥ°¥é¥Õ¤¬Ê¸»ú 1 ¤È¤¤¤¦¤è¤¦¤Ë¡¢ ¤½¤ì¤¾¤ì°ì¤Ä¤Îʸ»ú¤È¤·¤ÆÊݸ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¾åµ­¤Îºî¶È¤ò¹Ô¤Ê¤¦¤È¡¢¥°¥é¥Õ ¤Ï¤½¤Î¾¤Îʸ»ú¤ÈƱ¤¸¤è¤¦¤Ë»È¤¦¤³¤È¤¬¤Ç¤­¡¢Î㤨¤Ð¥°¥é¥Õ 1 ¤È 2 ¤òʸ½ñÃæ ¤Ë¥»¥ó¥¿¥ê¥ó¥°¤·¤ÆÃÖ¤¯¤¿¤á¤Ë plain TeX ¥Õ¥¡¥¤¥ëÃæ¤Ç¤¹¤Ù¤­¤³¤È¤Ï:
 \centerline{\gnufigs\char0}
 \centerline{\gnufigs\char1}

¤À¤±¤Ç¤¹¡£¤â¤Á¤í¤ó LaTeX ¤Ç¤Ï picture ´Ä¶­¤ò»È¤Ã¤Æ \ makebox ¤È \ put ¥Þ ¥¯¥í¤ÇǤ°Õ¤Î°ÌÃ֤˥°¥é¥Õ¤òÇÛÃÖ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¤³¤Î¤ä¤êÊý¤Ï¡¢°ìÅÙ¥Õ¥©¥ó¥È¤òÀ¸À®¤·¤Æ¤·¤Þ¤¨¤Ð¡¢ÂçÉý¤Ë»þ´Ö¤ÎÀáÌó¤Ë¤Ê¤ê¤Þ ¤¹: TeX ¤Ï¥°¥é¥Õ¤òʸ»ú¤È¤·¤Æ»È¤¤¡¢¤½¤ì¤òÇÛÃÖ¤¹¤ë¤Ë¤Ï¤´¤¯¾¯¤Ê¤¤»þ´Ö¤·¤« »ÈÍѤ·¤Þ¤»¤ó¤·¡¢¥°¥é¥Õ¤è¤ê¤âʸ½ñ¤ÎÊý¤¬½¤Àµ¤¹¤ë¤³¤È¤¬Â¿¤¤¤Ç¤·¤ç¤¦¤«¤é¡£ ¤½¤·¤Æ¤³¤ì¤Ï TeX ¤Î¥á¥â¥ê¤ÎÀáÌó¤Ë¤â¤Ê¤ê¤Þ¤¹¡£METAFONT ¥É¥é¥¤¥Ð¤ò»È¤¦¤â ¤¦ºÇ¸å¤Î°ì¤Ä¤ÎÍøÅÀ¤Ï¡¢À¸À®¤µ¤ì¤ë DVI ¥Õ¥¡¥¤¥ë¤¬ËÜÍè¤Î¥Ç¥Ð¥¤¥¹Èó°Í¸¤Ê ·Á¤Ë¤Ê¤ë¤È¤¤¤¦¤³¤È¤Ç¤¹¡£¤½¤ì¤Ï eepic ¤ä tpic ¥É¥é¥¤¥Ð¤Î¤è¤¦¤Ê \ special ¥³¥Þ¥ó¥É¤òÁ´¤¯»È¤ï¤Ê¤¤¤«¤é¤Ç¤¹¡£

92.41 Mif

mif ¥É¥é¥¤¥Ð¤Ï Frame Maker MIF ¥Õ¥©¡¼¥Þ¥Ã¥È (version 3.00) ¤Î½ÐÎϤò À¸À®¤·¤Þ¤¹¡£¤³¤ì¤Ï 15*10 cm ¤Î¥µ¥¤¥º¤Î MIF ¥Õ¥ì¡¼¥à¤ò½ÐÎϤ·¡¢Æ±¤¸¥Ú¥ó ¤Ç½ñ¤«¤ì¤ë¥°¥é¥Õ¤Î´ðËÜÍ×ÁǤÏƱ¤¸ MIF ¥°¥ë¡¼¥×¤Ë¥°¥ë¡¼¥×²½¤µ¤ì¤Þ¤¹¡£ gnuplot ¤Î 1 ¥Ú¡¼¥¸¤Ë¤ª¤±¤ë¥°¥é¥Õ¤Î´ðËÜÍ×ÁǤϰì¤Ä¤Î MIF ¥Õ¥ì¡¼¥à¤ËÉÁ ²è¤µ¤ì¡¢¤¤¤¯¤Ä¤«¤Î MIF ¥Õ¥ì¡¼¥à¤Ï°ì¤Ä¤ÎÂ礭¤Ê MIF ¥Õ¥ì¡¼¥àÆâ¤Ë½¸¤á¤é¤ì ¤Þ¤¹¡£Ê¸»úÎó¤Ç»È¤ï¤ì¤ë MIF ¥Õ¥©¥ó¥È¤Ï "Times" ¤Ç¤¹¡£

MIF 3.00 ¥É¥é¥¤¥Ð¤Ç¤Ï¤¤¤¯¤Ä¤«¤Î¥ª¥×¥·¥ç¥ó¤¬ÀßÄê¤Ç¤­¤Þ¤¹¡£

½ñ¼°:

     set terminal mif {color | colour | monochrome} {polyline | vectors}
                      {help | ?}

colour ¤ÏÀþ¼ï (line type) > = 0 ¤ÎÀþ¤ò¥«¥é¡¼ (MIF separation 2-7) ¤Ç¡¢ monochrome ¤ÏÁ´¤Æ¤ÎÀþ¤ò¹õ (MIF separation 0) ¤ÇÉÁ²è¤·¤Þ¤¹¡£ polyline ¤Ï¶ÊÀþ¤òϢ³¶ÊÀþ¤È¤·¤ÆÉÁ²è¤·¡¢vectors ¤Ï¶ÊÀþ¤ò¥Ù¥¯¥È¥ë¤Î ½¸¤Þ¤ê¤È¤·¤ÆÉÁ²è¤·¤Þ¤¹¡£ help ¤È ? ¤Ï¥ª¥ó¥é¥¤¥ó¥Ø¥ë¥×¤òɸ½à¥¨¥é¡¼½ÐÎϤËɽ¼¨¤·¤Þ¤¹¡£Î¾¼Ô¤Ï¤½ ¤Î»ÈÍÑË¡¤Îû¤¤ÀâÌÀ¤ò½ÐÎϤ·¡¢help ¤Ï¹¹¤Ë¥ª¥×¥·¥ç¥ó¤âɽ¼¨¤·¤Þ¤¹¡£

Îã:

     set term mif colour polylines    # ¥Ç¥Õ¥©¥ë¥È
     set term mif                     # ¥Ç¥Õ¥©¥ë¥È
     set term mif vectors
     set term mif help

92.42 Mp

mp ¥É¥é¥¤¥Ð¤Ï Metapost ¥×¥í¥°¥é¥à¤ØÆþÎϤ¹¤ë¤³¤È¤ò°Õ¿Þ¤·¤¿½ÐÎϤòÀ¸À® ¤·¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ Metapost ¤ò¼Â¹Ô¤¹¤ë¤È¥°¥é¥Õ¤ò´Þ¤à EPS ¥Õ¥¡¥¤ ¥ë¤¬ºî¤é¤ì¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï Metapost ¤ÏÁ´¤Æ¤Îʸ»úÎó¤ò TeX ¤ËÄ̤·¤Þ ¤¹¡£¤³¤ì¤Ï¥¿¥¤¥È¥ë¤ä¸«½Ð¤·¤ËǤ°Õ¤Î TeX ¤Îµ­¹æ¤òËܼÁŪ¤Ë»È¤¦¤³¤È¤¬¤Ç¤­ ¤ë¡¢¤È¤¤¤¦ÍøÅÀ¤ò»ý¤Ä¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£

½ñ¼°:

  set term mp {color | colour | monochrome}
              {solid | dashed}
              {notex | tex | latex}
              {magnification <magsize>}
              {psnfss | psnfss-version7 | nopsnfss}
              {prologues <value>}
              {a4paper}
              {amstex}
              {"<fontname> {,<fontsize>}"}

¥ª¥×¥·¥ç¥ó color ¤ÏÀþ¤ò¥«¥é¡¼¤Ç½ñ¤¯¤³¤È¤ò°ÕÌ£¤· (¤½¤ì¤ò¥µ¥Ý¡¼¥È¤¹¤ë ¥×¥ê¥ó¥¿¤ä¥Ç¥£¥¹¥×¥ì¥¤¾å¤Ç)¡¢monochrome (¤Þ¤¿¤Ï²¿¤â»ØÄꤷ¤Ê¤¤¾ì¹ç) ¤Ï¹õ¤ÎÀþ¤¬ÁªÂò¤µ¤ì¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó solid ¤ÏÀþ¤ò¼ÂÀþ¤ÇÉÁ¤­¡¢dashed (¤Þ¤¿¤Ï̵»ØÄê) ¤ÏÀþ¤ò°Û¤Ê¤ë¥Ñ¥¿¡¼¥ó¤ÎÅÀÀþ¤ÇÉÁ¤­Ê¬¤±¤Þ¤¹¡£solid ¤¬»Ø Äꤵ¤ì¤Æ¤«¤Ä color ¤¬»ØÄꤵ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¡¢¤Û¤È¤ó¤ÉÁ´¤Æ¤ÎÀþ¤¬Æ±¤¸¤â ¤Î¤Ë¤Ê¤ê¤Þ¤¹¤¬¡¢¤³¤ì¤â²¿¤«¤Î¾ì¹ç¤Ë¤ÏÍ­ÍѤǤ·¤ç¤¦¤«¤éǧ¤á¤é¤ì¤Æ¤¤¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó notex ¤Ï´°Á´¤Ë TeX ¤ò±ª²ó¤·¤Þ¤¹¤Î¤Ç¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤Î¸µ¤Ç ¤Ï¸«½Ð¤·¤Ë¤Ï TeX ¤Î¥³¡¼¥É¤Ï»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó¡£¤³¤ì¤Ï¡¢¸Å¤¤¥°¥é¥Õ¥Õ ¥¡¥¤¥ë¡¢¤¢¤ë¤¤¤Ï TeX ¤Ç¤ÏÆü쵭¹æ¤È¤·¤Æ²ò¼á¤µ¤ì¤Æ¤·¤Þ¤¦ $ ¤ä % ¤Î ¤è¤¦¤Ê°ìÈÌŪ¤Êʸ»ú¤ò¤¿¤¯¤µ¤ó»È¤¦¥Õ¥¡¥¤¥ë¤Î¤¿¤á¤ËÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó tex ¤Ï¡¢TeX ¤Ç½èÍý¤¹¤ëʸ»úÎó¤ò½ÐÎϤ¹¤ë¤è¤¦¤ËÀßÄꤷ¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó latex ¤Ï¡¢LaTeX ¤Ç½èÍý¤¹¤ëʸ»úÎó¤ò½ÐÎϤ¹¤ë¤è¤¦¤ËÀßÄꤷ¤Þ ¤¹¡£¤³¤ì¤Ë¤è¤Ã¤Æ TeX ¤Ç¤Ï»È¤¨¤Ê¤¤¤±¤ì¤É LaTeX ¤Ç¤Ï»È¤¨¤ë¤â¤Î¡¢Î㤨¤Ðʬ ¿ô¤ò \ frac ¤Ç½ñ¤¤¤¿¤ê¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»È¤¦¾ì¹ç¤Ï¡¢ ´Ä¶­ÊÑ¿ô TEX ¤Ë LaTeX ¤Î¼Â¹Ô¥×¥í¥°¥é¥à̾ (Ä̾ï¤Ï latex) ¤òÀßÄꤹ¤ë¤«¡¢ ¤¢¤ë¤¤¤Ï mpost -tex=< LaTeX ¤Î¼Â¹Ô¥×¥í¥°¥é¥à̾> ... ¤È¤¹¤ë¤³¤È¤ò˺¤ì ¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£¤½¤¦¤Ç¤Ê¤¤¤È metapost ¤Ï¥Æ¥­¥¹¥È¤Î½èÍý¤Ë TeX ¤ò»È¤ª¤¦ ¤È¤·¤Æ¼ºÇÔ¤·¤Æ¤·¤Þ¤¦¤Ç¤·¤ç¤¦¡£

TeX ¤Ë¤ª¤±¤ë¥Õ¥©¥ó¥È¥µ¥¤¥º¤ÎÊѹ¹¤Ï¿ô¼°¤Ë¤Ï¸ú²Ì¤¬¤Ê¤¯¡¢¤½¤Î¤è¤¦¤ÊÊѹ¹¤ò ¹Ô¤Ê¤¦¤È¤Æ¤â´Êñ¤ÊÊýË¡¤Ï¡¢Âç°èŪ¤Ë³ÈÂçΨ (magnification factor) ¤òÀßÄê ¤¹¤ë°Ê³°¤Ë¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤½¤ì¤¬¥ª¥×¥·¥ç¥ó magnification ¤Î°ÕÌ£¤Ç¤¹¡£ ¤½¤Î¾ì¹ç¤Ï³ÈÂçΨ¤ò¸å¤í¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£Á´¤Æ¤Îʸ»ú (¥°¥é¥Õ¤Ç¤Ï ¤Ê¤¯) ¤Ï¤³¤ÎΨ¤Ç³ÈÂ礵¤ì¤Þ¤¹¡£¿ô¼°¤ò¥Ç¥Õ¥©¥ë¥È¤Î 10pt °Ê³°¤Î¾¤Î¥µ¥¤¥º¤Ç½ñ¤­¤¿¤¤¾ì¹ç¤Ï¤³¤ì¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£¤¿¤À»ÄÇ°¤Ê¤³¤È¤ËÁ´¤Æ¤Î¿ô¼°¤¬Æ± ¤¸¥µ¥¤¥º¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¤¬¡¢¤·¤«¤·¡¢°Ê²¼¤Î MP ½ÐÎϤÎÊÔ½¸¤Ë´Ø¤¹¤ëÀâÌÀ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£mag ¤Ï notex ¤Î¸µ¤Ç¤âƯ¤­¤Þ¤¹¤¬¡¢¤½¤ì¤ò¹Ô¤Ê¤¦ °ÕÌ£¤¬¤Ê¤¤¤¯¤é¤¤ (°Ê²¼¤Ë½Ò¤Ù¤ë) ¥Õ¥©¥ó¥È¥µ¥¤¥º¥ª¥×¥·¥ç¥ó¤Ï¤¦¤Þ¤¯Æ¯¤­¤Þ ¤¹¡£

¥ª¥×¥·¥ç¥ó psnfss ¤Ï postscript ¥Õ¥©¥ó¥È¤ò LaTeX ¤ÈÁȤ߹ç¤ï¤»¤Æ»ÈÍÑ ¤·¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï LaTeX ¤¬»È¤ï¤ì¤ë¾ì¹ç¤Î¤ß°ÕÌ£¤ò»ý¤Á¤Þ¤¹¤Î¤Ç¡¢ ¼«Æ°Åª¤Ë latex ¥ª¥×¥·¥ç¥ó¤¬ÁªÂò¤µ¤ì¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï°Ê²¼¤ÎLaTeX ¥Ñ¥Ã¥±¡¼¥¸¤ò»ÈÍѤ·¤Þ¤¹:inputenc(latin1), fontenc(T1), mathptmx, helvet(scaled=09.2), courier, latexsym, textcomp

¥ª¥×¥·¥ç¥ó psnfss-version7 ¤â postscript ¥Õ¥©¥ó¥È¤ò LaTeX ¤ÈÁȤ߹ç¤ï ¤»¤Æ»ÈÍѤ·¤Þ¤¹ (latex ¤¬¼«Æ°Åª¤ËÁªÂò¤µ¤ì¤Þ¤¹) ¤¬¡¢°Ê²¼¤Î LaTeX ¥Ñ¥Ã¥±¡¼¥¸¤ò»ÈÍѤ·¤Þ¤¹:inputenc(latin1), fontenc(T1), times, mathptmx, helvet, courier

¥ª¥×¥·¥ç¥ó nopsnfss ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¡¢É¸½àŪ¤Ê¥Õ¥©¥ó¥È (²¿¤â»ØÄꤵ¤ì¤Æ ¤¤¤Ê¤±¤ì¤Ð cmr10) ¤¬»È¤ï¤ì¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó prologues ¤ÏÄɲäÎÃͤò°ú¿ô¤Ë»ý¤Á¡¢metapost ¥Õ¥¡¥¤¥ë¤Ë prologues:=< ¤½¤ÎÃÍ> ¤È¤¤¤¦¹Ô¤òÄɲä·¤Þ¤¹¡£ÃͤȤ·¤Æ 2 ¤ò»ØÄꤹ¤ë¤È metapost ¤Ï eps ¥Õ¥¡¥¤¥ë¤òºî¤ë¤è¤¦¤Ë postscript ¥Õ¥©¥ó¥È¤ò»ÈÍѤ·¡¢¤½¤ì ¤Ë¤è¤ê¤½¤Î·ë²Ì¤ÏÎ㤨¤Ð ghostscript ¤Ê¤É¤Ç»²¾È¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£É¸ ½à¤Ç¤Ï metapost ¤Ï TeX ¤Î¥Õ¥©¥ó¥È¤ò»ÈÍѤ·¤Þ¤¹¤Î¤Ç¡¢¤½¤ì¤ò»²¾È¤¹¤ë¤Ë¤Ï (La)TeX ¤Î¥Õ¥¡¥¤¥ë¤Ë¼è¤ê¹þ¤àɬÍפ¬¤¢¤ê¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó noprologues ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¡¢prologue ¤Ç»ØÄꤷ¤¿¤¤¤«¤Ê¤ë¹Ô ¤âÄɲ䵤ì¤Þ¤»¤ó¡£

¥ª¥×¥·¥ç¥ó a4paper ¤Ï [a4paper] ¤ò documentclass ¤ËÄɲä·¤Þ¤¹¡£É¸ ½à¤Ç¤Ï letter ÍÑ»æ (¥Ç¥Õ¥©¥ë¥È) ¤¬»È¤ï¤ì¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï LaTeX ¤Ç¤Î¤ß»È¤ï¤ì¤Þ¤¹¤Î¤Ç¡¢¼«Æ°Åª¤Ë latex ¥ª¥×¥·¥ç¥ó¤¬ÁªÂò¤µ¤ì¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó amstex ¤Ï¡¢¼«Æ°Åª¤Ë latex ¥ª¥×¥·¥ç¥ó¤òÁªÂò¤·¡¢°Ê²¼¤ÎLaTeX ¥Ñ¥Ã¥±¡¼¥¸¤ò»ÈÍѤ·¤Þ¤¹: amsfonts, amsmath(intlimits)¡£¥Ç¥Õ¥©¥ë¥È ¤Ç¤Ï¤³¤ì¤é¤Ï»ÈÍѤµ¤ì¤Þ¤»¤ó¡£

°úÍÑÉä¤Ç°Ï¤Þ¤ì¤¿Ì¾Á°¤Ï¥Õ¥©¥ó¥È̾¤òɽ¤·¡¢set label ¤ä set title ¤Ç ÌÀ¼¨Åª¤Ë¥Õ¥©¥ó¥È¤¬Í¿¤¨¤é¤ì¤Ê¤¤¾ì¹ç¤Ï¤³¤Î¥Õ¥©¥ó¥È¤¬»È¤ï¤ì¤Þ¤¹¡£¥Õ¥©¥ó¥È ¤Ï TeX ¤¬Ç§¼±¤Ç¤­¤ë (TFM ¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤¹¤ë) ¤â¤Î¤ò»È¤¦É¬Íפ¬¤¢¤ê¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï notex ¤¬ÁªÂò¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð "cmr10" ¤¬¡¢¤½¤¦¤Ç¤Ê¤±¤ì ¤Ð "pcrr8r" (Courier) ¤¬»È¤ï¤ì¤Þ¤¹¡£notex ¤Î¸µ¤Ç¤â¡¢Metapost ¤Ë¤Ï TFM ¥Õ¥¡¥¤¥ë¤ÏɬÍפǤ¹¡£pcrr8r.tfm ¤Ï LaTeX psnfss ¥Ñ¥Ã¥±¡¼¥¸¤Î Courier ¥Õ¥©¥ó¥È̾¤È¤·¤ÆÍ¿¤¨¤é¤ì¤Æ¤¤¤Þ¤¹¡£notex ¤Î¥Ç¥Õ¥©¥ë¥È¤«¤é¥Õ¥© ¥ó¥È¤òÊѹ¹¤¹¤ë¾ì¹ç¤Ï¡¢¾¯¤Ê¤¯¤È¤â 32-126 ¤Î¥³¡¼¥ÉÈÏ°Ï¤Ï ASCII ¥¨¥ó¥³¡¼ ¥Ç¥£¥ó¥°¤Ë°ìÃפ¹¤ë¤â¤Î¤òÁª¤ó¤Ç¤¯¤À¤µ¤¤¡£cmtt10 ¤â¤Û¤Ü»È¤¨¤Þ¤¹¤¬¡¢¤· ¤«¤·¤³¤ì¤Ï¥³¡¼¥É 32 (¥¹¥Ú¡¼¥¹) ¤Ë¥¹¥Ú¡¼¥¹¤Ç¤Ï¤Ê¤¤Ê¸»ú¤¬Æþ¤Ã¤Æ¤¤¤Þ¤¹¡£

¥µ¥¤¥º¤Ï 5.0 ¤«¤é 99.99 ¤Î´Ö¤ÎǤ°Õ¤Î¿ô»ú¤ò»ØÄê¤Ç¤­¡¢¾Êά¤µ¤ì¤¿¾ì¹ç¤Ï 10.0 ¤¬»È¤ï¤ì¤Þ¤¹¡£¤Ê¤ë¤Ù¤¯ magstep ¥µ¥¤¥º¡¢¤Ä¤Þ¤ê 1.2 ¤ÎÀ°¿ô¤«¤Þ¤¿ ¤Ï 0.5 ¾è¤Î 10 Çܤò¾®¿ô°Ê²¼ 2 ·å̤Ëþ¤ò´Ý¤á¤¿Ãͤò»ÈÍѤ¹¤ë¤³¤È¤ò¤ª´«¤á¤·¤Þ¤¹¡£¤½¤ì¤Ï¤½¤ì¤¬ TeX ¤Î¥·¥¹¥Æ¥à¤ÇºÇ¤â¤è¤¯»È¤ï¤ì¤ë¥Õ¥©¥ó¥È¤Î¥µ¥¤¥º ¤À¤«¤é¤Ç¤¹¡£

Á´¤Æ¤Î¥ª¥×¥·¥ç¥ó¤Ï¾Êά²Äǽ¤Ç¤¹¡£¥Õ¥©¥ó¥È¤ò»ØÄꤹ¤ë¾ì¹ç¤Ï¤½¤ì¤Ï (ɬÍ×¤Ê ¤é¥µ¥¤¥º¤â¤Ä¤±¤Æ) °ìÈֺǸå¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥Õ¥©¥ó¥È̾¤Ë¤½¤Î¥µ ¥¤¥º¾ðÊ󤬴ޤޤì¤Æ¤¤¤¿¤È¤·¤Æ¤â¡¢¥µ¥¤¥º¤òÊѤ¨¤ë¤Ë¤Ï¥Õ¥©¥ó¥È¥µ¥¤¥º¤ò»ØÄê ¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£Î㤨¤Ð set term mp "cmtt12" ¤Ï cmtt12 ¤ò¥Ç¥Õ¥©¥ë ¥È¤Î¥µ¥¤¥º¤Ç¤¢¤ë 10 ¤Ë½Ì¤á¤Æ»È¤¤¤Þ¤¹¡£¤½¤ì¤Ï¿ʬ˾¤Þ¤Ê¤¤¤³¤È¤Ç¤·¤ç¤¦¤· cmtt10 ¤ò»È¤¦Êý¤¬Îɤ¤¤Ç¤·¤ç¤¦¡£

°Ê²¼¤Î ascii ʸ»ú¤Ï¡¢TeX ¤Ç¤ÏÆÃÊ̤˰·¤ï¤ì¤Þ¤¹:

  $, &, #, %, _;  |, <, >;  ^, ~,  \, {, }

$, #, &, _, % ¤Î 5 ¤Ä¤Ï¡¢Î㤨¤Ð \ $ ¤È¤¹¤ë¤³¤È¤ÇÍưפˤ½¤ì¤ò¥¨¥¹¥±¡¼ ¥×¤Ç¤­¤Þ¤¹¡£< , > , | ¤Î 3 ¤Ä¤Ï¡¢Î㤨¤Ð $< $ ¤Î¤è¤¦¤Ë¿ô¼°¥â¡¼¥É¤ËÆþ¤ì¤Æ ¤ä¤ì¤Ð¤¦¤Þ¤¯¤¤¤­¤Þ¤¹¡£»Ä¤ê¤Î¤â¤Î¤Ë´Ø¤·¤Æ¤Ï¾¯¤· TeX ¤Î²óÈòºö¤¬É¬Í×¤Ë¤Ê ¤ê¤Þ¤¹¤¬¡¢Å¬Åö¤Ê¤è¤¤ TeX ¤ÎËܤ¬¤½¤ì¤ò»ØƳ¤·¤Æ¤¯¤ì¤ë¤Ç¤·¤ç¤¦¡£

¸«½Ð¤·¤òÆó½Å°úÍÑÉä¤Ç°Ï¤à¾ì¹ç¡¢TeX ¥³¡¼¥É¤Î¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤Ï¥¨¥¹¥±¡¼¥× ¤¹¤ë (2 ¤Ä½ñ¤¯) ɬÍפ¬¤¢¤ê¤Þ¤¹¡£Ã±°ì°úÍÑÉä¤ò»È¤¨¤Ð¤½¤ì¤òÈò¤±¤ë¤³¤È¤Ï¤Ç ¤­¤Þ¤¹¤¬¡¢º£Å٤ϲþ¹Ô¤È¤·¤Æ \ n ¤ò»È¤¨¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤ò½ñ¤¤¤Æ¤¤¤ë¸½ ºß¡¢gnuplot 3.7 ¤Ï plot ¥³¥Þ¥ó¥É¤ÇÍ¿¤¨¤é¤ì¤¿¥¿¥¤¥È¥ë¤Ï¡¢Ê̤ʾì½ê¤ÇÍ¿ ¤¨¤é¤ì¤¿¾ì¹ç¤È¤Ï°Û¤Ê¤ë½èÍý¤ò¤·¤Þ¤¹¤·¡¢°úÍÑÉä¤Î¥¹¥¿¥¤¥ë¤Ë¤«¤«¤ï¤é¤º TeX ¥³¥Þ¥ó¥É¤Î¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤ÏÆó½Å²½¤·¤¿Êý¤¬Îɤµ¤½¤¦¤Ç¤¹¡£

Metapost ¤Î²èÁü¤Ï TeX ¤Îʸ½ñÆâ¤Ç°ìÈ̤˻Ȥï¤ì¤Æ¤¤¤Þ¤¹¡£Metapost ¤Ï¥Õ¥© ¥ó¥È¤ò TeX ¤¬¹Ô¤Ê¤¦¤Î¤ÈÁ´¤¯Æ±¤¸ÊýË¡¤Ç°·¤¤¡¢¤½¤ì¤Ï¾¤ÎÂçÄñ¤Îʸ½ñÀ°·Á¥× ¥í¥°¥é¥à¤È¤Ï°Û¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¥°¥é¥Õ¤¬ LaTeX ¤Îʸ½ñ¤Ë graphics ¥Ñ¥Ã¥±¡¼ ¥¸¤Ç¼è¤ê¹þ¤Þ¤ì¡¢¤¢¤ë¤¤¤Ï epsf.tex ¤ò»È¤Ã¤Æ plainTeX ¤Ë¼è¤ê¹þ¤Þ¤ì¡¢¤½¤· ¤Æ dvips (¤Þ¤¿¤Ï¾¤Î dvi ¤«¤é ps ¤Ø¤ÎÊÑ´¹¥½¥Õ¥È) ¤Ç PostScript ¤ËÊÑ´¹ ¤µ¤ì¤ë¾ì¹ç¡¢¤½¤Î¥°¥é¥ÕÆâ¤Îʸ»ú¤ÏÂçÄñ¤ÏÀµ¤·¤¯°·¤ï¤ì¤Æ¤¤¤ë¤Ç¤·¤ç¤¦¡£¤·¤« ¤·¡¢Metapost ½ÐÎϤò¤½¤Î¤Þ¤Þ PostScript ¥¤¥ó¥¿¥×¥ê¥¿¤ËÁ÷¤Ã¤Æ¤â¡¢¥°¥é¥Õ Æâ¤Îʸ»ú¤Ï½ÐÎϤµ¤ì¤Ê¤¤¤Ç¤·¤ç¤¦¡£

92.42.1 Metapost ¤Î»È¤¤Êý

- ¤Þ¤º terminal ¥É¥é¥¤¥Ð¤ò Metapost ¤ËÀßÄê¡¢Î㤨¤Ð:

  set terminal mp mono "cmtt12" 12

- ½ÐÎÏ¥Õ¥¡¥¤¥ë¤òÁªÂò¡¢Î㤨¤Ð:

  set output "figure.mp"

- ¥°¥é¥Õ¤òºîÀ®¡£³Æ plot (¤Þ¤¿¤Ï multiplot ¤Î³Æ¥°¥ë¡¼¥×) ¤Ï¤½¤ì¤¾¤ìÊÌ¤Ê Metapost beginfig...endfig ¥°¥ë¡¼¥×¤Ëʬ¤±¤é¤ì¤Þ¤¹¡£¤½¤Î¥Ç¥Õ¥©¥ë¥È¤Î¥µ ¥¤¥º¤Ï 5x3 ¥¤¥ó¥Á¤Ç¤¹¤¬¡¢¤½¤ì¤Ï set size 0.5,0.5 ¤È¤«¡¢¤½¤¦¤·¤¿¤¤¤È »×¤¦Å¬Åö¤Ê³ä¹ç¤ò¤½¤Î¤è¤¦¤Ë»ØÄꤹ¤ë¤³¤È¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£

- gnuplot ¤ò½ªÎ»¡£

- gnuplot ¤Î½ÐÎÏ¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ Metapost ¤ò¼Â¹Ô¤·¤Æ EPS ¥Õ¥¡¥¤¥ë¤òºî À®:

  mpost figure.mp  OR  mp figure.mp

Metapost ¥×¥í¥°¥é¥à̾¤Ï¥·¥¹¥Æ¥à¤Ë°Í¸¤·¡¢Unix ¤Ç¤ÏÄ̾ï mpost ¤Ç¡¢Â¾ ¤Î¿¤¯¤Î¥·¥¹¥Æ¥à¤Ç¤Ï mp ¤Ç¤¹¡£Metapost ¤Ï³Æ¥°¥é¥Õ¤ËÂФ·¤Æ 1 ¤Ä¤º¤Ä¤Î EPS ¥Õ¥¡¥¤¥ë¤òÀ¸À®¤·¤Þ¤¹¡£

- ¤½¤Î¥°¥é¥Õ¤òʸ½ñ¤Ë¼è¤ê¹þ¤à¤Ë¤Ï LaTeX graphics ¥Ñ¥Ã¥±¡¼¥¸¤ä¡¢plainTeX ¤Ç¤Ï epsf.tex ¤ò»ÈÍÑ:

  \usepackage{graphics} % LaTeX
  \input epsf.tex       % plainTeX

TeX DVI ½ÐÎϤò PS ¤ËÊÑ´¹¤¹¤ë¤Î¤Ë¡¢dvips °Ê³°¤Î DVI ¥É¥é¥¤¥Ð¤ò»È¤¦¾ì¹ç¤Ï¡¢LaTeX ¥Õ¥¡¥¤¥ë¤Ë°Ê²¼¤Î¹Ô¤òÆþ¤ì¤ëɬÍפ¬¤¢¤ë¤«¤âÃΤì¤Þ¤»¤ó:
  \DeclareGraphicsRule{*}{eps}{*}{}

ºî¤é¤ì¤¿³Æ¥°¥é¥Õ¤ÏʬΥ¤·¤¿¥Õ¥¡¥¤¥ë¤Ë¤Ê¤Ã¤Æ¤¤¤Æ¡¢ºÇ½é¤Î¥°¥é¥Õ¤Î¥Õ¥¡¥¤¥ë ¤Ï¡¢Î㤨¤Ð figure.0, 2 ¤ÄÌܤÏÎ㤨¤Ð figure.1 ¤Î¤è¤¦¤Ê̾Á°¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤è¤Ã¤Æ¡¢3 ¤ÄÌܤΥ°¥é¥Õ¤òʸ½ñ¤Ë¼è¤ê¹þ¤à¤¿¤á¤Ë¤¢¤Ê¤¿¤¬¤·¤Ê¤±¤ì¤Ð¤¤¤±¤Ê¤¤ ¤³¤È¤Ï°Ê²¼¤Î¤ß¤Ç¤¹:
  \includegraphics{figure.2} % LaTeX
  \epsfbox{figure.2}         % plainTeX

mp ¥É¥é¥¤¥Ð¤Î postscript ¥É¥é¥¤¥Ð¤ËÂå¤ï¤ëÍøÅÀ¤Ï¡¢¤â¤·¤¢¤ë¤È¤¹¤ì¤Ð¡¢¤½ ¤ì¤ÏÊÔ½¸²Äǽ¤Ê½ÐÎϤǤ¢¤ë¤È¤¤¤¦¤³¤È¤Ç¤·¤ç¤¦¡£¤³¤Î½ÐÎϤò²Äǽ¤Ê¸Â¤êåºÎï¤Ë ¤¹¤ë¤¿¤á¤Î¡¢¤«¤Ê¤ê¤ÎÅØÎϤ¬Ê§¤ï¤ì¤Þ¤·¤¿¡£Metapost ¸À¸ì¤Ë´Ø¤¹¤ë¤½¤¦¤¤¤Ã ¤¿Ãμ±¤Î¤ª¤«¤²¤Ç¡¢¥Ç¥Õ¥©¥ë¥È¤ÎÀþ¼ï¤ä¿§¤ÏÇÛÎó lt[] ¤ä col[] ¤òÊÔ½¸ ¤¹¤ë¤³¤È¤ÇÊѹ¹¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£¼ÂÀþ/ÅÀÀþ¡¢¥«¥é¡¼/Çò¹õ¤È¤¤¤Ã¤¿Áª Âò¤â¡¢¿¿µ¶ÃͤȤ·¤ÆÄêµÁ¤µ¤ì¤Æ¤¤¤ë dashedlines ¤ä colorlines ¤òÊѹ¹ ¤¹¤ë¤³¤È¤Ç¹Ô¤Ê¤¨¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î tex ¥ª¥×¥·¥ç¥ó¤¬Í­¸ú¤Ê¾ì¹ç¡¢¥Ö¥í ¥Ã¥¯ vebatimtex...etex ¤òÊÔ½¸¤¹¤ë¤³¤È¤Ç¡¢¥é¥Ù¥ëʸ»ú¥Õ¥©¥ó¥È¤ËÂФ¹¤ë Âç°èŪ¤ÊÊѹ¹¤¬¹Ô¤Ê¤¨¤Þ¤¹¡£Æäˡ¢¤â¤·Ë¾¤à¤Ê¤é LaTeX ¤Î¥×¥ê¥¢¥ó¥Ö¥ë¤òÄÉ ²Ã¤¹¤ë¤³¤È¤â¤Ç¤­¡¢¤½¤Î¾ì¹ç LaTeX ¤Î»ý¤Ä¥µ¥¤¥ºÊѹ¹¥³¥Þ¥ó¥É¤ò»È¤¨¤ë¤Î¤Ç ºÇÂç¤Î½ÀÆðÀ­¤òȯ´ø¤Ç¤­¤ë¤Ç¤·¤ç¤¦¡£¤¿¤À¤·¡¢Metapost ¤Ë plainTeX ¤Ç¤Ê¤¯ LaTeX ¤ò¼Â¹Ô¤µ¤»¤ë¤è¤¦¡¢Å¬ÀÚ¤Ê MP ÀßÄêÊÑ¿ô¤òÀßÄꤹ¤ë¤³¤È¤ò˺¤ì¤Ê¤¤¤Ç¤¯ ¤À¤µ¤¤¡£

92.43 Next

next ¥É¥é¥¤¥Ð¤Ë¤ÏÀßÄê¤Î¤¿¤á¤Î¤¤¤¯¤Ä¤«¤Î¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£

½ñ¼°:

     set terminal next {<mode>} {<type> } {<color>} {<dashed>}
                {"<fontname>"} {<fontsize>} title {"<newtitle>"}

< mode> ¤Ï default ¤Î¤ß»ØÄê¤Ç¤­¡¢¤½¤Î¾ì¹çÁ´¤Æ¤Î¥ª¥×¥·¥ç¥ó¤¬¥Ç¥Õ¥©¥ë¥È ¤Ë¤Ê¤ê¤Þ¤¹¡£< type> ¤Ï new ¤« old ¤Ç¡¢old ¤Ï¸Å¤¤Ã±°ì¥¦¥£¥ó¥É¥¦¤ò Í׵ᤷ¤Þ¤¹¡£< color> ¤Ï color (¥«¥é¡¼) ¤« monochrome (Çò¹õ)¡¢ < dashed> ¤Ï solid (¼ÂÀþ¤Î¤ß) ¤« dashed (ÅÀÀþ¤¬Í­¸ú)¡¢"< fontname> " ¤ÏÍ­¸ú¤Ê PostScript ¥Õ¥©¥ó¥È¤Î̾Á°¤ò¡¢< fontsize> ¤Ï PostScript ¥Ý¥¤¥ó ¥Èñ°Ì¤Ç¤Î¥Õ¥©¥ó¥È¤Î¥µ¥¤¥º¤ò¡¢< title> ¤Ï GnuTerm ¥¦¥£¥ó¥É¥¦¤Î¥¿¥¤¥È¥ë ¤ò¤½¤ì¤¾¤ìÀßÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï new, monochrome, dashed, "Helvetica", 14pt ¤Ç¤¹¡£

Îã:

     set term next default
     set term next 22
     set term next color "Times-Roman" 14
     set term next color "Helvetica" 12 title "MyPlot"
     set term next old

ÅÀ¤ÎÂ礭¤µ¤Ï set linestyle ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£

92.44 Openstep (next)

openstep (next) ¥É¥é¥¤¥Ð¤Ë¤ÏÀßÄê¤Î¤¿¤á¤Î¤¤¤¯¤Ä¤«¤Î¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£

½ñ¼°:

     set terminal openstep {<mode>} {<type> } {<color>} {<dashed>}
                {"<fontname>"} {<fontsize>} title {"<newtitle>"}

< mode> ¤Ï default ¤Î¤ß»ØÄê¤Ç¤­¡¢¤½¤Î¾ì¹çÁ´¤Æ¤Î¥ª¥×¥·¥ç¥ó¤¬¥Ç¥Õ¥©¥ë¥È ¤Ë¤Ê¤ê¤Þ¤¹¡£< type> ¤Ï new ¤« old ¤Ç¡¢old ¤Ï¸Å¤¤Ã±°ì¥¦¥£¥ó¥É¥¦¤ò Í׵ᤷ¤Þ¤¹¡£< color> ¤Ï color (¥«¥é¡¼) ¤« monochrome (Çò¹õ)¡¢ < dashed> ¤Ï solid (¼ÂÀþ¤Î¤ß) ¤« dashed (ÅÀÀþ¤¬Í­¸ú)¡¢"< fontname> " ¤ÏÍ­¸ú¤Ê PostScript ¥Õ¥©¥ó¥È¤Î̾Á°¤ò¡¢< fontsize> ¤Ï PostScript ¥Ý¥¤¥ó ¥Èñ°Ì¤Ç¤Î¥Õ¥©¥ó¥È¤Î¥µ¥¤¥º¤ò¡¢< title> ¤Ï GnuTerm ¥¦¥£¥ó¥É¥¦¤Î¥¿¥¤¥È¥ë ¤ò¤½¤ì¤¾¤ìÀßÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï new, monochrome, dashed, "Helvetica", 14pt ¤Ç¤¹¡£

Îã:

     set term openstep default
     set term openstep 22
     set term openstep color "Times-Roman" 14
     set term openstep color "Helvetica" 12 title "MyPlot"
     set term openstep old

ÅÀ¤ÎÂ礭¤µ¤Ï set linestyle ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£

92.45 Pbm

½ñ¼°:
     set terminal pbm {<fontsize>} {<mode>} {size <x>,<y>}

< fontsize> ¤Ï small ¤« medium ¤« large ¤Ç¡¢< mode> ¤Ï monochrome ¤« gray ¤« color ¤Ç¤¹¡£¥Ç¥Õ¥©¥ë¥È¤ÎÉÁ²è¥µ¥¤¥º¤Ï 640 ¥Ô¥¯¥»¥ë¤ÎÉý¤Ç 480 ¥Ô¥¯¥»¥ë¤Î¹â¤µ¤Ç¤¹¡£½ÐÎÏ¥µ¥¤¥º¤Ï¡¢x ¤È y ¤ÎξÊý¤ò 8 ¥Ô¥¯¥»¥ëÇܤ·¤¿ ¤â¤Î¤ËºÇ¤â¶á¤¯¤Ê¤ë¤è¤¦¤Ë¶õÇò¤¬Äɲ䵤ì¤Þ¤¹¡£É¬ÍפǤ¢¤ì¤Ð¡¢¤³¤Î¶õÇòÉôʬ ¤Ï¸å¤Ç¼è¤ê½ü¤¯¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

pbm ¥É¥é¥¤¥Ð¤Î½ÐÎÏ¤Ï < mode> ¤Ë¤è¤ê¤Þ¤¹: monochrome ¤Ï portable bitmap (PBM; 1 ¥Ô¥¯¥»¥ë 1 ¥Ó¥Ã¥È) ¤ò¡¢gray ¤Ï portable graymap (PGM; 1 ¥Ô¥¯¥»¥ë 3 bit) ¤ò¡¢color ¤Ï portable pixmap (PPM; 1 ¥Ô¥¯¥»¥ë 4 ¥Ó ¥Ã¥È) ¤ò½ÐÎϤ·¤Þ¤¹¡£

¤³¤Î¥É¥é¥¤¥Ð¤Î½ÐÎϤϡ¢NETPBM ¤Ë¤è¤Ã¤ÆÄ󶡤µ¤ì¤ëÍÍ¡¹¤Ê²èÁüÊÑ´¹¡¢²èÁü½è Íý¥Ä¡¼¥ë¤Ç»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ Jef Poskanzer ¤Î PBMPLUS ¥Ñ¥Ã¥±¡¼¥¸¤Ë´ð ¤Å¤¯ NETPBM ¤Ï¡¢¾åµ­¤Î PBM ·Á¼°¤«¤é GIF, TIFF, MacPaint, Macintosh PICT, PCX, X11 ¥Ó¥Ã¥È¥Þ¥Ã¥×¡¢¤½¤Î¾¿¤¯¤Î·Á¼°¤ËÊÑ´¹¤¹¤ë¥×¥í¥°¥é¥à¤òÄó ¶¡¤·¤Þ¤¹¡£´°Á´¤Ê¾ðÊó¤Ï http://netpbm.sourceforge.net/ ¤Ë¤¢¤ê¤Þ¤¹¡£

Îã:

     set terminal pbm small monochrome                # ¥Ç¥Õ¥©¥ë¥È
     set terminal pbm color medium size 800,600
     set output '| pnmrotate 45 | pnmtopng > tilted.png'  # NETPBM ¤òÍøÍÑ

92.46 Pdf

¤³¤Î¥É¥é¥¤¥Ð¤Ï Adobe PDF (Portable Document Format) ½ÐÎϤòÀ¸À®¤·¡¢¤½¤ì ¤Ï Acrobat Reader ¤Î¤è¤¦¤Ê¥Ä¡¼¥ë¤Çɽ¼¨¡¢°õºþ¤¬¤Ç¤­¤Þ¤¹¡£

½ñ¼°:

     set terminal pdf {monochrome|color|colour}
                      {{no}enhanced}
                      {fname "<font>"} {fsize <fontsize>}
                      {font "<fontname>{,<fontsize>}"} {fontscale <scale>}
                      {linewidth <lw>} {rounded|butt}
                      {solid|dashed} {dl <dashlength>}}
                      {size <XX>{unit},<YY>{unit}}

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¸Ä¡¹¤ÎÀþ¼ï¤ËÂФ·¤Æ°Û¤Ê¤ë¿§¤òÍѤ¤¤Þ¤¹¡£monochrome ¤òÁª Âò¤¹¤ë¤ÈÁ´¤Æ¤ÎÀþ¼ï¤ò¹õ¤ÇÉÁ¤­¤Þ¤¹¤Î¤Ç¡¢Àþ¼ï¤ò¶èÊ̤¹¤ë¤¿¤á¤Ë dashed ¤ò »È¤¦¤ÈÎɤ¤¤Ç¤·¤ç¤¦¡£¥â¥Î¥¯¥í¥â¡¼¥É¤Ç¤âÅɤê¤Ä¤Ö¤·Îΰè¤ä¥é¥¤¥ó¥¹¥¿¥¤¥ë¤Ç ¤ÏÌÀ¼¨Åª¤Ë¿§¤ò»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

< font> ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç»È¤ï¤ì¤ë¥Õ¥©¥ó¥È̾ (¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï Helvetica) ¤Ç < fontsize> ¤Ï¥Ý¥¤¥ó¥Èñ°Ì¤Ç¤Î¥Õ¥©¥ó¥È¥µ¥¤¥º (¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 12) ¤Ç¤¹¡£ ¤É¤Î¤è¤¦¤Ê¥Õ¥©¥ó¥È¤¬»È¤¨¤Æ¡¢¿·¤·¤¤¥Õ¥©¥ó¥È¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Ë¤Ï¡¢¤È¤¤ ¤Ã¤¿¤³¤È¤Ë´Ø¤·¤Æ¤Ï¡¢¥í¡¼¥«¥ë¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë pdflib ¤Î¥É¥­¥å¥á ¥ó¥È¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

¥ª¥×¥·¥ç¥ó enhanced ¤Ï¡¢³Èĥʸ»úÎó½èÍýµ¡Ç½ (²¼ÉÕ¤­Ê¸»ú¡¢¾åÉÕ¤­Ê¸»ú¡¢ ¤ª¤è¤ÓÊ£¿ô¤Î¥Õ¥©¥ó¥È¤ÎÍøÍÑ) ¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£°Ê²¼»²¾È: enhanced (12)¡£

ÉÁ²è¤Ë¤ª¤±¤ëÁ´¤Æ¤ÎÀþ¤ÎÉý¤Ï linewidth ¤Ç»ØÄꤹ¤ë°ø»Ò < n> ¤ÇÁý²Ã¤¹¤ë¤³ ¤È¤¬¤Ç¤­¤Þ¤¹¡£Æ±Íͤˡ¢dashlength ¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÅÀÀþ¤Î¶õÇòÉôʬ¤ËÂФ¹¤ë ÀÑ°ø»Ò¤Ç¤¹¡£

rounded ¤Ï¡¢Àþ¤Îü¤äÀܹçÉô¤ò´Ý¤¯¤·¡¢¥Ç¥Õ¥©¥ë¥È¤Î butt ¤ÏÀí¤Ã¤¿Ã¼¤È ³ÑÄ¥¤Ã¤¿ÀܹçÉô¤ò»ÈÍѤ·¤Þ¤¹¡£

PDF ½ÐÎϤΥǥե©¥ë¥È¤Î¥µ¥¤¥º¤Ï¡¢5inch x 3inch ¤Ç¤¹¡£¥ª¥×¥·¥ç¥ó size ¤Ï¡¢¤³¤ì¤ò¥æ¡¼¥¶¤Î»ØÄꤹ¤ë¤â¤Î¤ØÊѹ¹¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î X, Y ¥µ¥¤¥º¤Î ñ°Ì¤Ï¥¤¥ó¥Á¤Ç¤¹¤¬¡¢Â¾¤Îñ°Ì¤â»ÈÍѲÄǽ¤Ç¤¹ (¸½ºß¤Ï cm ¤Î¤ß)¡£

92.47 Pdfcairo

½ÐÎÏ·Á¼° pdfcairo ¤Ï¡¢PDF ½ÐÎϤòÀ¸À®¤·¤Þ¤¹¡£¼ÂºÝ¤ÎÉÁ²è¤Ï¡¢2D ¥°¥é¥Õ ¥£¥Ã¥¯¥é¥¤¥Ö¥é¥ê¤Ç¤¢¤ë cairo ¤È¡¢Ê¸»úÎó¤ÎÇÛÃ֤ȥì¥ó¥À¥ê¥ó¥°ÍѤΥ饤¥Ö ¥é¥ê pango ¤ò·Ðͳ¤·¤Æ¹Ô¤ï¤ì¤Þ¤¹¡£

½ñ¼°:

       set term pdfcairo
                    {{no}enhanced} {mono|color} {solid|dashed}
                    {background <rgbcolor>
                    {font <font>} {fontscale <scale>}
                    {linewidth <lw>} {rounded|butt} {dashlength <dl>}
                    {size <XX>{unit},<YY>{unit}}

¤³¤Î½ÐÎÏ·Á¼°¤Ï¡¢³Èĥʸ»úÎó½èÍý¥â¡¼¥É (enhanced text mode) ¤ò¥µ¥Ý¡¼¥È¤· ¤Æ¤¤¤Æ¡¢¥Õ¥©¥ó¥È¤ä½ñ¼°¥³¥Þ¥ó¥É (¾åÉÕ¡¢²¼ÉդʤÉ) ¤ò¥é¥Ù¥ë¤ä¾¤Îʸ»úÎó¤Ë Ëä¤á¹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£³Èĥʸ»úÎó½èÍý¥â¡¼¥É¤Î½ñ¼°¤Ï¾¤Î gnuplot ¤Î½Ð ÎÏ·Á¼°¤È¶¦Ä̤Ǥ¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: enhanced (12)¡£

ÉÁ²è¤Ë¤ª¤±¤ëÁ´¤Æ¤ÎÀþ¤ÎÉý¤Ï¡¢linewidth ¤Ç»ØÄꤹ¤ë°ø»Ò < lw> ¤ÇÊѹ¹¤Ç¤­ ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤ÎÀþÉý¤Ï 0.25 ¥Ý¥¤¥ó¥È¤Ç¤¹¡£(1 "PostScript" ¥Ý¥¤¥ó¥È = 1/72 ¥¤¥ó¥Á = 0.353 mm)

rounded ¤Ï¡¢Àþ¤Îü¤äÀܹçÉô¤ò´Ý¤¯¤·¡¢¥Ç¥Õ¥©¥ë¥È¤Î butt ¤ÏÀí¤Ã¤¿Ã¼¤È ³ÑÄ¥¤Ã¤¿ÀܹçÉô¤ò»ÈÍѤ·¤Þ¤¹¡£

PDF ½ÐÎϤΥǥե©¥ë¥È¤Î¥µ¥¤¥º¤Ï¡¢5inch x 3inch ¤Ç¤¹¡£¥ª¥×¥·¥ç¥ó size ¤Ï¡¢¤³¤ì¤ò¥æ¡¼¥¶¤Î»ØÄꤹ¤ë¤â¤Î¤ØÊѹ¹¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î X, Y ¥µ¥¤¥º¤Î ñ°Ì¤Ï¥¤¥ó¥Á¤Ç¤¹¤¬¡¢Â¾¤Îñ°Ì¤â»ÈÍѲÄǽ¤Ç¤¹ (¸½ºß¤Ï cm ¤Î¤ß)¡£size ¥ª ¥×¥·¥ç¥ó¤Ç»ØÄꤵ¤ì¤¿¤³¤È¤Ë¤è¤ëÉÁ²è¤Îü¤«¤éü¤Þ¤Ç¤ÎÎΰè¤Ï¡¢¾ï¤Ë¥¹¥¯¥ê¡¼ ¥óºÂɸ¤Î 0.0 ¤«¤é 1.0 ¤ËÂбþ¤·¤Þ¤¹¡£

< font> ¤Ï¡¢"FontFace,FontSize" ¤Î½ñ¼°¡¢¤Ä¤Þ¤ê¥Õ¥©¥ó¥È̾¤È¥µ¥¤¥º¤ò¥« ¥ó¥Þ¤Ç¶èÀڤä¿°ì¤Ä¤Îʸ»úÎó¤È¤·¤Æɽµ­¤·¤Þ¤¹¡£FontFace ¤Ï¡¢'Arial' ¤Î ¤è¤¦¤ÊÄ̾ï¤Î¥Õ¥©¥ó¥È̾¤Ç¤¹¡£¥Õ¥©¥ó¥È̾¤òÍ¿¤¨¤Ê¤¤¾ì¹ç¡¢pdfcairo ½ÐÎÏ·Á ¼°¤Ç¤Ï'Sans' ¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£FontSize ¤Ï¥Ý¥¤¥ó¥Èñ°Ì¤Ç¤Î¥Õ¥©¥ó¥È¥µ¥¤ ¥º¤Ç¤¹¡£»ØÄꤷ¤Ê¤¤¾ì¹ç¤Ï¡¢pdfcairo ½ÐÎÏ·Á¼°¤Ç¤Ï 12 ¥Ý¥¤¥ó¥È¥µ¥¤¥º¤Îɸ ½à¥Õ¥©¥ó¥È¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£¤·¤«¤·¡¢¤³¤Î½ÐÎÏ·Á¼°¤Î¥Ñ¥é¥á¡¼¥¿ fontscale ¤Î¥Ç¥Õ¥©¥ë¥È¤Ï 0.5 ¤Ê¤Î¤Ç¡¢¸«¤«¤±¤Î¥Õ¥©¥ó¥È¥µ¥¤¥º¤Ï¡¢PDF ½ÐÎϤò¥Õ¥ë¥µ ¥¤¥º¤Ç¸«¤¿¾ì¹ç¤è¤ê¤â¾®¤µ¤¯¤Ê¤ë¤Ç¤·¤ç¤¦¡£

  Îã :
     set term pdfcairo font "Arial,12"
     set term pdfcairo font "Arial" # ¥Õ¥©¥ó¥È̾¤Î¤ßÊѹ¹
     set term pdfcairo font ",12" # ¥Õ¥©¥ó¥È¥µ¥¤¥º¤Î¤ßÊѹ¹
     set term pdfcairo font "" # ¥Õ¥©¥ó¥È̾¤È¥µ¥¤¥º¤ò¥ê¥»¥Ã¥È

¥Õ¥©¥ó¥È¤Ï¡¢Ä̾ï¤Î¥Õ¥©¥ó¥È½èÍýµ¡¹½¤Ë¤è¤ê¼èÆÀ¤µ¤ì¤Þ¤¹¡£Windows ¤Ç¤Ï¡¢¥Õ ¥©¥ó¥È¤Ï¥³¥ó¥È¥í¡¼¥ë¥Ñ¥Í¥ë¤Î "¥Õ¥©¥ó¥È" ¤Î¹àÌܤǹ½À®¤µ¤ì¸«¤Ä¤±¤é¤ì¤ë ¤â¤Î¤Ç¡¢UNIX ¤Ç¤Ï¡¢¥Õ¥©¥ó¥È¤Ï "fontconfig" ¤Ç½èÍý¤µ¤ì¤Þ¤¹¡£

ʸ»úÎó¤Î¥ì¥¤¥¢¥¦¥È¤Ë»ÈÍѤµ¤ì¤ë¥é¥¤¥Ö¥é¥ê Pango ¤Ï¡¢utf-8 ¤Ë´ð¤Å¤¤¤Æ¤¤ ¤Þ¤¹¤Î¤Ç¡¢pdfcairo ½ÐÎÏ·Á¼°¤Ç¤Ï¡¢Ê¸»ú¥³¡¼¥É¤ò utf-8 ¤ËÊÑ´¹¤¹¤ëɬÍפ¬¤¢ ¤ê¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤ÎÆþÎÏʸ»ú¥³¡¼¥É¤Ï¡¢¤¢¤Ê¤¿¤¬»ÈÍѤ·¤Æ¤¤¤ë 'locale' ¤Ë´ð¤Å¤­¤Þ¤¹¡£Â¾¤Îʸ»ú¥³¡¼¥É¤Ë¤·¤¿¤¤¾ì¹ç¤Ï¡¢¤¢¤Ê¤¿¤¬¤É¤Îʸ»ú¥³¡¼¥É¤ò»È ¤Ã¤Æ¤¤¤ë¤Î¤«¤ò³Î¼Â¤Ë gnuplot ¤¬¤ï¤«¤ë¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£¾ÜºÙ¤Ë¤Ä¤¤¤Æ ¤Ï¡¢°Ê²¼»²¾È: encoding (82.20)¡£

pango ¤Ï¡¢unicode ¥Þ¥Ã¥Ô¥ó¥°¤Ç¤Ê¤¤¥Õ¥©¥ó¥È¤ËÂФ·¤Æ¤Ïͽ´ü¤»¤Ì·ë²Ì¤òÍ¿¤¨ ¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£Î㤨¤Ð Symbol ¥Õ¥©¥ó¥È¤ËÂФ·¤Æ¤Ï¡¢pdfcairo ½ÐÎÏ·Á¼° ¤Ï¡¢Ê¸»ú¥³¡¼¥É¤ò unicode ¤ËÊÑ´¹¤¹¤ë¤¿¤á¤Ë http://www.unicode.org/ ¤ÇÄó ¶¡¤µ¤ì¤ë¥Þ¥Ã¥Ô¥ó¥°¤òÍøÍѤ·¤Þ¤¹¡£¤Ê¤ª¡¢"the Symbol font" ¤Ï¡¢Acrobat Reader ¤È°ì½ï¤Ë "SY______.PFB" ¤È¤·¤ÆÇÛÉÛ¤µ¤ì¤Æ¤¤¤ë Adobe Symbol ¥Õ ¥©¥ó¥È¤Ç¤¢¤ë¤È²ò¼á¤µ¤ì¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤ÎÂå¤ï¤ê¤Ë¡¢ OpenOffice.org ¤È°ì½ï¤Ë "opens___.ttf" ¤È¤·¤ÆÇÛÉÛ¤µ¤ì¤ë OpenSymbol ¥Õ¥©¥ó¥È¤¬Æ±¤¸Ê¸»ú¤òÄ󶡤·¤Æ¤¤¤Þ¤¹¡£Microsoft ¤â Symbol ¥Õ¥©¥ó¥È ("symbol.ttf") ¤òÇÛÉÛ¤·¤Æ¤¤¤Þ¤¹¤¬¡¢¤³¤ì¤Ï°Û¤Ê¤ëʸ»ú¥»¥Ã¥È¤Ë¤Ê¤Ã¤Æ¤¤ ¤Æ¡¢¤¤¤¯¤Ä¤«¤Ï·ç¤±¤Æ¤¤¤Þ¤¹¤·¡¢¤¤¤¯¤Ä¤«¤Ï¿ô¼°µ­¹æ¤ËÊѤï¤Ã¤Æ¤·¤Þ¤Ã¤Æ¤¤¤Þ ¤¹¡£¤¢¤Ê¤¿¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤Ç¤Ê¤ó¤é¤«¤ÎÌäÂ꤬µ¯¤­¤¿¾ì¹ç (Î㤨¤Ð¥Ç¥â¥¹ ¥¯¥ê¥×¥È enhancedtext.dem ¤¬¤Á¤ã¤ó¤Èɽ¼¨¤µ¤ì¤Ê¤¤¤È¤¤¤Ã¤¿¾ì¹ç) ¤Ï¡¢ Adobe ¤« OpenOffice ¤Î Symbol ¥Õ¥©¥ó¥È¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¡¢Microsoft ¤Î Symbol ¥Õ¥©¥ó¥È¤òºï½ü¤·¤Ê¤¤¤È¤¤¤±¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£"windings" ¤Î¤è ¤¦¤Ê¾¤ÎÈóɸ½à¤Î¥Õ¥©¥ó¥È¤Ç¤âÆ°ºî¤¹¤ë¤³¤È¤¬Êó¹ð¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

ÉÁ²è¤Î¥ì¥ó¥À¥ê¥ó¥°¤Ï¡¢º£¤Î¤È¤³¤íÊѹ¹¤Ç¤­¤Þ¤»¤ó¡£½ÐÎϤò¤è¤êÎɤ¯¤¹¤ë¤¿¤á ¤Ë¤³¤Î¥ì¥ó¥À¥ê¥ó¥°¤Ï¡¢¥¢¥ó¥Á¥¨¥¤¥ê¥¢¥¹¡¢¥ª¡¼¥Ð¡¼¥µ¥ó¥×¥ê¥ó¥°¤Î 2 ¤Ä¤Î µ¡¹½¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£ ¥¢¥ó¥Á¥¨¥¤¥ê¥¢¥¹¤Ï¡¢¿åÊ¿¤ä¿âľ¤Ç¤Ê¤¤Àþ¤ò³ê¤é¤«¤Ëɽ¼¨¤·¤Þ¤¹¡£ ¥ª¡¼¥Ð¡¼¥µ¥ó¥×¥ê¥ó¥°¤Ï¡¢¥¢¥ó¥Á¥¨¥¤¥ê¥¢¥¹¤ÈÁȤǥԥ¯¥»¥ë¤è¤ê¤â¾®¤µ¤¤¥µ¥¤ ¥º¤Ç¤ÎÀºÅÙ¤òÄ󶡤·¡¢gnuplot ¤¬ÈóÀ°¿ôºÂɸ¤ÎľÀþ¤ò½ñ¤±¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢ÂгÑÊý¸þ¤ÎľÀþ (Î㤨¤Ð 'plot x') ¤¬º¸±¦¤ËÍɤì¤ë¤Î¤òÈò¤±¤Þ¤¹¡£

92.48 Pm

pm ¥É¥é¥¤¥Ð¤Ï¡¢¥°¥é¥Õ¤¬ÉÁ²è¤µ¤ì¤ë OS/2 ¥×¥ì¥¼¥ó¥Æ¡¼¥·¥ç¥ó¥Þ¥Í¡¼¥¸¥ã ¥¦¥£¥ó¥É¥¦¤òÄ󶡤·¤Þ¤¹¡£¤½¤Î¥¦¥£¥ó¥É¥¦¤ÏºÇ½é¤Î¥°¥é¥Õ¤¬ÉÁ²è¤µ¤ì¤¿¤È¤­¤Ë ³«¤«¤ì¤Þ¤¹¡£¤³¤Î¥¦¥£¥ó¥É¥¦¤Ï°õºþ¡¢¥¯¥ê¥Ã¥×¥Ü¡¼¥É¤Ø¤Î¥³¥Ô¡¼¡¢¤¤¤¯¤Ä¤«¤Î Àþ¼ï¤ä¿§¤ÎÄ´À°¤Î¤¿¤á¤Îµ¡Ç½¡¢¤½¤·¤Æ¤½¤ì¼«¿È¤Î¥ª¥ó¥é¥¤¥ó¥Ø¥ë¥×¤ò»ý¤Ã¤Æ¤¤ ¤Þ¤¹¡£multiplot ¥ª¥×¥·¥ç¥ó¤â¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

½ñ¼°:

     set terminal pm {server {n}} {persist} {widelines} {enhanced} {"title"}

persist ¤ò»ØÄꤹ¤ë¤È¡¢³Æ¥°¥é¥Õ¤Ï¤½¤ì¤¾¤ì¼«¿È¤Î¥¦¥£¥ó¥É¥¦¤ò»ý¤Á¡¢¤½¤Î ¤¹¤Ù¤Æ¤Î¥¦¥£¥ó¥É¥¦¤Ï gnuplot ¤¬½ªÎ»¤·¤¿¸å¤â³«¤¤¤¿¤Þ¤Þ¤Ë¤Ê¤ê¤Þ¤¹¡£ server ¤ò»ØÄꤹ¤ë¤È¡¢Á´¤Æ¤Î¥°¥é¥Õ¤ÏƱ¤¸¥¦¥£¥ó¥É¥¦Æâ¤Ë¸½¤ï¤ì¡¢¤½¤ì¤Ï gnuplot ½ªÎ»¸å¤â³«¤¤¤¿¤Þ¤Þ¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¤µ¤é¤ËÄɲäΠ¿ô°ú¿ô¤ò¼è¤ê¡¢¤½¤Î¿ô»ú¤Ï¥µ¡¼¥Ð¥×¥í¥»¥¹¤Î¥¤¥ó¥¹¥¿¥ó¥¹¤Ë¤Ê¤ê¤Þ¤¹¡£¤è¤Ã¤Æ Ʊ»þ¤ËÊ£¿ô¤Î¥µ¡¼¥Ð¥¦¥£¥ó¥É¥¦¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

widelines ¤ò»ØÄꤹ¤ë¤È¡¢Á´¤Æ¤Î¥°¥é¥Õ¤ÏÉý¤Î¹­¤¤Àþ¤ÇÉÁ¤«¤ì¤Þ¤¹¡£ enhanced ¤ò»ØÄꤹ¤ë¤È¡¢¾åÉÕ¤­Ê¸»ú¤ä²¼ÉÕ¤­Ê¸»ú¡¢Ê£¿ô¤Î¥Õ¥©¥ó¥È¤ò»È¤¦ ¤³¤È¤¬¤Ç¤­¤Þ¤¹ (¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: enhanced text (12))¡£¥³¥¢ PostScript ¥Õ ¥©¥ó¥È¤Î¥Õ¥©¥ó¥È̾¤Ï 1 ʸ»ú¤Ë¾Êά¤Ç¤­¤Þ¤¹ (T/H/C/S ¤Ï¤½¤ì¤¾¤ì Times/Helvetica/Courier/Symbol ¤ò°ÕÌ£¤·¤Þ¤¹)¡£

title ¤ò»ØÄꤹ¤ë¤È¡¢¤½¤ì¤ÏÉÁ²è¥¦¥£¥ó¥É¥¦¤Î¥¿¥¤¥È¥ë¤È¤·¤Æ»È¤ï¤ì¤Þ¤¹¡£ ¤½¤ì¤Ï¥µ¡¼¥Ð¥¤¥ó¥¹¥¿¥ó¥¹Ì¾¤È¤·¤Æ¤â»È¤ï¤ì¡¢¤½¤ì¤ÏÄɲäοô°ú¿ô¤ò¾å½ñ¤­¤· ¤Þ¤¹¡£

Àþ¤ÎÉý¤Ï set linestyle ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£

92.49 Png

½ñ¼°:
     set terminal png 
            {{no}enhanced}
            {{no}transparent} {{no}interlace}
            {{no}truecolor} {rounded|butt}
            {linewidth <lw>} {dashlength <dl>}
            {tiny | small | medium | large | giant}
            {font "<face> {,<pointsize>}"} {fontscale <scale>}
            {size <x>,<y>} {{no}crop}
            {background <rgb_color>}

PNG, JPEG, GIF ²èÁü¤Ï¡¢³°Éô¥é¥¤¥Ö¥é¥ê libgd ¤ò»È¤Ã¤ÆÀ¸À®¤µ¤ì¤Þ¤¹¡£PNG ¤ÎÉÁ²è¤Ï¡¢ImageMagick ¥Ñ¥Ã¥±¡¼¥¸¤Î¥½¥Õ¥È 'display' ¤Ë¤½¤Î½ÐÎϤò°Ê²¼¤Î¤è¤¦¤Ë¥Ñ¥¤¥×¤ÇÅϤ¹¤³¤È¤ÇÂÐÏÃŪ¤Ëɽ¼¨¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹:

              set term png
              set output '| display png:-'

¼¡¤ÎÉÁ²è¥³¥Þ¥ó¥É¤«¤é¤Î½ÐÎϤϡ¢display ¥¦¥£¥ó¥É¥¦¾å¤ÇÂÐÏÃŪ¤Ë < space> ¤òÂǤĤ³¤È¤Ç¸«¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¸½ºß¤ÎÉÁ²è¤ò¥Õ¥¡¥¤¥ë¤ËÊݸ¤¹¤ë¤Ë¤Ï¡¢ display ¥¦¥£¥ó¥É¥¦¤Çº¸¥¯¥ê¥Ã¥¯¤·¡¢save ¤òÁªÂò¤·¤Æ¤¯¤À¤µ¤¤¡£

transparent ¤Ï¡¢¥É¥é¥¤¥Ð¤ËÇØ·Ê¿§¤ÎÆ©ÌÀ²½ (transparent) ¤ò¹Ô¤¦¤è¤¦»Ø ¼¨¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï notransparent ¤Ç¤¹¡£

interlace ¤Ï¡¢¥É¥é¥¤¥Ð¤Ë¥¤¥ó¥¿¡¼¥ì¡¼¥¹ GIF ¤òÀ¸À®¤¹¤ë¤è¤¦»Ø¼¨¤·¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï nointerlace ¤Ç¤¹¡£

¥ª¥×¥·¥ç¥ó linewidth ¤È dashlength ¤Ï³ÈÂçΨ¤Ç¡¢ÉÁ²è¤µ¤ì¤ë¤¹¤Ù¤Æ¤Î Àþ¤Ë±Æ¶Á¤òÍ¿¤¨¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢¤³¤ì¤é¤ÏÍÍ¡¹¤ÊÉÁ²è¥³¥Þ¥ó¥É¤ÇÍ׵ᤵ¤ì¤ëÃÍ ¤Ë³Ý»»¤µ¤ì¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢½ÐÎϤµ¤ì¤ë PNG ²èÁü¤Ï 256 ¸Ä¤ËÈÖ¹æÉÕ¤±¤é¤ì¤¿¿§¤ò»ÈÍѤ· ¤Þ¤¹¡£Âå¤ï¤ê¤Ë¥ª¥×¥·¥ç¥ó truecolor ¤ò»È¤¨¤Ð¡¢24 ¥Ó¥Ã¥È/¥Ô¥¯¥»¥ë¤Î¿§ ¾ðÊó¤ò»ý¤Ä TrueColor ²èÁü¤¬À¸À®¤µ¤ì¤Þ¤¹¡£Æ©ÌÀ²½Åɤê¤Ä¤Ö¤· (transparent fill) ¤ò»ÈÍѤ¹¤ë¤È¤­¤Ï¡¢¤³¤Î¥ª¥×¥·¥ç¥ó truecolor ¤¬É¬Íפˤʤê¤Þ¤¹¡£ °Ê²¼»²¾È: fillstyle (82.66.4)¡£ÇطʤÎÆ©ÌÀ²½¤Ï¡¢ÈÖ¹æÉÕ¤±²èÁü¤« TrueColor ²èÁü¤Ç ²Äǽ¤Ç¤¹¡£

butt ¤ÏÀþʬ¤ÎÉÁ²è¤Ç¡¢¤½¤Îü¤ÎÅÀ¤Ç¤Î¤Ï¤ß¤À¤·¤òµ¯¤³¤µ¤Ê¤¤ÉÁ²è¥á¥½¥Ã¥É ¤ò»È¤¦¤è¤¦¥É¥é¥¤¥Ð¤Ë»Ø¼¨¤·¤Þ¤¹¡£¤³¤ÎÀßÄê¤Ï¡¢ÀþÉý¤¬ 1 ¤è¤êÂ礭¤¤¾ì¹ç¤Ë ¤Î¤ßÍ­¸ú¤Ç¤¹¡£¤³¤ÎÀßÄê¤Ï¡¢¿åÊ¿Àþ¡¢¿âľÀþ¤ÎÉÁ²è¤Î¾ì¹ç¤ËÍ­ÍѤǤ·¤ç¤¦¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï rounded (´Ý¤á) ¤Ç¤¹¡£

¥Õ¥©¥ó¥È¤ÎÁªÂò¤Î¾ÜºÙ¤Ï¡¢¤ä¤äÊ£»¨¤Ç¤¹¡£ °Ê²¼¤ËƱ¤¸°ÕÌ£¤ò»ý¤Ä´Êñ¤ÊÎã¤ò¼¨¤·¤Þ¤¹:

    set term png font arial 11
    set term png font "arial,11"

¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢fonts ¤Î²¼¤Î³ºÅö¤¹¤ë¥»¥¯¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯ ¤À¤µ¤¤¡£

½ÐÎÏÉÁ²è¥µ¥¤¥º < x,y> ¤Ï¥Ô¥¯¥»¥ëñ°Ì¤ÇÍ¿¤¨¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï 640x480 ¤Ç ¤¹¡£°Ê²¼¤â»²¾È: canvas (7), set size (82.65)¡£ ÉÁ²è½ªÎ»¸å¤Îü¤Î;Çò¤Ï¡¢¥ª¥×¥·¥ç¥ó crop ¤Ç¼è¤ê½ü¤¯¤³¤È¤¬¤Ç¤­¡¢¤½¤Î·ë ²Ì¤È¤·¤Æ¤½¤Î²èÁü¥µ¥¤¥º¤Ï¾®¤µ¤¯¤Ê¤ê¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï nocrop ¤Ç¤¹¡£

92.49.1 Îã


     set terminal png medium size 640,480 background '#ffffff'

¤³¤ÎÎã¤Ï medium ¥µ¥¤¥º¤Î¡¢Â礭¤µÊѹ¹ÉÔǽ¤Ç²óž¤Ç¤­¤Ê¤¤ÁȤ߹þ¤ß¥Õ¥©¥ó¥È ¤ò»ÈÍѤ·¡¢Æ©ÌÀ²½¤µ¤ì¤Ê¤¤ÇØ·Ê¿§¤È¤·¤ÆÇò (16 ¿Ê¿ô¤Î 24bit RGB) ¤ò»ÈÍѤ·¤Þ ¤¹¡£


     set terminal png font arial 14 size 800,600

¤³¤ì¤Ï¡¢'arial' ¤È¤¤¤¦¥Õ¥§¡¼¥¹Ì¾¤Î¥¹¥±¡¼¥é¥Ö¥ë¥Õ¥©¥ó¥È¤ò¸¡º÷¤·¡¢¥Õ¥©¥ó ¥È¥µ¥¤¥º¤ò 14pt ¤ËÀßÄꤷ¤Þ¤¹¡£¥Õ¥©¥ó¥È¤Î¸¡º÷¤¬¤É¤Î¤è¤¦¤Ë¹Ô¤ï¤ì¤ë¤«¤Ë¤Ä ¤¤¤Æ¤Ï°Ê²¼»²¾È: fonts (15)¡£


     set terminal png transparent truecolor enhanced

¤³¤ì¤Ï¡¢24 ¥Ó¥Ã¥È/¥Ô¥¯¥»¥ë¤Î¿§¾ðÊó¤ò»ÈÍѤ·¡¢ÇطʤòÆ©ÌÀ²½¤·¤Þ¤¹¡£¤½¤·¤Æ ɽ¼¨¤µ¤ì¤ëʸ»úÎó¤ÎÇÛÃÖÀ©¸æ¤È¤·¤Æ enhanced text ¥â¡¼¥É¤ò»ÈÍѤ·¤Þ¤¹¡£

92.50 Pngcairo

½ÐÎÏ·Á¼° pngcairo ¤Ï¡¢PNG ½ÐÎϤòÀ¸À®¤·¤Þ¤¹¡£¼ÂºÝ¤ÎÉÁ²è¤Ï¡¢2D ¥°¥é¥Õ ¥£¥Ã¥¯¥é¥¤¥Ö¥é¥ê¤Ç¤¢¤ë cairo ¤È¡¢Ê¸»úÎó¤ÎÇÛÃ֤ȥì¥ó¥À¥ê¥ó¥°ÍѤΥ饤¥Ö ¥é¥ê pango ¤ò·Ðͳ¤·¤Æ¹Ô¤ï¤ì¤Þ¤¹¡£

½ñ¼°:

       set term pngcairo
                    {{no}enhanced} {mono|color} {solid|dashed}
                    {{no}transparent} {{no}crop} {background <rgbcolor>
                    {font <font>} {fontscale <scale>}
                    {linewidth <lw>} {rounded|butt} {dashlength <dl>}
                    {size <XX>{unit},<YY>{unit}}

¤³¤Î½ÐÎÏ·Á¼°¤Ï¡¢³Èĥʸ»úÎó½èÍý¥â¡¼¥É (enhanced text mode) ¤ò¥µ¥Ý¡¼¥È¤· ¤Æ¤¤¤Æ¡¢¥Õ¥©¥ó¥È¤ä½ñ¼°¥³¥Þ¥ó¥É (¾åÉÕ¡¢²¼ÉդʤÉ) ¤ò¥é¥Ù¥ë¤ä¾¤Îʸ»úÎó¤Ë Ëä¤á¹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£³Èĥʸ»úÎó½èÍý¥â¡¼¥É¤Î½ñ¼°¤Ï¾¤Î gnuplot ¤Î½Ð ÎÏ·Á¼°¤È¶¦Ä̤Ǥ¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: enhanced (12)¡£

ÉÁ²è¤Ë¤ª¤±¤ëÁ´¤Æ¤ÎÀþ¤ÎÉý¤Ï¡¢°ø»Ò < lw> ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£

rounded ¤Ï¡¢Àþ¤Îü¤äÀܹçÉô¤ò´Ý¤¯¤·¡¢¥Ç¥Õ¥©¥ë¥È¤Î butt ¤ÏÀí¤Ã¤¿Ã¼¤È ³ÑÄ¥¤Ã¤¿ÀܹçÉô¤ò»ÈÍѤ·¤Þ¤¹¡£

PNG ½ÐÎϤΥǥե©¥ë¥È¤Î¥µ¥¤¥º¤Ï¡¢640 x 480 ¥Ô¥¯¥»¥ë¤Ç¤¹¡£¥ª¥×¥·¥ç¥ó size ¤Ï¡¢¤³¤ì¤ò¥æ¡¼¥¶¤Î»ØÄꤹ¤ë¤â¤Î¤ØÊѹ¹¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î X, Y ¥µ¥¤¥º¤Îñ°Ì¤Ï¥Ô¥¯¥»¥ë¤Ç¤¹¤¬¡¢Â¾¤Îñ°Ì¤â»ÈÍѲÄǽ¤Ç¤¹ (¸½ºß¤Ï cm ¤È¥¤¥ó ¥Á)¡£¥µ¥¤¥º¤ò cm ¤«¥¤¥ó¥Á¤ÇÍ¿¤¨¤ë¤È¤½¤ì¤Ï¡¢²òÁüÅÙ 72 dpi ¤Ç¤Î¥Ô¥¯¥»¥ë ¿ô¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£size ¥ª¥×¥·¥ç¥ó¤Ç»ØÄꤵ¤ì¤¿¤³¤È¤Ë¤è¤ëÉÁ²è¤Îü¤«¤é ü¤Þ¤Ç¤ÎÎΰè¤Ï¡¢¾ï¤Ë¥¹¥¯¥ê¡¼¥óºÂɸ¤Î 0.0 ¤«¤é 1.0 ¤ËÂбþ¤·¤Þ¤¹¡£

< font> ¤Ï¡¢"FontFace,FontSize" ¤Î½ñ¼°¡¢¤Ä¤Þ¤ê¥Õ¥©¥ó¥È̾¤È¥µ¥¤¥º¤ò¥« ¥ó¥Þ¤Ç¶èÀڤä¿°ì¤Ä¤Îʸ»úÎó¤È¤·¤Æɽµ­¤·¤Þ¤¹¡£FontFace ¤Ï¡¢'Arial' ¤Î ¤è¤¦¤ÊÄ̾ï¤Î¥Õ¥©¥ó¥È̾¤Ç¤¹¡£¥Õ¥©¥ó¥È̾¤òÍ¿¤¨¤Ê¤¤¾ì¹ç¡¢pngcairo ½ÐÎÏ·Á ¼°¤Ç¤Ï'Sans' ¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£FontSize ¤Ï¥Ý¥¤¥ó¥Èñ°Ì¤Ç¤Î¥Õ¥©¥ó¥È¥µ¥¤ ¥º¤Ç¤¹¡£»ØÄꤷ¤Ê¤¤¾ì¹ç¤Ï¡¢pngcairo ½ÐÎÏ·Á¼°¤Ç¤Ï 12 ¥Ý¥¤¥ó¥È¤Î¥µ¥¤¥º¤¬ »ÈÍѤµ¤ì¤Þ¤¹¡£

  Îã :
     set term pngcairo font "Arial,12"
     set term pngcairo font "Arial" # ¥Õ¥©¥ó¥È̾¤Î¤ßÊѹ¹
     set term pngcairo font ",12" # ¥Õ¥©¥ó¥È¥µ¥¤¥º¤Î¤ßÊѹ¹
     set term pngcairo font "" # ¥Õ¥©¥ó¥È̾¤È¥µ¥¤¥º¤ò¥ê¥»¥Ã¥È

¥Õ¥©¥ó¥È¤Ï¡¢Ä̾ï¤Î¥Õ¥©¥ó¥È½èÍýµ¡¹½¤Ë¤è¤ê¼èÆÀ¤µ¤ì¤Þ¤¹¡£Windows ¤Ç¤Ï¡¢¥Õ ¥©¥ó¥È¤Ï¥³¥ó¥È¥í¡¼¥ë¥Ñ¥Í¥ë¤Î "¥Õ¥©¥ó¥È" ¤Î¹àÌܤǹ½À®¤µ¤ì¸«¤Ä¤±¤é¤ì¤ë ¤â¤Î¤Ç¡¢UNIX ¤Ç¤Ï¡¢¥Õ¥©¥ó¥È¤Ï "fontconfig" ¤Ç½èÍý¤µ¤ì¤Þ¤¹¡£

ʸ»úÎó¤Î¥ì¥¤¥¢¥¦¥È¤Ë»ÈÍѤµ¤ì¤ë¥é¥¤¥Ö¥é¥ê Pango ¤Ï¡¢utf-8 ¤Ë´ð¤Å¤¤¤Æ¤¤ ¤Þ¤¹¤Î¤Ç¡¢pngcairo ½ÐÎÏ·Á¼°¤Ç¤Ï¡¢Ê¸»ú¥³¡¼¥É¤ò utf-8 ¤ËÊÑ´¹¤¹¤ëɬÍפ¬¤¢ ¤ê¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤ÎÆþÎÏʸ»ú¥³¡¼¥É¤Ï¡¢¤¢¤Ê¤¿¤¬»ÈÍѤ·¤Æ¤¤¤ë 'locale' ¤Ë´ð¤Å¤­¤Þ¤¹¡£Â¾¤Îʸ»ú¥³¡¼¥É¤Ë¤·¤¿¤¤¾ì¹ç¤Ï¡¢¤¢¤Ê¤¿¤¬¤É¤Îʸ»ú¥³¡¼¥É¤ò»È ¤Ã¤Æ¤¤¤ë¤Î¤«¤ò³Î¼Â¤Ë gnuplot ¤¬¤ï¤«¤ë¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£¾ÜºÙ¤Ë¤Ä¤¤¤Æ ¤Ï¡¢°Ê²¼»²¾È: encoding (82.20)¡£

pango ¤Ï¡¢unicode ¥Þ¥Ã¥Ô¥ó¥°¤Ç¤Ê¤¤¥Õ¥©¥ó¥È¤ËÂФ·¤Æ¤Ïͽ´ü¤»¤Ì·ë²Ì¤òÍ¿¤¨ ¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£Î㤨¤Ð Symbol ¥Õ¥©¥ó¥È¤ËÂФ·¤Æ¤Ï¡¢pngcairo ½ÐÎÏ·Á¼° ¤Ï¡¢Ê¸»ú¥³¡¼¥É¤ò unicode ¤ËÊÑ´¹¤¹¤ë¤¿¤á¤Ë http://www.unicode.org/ ¤ÇÄó ¶¡¤µ¤ì¤ë¥Þ¥Ã¥Ô¥ó¥°¤òÍøÍѤ·¤Þ¤¹¡£¤Ê¤ª¡¢"the Symbol font" ¤Ï¡¢Acrobat Reader ¤È°ì½ï¤Ë "SY______.PFB" ¤È¤·¤ÆÇÛÉÛ¤µ¤ì¤Æ¤¤¤ë Adobe Symbol ¥Õ ¥©¥ó¥È¤Ç¤¢¤ë¤È²ò¼á¤µ¤ì¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤ÎÂå¤ï¤ê¤Ë¡¢ OpenOffice.org ¤È°ì½ï¤Ë "opens___.ttf" ¤È¤·¤ÆÇÛÉÛ¤µ¤ì¤ë OpenSymbol ¥Õ¥©¥ó¥È¤¬Æ±¤¸Ê¸»ú¤òÄ󶡤·¤Æ¤¤¤Þ¤¹¡£Microsoft ¤â Symbol ¥Õ¥©¥ó¥È ("symbol.ttf") ¤òÇÛÉÛ¤·¤Æ¤¤¤Þ¤¹¤¬¡¢¤³¤ì¤Ï°Û¤Ê¤ëʸ»ú¥»¥Ã¥È¤Ë¤Ê¤Ã¤Æ¤¤ ¤Æ¡¢¤¤¤¯¤Ä¤«¤Ï·ç¤±¤Æ¤¤¤Þ¤¹¤·¡¢¤¤¤¯¤Ä¤«¤Ï¿ô¼°µ­¹æ¤ËÊѤï¤Ã¤Æ¤·¤Þ¤Ã¤Æ¤¤¤Þ ¤¹¡£¤¢¤Ê¤¿¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤Ç¤Ê¤ó¤é¤«¤ÎÌäÂ꤬µ¯¤­¤¿¾ì¹ç (Î㤨¤Ð¥Ç¥â¥¹ ¥¯¥ê¥×¥È enhancedtext.dem ¤¬¤Á¤ã¤ó¤Èɽ¼¨¤µ¤ì¤Ê¤¤¤È¤¤¤Ã¤¿¾ì¹ç) ¤Ï¡¢ Adobe ¤« OpenOffice ¤Î Symbol ¥Õ¥©¥ó¥È¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¡¢Microsoft ¤Î Symbol ¥Õ¥©¥ó¥È¤òºï½ü¤·¤Ê¤¤¤È¤¤¤±¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£"windings" ¤Î¤è ¤¦¤Ê¾¤ÎÈóɸ½à¤Î¥Õ¥©¥ó¥È¤Ç¤âÆ°ºî¤¹¤ë¤³¤È¤¬Êó¹ð¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

ÉÁ²è¤Î¥ì¥ó¥À¥ê¥ó¥°¤Ï¡¢º£¤Î¤È¤³¤íÊѹ¹¤Ç¤­¤Þ¤»¤ó¡£½ÐÎϤò¤è¤êÎɤ¯¤¹¤ë¤¿¤á ¤Ë¤³¤Î¥ì¥ó¥À¥ê¥ó¥°¤Ï¡¢¥¢¥ó¥Á¥¨¥¤¥ê¥¢¥¹¡¢¥ª¡¼¥Ð¡¼¥µ¥ó¥×¥ê¥ó¥°¤Î 2 ¤Ä¤Î µ¡¹½¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£ ¥¢¥ó¥Á¥¨¥¤¥ê¥¢¥¹¤Ï¡¢¿åÊ¿¤ä¿âľ¤Ç¤Ê¤¤Àþ¤ò³ê¤é¤«¤Ëɽ¼¨¤·¤Þ¤¹¡£ ¥ª¡¼¥Ð¡¼¥µ¥ó¥×¥ê¥ó¥°¤Ï¡¢¥¢¥ó¥Á¥¨¥¤¥ê¥¢¥¹¤ÈÁȤǥԥ¯¥»¥ë¤è¤ê¤â¾®¤µ¤¤¥µ¥¤ ¥º¤Ç¤ÎÀºÅÙ¤òÄ󶡤·¡¢gnuplot ¤¬ÈóÀ°¿ôºÂɸ¤ÎľÀþ¤ò½ñ¤±¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢ÂгÑÊý¸þ¤ÎľÀþ (Î㤨¤Ð 'plot x') ¤¬º¸±¦¤ËÍɤì¤ë¤Î¤òÈò¤±¤Þ¤¹¡£

92.51 Postscript

postscript ¥É¥é¥¤¥Ð¤Ç¤Ï¤¤¤¯¤Ä¤«¤Î¥ª¥×¥·¥ç¥ó¤¬ÀßÄê¤Ç¤­¤Þ¤¹¡£

½ñ¼°:

     set terminal postscript {default}
     set terminal postscript {landscape | portrait | eps}
                             {enhanced | noenhanced}
                             {defaultplex | simplex | duplex}
                             {fontfile [add | delete] "<filename>"
                              | nofontfiles} {{no}adobeglyphnames}
                             {level1 | leveldefault}
                             {color | colour | monochrome}
                             {background <rgbcolor> | nobackground}
                             {solid | dashed}
                             {dashlength | dl <DL>}
                             {linewidth | lw <LW>}
                             {rounded | butt}
                             {clip | noclip}
                             {palfuncparam <samples>{,<maxdeviation>}}
                             {size <XX>{unit},<YY>{unit}}
                             {blacktext | colortext | colourtext}
                             {{font} "fontname{,fontsize}" {<fontsize>}}
                             {fontscale <scale>}

°Ê²¼¤Î¤è¤¦¤Ê¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬½Ð¤¿¾ì¹ç:
     "Can't find PostScript prologue file ... "

°Ê²¼»²¾È: postscript prologue (92.51.3)¡£¤½¤·¤Æ¤½¤Î»Ø¼¨¤Ë½¾¤Ã¤Æ¤¯¤À¤µ¤¤¡£

landscape ¤È portrait ¤Ï½ÐÎϤ¬²£ÃÖ¤«¡¢½ÄÃÖ¤«¤òÁªÂò¤·¤Þ¤¹¡£ eps ¥â¡¼¥É¤Ï EPS (Encapsulated PostScript) ½ÐÎϤòÀ¸À®¤·¤Þ¤¹¤¬¡¢¤³¤ì ¤ÏÄ̾ï¤Î PostScript ¤Ë¡¢¤½¤ì¤ò¾¤Î¿¤¯¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¼è¤ê¹þ¤à¤³¤È ¤¬¤Ç¤­¤ë¤è¤¦¤Ë¤¤¤¯¤Ä¤«¤Î¹Ô¤òÄɲä·¤¿¤â¤Î¤Ç¤¹ (Äɲ䵤ì¤ë¹Ô¤Ï PostScript ¤Î¥³¥á¥ó¥È¹Ô¤Ê¤Î¤Ç¡¢¤è¤Ã¤Æ¤½¤ì¼«¿È¤â¤Á¤ã¤ó¤È°õºþ¤Ç¤­¤Þ¤¹)¡£EPS ½ÐÎϤò ÆÀ¤ë¤Ë¤Ï eps ¥â¡¼¥É¤ò»ÈÍѤ·¡¢1 ¤Ä¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï 1 ¤Ä¤Î¥°¥é¥Õ¤Î¤ß¡¢¤È ¤·¤Æ¤¯¤À¤µ¤¤¡£eps ¥â¡¼¥É¤Ç¤Ï¥Õ¥©¥ó¥È¤â´Þ¤á¤Æ¥°¥é¥ÕÁ´ÂΤ¬¥Ç¥Õ¥©¥ë¥È¤Î Â礭¤µ¤ÎȾʬ¤Ë½Ì¤á¤é¤ì¤Þ¤¹¡£

enhanced ¤Ï³Èĥʸ»úÎó½èÍý¥â¡¼¥É (¾åÉÕ¤­Ê¸»ú¡¢²¼ÉÕ¤­Ê¸»ú¡¢¤ª¤è¤ÓÊ£¿ô ¤Î¥Õ¥©¥ó¥È¤ÎÍøÍÑ) ¤Îµ¡Ç½¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: enhanced (12)¡£ blacktext ¤Ï¡¢¤¿¤È¤¨¥«¥é¡¼¥â¡¼¥É¤Ç¤âÁ´¤Æ¤Îʸ»úÎó¤ò¹õ¤Ç½ñ¤­¤Þ¤¹¡£

PostScript ¤ÎξÌÌ°õºþÌ¿Îá (duplex) ¤Ï¡¢¥×¥ê¥ó¥¿¤Ç 1 Ëç¤Î»æ¤ËξÌÌ°õºþ¤¹ ¤ë¤³¤È¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£defaultplex ¤Ï¥×¥ê¥ó¥¿¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤ò»ÈÍÑ ¤·¡¢simplex ¤Ï»æ¤ÎÊÒÌ̤Τ߰õºþ¡¢duplex ¤Ï ξÌÌ°õºþ¤ò¹Ô¤Ê¤¤¤Þ¤¹ (¤¢ ¤Ê¤¿¤Î¥×¥ê¥ó¥¿¤¬¤½¤ì¤ò¹Ô¤Ê¤¨¤Ê¤¤¤Ê¤é̵»ë¤µ¤ì¤Þ¤¹)¡£

"< fontname> " ¤ÏÍ­¸ú¤Ê PostScript ¥Õ¥©¥ó¥È¤Î̾Á°¤Ç¡¢< fontsize> ¤Ï PostScript ¥Ý¥¤¥ó¥Èñ°Ì¤Ç¤Î¥Õ¥©¥ó¥È¤ÎÂ礭¤µ¤Ç¤¹¡£ ɸ½àŪ¤Ê postscript ¥Õ¥©¥ó¥È°Ê³°¤Ë¡¢¿ô¼°¤òɽ¸½¤¹¤ë¤Î¤ËÊØÍø¤Ê obliqueSymbol ¥Õ¥©¥ó¥È ("Symbol-Oblique") ¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

default ¤ÏÁ´¤Æ¤Î¥ª¥×¥·¥ç¥ó¤ò°Ê²¼¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃͤËÀßÄꤷ¤Þ¤¹:landscape, monochrome, dashed, dl 1.0, lw 1.0, defaultplex,noenhanced, "Helvetica", 14pt¡£PostScript ¤Î¥°¥é¥Õ¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÂ礭 ¤µ¤Ï¡¢10 ¥¤¥ó¥Á¤ÎÉý¤Ç 7 ¥¤¥ó¥Á¤Î¹â¤µ¤Ç¤¹¡£ ¥ª¥×¥·¥ç¥ó color ¤Ï¥«¥é¡¼¤òÍ­¸ú¤Ë¤·¡¢monochrome ¤Ï³ÆÍ×ÁǤò¹õ¤ÈÇò ÉÁ²è¤·¤Þ¤¹¡£¤µ¤é¤Ë¡¢monochrome ¤Ï³¥¿§¤Î palette ¤â»ÈÍѤ·¤Þ¤¹¤¬¡¢ ¤³¤ì¤Ï¡¢ÌÀ¼¨Åª¤Ë colorspec ¤Ç»ØÄꤵ¤ì¤¿ÉôÉʤ理òÊѹ¹¤·¤Þ¤»¤ó¡£

solid ¤ÏÁ´¤Æ¤Î¥°¥é¥Õ¤ÎÅÀÀþ¤Î¥Ñ¥¿¡¼¥ó¤ò¼ÂÀþ¤Ç¾å½ñ¤­¤·¤Þ¤¹¡£ dashlength ¤Þ¤¿¤Ï dl ¤ÏÅÀÀþ¤ÎÀþʬ¤ÎŤµ¤ò < DL> (0 ¤è¤êÂ礭¤¤¼Â¿ô) ¤ËÀßÄꤷ¡¢ linewidth ¤Þ¤¿¤Ï lw ¤ÏÁ´¤Æ¤ÎÀþ¤ÎÉý¤ò < LW> ¤ËÀßÄꤷ¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢À¸À®¤µ¤ì¤ë PostScript ¥³¡¼¥É¤Ï¡¢Æä˥ե£¥ë¥¿¥ê¥ó¥°¤ä filledcurves ¤Î¤è¤¦¤Ê¤Ç¤³¤Ü¤³¤ÊÎΰè¤Î¥Ñ¥¿¡¼¥óÅɤê¤Ä¤Ö¤·¤Ë¤ª¤¤¤Æ¡¢ PostScript Level 2 ¤È¤·¤Æ¾Ò²ð¤µ¤ì¤Æ¤¤¤ë¸À¸ìµ¡Ç½¤ò»È¤¤¤Þ¤¹¡£PostScript Level 2 ¤Îµ¡Ç½¤Ï¾ò·ïŪ¤ËÊݸ¤ì¤Æ¤¤¤Æ¡¢PostScript Level 1 ¤Î¥¤¥ó¥¿¡¼ ¥×¥ê¥¿¤¬¥¨¥é¡¼¤ò½Ð¤µ¤º¡¢¤à¤·¤í¥á¥Ã¥»¡¼¥¸¤« PostScript Level 1 ¤Ë¤è¤ë ¶á»÷¤Ç¤¢¤ë¤³¤È¤òɽ¼¨¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£level1 ¥ª¥×¥·¥ç¥ó¤Ï¡¢¤³ ¤ì¤é¤Îµ¡Ç½¤ò¶á»÷¤¹¤ë PostScript Level1 ¤ÇÂåÍѤ·¡¢PostScript Level 2 ¥³¡¼¥É¤ò°ìÀÚ»ÈÍѤ·¤Þ¤»¤ó¡£¤³¤ì¤Ï¸Å¤¤¥×¥ê¥ó¥¿¤ä¡¢Adobe Illustrator ¤Î ¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤Ê¤É¤ÇɬÍפˤʤ뤫¤â¤·¤ì¤Þ¤»¤ó¡£¤³¤Î¥Õ¥é¥° level1 ¤Ï ½ÐÎϤµ¤ì¤¿ PostScript ¥Õ¥¡¥¤¥ë¤Î¤¢¤ë°ì¹Ô¤ò¼ê¤ÇÊÔ½¸¤¹¤ë¤³¤È¤Ç¡¢¸å¤«¤é ¶¯À©Åª¤Ë PostScript Level 1 µ¡Ç½¤ò ON/OFF ¤Ë¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£level 2 ¤Î¥³¡¼¥É¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¾å¤Îµ¡Ç½¤Ï¸½¤ï¤ì¤Ê¤¤¤«¡¢¤³¤Î¥Õ¥é¥°¤¬¥» ¥Ã¥È¤µ¤ì¤¿¾ì¹ç¡¢¤¢¤ë¤¤¤Ï PostScript ¥¤¥ó¥¿¥×¥ê¥¿¥×¥í¥°¥é¥à¤¬ level 2 °Ê¾å¤Î PostScript ¤ò²ò¼á¤¹¤ë¤È¤Ï¸À¤ï¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë·Ù¹ðʸ¤ËÃÖ¤­´¹¤ï¤ê¤Þ¤¹¡£

rounded ¤Ï¡¢Àþ¤Îü¤äÀܹçÉô¤ò´Ý¤¯¤·¡¢¥Ç¥Õ¥©¥ë¥È¤Î butt ¤ÏÀí¤Ã¤¿Ã¼¤È ³ÑÄ¥¤Ã¤¿ÀܹçÉô¤ò»ÈÍѤ·¤Þ¤¹¡£

clip ¤Ï¡¢PostScript ¤Ë¤¹¤Ù¤Æ¤Î½ÐÎϤò BoundingBox (PostScript ¤Î³°ÏÈ) ¤Ç¥¯¥ê¥Ã¥×¤¹¤ë¤³¤È¤ò»Ø¼¨¤·¤Þ¤¹; ¥Ç¥Õ¥©¥ë¥È¤Ï noclip ¤Ç¤¹¡£

palfuncparam ¤Ï set palette functions ¤«¤é½ÐÎϤη¹¤­¤ò¤É¤Î¤è¤¦¤Ë¥³ ¡¼¥É²½¤¹¤ë¤«¤òÀ©¸æ¤·¤Þ¤¹¡£²òÀÏŪ¤Ê¿§¤ÎÀ®Ê¬´Ø¿ô (set palatte functions ¤ÇÀßÄꤵ¤ì¤ë) ¤Ï¡¢postscript ½ÐÎϤǤϷ¹¤­¤ÎÀþ·ÁÊä´°¤òÍѤ¤¤Æ¥³¡¼¥É²½¤µ ¤ì¤Þ¤¹: ¤Þ¤º¿§¤ÎÀ®Ê¬´Ø¿ô¤¬ < samples> ¸Ä¤ÎÅÀ¤ÇɸËܲ½¤µ¤ì¡¢¤½¤·¤Æ¤½¤ì¤é ¤ÎÅÀ¤Ï¡¢·ë²Ì¤È¤·¤ÆÀþ·ÁÊä´°¤È¤ÎÊк¹¤¬ < maxdeviation> °ÊÆâ¤Ë¼ý¤Þ¤ë¤è¤¦¤Ëºï½ü¤µ¤ì¤Þ¤¹¡£¤Û¤È¤ó¤ÉÁ´¤Æ¤ÎÍ­¸ú¤Ê¥Ñ¥ì¥Ã¥È¤Ç¡¢¥Ç¥Õ¥©¥ë¥È¤Î < samples> =2000 ¤È < maxdeviation> =0.003 ¤ÎÃͤò¤½¤Î¤Þ¤Þ»È¤¦¤Î¤¬Îɤ¤¤Ç¤·¤ç¤¦¡£

PostScript ½ÐÎϤΥǥե©¥ë¥È¤ÎÂ礭¤µ¤Ï 10 ¥¤¥ó¥Á x 7 ¥¤¥ó¥Á¤Ç¤¹¡£EPS ½ÐÎϤΥǥե©¥ë¥È¤ÎÂ礭¤µ¤Ï 5 x 3.5 ¥¤¥ó¥Á¤Ç¤¹¡£¥ª¥×¥·¥ç¥ó size ¤Ï ¤³¤ì¤é¤ò¥æ¡¼¥¶¤¬»ØÄꤷ¤¿¤â¤Î¤ËÊѹ¹¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï X ¤È Y ¤Î¥µ ¥¤¥º¤Îñ°Ì¤Ï¥¤¥ó¥Á¤È¤ß¤Ê¤µ¤ì¤Þ¤¹¤¬¡¢Â¾¤Îñ°Ì (¸½ºß¤Ï cm ¤Î¤ß) ¤â»È¤¦ ¤³¤È¤Ï¤Ç¤­¤Þ¤¹¡£ÉÁ²è¤Î BoundingBox (PostScript ¥Õ¥¡¥¤¥ë¤Î³°ÏÈ) ¤Ï¡¢ ¥µ¥¤¥º¤¬Êѹ¹¤µ¤ì¤¿²èÁü¤òÃúÅÙ´Þ¤à¤è¤¦¤ËÀµ¤·¤¯ÀßÄꤵ¤ì¤Þ¤¹¡£ ¥¹¥¯¥ê¡¼¥óºÂɸ¤Ï¡¢¥ª¥×¥·¥ç¥ó size ¤Ç»ØÄꤵ¤ì¤¿ÉÁ²èÏȤÎÁ´ÂΤ¬ 0.0 ¤«¤é 1.0 ¤Ë¤Ê¤ê¤Þ¤¹¡£ Ãí°Õ: ¤³¤ì¤Ï¡¢°ÊÁ°¤Ï¡¢½ÐÎÏ·Á¼°¤Ç¤ÎÀßÄê¤è¤ê¤â¡¢¥³¥Þ¥ó¥É set size ¤ÇÀßÄꤷ¤¿Êý¤¬¤¤¤¤¡¢¤È¸À¤Ã¤Æ¤¤¤¿¤³¤È¤ÎÊѹ¹¤ò°ÕÌ£¤·¤Þ¤¹¡£°ÊÁ°¤ÎÊýË¡¤Ç¤Ï BoundingBox ¤ÏÊѹ¹¤µ¤ì¤º¤Ë»Ä¤Ã¤Æ¤·¤Þ¤¤¡¢¥¹¥¯¥ê¡¼¥óºÂɸ¤¬¼ÂºÝ¤ÎÉÁ²è¤Î¸Â³¦¤ËÂбþ¤·¤Æ¤¤¤Þ¤»¤ó¤Ç¤·¤¿¡£

fontfile ¤ä fontfile add ¤Ç»ØÄꤵ¤ì¤¿¥Õ¥©¥ó¥È¤Ï¡¢¤½¤Î¥Õ¥©¥ó¥È¤Î¥Õ ¥©¥ó¥ÈÄêµÁ¤òľÀÜ postscript Type 1, TrueType ¥Õ¥©¥ó¥È¤«¤é gnuplot ¤Î postscript ½ÐÎϤÎÃæ¤Ë¥«¥×¥»¥ë²½¤·¤Þ¤¹¡£¤è¤Ã¤Æ¡¢¤½¤ÎËä¤á¹þ¤Þ¤ì¤¿¥Õ¥©¥ó ¥È¤Ï¸«½Ð¤·¡¢¥¿¥¤¥È¥ë¤Ê¤É¤Ë»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È:postscript fontfile (92.51.2)¡£fontfile delete ¤Ë¤è¤Ã¤Æ¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤òËä ¤á¹þ¤Þ¤ì¤ë¥Õ¥¡¥¤¥ë¤Î°ìÍ÷¤«¤é¼è¤ê½ü¤¯¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ nofontfiles ¤ÏËä¤á¹þ¤ß¥Õ¥©¥ó¥È¤Î¥ê¥¹¥È¤ò¥¯¥ê¥¢¤·¤Þ¤¹¡£

Îã:

     set terminal postscript default       # °ÊÁ°¤Î postscript
     set terminal postscript enhanced      # °ÊÁ°¤Î enhpost
     set terminal postscript landscape 22  # °ÊÁ°¤Î psbig
     set terminal postscript eps 14        # °ÊÁ°¤Î epsf1
     set terminal postscript eps 22        # °ÊÁ°¤Î epsf2
     set size 0.7,1.4; set term post portrait color "Times-Roman" 14
     set term post "VAGRoundedBT_Regular" 14 fontfile "bvrr8a.pfa"

Àþ¤ÎÉý¤ÈÅÀ¤ÎÂ礭¤µ¤Ï set style line ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£

postscript ¥É¥é¥¤¥Ð¤ÏÌó 70 ¼ïÎà¤Î°Û¤Ê¤ëÅÀ¼ï¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Æ¡¢¤³¤ì ¤Ï plot ¤ä set style line ¤Î pointtype ¥ª¥×¥·¥ç¥ó¤ÇÁªÂò¤Ç¤­¤Þ¤¹¡£

gnuplot ¤È Postscript ¤Ë´Ø¤¹¤ë¿ʬͭÍѤȻפï¤ì¤ë¥Õ¥¡¥¤¥ë¤¬ gnuplot ¤ÎÇÛÉÛʪ¡¢¤Þ¤¿¤Ï¤½¤ÎÇÛÉÛ¥µ¥¤¥È¤Î /docs/psdos ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥êÆâ¤Ë¤¤¤¯ ¤Ä¤«´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¤½¤³¤Ë¤Ï "ps_symbols.gpi" (¼Â¹Ô¤¹¤ë¤È postscript ¥É¥é¥¤¥Ð¤Ç»È¤¨¤ëÁ´¤Æ¤Îµ­¹æ¤ò¾Ò²ð¤¹¤ë "ps_symbols.ps" ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤òÀ¸ À®¤¹¤ë gnuplot ¤Î¥³¥Þ¥ó¥É¥Õ¥¡¥¤¥ë)¡¢"ps_guide.ps" (³ÈÄ¥¤µ¤ì¤¿½ñ¼°¤Ë ´Ø¤¹¤ëÍ×Ìó¤È¡¢Ê¸»úÎóÆâ¤Ç 8 ¿Ê¥³¡¼¥É¤ÇÀ¸À®¤µ¤ì¤ë¤â¤Î¡¢symbol ¥Õ¥©¥ó¥ÈÅù ¤ò´Þ¤à PostScript ¥Õ¥¡¥¤¥ë)¡¢"ps_file.doc" (gnuplot ¤Çºî¤é¤ì¤ë PostScript ¥Õ¥¡¥¤¥ë¤Î¹½Â¤¤ÎÀâÌÀ¤ò´Þ¤à¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë)¡¢ "ps_fontfile_doc.tex" (¿ô¼°¥Õ¥©¥ó¥È¤Îʸ»ú¤Î°ìÍ÷¤È LaTeX ¤Î¥Õ¥©¥ó¥È¤ÎËä ¤á¹þ¤ß¤Ë´Ø¤¹¤ëû¤¤ÀâÌÀ¤ò´Þ¤à LaTeX ¥Õ¥¡¥¤¥ë) ¤¬¤¢¤ê¤Þ¤¹¡£

PostScript ¥Õ¥¡¥¤¥ë¤ÏÊÔ½¸²Äǽ¤Ç¡¢°ìÅÙ gnuplot ¤Ç¤½¤ì¤òºî¤ì¤Ð¡¢¤½¤ì¤ò ˾¤à¤è¤¦¤Ë½¤Àµ¤¹¤ë¤³¤È¤Ï¼«Í³¤Ë¹Ô¤Ê¤¨¤Þ¤¹¡£¤½¤Î¤¿¤á¤Î¥Ò¥ó¥È¤òÆÀ¤ë¤Ë¤Ï¡¢ °Ê²¼»²¾È: editing postscript (92.51.1) ¤ÎÀá¡£

92.51.1 PostScript ¤ÎÊÔ½¸ (editing postscript)

PostScript ¸À¸ì¤Ï¤È¤Æ¤âÊ£»¨¤Ê¸À¸ì¤Ç¡¢¤³¤³¤Ç¾ÜºÙ¤òµ­½Ò¤¹¤ë¤³¤È¤Ï¤È¤Æ¤â ¤Ç¤­¤Þ¤»¤ó¡£¤½¤ì¤Ç¤â¡¢gnuplot ¤Çºî¤é¤ì¤ë PostScript ¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢Ã× Ì¿Åª¤Ê¥¨¥é¡¼¤ò¤½¤Î¥Õ¥¡¥¤¥ë¤ËƳÆþ¤·¤Æ¤·¤Þ¤¦´í¸±À­¤Î¤Ê¤¤Êѹ¹¤ò¹Ô¤Ê¤¦¤³¤È ¤¬²Äǽ¤ÊÉôʬ¤¬¤¢¤ê¤Þ¤¹¡£

Î㤨¤Ð¡¢PostScript ¤Îʸ "/Color true def" (set terminal postscript color ¥³¥Þ¥ó¥É¤ËÅú¤¨¤Æ¥Õ¥¡¥¤¥ë¤Ë½ñ¤­¹þ¤Þ¤ì¤Þ¤¹) ¤òÊѹ¹¤·¤Æ¡¢¤½¤ÎÉÁ²è¤òÇò¹õ¤Î ¤â¤Î¤Ë¤¹¤ëÊýË¡¤Ï¤ª¤ï¤«¤ê¤Ç¤·¤ç¤¦¡£Æ±Íͤˡ¢Àþ¤Î¿§¡¢Ê¸»ú¤Î¿§¡¢Àþ¤ÎÂÀ¤µ (weight)¡¢µ­¹æ¤Î¥µ¥¤¥º¤â¡¢ËÜÅö¤Ë´Êñ¤Ë½ñ¤­´¹¤¨¤é¤ì¤ë¤Ç¤·¤ç¤¦¡£¥¿¥¤¥È¥ë ¤ä¸«½Ð¤·¤Ê¤É¤Îʸ»úÎó¤Î¸í¿¢¤ä¡¢¥Õ¥©¥ó¥È¤ÎÊѹ¹¤âÊÔ½¸²Äǽ¤Ç¤·¤ç¤¦¡£Ç¤°Õ¤Î ¤â¤Î¤ÎÇÛÃÖ¤âÊѹ¹¤Ç¤­¤Þ¤¹¤·¡¢¤â¤Á¤í¤ó¡¢Ç¤°Õ¤Î¤â¤Î¤òÄɲä·¤¿¤ê¡¢ºï½ü¤·¤¿ ¤ê¤â¤Ç¤­¤Þ¤¹¤¬¡¢¤½¤ì¤é¤Î½¤Àµ¤Ï PostScript ¸À¸ì¤Î¿¼¤¤Ã챤¬É¬ÍפǤ·¤ç¤¦¡£

gnuplot ¤Ë¤è¤Ã¤Æºî¤é¤ì¤ë PostScript ¥Õ¥¡¥¤¥ë¤Î¹½À®¤Ë´Ø¤·¤Æ¤Ï¡¢gnuplot ¤Î¥½¡¼¥¹ÇÛÉÛʪÆâ¤Î docs/ps ¥Ç¥£¥ì¥¯¥È¥ê¤Î¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë "ps_file.doc" ¤Ë½Ò¤Ù¤é¤ì¤Æ¤¤¤Þ¤¹¡£

92.51.2 Postscript fontfile

¥ª¥×¥·¥ç¥ó fontfile ¤Þ¤¿¤Ï fontfile add ¤Ï 1 ¤Ä¤Î¥Õ¥¡¥¤¥ë̾¤ò°ú¿ô ¤È¤·¤Æ»ý¤Á¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤ò postscript ½ÐÎÏÆâ¤Ë¥«¥×¥»¥ë²½¤·¤ÆËä¤á¹þ¤ß¡¢ ¤½¤ì¤Ë¤è¤Ã¤ÆÍÍ¡¹¤Êʸ»úÎóÍ×ÁÇ (¥é¥Ù¥ë¡¢ÌÜÀ¹¤ê¸«½Ð¤·¡¢¥¿¥¤¥È¥ëÅù) ¤ò¤½¤Î ¥Õ¥©¥ó¥È¤Ç½ÐÎϤ¹¤ë¤³¤È¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó fontfile delete ¤â 1 ¤Ä¤Î¥Õ¥¡¥¤¥ë̾¤ò°ú¿ô¤Ë»ý¤Á¡¢¤½¤Î¥Õ¥¡¥¤¥ë̾¤ò¥«¥×¥»¥ë²½¤µ¤ì¤ë¥Õ¥¡¥¤¥ë ¤Î¥ê¥¹¥È¤«¤éºï½ü¤·¤Þ¤¹¡£

postscript ½ÐÎϥɥ饤¥Ð¤Ï¤¤¤¯¤Ä¤«¤Î¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë·Á¼°¤òǧ¼±¤·¤Þ¤¹: ASCII ·Á¼°¤Î Type 1 ¥Õ¥©¥ó¥È (³ÈÄ¥»Ò ".pfa")¡¢¥Ð¥¤¥Ê¥ê·Á¼°¤Î Type 1 ¥Õ ¥©¥ó¥È (³ÈÄ¥»Ò ".pfb")¡¢TrueType ¥Õ¥©¥ó¥È (³ÈÄ¥»Ò ".ttf")¡£pfa ¥Õ¥¡¥¤ ¥ë¤ÏľÀÜǧ¼±¤µ¤ì¤Þ¤¹¤¬¡¢pfb ¤È ttf ¥Õ¥¡¥¤¥ë¤Ï gnuplot ¤Î¼Â¹ÔÃæ¤ËʹԤ· ¤ÆÊÑ´¹¤µ¤ì¡¢¤½¤Î¤¿¤á¤ËŬÀÚ¤ÊÊÑ´¹¥Ä¡¼¥ë (²¼µ­»²¾È) ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥Õ¥¡¥¤¥ë̾¤Ï³ÈÄ¥»Ò¤â´Þ¤á¤Æ´°Á´¤Ê·Á¤Ç»ØÄꤹ¤ëɬÍפ¬ ¤¢¤ê¤Þ¤¹¡£³Æ fontfile ¥ª¥×¥·¥ç¥ó¤Ï¤Á¤ç¤¦¤É°ì¤Ä¤Î¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë̾¤Ë Âбþ¤·¤Þ¤¹¤Î¤Ç¡¢Ê£¿ô¤Î¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤òËä¤á¹þ¤à¤¿¤á¤Ë¤Ï¤³¤Î¥ª¥×¥·¥ç¥ó ¤òÊ£¿ô²ó»È¤Ã¤Æ²¼¤µ¤¤¡£

¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤Ï¡¢ºî¶È¥Ç¥£¥ì¥¯¥È¥ê¡¢¤½¤·¤Æ set fontpath ¤ÇÍ¿¤¨¤é¤ì ¤ë¥Õ¥©¥ó¥È¥Ñ¥¹°ìÍ÷¤ÎÁ´¤Æ¤Î¥Ç¥£¥ì¥¯¥È¥ê¤¬¸¡º÷¤µ¤ì¤Þ¤¹¡£¤µ¤é¤Ë¡¢´Ä¶­ÊÑ¿ô GNUPLOT_FONTPATH ¤Ç¥Õ¥©¥ó¥È¥Ñ¥¹¤òÀßÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£¤½¤ì¤¬ÀßÄꤵ ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¸¡º÷¥ê¥¹¥È¤¬»È¤ï¤ì¤Þ¤¹¤¬¡¢¤³¤ì¤Ï¥·¥¹¥Æ¥à¤Ë °Í¸¤·¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: set fontpath (82.22)¡£

Ëä¤á¹þ¤Þ¤ì¤¿¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤ò»È¤¦¤Ë¤Ï¡¢¥Õ¥©¥ó¥È̾ (Ä̾ï¥Õ¥¡¥¤¥ë̾¤ÈƱ ¤¸¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó) ¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ÂÐÏå⡼¥É¤Ç fontfile ¥ª ¥×¥·¥ç¥ó¤ò»È¤Ã¤Æ¥Õ¥©¥ó¥È¤òËä¤á¹þ¤ó¤À¾ì¹ç¡¢¥Õ¥©¥ó¥È̾¤Ï¥¹¥¯¥ê¡¼¥ó¤Ëɽ¼¨ ¤µ¤ì¤Þ¤¹¡£Îã:

  Font file 'p052004l.pfb' contains the font 'URWPalladioL-Bold'. Location:
  /usr/lib/X11/fonts/URW/p052004l.pfb

pfa ¤ä pfb ¥Õ¥©¥ó¥È¤Ç¤Ï¡¢¥Õ¥©¥ó¥È̾¤Ï¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ëÆâ¤Ë¸«¤Ä¤±¤ë¤³¤È ¤¬¤Ç¤­¤Þ¤¹¡£¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ëÃæ¤Ë "/FontName /URWPalladioL-Bold def" ¤Î ¤è¤¦¤Ê¹Ô¤¬¤¢¤ê¤Þ¤¹¤¬¡¢¤³¤Î¿¿Ãæ¤Îʪ¤«¤é / ¤ò½ü¤¤¤¿¤â¤Î¤¬¥Õ¥©¥ó¥È̾¤Ç¤¹¡£ ¤³¤ÎÎã¤Î¾ì¹ç¤Ï "URWPalladioL-Bold" ¤È¤Ê¤ê¤Þ¤¹¡£ TrueType ¥Õ¥©¥ó¥È¤Ç¤Ï¡¢¥Õ¥©¥ó¥È̾¤Ï¥Ð¥¤¥Ê¥ê·Á¼°¤ÇÊݸ¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¸« ¤Ä¤±¤ë¤Î¤ÏÍưפǤϤ¢¤ê¤Þ¤»¤ó¡£¤µ¤é¤Ë¡¢¤½¤Î̾Á°¤Ï¿¤¯¤Î¾ì¹ç¡¢Type 1 ¥Õ ¥©¥ó¥È (¼Â¹ÔÃæ¤Ë TrueType ¤¬ÊÑ´¹¤µ¤ì¤ë·Á¼°¤Ç¤¢¤ë) ¤Ç¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤ ¤Ê¤¤¡¢¥¹¥Ú¡¼¥¹¤ò´Þ¤ó¤À·Á¼°¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¤½¤Î¤¿¤á¡¢¥Õ¥©¥ó¥È̾¤Ï¤½¤³¤« ¤é¥¹¥Ú¡¼¥¹¤ò¼è¤ê½ü¤¤¤¿·Á¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£gnuplot ¤Ç»È¤¦¤¿¤á¤ËÀ¸À®¤µ¤ì¤¿ ¥Õ¥©¥ó¥È̾¤¬²¿¤Ç¤¢¤ë¤«¤òÃΤëºÇ¤â´Êñ¤ÊÊýË¡¤Ï¡¢gnuplot ¤òÂÐÏå⡼¥É¤Çµ¯ Æ°¤·¤Æ¡¢°Ê²¼¤Î¤è¤¦¤ËÆþÎϤ¹¤ë¤³¤È¤Ç¤¹:"set terminal postscript fontfile '< filename.ttf> '".

¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë (ttf, pfb) ¤ò pfa ·Á¼°¤ËÊÑ´¹¤¹¤ë¤¿¤á¤Ë¡¢¥Õ¥©¥ó¥È¥Õ¥¡ ¥¤¥ë¤òÆɤó¤Ç¡¢¤½¤·¤ÆÊÑ´¹·ë²Ì¤òɸ½à½ÐÎϤËÅǤ­½Ð¤¹ÊÑ´¹¥Ä¡¼¥ë¤¬É¬Í×¤Ë¤Ê¤ê ¤Þ¤¹¡£¤½¤Î½ÐÎϤòɸ½à½ÐÎϤ˽ñ¤­½Ð¤¹¤³¤È¤¬¤Ç¤­¤Ê¤¤¾ì¹ç¡¢¼Â¹ÔÃæ¤ÎÊÑ´¹¤Ï¤Ç ¤­¤Þ¤»¤ó¡£

pfb ¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¤Ï¡¢Î㤨¤Ð "pfbtops" ¤¬»È¤¨¤Þ¤¹¡£¤½¤ì¤¬¥·¥¹¥Æ¥à ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ì¤Ð¡¢¼Â¹ÔÃæ¤ÎÊÑ´¹¤Ï¤¦¤Þ¤¯¹Ô¤¯¤Ï¤º¤Ç¤¹¡£pfb ¥Õ¥¡ ¥¤¥ë¤Î¥«¥×¥»¥ë²½¤ò¤Á¤ç¤Ã¤È¤ä¤Ã¤Æ¤ß¤Þ¤·¤ç¤¦¡£¤â¤·¥×¥í¥°¥é¥à¤ÎÊÑ´¹»þ¤ËÀµ ¤·¤¯¥Ä¡¼¥ë¤ò¸Æ¤Ó½Ð¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¡¢¤É¤Î¤è¤¦¤Ë¥Ä¡¼¥ë¤ò¸Æ¤Ó½Ð¤·¤¿¤éÎɤ¤ ¤«¤ò´Ä¶­ÊÑ¿ô GNUPLOT_PFBTOPFA ¤Ë¡¢Î㤨¤Ð "pfbtops %s" ¤Î¤è¤¦¤ËÄêµÁ¤· ¤Æ²¼¤µ¤¤¡£%s ¤Ï¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë̾¤ËÃÖ¤­´¹¤¨¤é¤ì¤Þ¤¹¤Î¤Ç¡¢¤³¤ì¤Ï¤½¤Î ʸ»úÎó¤Ëɬ¤ºÉ¬ÍפǤ¹¡£

¼Â¹ÔÃæ¤ÎÊÑ´¹¤ò¤·¤¿¤¯¤Ê¤¯¤Æ¡¢¤±¤ì¤É¤â pfa ·Á¼°¤Î¥Õ¥¡¥¤¥ë¤ÏɬÍפǤ¢¤ë¾ì ¹ç¡¢"pfb2pfa" ¤È¤¤¤¦ C ¤Ç½ñ¤«¤ì¤¿´Êñ¤Ê¥Ä¡¼¥ë¤ò»È¤¨¤ÐÎɤ¤¤Ç¤·¤ç¤¦¡£¤³ ¤ì¤ÏÂçÄñ¤Î C ¥³¥ó¥Ñ¥¤¥é¤Ç¥³¥ó¥Ñ¥¤¥ë¤Ç¤­¡¢¤¿¤¯¤µ¤ó¤Î ftp ¥µ¡¼¥Ð¤ËÃÖ¤¤¤Æ ¤¢¤ê¤Þ¤¹¡£Î㤨¤Ð

ftp://ftp.dante.de/tex-archive/fonts/utilities/ps2mf/

¼ÂºÝ¤Ë "pfbtopfa" ¤È "pfb2ps" ¤ÏƱ¤¸ºî¶È¤ò¹Ô¤¤¤Þ¤¹¡£"pfbtops" ¤Ï·ë²Ì¤Î pfa ¥³¡¼¥É¤òɸ½à½ÐÎϤ˽ÐÎϤ·¤Þ¤¹¤¬¡¢"pfbtopfa" ¤Ï¥Õ¥¡¥¤¥ë¤Ë½ÐÎϤ·¤Þ¤¹¡£

TrueType ¥Õ¥©¥ó¥È¤Ï¡¢Î㤨¤Ð "ttf2pt1" ¤È¤¤¤¦¥Ä¡¼¥ë¤ò»È¤Ã¤Æ Type 1 pfa ¥Õ¥©¡¼¥Þ¥Ã¥È¤ËÊÑ´¹¤Ç¤­¤Þ¤¹¡£¤³¤ì¤Ï°Ê²¼¤Ë¤¢¤ê¤Þ¤¹:

http://ttf2pt1.sourceforge.net/

¤â¤· gnuplot ¤ËÁȤ߹þ¤Þ¤ì¤Æ¤¤¤ëÊÑ´¹¼ê½ç¤¬¤¦¤Þ¤¯¹Ô¤«¤Ê¤¤¾ì¹ç¡¢ÊÑ´¹¥³¥Þ ¥ó¥É¤Ï´Ä¶­ÊÑ¿ô GNUPLOT_TTFTOPFA ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£ttf2pt1 ¤ò»È¤¦¾ì¹ç¤Ï¡¢ ¤½¤ì¤ò "ttf2pt1 -a -e -W 0 %s - " ¤Î¤è¤¦¤ËÀßÄꤷ¤Æ²¼¤µ¤¤¡£¤³¤³¤Ç¤â %s ¤Ï¥Õ¥¡¥¤¥ë̾¤ò°ÕÌ£¤·¤Þ¤¹¡£

Æüì¤ÊÍÑÅӤΤ¿¤á¤Ë¡¢¥Ñ¥¤¥×¤â»È¤¨¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹ (¥Ñ¥¤¥×¤ò¥µ¥Ý¡¼¥È ¤·¤Æ¤¤¤ë OS ¾å¤Ç)¡£¥Õ¥¡¥¤¥ë̾¤ò "< " ¤Ç»Ï¤á¡¢¤½¤Î¸å¤Ë¥×¥í¥°¥é¥à¸Æ¤Ó½Ð¤· ¤òÄɲä·¤Þ¤¹¡£¤½¤Î¥×¥í¥°¥é¥à½ÐÎϤÏɸ½à½ÐÎϤؤΠpfa ¥Ç¡¼¥¿¤Ç¤Ê¤±¤ì¤Ð¤¤ ¤±¤Þ¤»¤ó¡£·ë²Ì¤È¤·¤Æ pfa ¥Õ¥¡¥¤¥ë¤ò¡¢Î㤨¤Ð°Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ¥¢¥¯¥»¥¹¤Ç¤­¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹: set fontfile "< cat garamond.pfa"¡£

Type 1 ¥Õ¥©¥ó¥È¤ò¼è¤ê¹þ¤à¤³¤È¤Ï¡¢Î㤨¤Ð LaTeX ʸ½ñÃæ¤Ë postscript ¥Õ¥¡ ¥¤¥ë¤ò¼è¤ê¹þ¤à¾ì¹ç¤Ë»È¤¨¤Þ¤¹¡£pfb ·Á¼°¤Î "european computer modern" ¥Õ ¥©¥ó¥È ("computer modern" ¥Õ¥©¥ó¥È¤Î°ì¼ï) ¤¬³ÆÃϤΠCTAN ¥µ¡¼¥Ð¤ËÃÖ¤«¤ì ¤Æ¤¤¤Þ¤¹¡£

ftp://ftp.dante.de/tex-archive/fonts/ps-type1/cm-super/

Î㤨¤Ð¡¢¥Õ¥¡¥¤¥ë "sfrm1000.pfb" ¤Ï¡¢ÃæÂÀ¡¢¥»¥ê¥ÕÉÕ¤­¡¢Î©ÂΤΠ10 ¥Ý¥¤¥ó ¥È¤Î¥Õ¥©¥ó¥È (¥Õ¥©¥ó¥È̾ "SFRM1000") ¤Ç¤¹¡£computer modern ¥Õ¥©¥ó¥È¤Ï º£¤Ç¤â¿ô¼°¤ò½ñ¤¯¤Î¤ËɬÍפǤ¹¤¬¡¢¤½¤ì¤Ï°Ê²¼¤Ë¤¢¤ê¤Þ¤¹:

ftp://ftp.dante.de/tex-archive/fonts/cm/ps-type1/bluesky

¤³¤ì¤é¤Ë¤è¤Ã¤Æ¡¢TeX ÍѤÎǤ°Õ¤Îʸ»ú¤â»È¤¨¤Þ¤¹¡£¤·¤«¤·¡¢computer modern ¥Õ¥©¥ó¥È¤Ï¾¯¤·¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤¬¤ª¤«¤·¤¯¤Ê¤Ã¤Æ¤¤¤Þ¤¹ (¤³¤Î¤¿¤á¡¢Ê¸»úÎó ¤Ë¤Ï cmr10.pfb ¤ÎÂå¤ï¤ê¤Ë sfrm1000.pfb ¤ò»È¤¦¤Ù¤­¤Ç¤¹)¡£ TeX ¥Õ¥©¥ó¥È¤Î»ÈÍÑË¡¤Ï¤¤¤¯¤Ä¤«¤Î¥Ç¥â¤Î°ì¤Ä¤ÇÃΤ뤳¤È¤¬¤Ç¤­¤Þ¤¹¡£ gnuplot ¤Î¥½¡¼¥¹ÇÛÉÛʪ¤Î /docs/psdoc ¤Ë´Þ¤Þ¤ì¤ë¥Õ¥¡¥¤¥ë "ps_fontfile_doc.tex" ¤Ë TeX ¿ô³Ø¥Õ¥©¥ó¥È¤Îʸ»ú¤Î°ìÍ÷ɽ¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ ¤¹¡£

¥Õ¥©¥ó¥È "CMEX10" (¥Õ¥¡¥¤¥ë "cmex10.pfb") ¤òËä¤á¹þ¤à¤È¡¢gnuplot ¤Ï Äɲåե©¥ó¥È "CMEX10-Baseline" ¤âÄêµÁ¤·¤Þ¤¹¡£¤½¤ì¤Ï¡¢Â¾¤Îʸ»ú¤Ë¤¢¤¦¤è ¤¦¤Ë¿âľÊý¸þ¤Ë¤º¤é¤µ¤ì¤¿¤â¤Î¤Ç¤¹ (CMEX10 ¤Ï¡¢µ­¹æ¤ÎÅ·Êդ˥١¼¥¹¥é¥¤¥ó ¤¬¤¢¤ê¤Þ¤¹)¡£

92.51.3 PostScript prologue ¥Õ¥¡¥¤¥ë

³Æ PostScript ½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ï %%Prolog ¥»¥¯¥·¥ç¥ó¤ò´Þ¤ß¤Þ¤¹¤·¡¢Î㤨¤Ðʸ »ú¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤Ê¤É¤ò´Þ¤àÄɲå桼¥¶ÄêµÁ¥»¥¯¥·¥ç¥ó¤ò´Þ¤à¤«¤â¤·¤ì¤Þ¤» ¤»¤ó¡£¤³¤ì¤é¤Î¥»¥¯¥·¥ç¥ó¤Ï¡¢gnuplot ¤Î¼Â¹Ô¥Õ¥¡¥¤¥ëÃæ¤Ë¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤Æ ¤¤¤ë¡¢¤¢¤ë¤¤¤Ï¤¢¤Ê¤¿¤Î¥³¥ó¥Ô¥å¡¼¥¿¤ÎÊ̤ΤȤ³¤í¤ËÊݸ¤µ¤ì¤Æ¤¤¤ë PostScript prologue ¥Õ¥¡¥¤¥ë·²¤«¤é¥³¥Ô¡¼¤µ¤ì¤Þ¤¹¡£¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤¬ÃÖ ¤«¤ì¤ë¥Ç¥Õ¥©¥ë¥È¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢gnuplot ¤Î¥¤¥ó¥¹¥È¡¼¥ë»þ¤ËÀßÄꤵ¤ì¤Þ ¤¹¤¬¡¢¤³¤Î¥Ç¥Õ¥©¥ë¥È¤Ï gnuplot ¥³¥Þ¥ó¥É¤Î set psdir ¤ò»È¤¦¤«¡¢´Ä¶­ÊÑ ¿ô GNUPLOT_PS_DIR ¤òÄêµÁ¤¹¤ë¤³¤È¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£°Ê²¼»²¾È: set psdir (82.59)¡£

92.51.4 Postscript adobeglyphnames

¤³¤ÎÀßÄê¤Ï¡¢UTF-8 ¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤Ç¤Î PostScript ½ÐÎϤˤΤߴط¸¤·¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢0x00FF ¤è¤êÂ礭¤¤ Unicode ¥¨¥ó¥È¥ê¥Ý¥¤¥ó¥È (¤Ä¤Þ¤ê Latin1 ½¸¹ç ³°¤Î¤¹¤Ù¤Æ) ¤Îʸ»ú¤òµ­½Ò¤¹¤ë¤Î¤Ë»È¤ï¤ì¤ë̾Á°¤òÀ©¸æ¤·¤Þ¤¹¡£°ìÈ̤ˡ¢ unicode ʸ»ú¤Ï°ì°Õ¤Î̾Á°¤ò»ý¤¿¤º¡¢¤½¤ì¤Ï unicode ¼±ÊÌÈֹ椷¤«»ý¤Á¤Þ¤» ¤ó¡£¤·¤«¤·¡¢Adobe ¤Ï¡¢¤¢¤ëÈϰϤÎʸ»ú (³ÈÄ¥¥é¥Æ¥óʸ»ú¡¢¥®¥ê¥·¥ãʸ»úÅù) ¤Ë̾Á°¤ò³ä¤êÅö¤Æ¤ë¿ä¾©µ¬Â§¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£¥Õ¥©¥ó¥È¤Ë¤è¤Ã¤Æ¤Ï¤³¤Îµ¬Â§¤ò ÍøÍѤ·¤Æ¤¤¤ë¤â¤Î¤¢¤ê¤Þ¤¹¤·¡¢¤½¤¦¤Ç¤Ê¤¤¤â¤Î¤â¤¢¤ê¤Þ¤¹¡£gnuplot ¤Ï¥Ç¥Õ¥© ¥ë¥È¤Ç¤Ï Adobe ¥°¥ê¥Õ̾¤ò»ÈÍѤ·¤Þ¤¹¡£Î㤨¤Ð¡¢¥®¥ê¥·¥ãʸ»ú¤Î¾®Ê¸»ú¤Î¥¢ ¥ë¥Õ¥¡¤Ï /alpha ¤È¤Ê¤ê¤Þ¤¹¡£noadobeglyphnames ¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¤³¤Îʸ »ú¤ËÂФ·¤Æ gnuplot ¤ÏÂå¤ï¤ê¤Ë /uni03B1 ¤ò»È¤ª¤¦¤È¤·¤Þ¤¹¡£ ¤³¤ÎÀßÄê¤Ç¤ª¤«¤·¤¯¤Ê¤Ã¤¿¤È¤¹¤ì¤Ð¡¢¤½¤ì¤Ï¤½¤Îʸ»ú¤¬¥Õ¥©¥ó¥ÈÆâ¤Ë¤¢¤ë¤Ë¤â ¤«¤«¤ï¤é¤º¤½¤ì¤¬¸«¤Ä¤«¤é¤Ê¤¤¾ì¹ç¤Ç¤¹¡£Adobe ¥Õ¥©¥ó¥È¤ËÂФ·¤Æ¤Ï¡¢¥Ç¥Õ¥© ¥ë¥È¤ò»È¤¦¤Î¤¬¾ï¤ËÀµ¤·¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢Â¾¤Î¥Õ¥©¥ó¥È¤Ç¤ÏξÊý¤ÎÀßÄê¤ò »î¤·¤Æ¤ß¤Ê¤¤¤È¤¤¤±¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£°Ê²¼¤â»²¾È: fontfile (92.51.2)¡£

92.52 Pslatex and pstex

pslatex ¥É¥é¥¤¥Ð¤Ï LaTeX ¤Ç¸å½èÍý¤µ¤ì¤ë½ÐÎϤòÀ¸À®¤·¡¢pstex ¥É¥é¥¤ ¥Ð¤Ï TeX ¤Ç¸å½èÍý¤µ¤ì¤ë½ÐÎϤòÀ¸À®¤·¤Þ¤¹¡£pslatex ¤Ï dvips ¤È xdvi ¤Ç ǧ¼±²Äǽ¤Ê \ special Ì¿Îá¤ò»ÈÍѤ·¤Þ¤¹¡£pstex ¤ÇÀ¸À®¤µ¤ì¤ë¿Þ¤Ï¡¢Ç¤°Õ ¤Î plain-TeX ¥Ù¡¼¥¹¤Î TeX (LaTeX ¤â¤½¤¦¤Ç¤¹) ¤Ç¼è¤ê¹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

½ñ¼°:

     set terminal [pslatex | pstex] {default}
     set terminal [pslatex | pstex]
                             {rotate | norotate}
                             {oldstyle | newstyle}
                             {auxfile | noauxfile}
                             {level1 | leveldefault}
                             {color | colour | monochrome}
                             {background <rgbcolor> | nobackground}
                             {solid | dashed}
                             {dashlength | dl <DL>}
                             {linewidth | lw <LW>}
                             {rounded | butt}
                             {clip | noclip}
                             {palfuncparam <samples>{,<maxdeviation>}}
                             {size <XX>{unit},<YY>{unit}}
                             {<font_size>}

°Ê²¼¤Î¤è¤¦¤Ê¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬½Ð¤¿¾ì¹ç:

     "Can't find PostScript prologue file ... "

°Ê²¼»²¾È: postscript prologue (92.51.3)¡£¤½¤·¤Æ¤½¤Î»Ø¼¨¤Ë½¾¤Ã¤Æ¤¯¤À¤µ¤¤¡£

¥ª¥×¥·¥ç¥ó color ¤Ï¥«¥é¡¼¤òÍ­¸ú¤Ë¤·¡¢monochrome ¤Ï³ÆÍ×ÁǤò¹õ¤ÈÇò ÉÁ²è¤·¤Þ¤¹¡£¤µ¤é¤Ë¡¢monochrome ¤Ï³¥¿§¤Î palette ¤â»ÈÍѤ·¤Þ¤¹¤¬¡¢ ¤³¤ì¤Ï¡¢ÌÀ¼¨Åª¤Ë colorspec ¤Ç»ØÄꤵ¤ì¤¿ÉôÉʤ理òÊѹ¹¤·¤Þ¤»¤ó¡£

solid ¤ÏÁ´¤Æ¤Î¥°¥é¥Õ¤ÎÅÀÀþ¤Î¥Ñ¥¿¡¼¥ó¤ò¼ÂÀþ¤Ç¾å½ñ¤­¤·¤Þ¤¹¡£ dashlength ¤Þ¤¿¤Ï dl ¤ÏÅÀÀþ¤ÎÀþʬ¤ÎŤµ¤ò < DL> (0 ¤è¤êÂ礭¤¤¼Â¿ô) ¤ËÀßÄꤷ¡¢ linewidth ¤Þ¤¿¤Ï lw ¤ÏÁ´¤Æ¤ÎÀþ¤ÎÉý¤ò < LW> ¤ËÀßÄꤷ¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢À¸À®¤µ¤ì¤ë PostScript ¥³¡¼¥É¤Ï¡¢Æä˥ե£¥ë¥¿¥ê¥ó¥°¤ä filledcurves ¤Î¤è¤¦¤Ê¤Ç¤³¤Ü¤³¤ÊÎΰè¤Î¥Ñ¥¿¡¼¥óÅɤê¤Ä¤Ö¤·¤Ë¤ª¤¤¤Æ¡¢ PostScript Level 2 ¤È¤·¤Æ¾Ò²ð¤µ¤ì¤Æ¤¤¤ë¸À¸ìµ¡Ç½¤ò»È¤¤¤Þ¤¹¡£PostScript Level 2 ¤Îµ¡Ç½¤Ï¾ò·ïŪ¤ËÊݸ¤ì¤Æ¤¤¤Æ¡¢PostScript Level 1 ¤Î¥¤¥ó¥¿¡¼ ¥×¥ê¥¿¤¬¥¨¥é¡¼¤ò½Ð¤µ¤º¡¢¤à¤·¤í¥á¥Ã¥»¡¼¥¸¤« PostScript Level 1 ¤Ë¤è¤ë ¶á»÷¤Ç¤¢¤ë¤³¤È¤òɽ¼¨¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£level1 ¥ª¥×¥·¥ç¥ó¤Ï¡¢¤³ ¤ì¤é¤Îµ¡Ç½¤ò¶á»÷¤¹¤ë PostScript Level1 ¤ÇÂåÍѤ·¡¢PostScript Level 2 ¥³¡¼¥É¤ò°ìÀÚ»ÈÍѤ·¤Þ¤»¤ó¡£¤³¤ì¤Ï¸Å¤¤¥×¥ê¥ó¥¿¤ä¡¢Adobe Illustrator ¤Î ¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤Ê¤É¤ÇɬÍפˤʤ뤫¤â¤·¤ì¤Þ¤»¤ó¡£¤³¤Î¥Õ¥é¥° level1 ¤Ï ½ÐÎϤµ¤ì¤¿ PostScript ¥Õ¥¡¥¤¥ë¤Î¤¢¤ë°ì¹Ô¤ò¼ê¤ÇÊÔ½¸¤¹¤ë¤³¤È¤Ç¡¢¸å¤«¤é ¶¯À©Åª¤Ë PostScript Level 1 µ¡Ç½¤ò ON/OFF ¤Ë¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£level 2 ¤Î¥³¡¼¥É¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¾å¤Îµ¡Ç½¤Ï¸½¤ï¤ì¤Ê¤¤¤«¡¢¤³¤Î¥Õ¥é¥°¤¬¥» ¥Ã¥È¤µ¤ì¤¿¾ì¹ç¡¢¤¢¤ë¤¤¤Ï PostScript ¥¤¥ó¥¿¥×¥ê¥¿¥×¥í¥°¥é¥à¤¬ level 2 °Ê¾å¤Î PostScript ¤ò²ò¼á¤¹¤ë¤È¤Ï¸À¤ï¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë·Ù¹ðʸ¤ËÃÖ¤­´¹¤ï¤ê¤Þ¤¹¡£

rounded ¤Ï¡¢Àþ¤Îü¤äÀܹçÉô¤ò´Ý¤¯¤·¡¢¥Ç¥Õ¥©¥ë¥È¤Î butt ¤ÏÀí¤Ã¤¿Ã¼¤È ³ÑÄ¥¤Ã¤¿ÀܹçÉô¤ò»ÈÍѤ·¤Þ¤¹¡£

clip ¤Ï¡¢PostScript ¤Ë¤¹¤Ù¤Æ¤Î½ÐÎϤò BoundingBox (PostScript ¤Î³°ÏÈ) ¤Ç¥¯¥ê¥Ã¥×¤¹¤ë¤³¤È¤ò»Ø¼¨¤·¤Þ¤¹; ¥Ç¥Õ¥©¥ë¥È¤Ï noclip ¤Ç¤¹¡£

palfuncparam ¤Ï set palette functions ¤«¤é½ÐÎϤη¹¤­¤ò¤É¤Î¤è¤¦¤Ë¥³ ¡¼¥É²½¤¹¤ë¤«¤òÀ©¸æ¤·¤Þ¤¹¡£²òÀÏŪ¤Ê¿§¤ÎÀ®Ê¬´Ø¿ô (set palatte functions ¤ÇÀßÄꤵ¤ì¤ë) ¤Ï¡¢postscript ½ÐÎϤǤϷ¹¤­¤ÎÀþ·ÁÊä´°¤òÍѤ¤¤Æ¥³¡¼¥É²½¤µ ¤ì¤Þ¤¹: ¤Þ¤º¿§¤ÎÀ®Ê¬´Ø¿ô¤¬ < samples> ¸Ä¤ÎÅÀ¤ÇɸËܲ½¤µ¤ì¡¢¤½¤·¤Æ¤½¤ì¤é ¤ÎÅÀ¤Ï¡¢·ë²Ì¤È¤·¤ÆÀþ·ÁÊä´°¤È¤ÎÊк¹¤¬ < maxdeviation> °ÊÆâ¤Ë¼ý¤Þ¤ë¤è¤¦¤Ëºï½ü¤µ¤ì¤Þ¤¹¡£¤Û¤È¤ó¤ÉÁ´¤Æ¤ÎÍ­¸ú¤Ê¥Ñ¥ì¥Ã¥È¤Ç¡¢¥Ç¥Õ¥©¥ë¥È¤Î < samples> =2000 ¤È < maxdeviation> =0.003 ¤ÎÃͤò¤½¤Î¤Þ¤Þ»È¤¦¤Î¤¬Îɤ¤¤Ç¤·¤ç¤¦¡£

PostScript ½ÐÎϤΥǥե©¥ë¥È¤ÎÂ礭¤µ¤Ï 10 ¥¤¥ó¥Á x 7 ¥¤¥ó¥Á¤Ç¤¹¡£EPS ½ÐÎϤΥǥե©¥ë¥È¤ÎÂ礭¤µ¤Ï 5 x 3.5 ¥¤¥ó¥Á¤Ç¤¹¡£¥ª¥×¥·¥ç¥ó size ¤Ï ¤³¤ì¤é¤ò¥æ¡¼¥¶¤¬»ØÄꤷ¤¿¤â¤Î¤ËÊѹ¹¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï X ¤È Y ¤Î¥µ ¥¤¥º¤Îñ°Ì¤Ï¥¤¥ó¥Á¤È¤ß¤Ê¤µ¤ì¤Þ¤¹¤¬¡¢Â¾¤Îñ°Ì (¸½ºß¤Ï cm ¤Î¤ß) ¤â»È¤¦ ¤³¤È¤Ï¤Ç¤­¤Þ¤¹¡£ÉÁ²è¤Î BoundingBox (PostScript ¥Õ¥¡¥¤¥ë¤Î³°ÏÈ) ¤Ï¡¢ ¥µ¥¤¥º¤¬Êѹ¹¤µ¤ì¤¿²èÁü¤òÃúÅÙ´Þ¤à¤è¤¦¤ËÀµ¤·¤¯ÀßÄꤵ¤ì¤Þ¤¹¡£ ¥¹¥¯¥ê¡¼¥óºÂɸ¤Ï¡¢¥ª¥×¥·¥ç¥ó size ¤Ç»ØÄꤵ¤ì¤¿ÉÁ²èÏȤÎÁ´ÂΤ¬ 0.0 ¤«¤é 1.0 ¤Ë¤Ê¤ê¤Þ¤¹¡£ Ãí°Õ: ¤³¤ì¤Ï¡¢°ÊÁ°¤Ï¡¢½ÐÎÏ·Á¼°¤Ç¤ÎÀßÄê¤è¤ê¤â¡¢¥³¥Þ¥ó¥É set size ¤ÇÀßÄꤷ¤¿Êý¤¬¤¤¤¤¡¢¤È¸À¤Ã¤Æ¤¤¤¿¤³¤È¤ÎÊѹ¹¤ò°ÕÌ£¤·¤Þ¤¹¡£°ÊÁ°¤ÎÊýË¡¤Ç¤Ï BoundingBox ¤ÏÊѹ¹¤µ¤ì¤º¤Ë»Ä¤Ã¤Æ¤·¤Þ¤¤¡¢¥¹¥¯¥ê¡¼¥óºÂɸ¤¬¼ÂºÝ¤ÎÉÁ²è¤Î¸Â³¦¤ËÂбþ¤·¤Æ¤¤¤Þ¤»¤ó¤Ç¤·¤¿¡£

rotate ¤¬»ØÄꤵ¤ì¤ë¤È y ¼´¤Î¸«½Ð¤·¤¬²óž¤µ¤ì¤Þ¤¹¡£ < font_size> ¤Ï´õ˾¤¹¤ë¥Õ¥©¥ó¥È¤Î (¥Ý¥¤¥ó¥Èñ°Ì¤Ç¤Î) Â礭¤µ¤Ç¤¹¡£

auxfile ¤¬»ØÄꤵ¤ì¤ë¤È¡¢¥É¥é¥¤¥Ð¤Ï PostScript ¥³¥Þ¥ó¥É¤ò¡¢LaTeX ¥Õ¥¡ ¥¤¥ë¤ËľÀܽÐÎϤ¹¤ëÂå¤ï¤ê¤Ë¡¢Êä½õ¥Õ¥¡¥¤¥ë¤Ë½ñ¤­½Ð¤¹¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ì ¤Ï¡¢dvips ¤¬¤½¤ì¤ò°·¤¨¤Ê¤¤¤¯¤é¤¤Â礭¤¤¥°¥é¥Õ¤Ç¤¢¤ë¾ì¹ç¤ËÍ­ÍѤǤ¹¡£Êä½õ PostScript ¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢set output ¥³¥Þ¥ó¥É¤ÇÍ¿¤¨¤é¤ì¤ë TeX ¥Õ ¥¡¥¤¥ë¤Î̾Á°¤«¤éƳ¤«¤ì¤ë¤â¤Î¤Ç¡¢¤½¤ì¤Ï¤½¤ÎºÇ¸å¤Î .tex ¤ÎÉôʬ (¼ÂºÝ¤Î ¥Õ¥¡¥¤¥ë̾¤ÎºÇ¸å¤Î³ÈÄ¥»Ò¤ÎÉôʬ) ¤ò .ps ¤ÇÃÖ¤­´¹¤¨¤¿¤â¤Î¡¢¤Þ¤¿¤Ï¡¢TeX ¥Õ¥¡¥¤¥ë¤Ë³ÈÄ¥»Ò¤¬¤Ê¤¤¤Ê¤é¤Ð .ps ¤òºÇ¸å¤ËÉÕ¤±Â­¤·¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ .ps ¥Õ¥¡¥¤¥ë¤Ï \ special{psfile=...} ¤È¤¤¤¦Ì¿Îá¤Ç .tex ¥Õ¥¡¥¤¥ë¤Ë ¼è¤ê¹þ¤Þ¤ì¤Þ¤¹¡£multiplot ¥â¡¼¥É°Ê³°¤Ç¤Ï¡¢¼¡¤ÎÉÁ²è¤ò¹Ô¤Ê¤¦Á°¤Ë¤½¤Î½ÐÎÏ¥Õ¥¡¥¤¥ë¤ò¥¯¥í¡¼¥º¤¹¤ë¤Î¤ò˺¤ì¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£

version 4.2 ¤è¤êÁ°¤Î gnuplot ¤Ï ps(la)tex ½ÐÎÏ·Á¼°¤Ç¤Ï 5 x 3 ¥¤¥ó¥Á¤Î ½ÐÎϤǤ·¤¿¤¬¡¢¸½ºß¤Ç¤Ï 5 x 3.5 ¥¤¥ó¥Á¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ï postscript eps ½ÐÎÏ·Á¼°¤Ë¹ç¤ï¤»¤¿Êѹ¹¤Ç¤¹¡£²Ã¤¨¤Æ¡¢Ê¸»úÉý¤Ï¡¢°ÊÁ°¤Î epslatex ½ÐÎÏ·Á¼°¤Ï¥Õ¥©¥ó¥È¥µ¥¤¥º¤Î 50% ¤È¸«¤Ê¤·¤Þ¤·¤¿¤¬¡¢¸½ºß¤Ï 60% ¤Èɾ²Á¤·¤Æ¤¤¤Þ¤¹¡£½¾Íè¤Î·Á¼°¤ËÌ᤹¤Ë¤Ï¡¢¥ª¥×¥·¥ç¥ó oldstyle ¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£

pslatex ¥É¥é¥¤¥Ð¤Ïʸ»úÎó¤ÎÇÛÃÖ¤ÎÀ©¸æ¤ËÆÃÊ̤ÊÊýË¡¤òÄ󶡤·¤Þ¤¹: (a) '{' ¤Ç»Ï¤Þ¤ëʸ»úÎó¤Ï¡¢'}' ¤ÇÊĤ¸¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤¬¡¢¤½¤Îʸ»úÎóÁ´ÂÎ ¤¬ LaTeX ¤Ë¤è¤Ã¤Æ¿åÊ¿Êý¸þ¤Ë¤â¿âľÊý¸þ¤Ë¤â¥»¥ó¥¿¥ê¥ó¥°¤µ¤ì¤Þ¤¹¡£ (b) '[' ¤Ç»Ï¤Þ¤ëʸ»úÎó¤Î¾ì¹ç¤Ï¡¢°ÌÃ֤λØÄê¤ò¤¹¤ëʸ»úÎó (t,b,l,r ¤Î¤¦¤Á 2 ¤Ä¤Þ¤Ç) ¤¬Â³¤­¡¢¼¡¤Ë ']{'¡¢Ê¸»úÎóËÜÂΡ¢¤ÇºÇ¸å¤Ë '}' ¤È¤·¤Þ¤¹¤¬¡¢¤³¤Î ʸ»úÎó¤Ï LaTeX ¤¬ LR-box ¤È¤·¤ÆÀ°·Á¤·¤Þ¤¹¡£ \ rule{}{} ¤ò»È¤¨¤Ð¤µ¤é¤ËÎÉ ¤¤°ÌÃÖ¹ç¤ï¤»¤¬²Äǽ¤Ç¤·¤ç¤¦¡£

¤³¤³¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤Ê¤¤¥ª¥×¥·¥ç¥ó¤Ï Postscript terminal ¤Î¤â¤Î¤ÈƱ°ì¤Ç ¤¹¤Î¤Ç¡¢¤½¤ì¤é¤¬²¿¤ò¹Ô¤Ê¤¦¤Î¤«¤òÃΤꤿ¤±¤ì¤Ð¤½¤Á¤é¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

Îã:

     set term pslatex monochrome dashed rotate       # ¥Ç¥Õ¥©¥ë¥È¤ËÀßÄê

PostScript ¥³¥Þ¥ó¥É¤ò "foo.ps" ¤Ë½ñ¤­½Ð¤¹:
     set term pslatex auxfile
     set output "foo.tex"; plot ...; set output

¸«½Ð¤·¤Î°ÌÃÖ¹ç¤ï¤»¤Ë´Ø¤·¤Æ: gnuplot ¤Î¥Ç¥Õ¥©¥ë¥È (ÂçÄñ¤½¤ì¤Ê¤ê¤Ë¤Ê¤ë¤¬¡¢¤½¤¦¤Ç¤Ê¤¤¤³¤È¤â¤¢¤ë):
      set title '\LaTeX\ -- $ \gamma $'

¿åÊ¿Êý¸þ¤Ë¤â¿âľÊý¸þ¤Ë¤â¥»¥ó¥¿¥ê¥ó¥°:
      set label '{\LaTeX\ -- $ \gamma $}' at 0,0

°ÌÃÖ¤òÌÀ¼¨Åª¤Ë»ØÄê (¾å¤Ë¹ç¤ï¤»¤ë):
      set xlabel '[t]{\LaTeX\ -- $ \gamma $}'

¾¤Î¸«½Ð¤· - ÌÜÀ¹¤ê¤ÎŤ¤¸«½Ð¤·¤ËÂФ¹¤ë¸«ÀѤê:
      set ylabel '[r]{\LaTeX\ -- $ \gamma $\rule{7mm}{0pt}}'

ÀþÉý¤ÈÅÀ¤ÎÂ礭¤µ¤Ï set style line ¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£

92.53 Pstricks

pstricks ¥É¥é¥¤¥Ð¤Ï LaTeX ¤Î "pstricks.sty" ¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤È¶¦¤Ë»È ¤ï¤ì¤ë¤³¤È¤ò°Õ¿Þ¤·¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ï eepic ¤ä latex ¥É¥é¥¤¥Ð¤ËÂå¤ï¤ë ÁªÂò»è¤Î°ì¤Ä¤Ç¤¹¡£"pstricks.sty" ¤ÏɬÍפǤ¹¤¬¡¢¤â¤Á¤í¤ó PostScript ¤ò ²ò¼á¤¹¤ë¥×¥ê¥ó¥¿¡¢¤Þ¤¿¤Ï Ghostscript ¤Î¤è¤¦¤ÊÊÑ´¹¥½¥Õ¥È¤âɬÍפǤ¹¡£

PSTricks ¤Ï anonymous ftp ¤Ç Princeton.EDU ¤Î /pub ¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¼è ÆÀ¤Ç¤­¤Þ¤¹¡£¤³¤Î¥É¥é¥¤¥Ð¤Ï¡¢PSTricks ¥Ñ¥Ã¥±¡¼¥¸¤ÎÁ´¤Æ¤ÎǽÎϤò»È¤ª¤¦¤È ¤Ê¤É¤È¤ÏÁ´¤¯¹Í¤¨¤Æ¤Ï¤¤¤Þ¤»¤ó¡£

½ñ¼°:

     set terminal pstricks {hacktext | nohacktext} {unit | nounit}

ºÇ½é¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¤¢¤Þ¤êåºÎï¤Ç¤Ï¤Ê¤¤ÊýË¡¤Ç¿ô»ú¤Î¤è¤êÎɤ¤½ÐÎϤòÀ¸À®¤¹ ¤ë¤â¤Î¤Ç¡¢2 ¤ÄÌܤΥª¥×¥·¥ç¥ó¤Ï¥°¥é¥Õ¤ò¿­½Ì¤¹¤ëºÝ¤Ë¤ÏɬÍפǤ¹¡£¥Ç¥Õ¥©¥ë ¥È¤Ç¤Ï hacktext ¤È nounit ¤Ç¤¹¡£

92.54 Qms

qms ¥É¥é¥¤¥Ð¤Ï QMS/QUIC ¥ì¡¼¥¶¡¼¥×¥ê¥ó¥¿¡¢Talaris 1200¡¢¤½¤Î¾¤ò¥µ¥Ý ¡¼¥È¤·¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó¤Ï¤¢¤ê¤Þ¤»¤ó¡£

92.55 Qt

qt ½ÐÎÏ·Á¼°¤Ï¡¢Qt ¥é¥¤¥Ö¥é¥ê¤òÍѤ¤¤ÆÊÌ¥¦¥£¥ó¥É¥¦¤Ø¤Î½ÐÎϤòÀ¸À®¤·¤Þ¤¹¡£

½ñ¼°:

       set term qt {<n>}
                   {size <width>,<height>}
                   {{no}enhanced}
                   {font <font>}
                   {title "title"}
                   {{no}persist}
                   {{no}raise}
                   {{no}ctrl}
                   {close}
                   {widget <id>}

Ê£¿ô¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦¤â¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Æ¡¢set terminal qt < n> ¤È¤¹¤ì¤Ð ÈÖ¹æ n ¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦¤Ø½ÐÎϤ·¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Î¥¦¥£¥ó¥É¥¦¥¿¥¤¥È¥ë¤Ï¡¢¤³¤Î¥¦¥£¥ó¥É¥¦ÈÖ¹æ¤Ë´ð¤Å¤¤¤Æ¤¤¤Þ¤¹¡£ ¤½¤Î¥¿¥¤¥È¥ë¤Ï¥­¡¼¥ï¡¼¥É "title" ¤Ç¤â»ØÄê¤Ç¤­¤Þ¤¹¡£

ÉÁ²è¥¦¥£¥ó¥É¥¦¤Ï¡¢gnuplot ¤Î½ÐÎÏ·Á¼°¤òÊ̤ʤâ¤Î¤ËÊѹ¹¤·¤¿¸å¤Ç¤â³«¤¤¤¿ ¤Þ¤Þ»Ä¤ê¤Þ¤¹¡£ÉÁ²è¥¦¥£¥ó¥É¥¦¤Ï¡¢¤½¤Î¥¦¥£¥ó¥É¥¦¤¬ÆþÎÏ¥Õ¥©¡¼¥«¥¹¤ò»ý¤Ã¤Æ ¤¤¤ë¾õÂÖ¤Çʸ»ú 'q' ¤òÂǤĤ«¡¢¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¥á¥Ë¥å¡¼¤Ç close ¤ò ÁªÂò¤¹¤ë¤«¡¢¤Þ¤¿¤Ï set term qt < n> close ¤È¤¹¤ë¤³¤È¤ÇÊĤ¸¤ë¤³¤È¤¬¤Ç¤­ ¤Þ¤¹¡£

ÉÁ²èÎΰè¤Î¥µ¥¤¥º¤Ï¥Ô¥¯¥»¥ëñ°Ì¤ÇÍ¿¤¨¤Þ¤¹¡¢¥Ç¥Õ¥©¥ë¥È¤Ï 640x480 ¤Ç¤¹¡£ ¤½¤ì¤Ë²Ã¤¨¤Æ¡¢¥¦¥£¥ó¥É¥¦¤Î¼ÂºÝ¤Î¥µ¥¤¥º¤Ë¤Ï¡¢¥Ä¡¼¥ë¥Ð¡¼¤ä¥¹¥Æ¡¼¥¿¥¹¥Ð¡¼ ÍѤΥ¹¥Ú¡¼¥¹¤âÄɲ䵤ì¤Þ¤¹¡£ ¥¦¥£¥ó¥É¥¦¤Î¥µ¥¤¥º¤òÊѹ¹¤¹¤ë¤È¡¢ÉÁ²è¥°¥é¥Õ¤â¥¦¥£¥ó¥É¥¦¤Î¿·¤·¤¤¥µ¥¤¥º¤Ë ¤Ô¤Ã¤¿¤ê¹ç¤¦¤è¤¦¤Ë¤¹¤°¤Ë¿­½Ì¤µ¤ì¤Þ¤¹¡£qt ½ÐÎÏ·Á¼°¤Ï¥Õ¥©¥ó¥È¡¢ÀþÉý¤â´Þ ¤á¤ÆÉÁ²èÁ´ÂΤò¿­½Ì¤·¤Þ¤¹¤¬¡¢Á´ÂΤΥ¢¥¹¥Ú¥¯¥ÈÈæ¤Ï°ìÄê¤ËÊݤÁ¤Þ¤¹¡£ ¤½¤Î¸å replot ¤È¥¿¥¤¥×¤¹¤ë¤«¡¢¥¿¡¼¥ß¥Ê¥ë¥Ä¡¼¥ë¥Ð¡¼¤Î replot ¥¢¥¤¥³ ¥ó¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤«¡¢¿·¤¿¤Ë plot ¥³¥Þ¥ó¥É¤òÆþÎϤ¹¤ë¤È¡¢¤½¤Î¿·¤·¤¤ÉÁ²è ¤Ç¤Ï´°Á´¤Ë¤½¤Î¥¦¥£¥ó¥É¥¦¤Ë¹ç¤ï¤»¤é¤ì¤Þ¤¹¤¬¡¢¥Õ¥©¥ó¥È¥µ¥¤¥º¤äÀþÉý¤Ï¤½¤ì ¤¾¤ì¤Î¥Ç¥Õ¥©¥ë¥È¤Ë¥ê¥»¥Ã¥È¤µ¤ì¤Þ¤¹¡£

¸½ºß¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦ (set term qt < n> ¤ÇÁªÂò¤µ¤ì¤¿¤â¤Î) ¤ÏÂÐÏ÷¿¤Ç¡¢ ¤½¤ÎµóÆ°¤Ï¡¢Â¾¤Î½ÐÎÏ·Á¼°¤È¶¦Ä̤Ǥ¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: mouse (82.40)¡£¤½¤ì¤Ë¤Ï ÄɲäΥ¢¥¤¥³¥ó¤â¤¤¤¯¤Ä¤«¤Ä¤¤¤Æ¤¤¤Þ¤¹¤¬¡¢¤½¤ì¤é¤Ï¤½¤ì¼«ÂΤ¬ÀâÌÀŪ¤Ê¤â¤Î ¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹¡£

¤³¤Î½ÐÎÏ·Á¼°¤Ï¡¢³Èĥʸ»úÎó½èÍý¥â¡¼¥É (enhanced text mode) ¤ò¥µ¥Ý¡¼¥È¤· ¤Æ¤¤¤Æ¡¢¥Õ¥©¥ó¥È¤ä½ñ¼°¥³¥Þ¥ó¥É (¾åÉÕ¡¢²¼ÉդʤÉ) ¤ò¥é¥Ù¥ë¤ä¾¤Îʸ»úÎó¤Ë Ëä¤á¹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£³Èĥʸ»úÎó½èÍý¥â¡¼¥É¤Î½ñ¼°¤Ï¡¢gnuplot ¤Î¾¤Î½Ð ÎÏ·Á¼°¤È¶¦Ä̤Ǥ¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: enhanced (12)¡£

< font> ¤Ï "FontFace,FontSize" ¤Î·Á¼°¤Ç¡¢FontFace ¤È FontSize ¤È¤ò¥³ ¥ó¥Þ¤ÇʬΥ¤·¤Æ°ì¤Ä¤Îʸ»úÎó¤È¤·¤Æ½ñ¤­¤Þ¤¹¡£FontFace ¤Ï¡¢'Arial' ¤Î¤è ¤¦¤ÊÄ̾ï¤Î¥Õ¥©¥ó¥È̾¤Ç¤¹¡£FontFace ¤òÍ¿¤¨¤Ê¤¤¾ì¹ç¤Ï¡¢qt ½ÐÎÏ·Á¼°¤Ï 'Sans' ¤ò»ÈÍѤ·¤Þ¤¹¡£FontSize ¤Ï¥Ý¥¤¥ó¥Èñ°Ì¤Î¥Õ¥©¥ó¥È¥µ¥¤¥º¤Ç¤¹¡£ FontSize ¤òÍ¿¤¨¤Ê¤¤¾ì¹ç¤Ï¡¢qt ½ÐÎÏ·Á¼°¤Ï 9 ¥Ý¥¤¥ó¥È¤ò»ÈÍѤ·¤Þ¤¹¡£

  Îã :
     set term qt font "Arial,12"
     set term qt font "Arial" # ¥Õ¥©¥ó¥È̾¤Î¤ßÊѹ¹
     set term qt font ",12" # ¥Õ¥©¥ó¥È¥µ¥¤¥º¤Î¤ßÊѹ¹
     set term qt font "" # ¥Õ¥©¥ó¥È̾¡¢¡¢¥Õ¥©¥ó¥È¥µ¥¤¥º¤ò¥ê¥»¥Ã¥È

Qt ¤Î¥ì¥ó¥À¥ê¥ó¥°Â®Å٤ϡ¢»ÈÍѤ¹¤ë¥ì¥ó¥À¥ê¥ó¥°¥â¡¼¥É¤Ë¤è¤Ã¤ÆÂ礭¤¯ÊѤï¤ê ¤Þ¤¹¡£Qt ¥Ð¡¼¥¸¥ç¥ó 4.7 °Ê¹ß¤Ç¤Ï¡¢¤³¤ì¤Ï´Ä¶­ÊÑ¿ô QT_GRAPHICSSYSTEM ¤ÇÀ©¸æ¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£»ØÄꤹ¤ë¥ª¥×¥·¥ç¥ó¤Ï¡¢¥ì¥ó¥À¥ê¥ó¥°Â®ÅÙ¤Îî¯ ¤¤½ç¤Ë¡¢"native", "raster", "opengl" ¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£½¾Íè¤Î Qt ¤Î ÈǤǤϡ¢¤³¤Î½ÐÎÏ·Á¼°¤Ç¤Ï¥Ç¥Õ¥©¥ë¥È¤ò "raster" ¤Ë¤·¤Þ¤¹¡£

²Äǽ¤Ê¸Â¤êºÇ¤âÎɤ¤½ÐÎϤòÀ¸À®¤¹¤ë¤¿¤á¤Ë¡¢¤³¤Î¥ì¥ó¥À¥ê¥ó¥°¤Ï¥¢¥ó¥Á¥¢¥ê¥¢ ¥¹¡¢¥ª¡¼¥Ð¡¼¥µ¥ó¥×¥ê¥ó¥°¡¢¥Ò¥ó¥Á¥ó¥°¤Î 3 ¤Ä¤Îµ¡¹½¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£ ¥ª¡¼¥Ð¡¼¥µ¥ó¥×¥ê¥ó¥°¤Ï¡¢¥¢¥ó¥Á¥¨¥¤¥ê¥¢¥¹¤ÈÁȤǥԥ¯¥»¥ë¤è¤ê¤â¾®¤µ¤¤¥µ¥¤ ¥º¤Ç¤ÎÀºÅÙ¤òÄ󶡤·¡¢gnuplot ¤¬ÈóÀ°¿ôºÂɸ¤ÎľÀþ¤ò½ñ¤±¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢ÂгÑÊý¸þ¤ÎľÀþ (Î㤨¤Ð 'plot x') ¤¬º¸±¦¤ËÍɤì¤ë¤Î¤òÈò¤±¤Þ¤¹¡£ ¥Ò¥ó¥Æ¥£¥ó¥°¤Ï¡¢¥ª¡¼¥Ð¡¼¥µ¥ó¥×¥ê¥ó¥°¤Ë¤è¤Ã¤Æ°ú¤­µ¯¤³¤µ¤ì¤ë¿åÊ¿¡¢¿âľÊý ¸þ¤ÎÀþʬ¤Î¤Ü¤«¤·¤òÈò¤±¤Þ¤¹¡£¤³¤Î½ÐÎÏ·Á¼°¤Ï¡¢¤³¤ì¤é¤ÎľÀþ¤òÀ°¿ôºÂɸ¤Ë· ¤¨¡¢¤½¤ì¤Ë¤è¤ê¡¢1 ¥Ô¥¯¥»¥ëÉý¤ÎľÀþ¤ÏËÜÅö¤Ë 1 ¤Ä (1 ¤Ä¤è¤ê¿¤¯¤â¾¯¤Ê¤¯ ¤â¤Ê¤¤) ¤Î¥Ô¥¯¥»¥ë¤ÇÉÁ²è¤·¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢ÉÁ²è¤¬¹Ô¤ï¤ì¤¿¤È¤­¤Ë¥¦¥£¥ó¥É¥¦¤Ï¥Ç¥¹¥¯¥È¥Ã¥×¤Î°ìÈÖ¾å (ºÇÁ°ÌÌ) ¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥­¡¼¥ï¡¼¥É "raise" ¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¡£ ¥­¡¼¥ï¡¼¥É "persist" ¤Ï¡¢¤¹¤Ù¤Æ¤ÎÉÁ²è¥¦¥¤¥ó¥É¥¦¤òÌÀ¼¨Åª¤ËÊĤ¸¤Ê¤¤´Ö ¤Ï¡¢gnuplot ¤¬½ªÎ»¤·¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤¹¡£ ºÇ¸å¤Ë¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï < space> ¥­¡¼¤Ï gnuplot ¥³¥ó¥½¡¼¥ë¥¦¥£¥ó¥É¥¦¤ò¾å ¤Ë¾å¤²¡¢'q' ¤ÏÉÁ²è¥¦¥£¥ó¥É¥¦¤òÊĤ¸¤Þ¤¹¡£¥­¡¼¥ï¡¼¥É "ctrl" ¤Ï¡¢¤½¤ì¤é ¤Î¥­¡¼³ä¤êÅö¤Æ¤ò¡¢¤½¤ì¤¾¤ì < ctrl> +< space> ¤È < ctrl> +'q' ¤ËÊѹ¹¤·¤Þ¤¹¡£

¥×¥í¥°¥é¥à¤Î¥³¥ó¥Ñ¥¤¥ë»þ¤ËÁªÂò¤·¤¿¾ì½ê¤Ë¡¢gnuplot ¤Î³°Éô¥É¥é¥¤¥Ð gnuplot_qt ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¤¬¡¢´Ä¶­ÊÑ¿ô GNUPLOT_DRIVER_DIR ¤òÊÌ ¤Ê¾ì½ê¤ËÀßÄꤹ¤ë¤³¤È¤ÇÃÖ¤­¾ì½ê¤òÊѹ¹¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

92.56 Regis

regis ¥É¥é¥¤¥Ð¤Ï REGIS ¥°¥é¥Õ¥£¥Ã¥¯¸À¸ì¤Ç¤Î½ÐÎϤòÀ¸À®¤·¤Þ¤¹¡£¤³¤Î¥É ¥é¥¤¥Ð¤Ë¤Ï¿§¤ò 4 ¿§»È¤¦¤« (¥Ç¥Õ¥©¥ë¥È) 16 ¿§»È¤¦¤«¤Î¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ ¤¹¡£

½ñ¼°:

     set terminal regis {4 | 16}

92.57 Sun

sun ¥É¥é¥¤¥Ð¤Ï SunView ¥¦¥£¥ó¥É¥¦¥·¥¹¥Æ¥à¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£¥ª¥× ¥·¥ç¥ó¤Ï¤¢¤ê¤Þ¤»¤ó¡£

92.58 Svg

¤³¤Î¥É¥é¥¤¥Ð¤Ï W3C SVG (Scalable Vector Graphics) ¥Õ¥©¡¼¥Þ¥Ã¥È¤òÀ¸À®¤· ¤Þ¤¹¡£

½ñ¼°:

     set terminal svg {size <x>,<y> {|fixed|dynamic}}
                      {{no}enhanced}
                      {fname "<font>"} {fsize <fontsize>}
                      {mouse} {standalone | jsdir <dirname>}
                      {name <plotname>}
                      {font "<fontname>{,<fontsize>}"}
                      {fontfile <filename>}
                      {rounded|butt} {solid|dashed} {linewidth <lw>}
                      {background <rgb_color>}

¤³¤³¤Ç < x> ¤È < y> ¤ÏÀ¸À®¤µ¤ì¤ë SVG ¥°¥é¥Õ¤Î¥µ¥¤¥º¤Ç¤¹¤¬¡¢dynamic ¤Ï svg ¥Ó¥å¡¼¥ï¤ËÉÁ²è¤Î¥ê¥µ¥¤¥º¤òµö¤·¡¢fixed ¤ÏÀäÂÐ¥µ¥¤¥º¤òÍ׵ᤷ¤Þ¤¹ (¥Ç¥Õ¥©¥ë¥È)¡£

linewidth < w> ¤Ï¿Þ¤ÎÃæ¤Ç»ÈÍѤµ¤ì¤ëÁ´¤Æ¤ÎÀþ¤ÎÉý¤ò°ø»Ò < w> ¤À¤±Áý²Ã¤µ ¤»¤Þ¤¹¡£

< font> ¤Ï¥Ç¥Õ¥©¥ë¥È¤È¤·¤Æ»È¤ï¤ì¤ë¥Õ¥©¥ó¥È̾ (¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï Arial)¡¢ < fontsize> ¤Ï¥Ý¥¤¥ó¥Èñ°Ì¤Ç¤Î¥Õ¥©¥ó¥È¥µ¥¤¥º (¥Ç¥Õ¥©¥ë¥È¤Ï 12) ¤Ç¤¹¡£ svg ¥Ó¥å¡¼¥ï¥½¥Õ¥È¤Ï¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤Îɽ¼¨¤ÎºÝ¤Ë¤ÏÊ̤ÎÂåÍÑ¥Õ¥©¥ó¥È¤ò»È¤¦ ¤³¤È¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£

svg ½ÐÎÏ·Á¼°¤Ï³Èĥʸ»úÎó½èÍýµ¡Ç½ (enhanced) ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£¤³¤ì ¤Ï¡¢¥Õ¥©¥ó¥È»ØÄê¤ä¾¤Î½ñ¼°Ì¿Îá¤ò¥é¥Ù¥ë¤ä¾¤Îʸ»úÎóÆâ¤ËËä¤á¹þ¤à¤³¤È¤ò²Ä ǽ¤Ë¤·¤Þ¤¹¡£³Èĥʸ»úÎó½èÍý¥â¡¼¥É¤Î½ñ¼°»ØÄê¤Ï¾¤Î½ÐÎÏ·Á¼°¤Î¾ì¹ç¤ÈƱ¤¸¤Ç ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: enhanced (12)¡£

¥ª¥×¥·¥ç¥ó mouse ¤Ï¡¢¥Þ¥¦¥¹¥È¥é¥Ã¥­¥ó¥°µ¡Ç½¤È¡¢Âбþ¤¹¤ë key ¾å¤Ç¥¯¥ê ¥Ã¥¯¤¹¤ë¤³¤È¤Ç¤½¤ì¤¾¤ì¤Î¥°¥é¥Õ¤ÎÉÁ²è¤ò On/Off ¤Ë¤¹¤ëµ¡Ç½¤ò¥µ¥Ý¡¼¥È¤òÄÉ ²Ã¤¹¤ë¤³¤È¤ò gnuplot ¤Ë»Ø¼¨¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥í¡¼¥«¥ë¥Ç¥£¥ì¥¯¥È¥ê¡¢ Ä̾ï¤Ï /usr/local/share/gnuplot/< version> /js Æâ¤Î¤¢¤ë¥¹¥¯¥ê¥×¥È¤ò»Ø¤¹¥ê ¥ó¥¯¤ò¼è¤ê¹þ¤à¤³¤È¤Ç¹Ô¤ï¤ì¤Þ¤¹¤¬¡¢¥ª¥×¥·¥ç¥ó jsdir ¤ËÊÌ¤Î¥í¡¼¥«¥ë¥Ç¥£ ¥ì¥¯¥È¥ê¤«¡¢Ä̾ï¤Î URL ¤ò»ØÄꤹ¤ë¤³¤È¤Ç¤³¤ì¤ÏÊѹ¹¤Ç¤­¤Þ¤¹¡£SVG ²èÁü¤ò Web ¥Ú¡¼¥¸¤ËÆþ¤ì¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢ÉáÄ̤ϸå¼Ô¤Î URL ¤ÎÊý¤ò»ØÄꤷ¤Þ¤¹¡£°ìÊý¤Ç ¥ª¥×¥·¥ç¥ó standalone ¤Ï¡¢¥Þ¥¦¥¹Áàºî¥×¥í¥°¥é¥à¤ò SVG ʸ½ñ¼«ÂΤËËä¤á¹þ ¤ß¡¢³°Éô¥ê¥½¡¼¥¹¤Ø¤Î¥ê¥ó¥¯¤Ï¹Ô¤¤¤Þ¤»¤ó¡£

SVG ¥Õ¥¡¥¤¥ë¤ò²¿¤«¤Î³°Éô¥Õ¥¡¥¤¥ë¤ÈÁȤ߹ç¤ï¤»¤ÆÍøÍѤ·¤¿¤¤¾ì¹ç¡¢Î㤨¤Ð¤½ ¤ì¤¬ PNG ²èÁü¤òÆâÉô¤Ë»ý¤Ã¤Æ¤¤¤¿¤ê¡¢¤¢¤ë Web ¥Ú¡¼¥¸¤ä¤½¤ì¤¬Ëä¤á¹þ¤ó¤Ç¤¤ ¤ëʸ½ñ¤Î javascript¥³¡¼¥É¤«¤é»²¾È¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ê¾ì¹ç¡¢Â¾¤Î SVG ¥°¥é¥Õ ¤Ø¤Î»²¾È¤È¤Î¾×ÆͤòÈò¤±¤ë¤¿¤á¤Ë°ì°ÕŪ¤Ê̾Á°¤¬É¬Íפˤʤê¤Þ¤¹¡£¤½¤Î¾ì¹ç¤Ï ¥ª¥×¥·¥ç¥ó name ¤ò»È¤Ã¤Æ¸ÇÍ­¤Î̾Á°¤ò³ÎÊݤ·¤Æ¤¯¤À¤µ¤¤¡£

SVG ¤Ç¤Ï¡¢SVG ʸ½ñÃæ¤Ë¥Õ¥©¥ó¥È¤òľÀÜËä¤á¹þ¤à¤³¤È¤â¤Ç¤­¤Þ¤¹¤·¡¢¹¥¤­¤Ê¥Õ ¥©¥ó¥È¤Ø¤Î¥Ï¥¤¥Ñ¡¼¥ê¥ó¥¯¤òÍ¿¤¨¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£fontfile ¥ª¥×¥·¥ç¥ó ¤Ë¤Ï¡¢·ë²Ì¤È¤·¤Æ½ÐÎϤµ¤ì¤ë SVG ¥Õ¥¡¥¤¥ë¤Î < defs> ¥»¥¯¥·¥ç¥ó¤ÎÃæ¤Ë¥³¥Ô ¡¼¤µ¤ì¤ë¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¤½¤ì¼«¿È¤¬¥Õ¥© ¥ó¥È¤ò´Þ¤ó¤Ç¤¤¤ë¤«¡¢¤Þ¤¿¤Ï´üÂÔ¤¹¤ë¥Õ¥©¥ó¥È¤ò»²¾È¤¹¤ë¥Ï¥¤¥Ñ¡¼¥ê¥ó¥¯¤òÀ¸ À®¤¹¤ë¤¿¤á¤Î¹Ô¤ò´Þ¤à¤â¤Î¤Î¤É¤Á¤é¤«¤Ç¤¹¡£gnuplot ¤Ï¡¢´Ä¶­ÊÑ¿ô GNUPLOT_FONTPATH ¤Î¥Ç¥£¥ì¥¯¥È¥ê¥ê¥¹¥È¤«¤éÍ׵ᤵ¤ì¤¿¥Õ¥¡¥¤¥ë¤òõ¤·¤Þ¤¹¡£ Ãí: TrueType ¤ä PostScript ¥Õ¥©¥ó¥È¤Ç¤Ï¤Ê¤¤ svg ¥Õ¥©¥ó¥È¤òËä¤á¹þ¤àɬÍ× ¤¬¤¢¤ê¤Þ¤¹¡£

92.59 Svga

svga ¥É¥é¥¤¥Ð¤Ï SVGA ¥°¥é¥Õ¥£¥Ã¥¯¤Î PC ¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¤³¤ì¤Ï DJGPP ¤Ç¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¾ì¹ç¤Î¤ß»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó¤Ï¥Õ¥©¥ó ¥È¤Ë´Ø¤¹¤ë¤â¤Î¤Î¤ß¤Ç¤¹¡£

½ñ¼°:

     set terminal svga {"<fontname>"}

92.60 Tek40

¤³¤Î¥É¥é¥¤¥Ð·²¤Ï VT-¥é¥¤¥¯¤ÊüËö¤Î¤¤¤¯¤Ä¤«¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£tek40xx ¤Ï Tektronix 4010 ¤È¤½¤Î¾¤Û¤È¤ó¤É¤Î TEK ¥¨¥ß¥å¥ì¡¼¥¿¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£ vttek ¤Ï VT-¥é¥¤¥¯¤Ê tek40xx üËö¥¨¥ß¥å¥ì¡¼¥¿¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£ °Ê²¼¤Î¤â¤Î¤Ï¡¢gnuplot ¤Î¥³¥ó¥Ñ¥¤¥ë»þ¤ËÁªÂò¤µ¤ì¤¿¤â¤Î¤Î¤ß¤¬ÍøÍѤǤ­¤Þ¤¹:kc-tek40xx ¤Ï¥«¥é¡¼¤Î MS-DOS Kermit Tek4010 ¥¿¡¼¥ß¥Ê¥ë¥¨¥ß¥å¥ì¡¼¥¿¤ò¡¢km-tek40xx ¤Ï¤½¤ÎÇò¹õÈǤò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£ selanar ¤Ï Selanar ¥°¥é¥Õ¥£¥Ã¥¯Ã¼Ëö¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£ bitgraph ¤Ï BBN Bitgraph üËö¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£ ¤¤¤º¤ì¤â¥ª¥×¥·¥ç¥ó¤Ï¤¢¤ê¤Þ¤»¤ó¡£

92.61 Tek410x

tek410x ¥É¥é¥¤¥Ð¤Ï Tektronix 410x, 420x ¥Õ¥¡¥ß¥ê¡¼¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ ¤¹¡£¥ª¥×¥·¥ç¥ó¤Ï¤¢¤ê¤Þ¤»¤ó¡£

92.62 Texdraw

texdraw ¥É¥é¥¤¥Ð¤Ï LaTeX texdraw ´Ä¶­¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¤½¤ì¤Ï texdraw ¥Ñ¥Ã¥±¡¼¥¸¤Î "texdraw.sty" ¤È "texdraw.tex" ¤È¶¦¤Ë»ÈÍѤµ¤ì¤ë¤³¤È¤ò²¾Äê ¤·¤Æ¤¤¤Þ¤¹¡£

¿ô¤¢¤ëÃæ¤Ç¡¢ÅÀ (point) ¤Ï¡¢LaTeX ¤Î¥³¥Þ¥ó¥É " \ Diamond", " \ Box" ¤Ê¤É¤ò »È¤Ã¤ÆÉÁ¤«¤ì¤Þ¤¹¡£¤³¤ì¤é¤Î¥³¥Þ¥ó¥É¤Ï¸½ºß¤Ï LaTeX2e ¤Î¥³¥¢¤Ë¤Ï¸ºß¤»¤º latexsym ¥Ñ¥Ã¥±¡¼¥¸¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢¤³¤Î¥Ñ¥Ã¥±¡¼¥¸´ðËÜÇÛÉۤΰìÉô¤Ç ¤¢¤ê¡¢¤è¤Ã¤Æ¿¤¯¤Î LaTeX ¤Î¥·¥¹¥Æ¥à¤Î°ìÉô¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥Ñ¥Ã¥±¡¼ ¥¸¤ò»È¤¦¤³¤È¤ò˺¤ì¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£

¥ª¥×¥·¥ç¥ó¤Ï¤¢¤ê¤Þ¤»¤ó¡£

92.63 Tgif

Tgif ¤Ï X11 ¥Ù¡¼¥¹¤Î¥É¥í¡¼¥Ä¡¼¥ë¤Ç¤¹ -- ¤¿¤À¤·¡¢¤³¤ì¤Ï GIF ¤Ë´Ø¤·¤Æ²¿ ¤«¤¹¤ë¤ï¤±¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£

tgif ¥É¥é¥¤¥Ð¤ÏÊ£¿ô¤ÎÅÀ¤ÎÂ礭¤µ (set pointsize ¤Ç)¡¢Ê£¿ô¤Î¸«½Ð¤·ÍÑ ¤Î¥Õ¥©¥ó¥È¡¢¥Õ¥©¥ó¥È¥µ¥¤¥º (Î㤨¤Ð set label "Hallo" at x,y font "Helvetica,34")¡¢¤½¤·¤Æ 1 ¥Ú¡¼¥¸Æâ¤ÎÊ£¿ô¤Î¥°¥é¥ÕÉÁ²è¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£ ¼´¤ÎÈæΨ¤ÏÊѹ¹¤µ¤ì¤Þ¤»¤ó¡£

½ñ¼°:

     set terminal tgif {portrait | landscape | default} {<[x,y]>}
                       {monochrome | color}
                       {{linewidth | lw} <LW>}
                       {solid | dashed}
                       {font "<fontname>{,<fontsize>}"}

< [x,y]> ¤Ë¤Ï¤½¤Î¥Ú¡¼¥¸Æâ¤Î x Êý¸þ¡¢y Êý¸þ¤Î¥°¥é¥Õ¤Î¿ô¤ò»ØÄꤷ¡¢ color ¤Ï¥«¥é¡¼µ¡Ç½¤òÍ­¸ú¤Ë¤·¡¢linewidth ¤ÏÁ´¤Æ¤ÎÀþÉý¤ò < LW> Çܤ·¡¢ "< fontname> " ¤Ë¤ÏÍ­¸ú¤Ê PostScript ¥Õ¥©¥ó¥È̾¡¢< fontsize> ¤Ï¤½¤Î PostScript ¥Õ¥©¥ó¥È¤ÎÂ礭¤µ¤ò»ØÄꤷ¤Þ¤¹¡£defaults ¤ÏÁ´¤Æ¤Î¥ª¥×¥·¥ç¥ó ¤ÎÃͤò¥Ç¥Õ¥©¥ë¥È¤ÎÃͤ˥»¥Ã¥È¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï portrait, [1,1], color, linewidth 1.0, dashed, "Helvetica,18" ¤Ç¤¹¡£

solid ¥ª¥×¥·¥ç¥ó¤Ï¡¢ÊÔ½¸ºî¶ÈÃæ¤Ë¤½¤¦¤Ç¤¢¤ë¤è¤¦¤Ë¡¢Àþ¤¬¥«¥é¡¼¤Ç¤¢¤ë¾ì ¹ç¤ËÉáÄ̻Ȥï¤ì¤Þ¤¹¡£¥Ï¡¼¥É¥³¥Ô¡¼¤ÏÇò¹õ¤Ë¤Ê¤ë¤³¤È¤¬Â¿¤¤¤Î¤Ç¡¢¤½¤Î¾ì¹ç¤Ï dashed ¤òÁªÂò¤¹¤Ù¤­¤Ç¤·¤ç¤¦¡£

¿½ÅÉÁ²è (multiplot) ¤Ï 2 ¼ïÎà¤ÎÊýË¡¤Ç¼ÂÁõ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

¤½¤Î°ì¤Ä¤Ï¡¢É¸½àŪ¤Ê gnuplot ¤Î¿½ÅÉÁ²è¤Î¤ä¤êÊý¤Ç¤¹:


     set terminal tgif
     set output "file.obj"
     set multiplot
     set origin x01,y01
     set size  xs,ys
     plot ...
          ...
     set origin x02,y02
     plot ...
     unset multiplot

¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼»²¾È: set multiplot (82.41)¡£

¤â¤¦°ì¤Ä¤ÎÊýË¡¤Ï¥É¥é¥¤¥Ð¤Î [x,y] ¥ª¥×¥·¥ç¥ó¤Ç¤¹¡£¤³¤ÎÊýË¡¤ÎĹ½ê¤Ï¡¢¸¶ ÅÀ (origin) ¤äÂ礭¤µ (size) ¤ÎÀßÄê¤ò¤·¤Ê¤¯¤Æ¤âÁ´¤Æ¤Î¥°¥é¥Õ¤¬¼«Æ°Åª¤Ë½Ì ¼Ü¤µ¤ìÇÛÃÖ¤µ¤ì¤ë¤³¤È¤Ç¤¹¡£¥°¥é¥Õ¤ÎÈæ x/y ¤Ï¡¢¼«Á³¤ÊÈæ 3/2 (¤Þ¤¿¤Ï set size ¤ÇÀßÄꤵ¤ì¤¿¤â¤Î) ¤¬ÊÝ»ý¤µ¤ì¤Þ¤¹¡£

ξÊý¤Î¿½ÅÉÁ²è¤Î¼ÂÁõ¤¬ÁªÂò¤µ¤ì¤¿¾ì¹ç¡¢É¸½àŪ¤Ê¤ä¤êÊý¤ÎÊý¤¬ÁªÂò¤µ¤ì¡¢·Ù ¹ð¤Î¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£

ñ°ìÉÁ²è (¤Þ¤¿¤Ïɸ½àŪ¤Ê¿½ÅÉÁ²è) ¤ÎÎã:

     set terminal tgif                  # ¥Ç¥Õ¥©¥ë¥È
     set terminal tgif "Times-Roman,24"
     set terminal tgif landscape
     set terminal tgif landscape solid

¥É¥é¥¤¥Ð¤Î»ý¤Ä¿½ÅÉÁ²è¤Î»ÅÁȤߤòÍøÍѤ¹¤ëÎã:

     set terminal tgif portrait [2,4]  # ½ÄÃÖ¡¢x-Êý¸þ¤Ë 2 ¤Ä¡¢y-Êý¸þ
                                       # ¤Ë 4 ¤Ä¤Î¥°¥é¥ÕÉÁ²è
     set terminal tgif [1,2]           # ½ÄÃÖ¡¢x-Êý¸þ¤Ë 1 ¤Ä¡¢y-Êý¸þ
                                       # ¤Ë 2 ¤Ä¤Î¥°¥é¥ÕÉÁ²è
     set terminal tgif landscape [3,3] # ²£ÃÖ¡¢Î¾Êý¤ÎÊý¸þ¤Ë 3 ¤Ä¤Î¥°
                                       # ¥é¥ÕÉÁ²è

92.64 Tikz

¤³¤Î¥É¥é¥¤¥Ð¤Ï¡¢TeX ¤Î¥°¥é¥Õ¥£¥Ã¥¯¥Þ¥¯¥í¤Î TikZ ¥Ñ¥Ã¥±¡¼¥¸¤È¤È¤â¤Ë»ÈÍÑ ¤¹¤ë½ÐÎϤòÀ¸À®¤·¤Þ¤¹¡£¸½ºß¤Ï¡¢³°Éô lua script ¤Ë¤è¤Ã¤Æ¼ÂÁõ¤µ¤ì¤Æ¤¤¤Æ¡¢ set term tikz ¤Ï set term lua tikz ¤Î¾Êά·Á¤Ç¤¹¡£¾ÜºÙ¤Ï°Ê²¼»²¾È:term lua (92.38)¡£½ÐÎÏ·Á¼°¤Î¥ª¥×¥·¥ç¥ó¤òɽ¼¨¤µ¤»¤ë¤Ë¤Ï¡¢set term tikz help ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£

92.65 Tkcanvas

¤³¤Î¥É¥é¥¤¥Ð¤Ï Tcl/Tk ¥Ù¡¼¥¹ (¥Ç¥Õ¥©¥ë¥È)¡¢¤Þ¤¿¤Ï Perl ¥Ù¡¼¥¹¤Î Tk canvas widget ¥³¥Þ¥ó¥É¤òÀ¸À®¤·¤Þ¤¹¡£¤³¤ì¤ò»È¤¦¤Ë¤Ï¡¢"term.h" ¤Î¤³¤Î¥É ¥é¥¤¥Ð¤ËÂбþ¤¹¤ë¹Ô¤Î¥³¥á¥ó¥Èµ­¹æ¤ò³°¤¹¤«Å¬Åö¤Ê¹Ô¤ò½ñ¤­²Ã¤¨¤Æ gnuplot ¤ò make ¤·Ä¾¤·¤Æ¡¢°Ê²¼¤Î¤è¤¦¤Ë¼Â¹Ô¤·¤Þ¤¹¡£


gnuplot> set term tkcanvas {perltk} {interactive}
gnuplot> set output 'plot.file'

¤½¤·¤Æ "wish" ¤òµ¯Æ°¤·¤¿¸å¤Ç¡¢°Ê²¼¤Î Tcl/Tk ¥³¥Þ¥ó¥ÉÎó¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤:


% source plot.file
% canvas .c
% pack .c
% gnuplot .c

Perl/Tk ¤Î¾ì¹ç¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ¤³¤Î¥×¥í¥°¥é¥à¤ò»È¤¤¤Þ¤¹:


use Tk;
my $top = MainWindow->new;
my $c = $top->Canvas->pack;
my $gnuplot = do "plot.pl";
$gnuplot->($c);
MainLoop;

gnuplot ¤Ë¤è¤Ã¤ÆÀ¸À®¤µ¤ì¤¿¥³¡¼¥É¤Ï "gnuplot" ¤È¸Æ¤Ð¤ì¤ë¼ê³¤­¤òºî¤ê¡¢ ¤½¤ì¤Ï¤½¤Î°ú¿ô¤ò canvas ¤Î̾Á°¤È¤·¤Þ¤¹¡£¤½¤Î¼ê³¤­¤¬¸Æ¤Ð¤ì¤ë¤È¡¢¤½¤ì¤Ï canvas ¤ò¥¯¥ê¥¢¤·¡¢canvas ¤Î¥µ¥¤¥º¤ò¸«¤Ä¤±¡¢¤½¤ÎÃæ¤ËÃúÅÙ¼ý¤Þ¤ë¤è¤¦¤Ë¥° ¥é¥Õ¤ò½ñ¤­¤Þ¤¹¡£

2 ¼¡¸µ¤ÎÉÁ²è (plot) ¤Ç¤Ï 2 ¤Ä¤Î¼ê³¤­¤¬Äɲ䵤ì¤ÆÄêµÁ¤µ¤ì¤Þ¤¹: "gnuplot_plotarea" ¤ÏÉÁ²èÈϰϤζ­³¦¤ò´Þ¤à¥ê¥¹¥È "xleft, xright, ytop, ybot" ¤ò canvas ¥¹¥¯¥ê¡¼¥óºÂɸ¤ÇÊÖ¤·¡¢2 ¤Ä¤ÎÂФμ´¤ÎÉÁ²èºÂɸ¤Ç¤ÎÈÏ°Ï "x1min, x1max, y1min, y1max, x2min, x2max, y2min, y2max" ¤Ï¼ê³¤­ "gnuplot_axisranges" ¤ò¸Æ¤Ù¤ÐÆÀ¤é¤ì¤Þ¤¹¡£"interactive" ¥ª¥×¥·¥ç¥ó¤ò»Ø Äꤹ¤ë¤È¡¢canvas ¤ÎÀþʬ¾å¤Ç¥Þ¥¦¥¹¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤È¤½¤ÎÀþʬ¤ÎÃæÅÀ¤ÎºÂɸ ¤¬É¸½à½ÐÎϤ˽ÐÎϤµ¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£¤µ¤é¤Ë¡¢"user_gnuplot_coordinates" ¤È¤¤¤¦¼ê³¤­¤òÄêµÁ¤¹¤ë¤³¤È¤Ç¡¢¤½¤ì¤ËÂå¤ï¤ë¿·¤¿¤ÊÆ°ºî¤òµ¯¤³¤¹¤³¤È¤â²Äǽ ¤Ç¤¹¡£¤½¤Î¼ê³¤­¤Ë¤Ï°Ê²¼¤Î°ú¿ô¤¬ÅϤµ¤ì¤Þ¤¹: "win id x1s y1s x2s y2sx1e y1e x2e y2e x1m y1m x2m y2m"¡¢¤³¤ì¤é¤Ï¡¢canvas ¤Î̾Á°¡¢Àþʬ¤Î id¡¢2 ¤Ä¤ÎºÂɸ·Ï¤Ç¤Î¤½¤ÎÀþʬ¤Î³«»ÏÅÀ¤ÎºÂɸ¡¢½ªÎ»ÅÀ¤ÎºÂɸ¡¢¤½¤·¤ÆÃæÅÀ¤ÎºÂɸ¤Ç¤¹¡£ÃæÅÀ¤ÎºÂɸ¤ÏÂпô¼´¤ËÂФ·¤Æ¤Î¤ßÍ¿¤¨¤é¤ì¤Þ¤¹¡£

tkcanvas ¤Î¸½ºß¤ÎÈÇ¤Ç¤Ï multiplot ¤â replot ¤â¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤» ¤ó¡£

92.66 Tpic

tpic ¥É¥é¥¤¥Ð¤Ï tpic \ special ¤Ç¤Î LaTeX picture ´Ä¶­¤ÎÉÁ²è¤ò¥µ¥Ý¡¼ ¥È¤·¤Þ¤¹¡£ ¤³¤ì¤Ï latex ¤ä eepic ¥É¥é¥¤¥Ð¤ËÂå¤ï¤ëÊ̤ÊÁªÂò»è¤Ç¤¹¡£ ÅÀ¤ÎÂ礭¤µ (pointsize)¡¢Àþ¤ÎÉý (linewidth)¡¢ÅÀÀþ¤ÎÅÀ¤Î´Ö³Ö (interval) ¤Ë´Ø¤¹¤ë¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£

½ñ¼°:

     set terminal tpic <pointsize> <linewidth> <interval>

pointsize ¤È linewidth ¤ÏÀ°¿ô¤Ç¥ß¥ê¥¤¥ó¥Áñ°Ì¡¢interval ¤Ï¼Â¿ô¤Ç ñ°Ì¤Ï¥¤¥ó¥Á¤Ç¤¹¡£Àµ¤Ç¤Ê¤¤Ãͤò»ØÄꤹ¤ë¤È¥Ç¥Õ¥©¥ë¥È¤ÎÃͤ¬»È¤ï¤ì¤Þ¤¹¡£¥Ç ¥Õ¥©¥ë¥È¤Ç¤Ï pointsize = 40, linewidth = 6, interval = 0.1 ¤Ç¤¹¡£

LaTeX ¤Ë´Ø¤¹¤ëÁ´¤Æ¤Î¥É¥é¥¤¥Ð¤Ïʸ»úÎó¤ÎÇÛÃÖ¤ÎÀ©¸æ¤ËÆÃÊ̤ÊÊýË¡¤òÄ󶡤·¤Þ ¤¹: '{' ¤Ç»Ï¤Þ¤ëʸ»úÎó¤Ï¡¢'}' ¤ÇÊĤ¸¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤¬¡¢¤½¤Îʸ»úÎóÁ´ÂÎ ¤¬ LaTeX ¤Ë¤è¤Ã¤Æ¿åÊ¿Êý¸þ¤Ë¤â¿âľÊý¸þ¤Ë¤â¥»¥ó¥¿¥ê¥ó¥°¤µ¤ì¤Þ¤¹¡£'[' ¤Ç »Ï¤Þ¤ëʸ»úÎó¤Î¾ì¹ç¤Ï¡¢°ÌÃ֤λØÄê¤ò¤¹¤ëʸ»úÎó (t,b,l,r ¤Î¤¦¤Á 2 ¤Ä¤Þ¤Ç) ¤¬Â³¤­¡¢¼¡¤Ë ']{'¡¢Ê¸»úÎóËÜÂΡ¢¤ÇºÇ¸å¤Ë '}' ¤È¤·¤Þ¤¹¤¬¡¢¤³¤Îʸ»úÎó¤Ï LaTeX ¤¬ LR-box ¤È¤·¤ÆÀ°·Á¤·¤Þ¤¹¡£ \ rule{}{} ¤ò»È¤¨¤Ð¤µ¤é¤ËÎɤ¤°ÌÃÖ¹ç¤ï ¤»¤¬²Äǽ¤Ç¤·¤ç¤¦¡£

Îã: ¸«½Ð¤·¤Î°ÌÃÖ¹ç¤ï¤»¤Ë´Ø¤·¤Æ: gnuplot ¤Î¥Ç¥Õ¥©¥ë¥È (ÂçÄñ¤½¤ì¤Ê¤ê¤Ë¤Ê¤ë¤¬¡¢¤½¤¦¤Ç¤Ê¤¤¤³¤È¤â¤¢¤ë):

      set title '\LaTeX\ -- $ \gamma $'

¿åÊ¿Êý¸þ¤Ë¤â¿âľÊý¸þ¤Ë¤â¥»¥ó¥¿¥ê¥ó¥°:
      set label '{\LaTeX\ -- $ \gamma $}' at 0,0

°ÌÃÖ¤òÌÀ¼¨Åª¤Ë»ØÄê (¾å¤Ë¹ç¤ï¤»¤ë):
      set xlabel '[t]{\LaTeX\ -- $ \gamma $}'

¾¤Î¸«½Ð¤· - ÌÜÀ¹¤ê¤ÎŤ¤¸«½Ð¤·¤ËÂФ¹¤ë¸«ÀѤê:
      set ylabel '[r]{\LaTeX\ -- $ \gamma $\rule{7mm}{0pt}}'

92.67 Vgagl

¥É¥é¥¤¥Ð vgagl ¤Ï¥Þ¥¦¥¹¤È pm3d ¤ò´°Á´¤Ë¥µ¥Ý¡¼¥È¤·¤¿¡¢linux ¤Î¹â®¤Ê ¥³¥ó¥½¡¼¥ë¥É¥é¥¤¥Ð¤Ç¤¹¡£¥Ç¥Õ¥©¥ë¥È¥â¡¼¥É¤ÎÀßÄê¤Ë¤Ï ´Ä¶­ÊÑ¿ô SVGALIB_DEFAULT_MODE ¤ò»²¾È¤·¤Þ¤¹¤¬¡¢ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï 256 ¿§¥â¡¼ ¥É¤ÇÍ­¸ú¤Ê²òÁüÅ٤Τ¦¤ÁºÇ¤â¹â¤¤¤â¤Î¤òÁªÂò¤·¤Þ¤¹¡£

½ñ¼°:

  set terminal vgagl \
               background [red] [[green] [blue]] \
               [uniform | interpolate] \
               [mode]

¥«¥é¡¼¥â¡¼¥É¤Ï mode ¥ª¥×¥·¥ç¥ó¤ÇÍ¿¤¨¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£G1024x768x256 ¤Î ¤è¤¦¤Êµ­¹æŪ̾¾Î¤äÀ°¿ô¤ÇÍ¿¤¨¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó background ¤Ï [0, 255] ¤ÎÈϰϤÎÀ°¿ô 1 ¤Ä¡¢¤Þ¤¿¤Ï 3 ¤Ä¤ÎÁȤò¼è¤ê¤Þ¤¹¡£À°¿ô 1 ¤Ä¤Î ¾ì¹ç¤Ï¤½¤ì¤ÏÇطʤγ¥¿§¤ÎÃͤȸ«¤Ê¤µ¤ì¡¢3 ¤Ä¤ÎÁȤξì¹ç¤Ï¤½¤ì¤ËÂбþ¤·¤¿¿§ ¤¬Çطʤ˼è¤é¤ì¤Þ¤¹¡£ Áê¸ß¤ËÇÓ¾Ū¤Ê¥ª¥×¥·¥ç¥ó interpolate ¤È uniform ¤Ï¡¢»°³Ñ·Á¤ÎÅɤê¤Ä ¤Ö¤·¤ÎºÝ¤Ë¿§¤ÎÊä´Ö¤¬¹Ô¤¦¤«¤É¤¦¤« (¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï ON) ¤òÀ©¸æ¤·¤Þ¤¹¡£

¹â²òÁüÅ٥⡼¥É¤òÆÀ¤ë¤Ë¤Ï¡¢Â¿Ê¬ libvga ¤ÎÀßÄê¥Õ¥¡¥¤¥ë (Ä̾ï /etc/vga/libvga.conf) ¤ò½¤Àµ¤¹¤ëɬÍפ¬¤¢¤ë¤Ç¤·¤ç¤¦¡£VESA fb ¤ò»È¤¦¤Î¤Ï Îɤ¤ÁªÂò¤Ç¤¹¤¬¡¢¤½¤ì¤Ï¥«¡¼¥Í¥ë¤Î¥³¥ó¥Ñ¥¤¥ë¤¬É¬ÍפǤ¹¡£

vgagl ¥É¥é¥¤¥Ð¤Ï¡¢°Ê²¼¤Î¥ê¥¹¥È¤Î¤¦¤Á¤Î *Í­¸ú¤Ê* vga ¥â¡¼¥É¤ÎºÇ½é¤Î¤â¤Î¤ò»ÈÍѤ·¤Þ¤¹¡£

- vgagl ¤ÎÀßÄê»þ¤ËÍ¿¤¨¤é¤ì¤ë¥â¡¼¥É¡¢Î㤨¤Ð `set term vgagl G1024x768x256`
  ¤ÏºÇ½é¤Ë G1024x768x256 ¥â¡¼¥É¤¬Í­¸ú¤«¤É¤¦¤«¥Á¥§¥Ã¥¯¤·¤Þ¤¹¡£
- ´Ä¶­ÊÑ¿ô SVGALIB_DEFAULT_MODE
- G1024x768x256
- G800x600x256
- G640x480x256
- G320x200x256
- G1280x1024x256
- G1152x864x256
- G1360x768x256
- G1600x1200x256

92.68 VWS

VWS ¥É¥é¥¤¥Ð¤Ï VAX ¥¦¥£¥ó¥É¥¦¥·¥¹¥Æ¥à¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£¥ª¥×¥·¥ç¥ó¤Ï ¤¢¤ê¤Þ¤»¤ó¡£¤³¤Î¥É¥é¥¤¥Ð¤Ï¥Ç¥£¥¹¥×¥ì¥¤¤Î¾õÂÖ (Çò¹õ¤«¡¢¥°¥ì¥¤¥¹¥±¡¼¥ë¤« ¥«¥é¡¼¤«) ¤ò¼«Æ°¸¡ÃΤ·¤Þ¤¹¡£Á´¤Æ¤ÎÀþ¼ï¤Ï¼ÂÀþ¤ÇÉÁ²è¤µ¤ì¤Þ¤¹¡£

92.69 Vx384

vx384 ¥É¥é¥¤¥Ð¤Ï Vectrix 384 ¤È Tandy ¥«¥é¡¼¥×¥ê¥ó¥¿¤ò¥µ¥Ý¡¼¥È¤·¤Þ ¤¹¡£¥ª¥×¥·¥ç¥ó¤Ï¤¢¤ê¤Þ¤»¤ó¡£

92.70 Windows

½ÐÎÏ·Á¼° windows ¤Ï¡¢¥°¥é¥ÕÉÁ²è¤Èʸ»úÎóÉÁ²è¤Ë Windows GDI ¤ò»ÈÍѤ¹¤ë ¹â®¤ÊÂÐÏ÷¿½ÐÎϥɥ饤¥Ð¤Ç¤¹¡£Windows ¤Ç¤Ï¡¢Ê£¿ô¤Î´Ä¶­¤ÇÆ°ºî¤¹¤ë wxt ½ÐÎÏ·Á¼°¤â¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

½ñ¼°:

     set terminal windows {<n>}
                          {color | monochrome}
                          {solid | dashed}
                          {enhanced | noenhanced}
                          {font <fontspec>}
                          {linewdith <scale>}
                          {fontscale <scale>}
                          {linewdith <scale>}
                          {background <rgb color>}
                          {title "Plot Window Title"}
                          {size <width>,<height>}
                          {position <x>,<y>}
                          {close}

Ê£¿ô¤Î¥¦¥£¥ó¥É¥¦ÉÁ²è¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹: set terminal win < n> ¤Ç ½ÐÎϤ¬ÈÖ¹æ n ¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦¤ËÁ÷¤é¤ì¤Þ¤¹¡£

color, monochrome ¤Ï¡¢¥«¥é¡¼½ÐÎϤ«Çò¹õ½ÐÎϤ«¤ÎÁªÂò¤Ç¡¢ dashed ¤È solid ¤Ï¡¢ÅÀÀþ¤È¼ÂÀþ¤ÎÁªÂò¤Ç¤¹¡£color ¤Ç¤Ï solid ¤¬ ¥Ç¥Õ¥©¥ë¥È¤Ç¡¢monochrome ¤Ç¤Ï dashed ¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¹¡£ enhanced ¤Ï³Èĥʸ»úÎó½èÍý (enhanced text mode) ¤Îµ¡Ç½ (¾åÉÕ¡¢²¼ÉÕʸ»ú ¤ä¥Õ¥©¥ó¥È¤Îº®ºß) ¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£¾ÜºÙ¤Ï°Ê²¼»²¾È: enhanced text (12)¡£ < fontspec> ¤Ï "< fontface> ,< fontsize> " ¤Î·Á¼°¤Ç¡¢"< fontface> " ¤ÏÍ­ ¸ú¤Ê Windows ¤Î¥Õ¥©¥ó¥È̾¤Ç¡¢< fontsize> ¤Ï¥Ý¥¤¥ó¥Èñ°Ì¤Ç¤Î¥Õ¥©¥ó¥È¤Î Â礭¤µ¤Ç¤¹¡£¤³¤ÎξÍ×ÁǤϤ¤¤º¤ì¤â¾Êά²Äǽ¤Ç¤¹¡£ °ÊÁ°¤ÎÈǤΠgnuplot ¤Ç¤Ï¡¢font ¥­¡¼¥ï¡¼¥É¤Ï¾Êά²Äǽ¤Ç¡¢< fontsize> ¤Ï°úÍÑÉä¤Ê¤·¤Î¿ôÃͤÇÍ¿¤¨¤ë¤³¤È¤¬¤Ç¤­¤Þ¤·¤¿¤¬¡¢¸½ºß¤Ï¤½¤Î·Á¼°¤Ï¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤»¤ó¤Î¤ÇÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ linewidth ¤È fontscale ¤ÇÀþ¤ÎÉý¤Èʸ»ú¥µ¥¤¥º¤ò¿­½Ì¤Ç¤­¤Þ¤¹¡£ title ¤Ï¡¢¥°¥é¥Õ¥¦¥£¥ó¥É¥¦¤Î¥¿¥¤¥È¥ë¤òÊѹ¹¤·¤Þ¤¹¡£ size ¤Ï¥¦¥£¥ó¥É¥¦¤Î¥Ô¥¯¥»¥ëñ°Ì¤Ç¤ÎÉý¤È¹â¤µ¤ò¡¢position ¤Ï¥¦¥£¥ó¥É ¥¦¤Î¸¶ÅÀ¡¢¤¹¤Ê¤ï¤Áº¸¾å³Ñ¤Î¥¹¥¯¥ê¡¼¥ó¾å¤Î¥Ô¥¯¥»¥ëñ°Ì¤Ç¤Î°ÌÃÖ¤òÄêµÁ¤·¤Þ ¤¹¡£¤³¤ì¤é¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Õ¥¡¥¤¥ë wgnuplot.ini ¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤ò ¾å½ñ¤­¤·¤Þ¤¹¡£

¾¤Î¥ª¥×¥·¥ç¥ó¤â¥°¥é¥Õ¥á¥Ë¥å¡¼¤ä½é´ü²½¥Õ¥¡¥¤¥ë wgnuplot.ini ¤ÇÊѹ¹¤Ç ¤­¤Þ¤¹¡£

Windows ÈǤϡ¢ÈóÂÐÏ÷¿¥â¡¼¥É¤Ç¤ÏÄ̾¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤éÍ¿¤¨¤¿¥Õ¥¡¥¤¥ë ¤ÎºÇ¸å¤Ë㤹¤ë¤Èľ¤Á¤Ë½ªÎ»¤·¤Þ¤¹¤¬¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÎºÇ¸å¤Ë - ¤ò»ØÄê ¤·¤¿¾ì¹ç¤ÏÊ̤Ǥ¹¡£¤Þ¤¿¡¢¤³¤Î¥â¡¼¥É¤Ç¤Ï¥Æ¥­¥¹¥È¥¦¥£¥ó¥É¥¦¤Ïɽ¼¨¤»¤º¡¢¥° ¥é¥Õ¤Î¤ß¤Îɽ¼¨¤È¤Ê¤ê¤Þ¤¹¤¬¡¢¥ª¥×¥·¥ç¥ó¤È¤·¤Æ -persist (x11 ÈǤΠgnuplot ¤ÈƱ¤¸¥ª¥×¥·¥ç¥ó; ½¾Íè¤Î Windows ¤Î¤ß¤Î¥ª¥×¥·¥ç¥ó /noend ¤ä -noend ¤ò»È¤¦¤³¤È¤â¤Ç¤­¤Þ¤¹) ¤ò»ØÄꤹ¤ë¤È gnuplot ¤Ï½ªÎ»¤·¤Ê¤¯¤Ê¤ê¤Þ ¤¹¡£¤³¤Î¾ì¹ç¾¤Î OS ¤Ç¤Î gnuplot ¤ÎµóÆ°¤È¤Ï°Û¤Ê¤ê¡¢-persist ¥ª¥×¥·¥ç¥ó ¸å¤â gnuplot ¤ÎÂÐÏ÷¿¥³¥Þ¥ó¥É¥é¥¤¥ó¤ò¼õ¤±ÉÕ¤±¤Þ¤¹¡£

¥³¥Þ¥ó¥É set term ¤Ç gnuplot ¤Î½ÐÎÏ·Á¼°¤òÊѹ¹¤·¤¿¾ì¹ç¡¢ÉÁ²è¥¦¥£¥ó¥É¥¦ ¤Ï¤½¤Î¤Þ¤Þ»Ä¤ê¤Þ¤¹¤¬¡¢set term windows close ¤ÇÉÁ²è¥¦¥£¥ó¥É¥¦¤òÊĤ¸¤ë ¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

gnuplot ¤Ï¡¢Windows ¾å¤Ç¤Î½ÐÎϤÎÀ¸À®¤Î¤¿¤á¤Î¤¤¤¯¤Ä¤«¤ÎÊýË¡¤ò¥µ¥Ý¡¼¥È ¤·¤Æ¤¤¤Þ¤¹¡£°Ê²¼»²¾È: windows printing (92.70.2)¡£windows ½ÐÎÏ·Á¼°¤Ï¡¢¥¯¥ê¥Ã¥× ¥Ü¡¼¥É¤ä EMF ¥Õ¥¡¥¤¥ë¤òÄ̤·¤Æ¾¤Î¥×¥í¥°¥é¥à¤È¤Î¥Ç¡¼¥¿¤Î¸ò´¹¤ò¥µ¥Ý¡¼¥È¤· ¤Æ¤¤¤Þ¤¹¡£°Ê²¼»²¾È: graph-menu (92.70.1)¡£EMF ¥Õ¥¡¥¤¥ë¤òÀ¸À®¤¹¤ë¤Ë¤Ï¡¢emf ½Ð ÎÏ·Á¼°¤ò»È¤¦¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

92.70.1 ¥°¥é¥Õ¥á¥Ë¥å¡¼ (graph-menu)

gnuplot graph ¥¦¥£¥ó¥É¥¦¤Ç¥Þ¥¦¥¹¤Î±¦¥Ü¥¿¥ó(*) ¤ò²¡¤¹¤«¡¢¥·¥¹¥Æ¥à¥á¥Ë ¥å¡¼¤«¤é Options ¤òÁªÂò¤¹¤ë¤È°Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤ò»ý¤Ä¥Ý¥Ã¥×¥¢¥Ã¥×¥á¥Ë¥å¡¼¤¬¸½¤ï¤ì¤Þ¤¹:

Copy to Clipboard ¥¯¥ê¥Ã¥×¥Ü¡¼¥É¤Ë¥Ó¥Ã¥È¥Þ¥Ã¥×¤ä EMF ²èÁü¤ò¥³¥Ô¡¼

Save as EMF... ¸½ºß¤Î¥°¥é¥Õ¥¦¥£¥ó¥É¥¦¤ò EMF ¥Õ¥¡¥¤¥ë¤È¤·¤ÆÊݸ

Print... ¥°¥é¥Õ¥£¥Ã¥¯¥¦¥£¥ó¥É¥¦¤ò Windows ¥×¥ê¥ó¥¿¥É¥é¥¤¥Ð¤Ç¥×¥ê¥ó¥È ¥¢¥¦¥È¡£¥×¥ê¥ó¥¿¤È³ÈÂçΨ¤ÎÁªÂò¤¬²Äǽ¤Ç¤¹¤¬¡¢¤³¤Î Print ¥ª¥×¥·¥ç¥ó¤Ë ¤è¤ë°õºþ·ë²Ì¤Ï gnuplot ¤Î»ý¤Ä¥×¥ê¥ó¥¿¥É¥é¥¤¥Ð¤Ë¤è¤ë¤â¤ÎÄøÎɤ¯¤Ï¤¢¤ê ¤Þ¤»¤ó¡£°Ê²¼¤â»²¾È: windows printing (92.70.2)¡£

Bring to Top ¥Á¥§¥Ã¥¯¤òÆþ¤ì¤ë¤È¥°¥é¥Õ¥¦¥£¥ó¥É¥¦¤ò¾¤ÎÁ´¤Æ¤ÎÉÁ²è¥¦¥£¥ó ¥É¥¦¤Î¼êÁ°¤Ëɽ¼¨

Color ¥Á¥§¥Ã¥¯¤òÆþ¤ì¤ë¤È¥«¥é¡¼¤ÎÀþ¼ï¤¬Í­¸ú¡¢¥Á¥§¥Ã¥¯Ìµ¤·¤Ç¤ÏÇò¹õ

Double buffer ¥°¥é¥Õ¤ò¥¹¥¯¥ê¡¼¥ó¤Ë¼Ì¤¹Á°¤Ë¥á¥â¥ê¥Ð¥Ã¥Õ¥¡¤ËÉÁ²è¤¹¤ë¤³ ¤È¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢Î㤨¤Ð¥¢¥Ë¥á¡¼¥·¥ç¥ó»þ¤ä 3 ¼¡¸µ¥°¥é¥Õ¤Î²óž»þ ¤Î¤Á¤é¤Á¤é (¥Õ¥ê¥Ã¥«¡¼) ¤ò²óÈò¤·¤Þ¤¹¡£°Ê²¼»²¾È: mouse (82.40), scrolling (82.40.3)¡£

Oversampling ²¾ÁÛ¥­¥ã¥ó¥Ð¥¹¤Î¥µ¥¤¥º¤òÇܤˤ·¤Þ¤¹¡£¥¹¥¯¥ê¡¼¥ó¤Ë¼Ì¤¹ºÝ¤Ë ¤ÏºÆ¤ÓȾʬ¤Ë½Ì¾®¤µ¤ì¤Þ¤¹¡£¤³¤ì¤Ë¤è¤ê¡¢¥°¥é¥Õ¥£¥Ã¥¯¤Ï¤è¤ê³ê¤é¤«¤Ë¤Ê¤ê¤Þ ¤¹¤¬¡¢¤·¤«¤·¥á¥â¥ê¤ä·×»»»þ´Ö¤¬¤è¤êɬÍפǤ¹¡£¤³¤ì¤Ï double buffer ¤âɬ ÍפǤ¹¡£

Antialiasing ÀÞ¤ìÀþ¤äÀþ¤Îü¤ÎÊ¿³ê²½¤òÁªÂò¤·¤Þ¤¹¡£¤³¤ì¤ÏÉÁ²è¤ò¯¤¹¤ë ¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

Background... ¥¦¥£¥ó¥É¥¦ÇØ·Ê¿§¤ÎÀßÄê

Choose Font... ¥°¥é¥Õ¥£¥Ã¥¯¥¦¥£¥ó¥É¥¦¤Ç»È¤¦¥Õ¥©¥ó¥È¤ÎÁªÂò

Line Styles... Àþ¤Î¿§¤ä¼ïÎà¤Î¥«¥¹¥¿¥Þ¥¤¥º

Update wgnuplot.ini ¸½ºß¤Î¥¦¥£¥ó¥É¥¦¤Î°ÌÃÖ¡¢¥¦¥£¥ó¥É¥¦¤ÎÂ礭¤µ¡¢¥Æ¥­ ¥¹¥È¥¦¥£¥ó¥É¥¦¤Î¥Õ¥©¥ó¥È¤È¤½¤Î¥Õ¥©¥ó¥È¥µ¥¤¥º¡¢¥°¥é¥Õ¥¦¥£¥ó¥É¥¦¤Î¥Õ¥©¥ó ¥È¤È¤½¤Î¥Õ¥©¥ó¥È¥µ¥¤¥º¡¢ÇØ·Ê¿§¡¢Àþ¼ï¤ò½é´ü²½¥Õ¥¡¥¤¥ë wgnuplot.ini ¤Ë Êݸ

(*) ¤³¤Î¥á¥Ë¥å¡¼¤Ï¡¢unset mouse ¤Ë¤è¤Ã¤Æ±¦¥Þ¥¦¥¹¥Ü¥¿¥ó²¡¤·¤·¤«»È¤¨¤Ê ¤¯¤Ê¤ë¤Î¤ÇÃí°Õ¡£

92.70.2 °õºþ (printing)

¹¥¤ß¤Ë¤è¤ê¡¢¥°¥é¥Õ¤Ï°Ê²¼¤Î¤è¤¦¤ÊÊýË¡¤Ç°õºþ¤Ç¤­¤Þ¤¹¡£

1. gnuplot ¤Î¥³¥Þ¥ó¥É set terminal ¤Ç¥×¥ê¥ó¥¿¤òÁªÂò¤·¡¢set output ¤Ç½ÐÎϤò¥Õ¥¡¥¤¥ë¤Ë¥ê¥À¥¤¥ì¥¯¥È

2. gnuplot graph ¥¦¥£¥ó¥É¥¦¤«¤é Print... ¥³¥Þ¥ó¥É¤òÁªÂò¡£¥Æ¥­¥¹ ¥È¥¦¥£¥ó¥É¥¦¤«¤é¤³¤ì¤ò¹Ô¤Ê¤¦ÆÃÊ̤ʥ³¥Þ¥ó¥É screendump ¤â¤¢¤ë¡£

3. set output "PRN" ¤È¤¹¤ë¤È½ÐÎϤϰì»þ¥Õ¥¡¥¤¥ë¤Ë½ÐÎϤµ¤ì¡¢gnuplot ¤ò½ªÎ»¤¹¤ë¤«¤Þ¤¿¤Ï set output ¥³¥Þ¥ó¥É¤Ç½ÐÎϤò¾¤Î¤â¤Î¤ØÊѹ¹¤¹¤ë¤È¡¢ ¥À¥¤¥¢¥í¥° (ÂÐÏÃ) ¥Ü¥Ã¥¯¥¹¤¬¸½¤ï¤ì¡¢¤½¤³¤Ç¥×¥ê¥ó¥¿¥Ý¡¼¥È¤òÁªÂò¡£¤½¤³¤Ç OK ¤òÁªÂò¤¹¤ë¤È¡¢½ÐÎϤϥץê¥ó¥È¥Þ¥Í¡¼¥¸¥ã¤Ç¤Ï²Ã¹©¤µ¤ì¤º¤Ë¤½¤Î¤Þ¤ÞÁªÂò ¤µ¤ì¤¿¥Ý¡¼¥È¤Ç¥×¥ê¥ó¥È¥¢¥¦¥È¤µ¤ì¤ë¡£¤³¤ì¤Ï¶öÁ³ (¤Þ¤¿¤Ï¸Î°Õ) ¤Ë¡¢¤¢¤ë¥× ¥ê¥ó¥¿ÍѤνÐÎϤò¡¢¤½¤ì¤ËÂбþ¤·¤Æ¤¤¤Ê¤¤¥×¥ê¥ó¥¿¤ËÁ÷¤êÆÀ¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë¡£

92.70.3 ¥Æ¥­¥¹¥È¥á¥Ë¥å¡¼ (text-menu)

gnuplot text ¥¦¥£¥ó¥É¥¦¤Ç¥Þ¥¦¥¹¤Î±¦¥Ü¥¿¥ó¤ò²¡¤¹¤«¡¢¥·¥¹¥Æ¥à¥á¥Ë¥å¡¼ ¤«¤é Options ¤òÁªÂò¤¹¤ë¤È°Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤ò»ý¤Ä¥Ý¥Ã¥×¥¢¥Ã¥×¥á¥Ë¥å¡¼¤¬¸½¤ï¤ì¤Þ¤¹:

Copy to Clipboard ¥Þ¡¼¥¯¤·¤¿¥Æ¥­¥¹¥È¤ò¥¯¥ê¥Ã¥×¥Ü¡¼¥É¤Ë¥³¥Ô¡¼

Paste ÂǤÁ¹þ¤ó¤À¤Î¤ÈƱ¤¸¤è¤¦¤Ë¥¯¥ê¥Ã¥×¥Ü¡¼¥É¤«¤é¥Æ¥­¥¹¥È¤ò¥³¥Ô¡¼

Choose Font... ¥Æ¥­¥¹¥È¥¦¥£¥ó¥É¥¦¤Ç»È¤¦¥Õ¥©¥ó¥È¤ÎÁªÂò

System Colors ÁªÂò¤¹¤ë¤È¥³¥ó¥È¥í¡¼¥ë¥Ñ¥Í¥ë¤ÇÀßÄꤷ¤¿¥·¥¹¥Æ¥à¥«¥é¡¼¤ò ¥Æ¥­¥¹¥È¥¦¥£¥ó¥É¥¦¤ËÍ¿¤¨¤ë¡£ÁªÂò¤·¤Ê¤±¤ì¤ÐÇòÇطʤÇʸ»ú¤Ï¹õ¤«ÀÄ¡£

Wrap long lines ÁªÂò¤¹¤ë¤È¸½ºß¤Î¥¦¥£¥ó¥É¥¦Éý¤è¤ê¤âŤ¤¹Ô¤òÀÞ¤êÊÖ¤¹

Update wgnuplot.ini ¸½ºß¤ÎÀßÄê¤ò¡¢¥æ¡¼¥¶¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥Ç¡¼¥¿¥Ç¥£ ¥ì¥¯¥È¥ê¤Ë¤¢¤ë½é´ü²½¥Õ¥¡¥¤¥ë wgnuplot.ini ¤ËÊݸ

92.70.4 ¥á¥Ë¥å¡¼¥Õ¥¡¥¤¥ë wgnuplot.mnu

¥á¥Ë¥å¡¼¥Õ¥¡¥¤¥ë wgnuplot.mnu ¤¬ gnuplot ¤ÈƱ¤¸¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë¾ì ¹ç¡¢wgnuplot.mnu ¤Ë½ñ¤«¤ì¤Æ¤¤¤ë¥á¥Ë¥å¡¼¤¬Æɤ߹þ¤Þ¤ì¤Þ¤¹¡£¥á¥Ë¥å¡¼¥³¥Þ ¥ó¥É¤Ï°Ê²¼¤ÎÄ̤ê:


[Menu]      ¼¡¤Î¹Ô¤Î̾Á°¤Ç¿·¤·¤¤¥á¥Ë¥å¡¼¤ò³«»Ï
[EndMenu]   ¸½ºß¤Î¥á¥Ë¥å¡¼¤ò½ªÎ»
[--]        ¿åÊ¿¤Ê¥á¥Ë¥å¡¼¤Î»ÅÀÚ¤ê¤òÆþ¤ì¤ë
[|]         ¿âľ¤Ê¥á¥Ë¥å¡¼¤Î»ÅÀÚ¤ê¤òÆþ¤ì¤ë
[Button]    ¥á¥Ë¥å¡¼¤Ë²¡¤·¥Ü¥¿¥ó¤òÆþ¤ì¡¢¤½¤ì¤Ë¼¡¤Î¥Þ¥¯¥í¤ò³ä¤êÅö¤Æ¤ë

¥Þ¥¯¥í¤Ï 2 ¹Ô¤Ç½ñ¤­¡¢ºÇ½é¤Î¹Ô¤Ï¥Þ¥¯¥í̾ (¥á¥Ë¥å¡¼¤Î¸«½Ð¤·)¡¢2 ¹ÔÌܤ¬¥Þ ¥¯¥íËÜÂΤǤ¹¡£ÀèƬ¤Î¶õÇòÎó¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£¥Þ¥¯¥í¥³¥Þ¥ó¥É¤Ï°Ê²¼¤ÎÄ̤ê:

[INPUT] [EOS] ¤« {ENTER} ¤Þ¤Ç¤ò¥×¥í¥ó¥×¥È¤È¤·¤Æ½ÐÎϤ·Ê¸»úÎó¤òÆþÎÏ [EOS] ʸ»úÎó¤Î½ª¤ê (End Of String)¡£²¿¤â½ÐÎϤ·¤Ê¤¤ [OPEN] ³«¤¯¥Õ¥¡¥¤¥ë̾¤ò¼èÆÀ¡£ºÇ½é¤Î [EOS] ¤Þ¤Ç¤¬ÂÐÏÃ¥¦¥£¥ó¥É¥¦¤Î¥¿

           ¥¤¥È¥ë¡¢¤½¤³¤«¤é¼¡¤Î [EOS] ¤« {ENTER} ¤Þ¤Ç¤¬¥Ç¥Õ¥©¥ë¥È¤Î¥Õ
           ¥¡¥¤¥ë̾

[SAVE] ¥»¡¼¥Ö¥Õ¥¡¥¤¥ë̾¤ò¼èÆÀ ([OPEN] ƱÍÍ) [DIRECTORY] ¥Ç¥£¥ì¥¯¥È¥ê̾¤ò¼èÆÀ¡£[EOS] ¤« {ENTER} ¤Þ¤Ç¤¬ÂÐÏÃ¥¦¥£¥ó¥É¥¦
           ¤Î¥¿¥¤¥È¥ë

¥Þ¥¯¥íʸ»ú¤ÎÃÖ¤­´¹¤¨¤Ï°Ê²¼¤ÎÄ̤ê:


{ENTER}     Éüµ¢ '\r'
{TAB}       ¥¿¥Ö '\011'
{ESC}       ¥¨¥¹¥±¡¼¥× '\033'
{^A}        '\001'
...
{^_}        '\031'

¥Þ¥¯¥í¤ÏŸ³«¸å¤Îʸ»ú¿ô¤¬ºÇÂç 256 ʸ»ú¤ËÀ©¸Â¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

92.70.5 Wgnuplot.ini

Windows ¥Æ¥­¥¹¥È¥¦¥£¥ó¥É¥¦¤È windows ½ÐÎÏ·Á¼°¤Ï¡¢¥ª¥×¥·¥ç¥ó¤Î¤¤¤¯¤Ä¤« wgnuplot.ini ¤Î [WGNUPLOT] ¥»¥¯¥·¥ç¥ó¤«¤éÆɤ߹þ¤ß¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë ¤Ï¡¢¥æ¡¼¥¶¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥Ç¡¼¥¿¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤­¤Þ¤¹¡£ wgnuplot.ini ¥Õ¥¡¥¤¥ë¤Î¥µ¥ó¥×¥ë:


     [WGNUPLOT]
     TextOrigin=0 0
     TextSize=640 150
     TextFont=Terminal,9
     TextWrap=1
     TextLines=400
     SysColors=0
     GraphOrigin=0 150
     GraphSize=640 330
     GraphFont=Arial,10
     GraphColor=1
     GraphToTop=1
     GraphDoublebuffer=1
     GraphOversampling=0
     GraphAntialiasing=1
     GraphBackground=255 255 255
     Border=0 0 0 0 0
     Axis=192 192 192 2 2
     Line1=0 0 255 0 0
     Line2=0 255 0 0 1
     Line3=255 0 0 0 2
     Line4=255 0 255 0 3
     Line5=0 0 128 0 4

°Ê²¼¤ÎÀßÄê¤Ï wgnuplot ¤Î¥Æ¥­¥¹¥È¥¦¥£¥ó¥É¥¦¤Î¤ß¤ËŬÍѤµ¤ì¤Þ¤¹¡£

TextOrigin ¤È TextSize ¤Ï¡¢¥Æ¥­¥¹¥È¥¦¥£¥ó¥É¥¦¤Î°ÌÃ֤ȥµ¥¤¥º¤Î»ØÄê ¤Ç¤¹¡£

TextFont ¤Ï¡¢¥Æ¥­¥¹¥È¥¦¥£¥ó¥É¥¦¤Î¥Õ¥©¥ó¥È¤È¥µ¥¤¥º¤Î»ØÄê¤Ç¤¹¡£

TextWrap ¤Ï¡¢Ä¹¤¤¥Æ¥­¥¹¥È¹Ô¤ÎÀÞ¤êÊÖ¤·¤òÁªÂò¤·¤Þ¤¹¡£

TextLines ¤Ï¡¢¥Æ¥­¥¹¥È¥¦¥£¥ó¥É¥¦¤ÎÆâÉô¥Ð¥Ã¥Õ¥¡¤Ë²¿¹Ô (ÀÞ¤êÊÖ¤·¤Ê¤·) ÊÝ»ý¤¹¤ë¤«¤ò»ØÄꤷ¤Þ¤¹¡£¸½ºß¤Ï¡¢¤³¤ÎÃͤò wgnuplot Æ⤫¤é¤ÏÊѹ¹¤Ç¤­¤Þ¤» ¤ó¡£

°Ê²¼»²¾È: text-menu (92.70.3)¡£

GraphFont ¤Ï¡¢¥Õ¥©¥ó¥È̾¤È¥Ý¥¤¥ó¥Èñ°Ì¤Î¥Õ¥©¥ó¥È¥µ¥¤¥º¤Î»ØÄê¤Ç¤¹¡£

Border, Axis, Line ¤Ë¤Ï¡¢À֤ζ¯ÅÙ (0-255)¡¢ÎФζ¯ÅÙ¡¢ÀĤζ¯ÅÙ¡¢ ¥«¥é¡¼¤ÎÀþ¼ï¡¢Çò¹õ¤ÎÀþ¼ï¤Î 5 ¤Ä¤Î¿ô»ú¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ÎÀþ¼ï (linestyle) ¤Ï¡¢0=¼ÂÀþ¡¢1=º¿Àþ¡¢2=ÅÀÀþ¡¢3=°ìÅÀº¿Àþ¡¢4=ÆóÅÀº¿Àþ¡¢¤È¤Ê ¤Ã¤Æ¤¤¤Þ¤¹¡£¾å¤ÎÎã¤Î wgnuplot.ini ¤Ç¤Ï¡¢Line 2 ¤Ï¥«¥é¡¼¥â¡¼¥É¤Ç¤ÏÎФΠ¼ÂÀþ¤Ç¡¢Çò¹õ¥â¡¼¥É¤Ç¤Ïº¿Àþ¤Ë¤Ê¤ê¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤ÎÀþÉý¤Ï 1 ¥Ô¥¯¥»¥ë¤Ç¤¹¡£ Àþ¼ï¤¬Éé¤ÎÃͤξì¹ç¡¢¤½¤ÎÀäÂÐÃͤ¬¥Ô¥¯¥»¥ëñ°Ì¤Ç¤ÎÀþÉý¤Ç¤¢¤ë¼ÂÀþ¤ò°ÕÌ£¤· ¤Þ¤¹¡£Line1 ¤È points ¥¹¥¿¥¤¥ë¤Ç»È¤ï¤ì¤ëÀþ¼ï¤Ï 1 ¥Ô¥¯¥»¥ëÉý¤Î¼ÂÀþ¤Ç¤Ê ¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£

°Ê²¼»²¾È: graph-menu (92.70.1)¡£

92.71 Wxt

wxt ½ÐÎÏ·Á¼°¤Ï¡¢¸Ä¡¹¤Î¥¦¥£¥ó¥É¥¦¤Ø¤Î½ÐÎϤòÀ¸À®¤·¤Þ¤¹¡£¥¦¥£¥ó¥É¥¦¤Ï wxWidgets ¥é¥¤¥Ö¥é¥ê¤ÇÀ¸À®¤µ¤ì¤Þ¤¹ (¤³¤ì¤¬ wxt ¤Î̾Á°¤ÎͳÍè¤Ç¤¹)¡£¼Â ºÝ¤ÎÉÁ²è¤Ï¡¢2D ¥°¥é¥Õ¥£¥Ã¥¯¥é¥¤¥Ö¥é¥ê cairo ¤È¡¢Ê¸»úÎóÇÛÃÖ/¥ì¥ó¥À¥ê¥ó ¥°¥é¥¤¥Ö¥é¥ê pango ¤¬½èÍý¤·¤Þ¤¹¡£

½ñ¼°:

       set term wxt {<n>}
                    {size <width>,<height>} {background <rgb_color>}
                    {{no}enhanced}
                    {font <font>} {fontscale <scale>}
                    {title "title"}
                    {dashed|solid} {dashlength <dl>}
                    {{no}persist}
                    {{no}raise}
                    {{no}ctrl}
                    {close}

Ê£¿ô¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦¤â¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Æ¡¢set terminal wxt < n> ¤È¤¹¤ì¤Ð ÈÖ¹æ n ¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦¤Ø½ÐÎϤ·¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Î¥¦¥£¥ó¥É¥¦¥¿¥¤¥È¥ë¤Ï¡¢¤³¤Î¥¦¥£¥ó¥É¥¦ÈÖ¹æ¤Ë´ð¤Å¤¤¤Æ¤¤¤Þ¤¹¡£ ¤½¤Î¥¿¥¤¥È¥ë¤Ï "title" ¥­¡¼¥ï¡¼¥É¤Ç¤â»ØÄê¤Ç¤­¤Þ¤¹¡£

ÉÁ²è¥¦¥£¥ó¥É¥¦¤Ï¡¢gnuplot ¤Î½ÐÎÏ·Á¼°¤òÊ̤ʤâ¤Î¤ËÊѹ¹¤·¤Æ¤â»Ä¤Ã¤¿¤Þ¤Þ ¤Ë¤Ê¤ê¤Þ¤¹¡£¤½¤ì¤òÊĤ¸¤ë¤Ë¤Ï¡¢¤½¤Î¥¦¥£¥ó¥É¥¦¤ËÆþÎÏ¥Õ¥©¡¼¥«¥¹¤¬¤¢¤ë¾õÂÖ ¤Ç 'q' ¤òÆþÎϤ¹¤ë¤«¡¢¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤Î¥á¥Ë¥å¡¼¤Ç close ¤òÁªÂò¤¹ ¤ë¤«¡¢set term wxt < n> close ¤È¤·¤Æ¤¯¤À¤µ¤¤¡£

ÉÁ²èÎΰè¤Î¥µ¥¤¥º¤Ï¥Ô¥¯¥»¥ëñ°Ì¤ÇÍ¿¤¨¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï 640x384 ¤Ç¤¹¡£ ¤½¤ì¤Ë²Ã¤¨¤Æ¡¢¥¦¥£¥ó¥É¥¦¤Î¼ÂºÝ¤Î¥µ¥¤¥º¤Ë¤Ï¡¢¥Ä¡¼¥ë¥Ð¡¼¤ä¥¹¥Æ¡¼¥¿¥¹¥Ð¡¼ ÍѤΥ¹¥Ú¡¼¥¹¤âÄɲ䵤ì¤Þ¤¹¡£ ¥¦¥£¥ó¥É¥¦¤Î¥µ¥¤¥º¤òÊѹ¹¤¹¤ë¤È¡¢ÉÁ²è¥°¥é¥Õ¤â¥¦¥£¥ó¥É¥¦¤Î¿·¤·¤¤¥µ¥¤¥º¤Ë ¤Ô¤Ã¤¿¤ê¹ç¤¦¤è¤¦¤Ë¤¹¤°¤Ë¿­½Ì¤µ¤ì¤Þ¤¹¡£Â¾¤ÎÂÐÏ÷¿½ÐÎÏ·Á¼°¤È°ã¤¤¡¢wxt ½ÐÎÏ·Á¼°¤Ï¥Õ¥©¥ó¥È¡¢ÀþÉý¤â´Þ¤á¤ÆÉÁ²èÁ´ÂΤò¿­½Ì¤·¤Þ¤¹¤¬¡¢Á´ÂΤΥ¢¥¹¥Ú¥¯ ¥ÈÈæ¤Ï°ìÄê¤ËÊݤäơ¢¶õ¤¤¤¿¥¹¥Ú¡¼¥¹¤Ï³¥¿§¤ÇÅɤêÄÙ¤·¤Þ¤¹¡£¤½¤Î¸å replot ¤È¥¿¥¤¥×¤¹¤ë¤«¥¿¡¼¥ß¥Ê¥ë¥Ä¡¼¥ë¥Ð¡¼¤Î replot ¥¢¥¤¥³¥ó¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤« ¿·¤¿¤Ë plot ¥³¥Þ¥ó¥É¤òÆþÎϤ¹¤ë¤È¡¢¤½¤Î¿·¤·¤¤ÉÁ²è¤Ç¤Ï´°Á´¤Ë¤½¤Î¥¦¥£¥ó ¥É¥¦¤Ë¹ç¤ï¤»¤é¤ì¤Þ¤¹¤¬¡¢¥Õ¥©¥ó¥È¥µ¥¤¥º¤äÀþÉý¤Ï¤½¤ì¤¾¤ì¤Î¥Ç¥Õ¥©¥ë¥È¤Ë¥ê ¥»¥Ã¥È¤µ¤ì¤Þ¤¹¡£

¸½ºß¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦ (set term wxt < n> ¤ÇÁªÂò¤µ¤ì¤¿¤â¤Î) ¤ÏÂÐÏÃŪ¤Ç ¤½¤ÎµóÆ°¤Ï¡¢Â¾¤Î½ÐÎÏ·Á¼°¤È¶¦Ä̤Ǥ¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: mouse (82.40)¡£¤½¤ì¤Ë ¤ÏÄɲäΥ¢¥¤¥³¥ó¤â¤¤¤¯¤Ä¤«¤Ä¤¤¤Æ¤¤¤Þ¤¹¤¬¡¢¤½¤ì¤é¤Ï¤½¤ì¼«ÂΤ¬ÀâÌÀŪ¤Ê¤â ¤Î¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹¡£

¤³¤Î½ÐÎÏ·Á¼°¤Ï¡¢³Èĥʸ»úÎó½èÍý¥â¡¼¥É (enhanced text mode) ¤ò¥µ¥Ý¡¼¥È¤· ¤Æ¤¤¤Æ¡¢¥Õ¥©¥ó¥È¤ä½ñ¼°¥³¥Þ¥ó¥É (¾åÉÕ¡¢²¼ÉդʤÉ) ¤ò¥é¥Ù¥ë¤ä¾¤Îʸ»úÎó¤Ë Ëä¤á¹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£³Èĥʸ»úÎó½èÍý¥â¡¼¥É¤Î½ñ¼°¤Ï¾¤Î gnuplot ¤Î½Ð ÎÏ·Á¼°¤È¶¦Ä̤Ǥ¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: enhanced (12)¡£

< font> ¤Ï "FontFace,FontSize" ¤Î·Á¼°¤Ç¡¢FontFace ¤È FontSize ¤È¤ò¥³ ¥ó¥Þ¤ÇʬΥ¤·¤Æ°ì¤Ä¤Îʸ»úÎó¤È¤·¤Æ½ñ¤­¤Þ¤¹¡£FontFace ¤Ï¡¢'Arial' ¤Î¤è ¤¦¤ÊÄ̾ï¤Î¥Õ¥©¥ó¥È̾¤Ç¤¹¡£FontFace ¤òÍ¿¤¨¤Ê¤¤¾ì¹ç¤Ï¡¢wxt ½ÐÎÏ·Á¼°¤Ï 'Sans' ¤ò»ÈÍѤ·¤Þ¤¹¡£FontSize ¤Ï¡¢¥Ý¥¤¥ó¥Èñ°Ì¤Î¥Õ¥©¥ó¥È¥µ¥¤¥º¤Ç¤¹¡£ FontSize ¤òÍ¿¤¨¤Ê¤¤¾ì¹ç¤Ï¡¢wxt ½ÐÎÏ·Á¼°¤Ï 10 ¥Ý¥¤¥ó¥È¤ò»ÈÍѤ·¤Þ¤¹¡£

  Îã:
     set term wxt font "Arial,12"
     set term wxt font "Arial" # ¥Õ¥©¥ó¥È̾¤Î¤ßÊѹ¹
     set term wxt font ",12" # ¥Õ¥©¥ó¥È¥µ¥¤¥º¤Î¤ßÊѹ¹
     set term wxt font "" # ¥Õ¥©¥ó¥È̾¡¢¥Õ¥©¥ó¥È¥µ¥¤¥º¤ò¥ê¥»¥Ã¥È

¥Õ¥©¥ó¥È¤ÏÄ̾ï¤Î¥Õ¥©¥ó¥È¥µ¥Ö¥·¥¹¥Æ¥à¤«¤é¼èÆÀ¤·¤Þ¤¹¡£MS-Windows ¾å¤Ç¤Ï ¥³¥ó¥È¥í¡¼¥ë¥Ñ¥Í¥ë¤Î "Fonts" ¥¨¥ó¥È¥ê¤Ç¸¡º÷¤µ¤ì¤ë¤Î¤Ç¡¢¤½¤³¤ËÀßÄꤷ ¤Þ¤¹¡£Unix ¾å¤Ç¤Ï¡¢¥Õ¥©¥ó¥È¤Ï "fontconfig" ¤¬½èÍý¤·¤Þ¤¹¡£

ʸ»úÎó¤Î¥ì¥¤¥¢¥¦¥È¤Ë»ÈÍѤµ¤ì¤ë pango ¥é¥¤¥Ö¥é¥ê¤Ï utf-8 ¤ò´ðËܤȤ·¤Æ¤¤ ¤Þ¤¹¤Î¤Ç¡¢wxt ½ÐÎÏ·Á¼°¤Ç¤Ï¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤ò utf-8 ¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤ÎÆþÎÏ¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤Ï¡¢¥·¥¹¥Æ¥à¤Î 'locale' ¤Ë¤è¤ê¤Þ ¤¹¡£Â¾¤Î¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤ò»ÈÍѤ·¤¿¤¤¾ì¹ç¤Ï¡¢¤½¤ì¤ò gnuplot ¤ËÃΤ餻¤ë ɬÍפ¬¤¢¤ê¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢°Ê²¼»²¾È: encoding (82.20)¡£

pango ¤Ï¡¢unicode ¥Þ¥Ã¥Ô¥ó¥°¤Ç¤Ê¤¤¥Õ¥©¥ó¥È¤ËÂФ·¤Æ¤Ïͽ´ü¤»¤Ì·ë²Ì¤òÍ¿¤¨ ¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£Î㤨¤Ð Symbol ¥Õ¥©¥ó¥È¤ËÂФ·¤Æ¤Ï¡¢wxt ½ÐÎÏ·Á¼°¤Ï¡¢Ê¸ »ú¥³¡¼¥É¤ò unicode ¤ËÊÑ´¹¤¹¤ë¤¿¤á¤Ë http://www.unicode.org/ ¤ÇÄ󶡤µ¤ì ¤ë¥Þ¥Ã¥Ô¥ó¥°¤òÍøÍѤ·¤Þ¤¹¡£pango ¤Ï¡¢¤½¤Îʸ»ú¤ò´Þ¤à¥Õ¥©¥ó¥È¤ò¸«¤Ä¤±¤ë¤¿ ¤á¤Ë¤¢¤Ê¤¿¤Î Symbol ¥Õ¥©¥ó¥È¤ò¸¡º÷¤·¡¢¤½¤·¤Æ DejaVu ¥Õ¥©¥ó¥È¤Î¤è¤¦¤Ë¡¢ Éý¹­¤¯ unicode ¤ò¥«¥Ð¡¼¤¹¤ë¾¤Î¥Õ¥©¥ó¥È¤òõ¤¹¡¢¤È¤¤¤Ã¤¿ºÇÁ±¤Îºî¶È¤ò¹Ô ¤ª¤¦¤È¤·¤Þ¤¹¡£¤Ê¤ª¡¢"the Symbol font" ¤Ï¡¢Acrobat Reader ¤È°ì½ï¤Ë "SY______.PFB" ¤È¤·¤ÆÇÛÉÛ¤µ¤ì¤Æ¤¤¤ë Adobe Symbol ¥Õ¥©¥ó¥È¤Ç¤¢¤ë¤È²ò ¼á¤µ¤ì¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤ÎÂå¤ï¤ê¤Ë¡¢OpenOffice.org ¤È°ì½ï¤Ë "opens___.ttf" ¤È¤·¤ÆÇÛÉÛ¤µ¤ì¤ë OpenSymbol ¥Õ¥©¥ó¥È¤¬Æ±¤¸Ê¸»ú¤òÄó¶¡ ¤·¤Æ¤¤¤Þ¤¹¡£Microsoft ¤â Symbol ¥Õ¥©¥ó¥È ("symbol.ttf") ¤òÇÛÉÛ¤·¤Æ¤¤ ¤Þ¤¹¤¬¡¢¤³¤ì¤Ï°Û¤Ê¤ëʸ»ú¥»¥Ã¥È¤Ë¤Ê¤Ã¤Æ¤¤¤Æ¡¢¤¤¤¯¤Ä¤«¤Ï·ç¤±¤Æ¤¤¤Þ¤¹¤·¡¢ ¤¤¤¯¤Ä¤«¤Ï¿ô¼°µ­¹æ¤ËÊѤï¤Ã¤Æ¤·¤Þ¤Ã¤Æ¤¤¤Þ¤¹¡£¤¢¤Ê¤¿¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤Ç ¤Ê¤ó¤é¤«¤ÎÌäÂ꤬µ¯¤­¤¿¾ì¹ç (Î㤨¤Ð¥Ç¥â¥¹¥¯¥ê¥×¥È enhancedtext.dem ¤¬¤Á ¤ã¤ó¤Èɽ¼¨¤µ¤ì¤Ê¤¤¤È¤¤¤Ã¤¿¾ì¹ç) ¤Ï¡¢Adobe ¤« OpenOffice ¤Î Symbol ¥Õ¥© ¥ó¥È¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¡¢Microsoft ¤Î Symbol ¥Õ¥©¥ó¥È¤òºï½ü¤·¤Ê¤¤¤È¤¤¤± ¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£ "windings" ¤Î¤è¤¦¤Ê¾¤ÎÈóɸ½à¤Î¥Õ¥©¥ó¥È¤Ç¤âÆ°ºî¤¹¤ë¤³¤È¤¬Êó¹ð¤µ¤ì¤Æ ¤¤¤Þ¤¹¡£

ÉÁ²è¤Î¥ì¥ó¥À¥ê¥ó¥°¤Ï¡¢¥Ä¡¼¥ë¥Ð¡¼¤ÇÂÐÏÃŪ¤ËÊѹ¹¤Ç¤­¤Þ¤¹¡£²Äǽ¤Ê¸Â¤êºÇ¤â Îɤ¤½ÐÎϤòÀ¸À®¤¹¤ë¤¿¤á¤Ë¤³¤Î¥ì¥ó¥À¥ê¥ó¥°¤Ï¡¢¥¢¥ó¥Á¥¨¥¤¥ê¥¢¥¹¡¢¥ª¡¼¥Ð¡¼ ¥µ¥ó¥×¥ê¥ó¥°¡¢¥Ò¥ó¥Æ¥£¥ó¥°¤Î 3 ¤Ä¤Îµ¡¹½¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£ ¥¢¥ó¥Á¥¨¥¤¥ê¥¢¥¹¤Ï¡¢¿åÊ¿¤ä¿âľ¤Ç¤Ê¤¤Àþ¤Î³ê¤é¤«¤Êɽ¼¨¤ò²Äǽ¤Ë¤·¤Þ¤¹¡£ ¥ª¡¼¥Ð¡¼¥µ¥ó¥×¥ê¥ó¥°¤Ï¡¢¥¢¥ó¥Á¥¨¥¤¥ê¥¢¥¹¤ÈÁȤǥԥ¯¥»¥ë¤è¤ê¤â¾®¤µ¤¤¥µ¥¤ ¥º¤Ç¤ÎÀºÅÙ¤òÄ󶡤·¡¢gnuplot ¤¬ÈóÀ°¿ôºÂɸ¤ÎľÀþ¤ò½ñ¤±¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤³¤ì¤Ï¡¢ÂгÑÊý¸þ¤ÎľÀþ (Î㤨¤Ð 'plot x') ¤¬º¸±¦¤ËÍɤì¤ë¤Î¤òÈò¤±¤Þ¤¹¡£ ¥Ò¥ó¥Æ¥£¥ó¥°¤Ï¡¢¥ª¡¼¥Ð¡¼¥µ¥ó¥×¥ê¥ó¥°¤Ë¤è¤Ã¤Æ°ú¤­µ¯¤³¤µ¤ì¤ë¿åÊ¿¡¢¿âľÊý ¸þ¤ÎÀþʬ¤Î¤Ü¤«¤·¤òÈò¤±¤Þ¤¹¡£¤³¤Î½ÐÎÏ·Á¼°¤Ï¡¢¤³¤ì¤é¤ÎľÀþ¤òÀ°¿ôºÂɸ¤Ë· ¤¨¡¢¤½¤ì¤Ë¤è¤ê¡¢1 ¥Ô¥¯¥»¥ëÉý¤ÎľÀþ¤ÏËÜÅö¤Ë 1 ¤Ä (1 ¤Ä¤è¤ê¿¤¯¤â¾¯¤Ê¤¯ ¤â¤Ê¤¤) ¤Î¥Ô¥¯¥»¥ë¤ÇÉÁ²è¤·¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢ÉÁ²è¤¬¹Ô¤ï¤ì¤¿¤È¤­¤Ë¥¦¥£¥ó¥É¥¦¤Ï¥Ç¥¹¥¯¥È¥Ã¥×¤Î°ìÈÖ¾å (ºÇÁ°ÌÌ) ¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥­¡¼¥ï¡¼¥É "raise" ¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¡£ ¥­¡¼¥ï¡¼¥É "persist" ¤Ï¡¢¤¹¤Ù¤Æ¤ÎÉÁ²è¥¦¥¤¥ó¥É¥¦¤òÌÀ¼¨Åª¤ËÊĤ¸¤Ê¤¤´Ö ¤Ï¡¢gnuplot ¤¬½ªÎ»¤·¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤¹¡£ ºÇ¸å¤Ë¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï < space> ¥­¡¼¤Ï gnuplot ¥³¥ó¥½¡¼¥ë¥¦¥£¥ó¥É¥¦¤ò¾å ¤Ë¾å¤²¡¢'q' ¤ÏÉÁ²è¥¦¥£¥ó¥É¥¦¤òÊĤ¸¤Þ¤¹¡£¥­¡¼¥ï¡¼¥É "ctrl" ¤Ï¡¢¤½¤ì¤é ¤Î¥­¡¼³ä¤êÅö¤Æ¤ò¡¢¤½¤ì¤¾¤ì < ctrl> +< space> ¤È < ctrl> +'q' ¤ËÊѹ¹¤·¤Þ¤¹¡£ ¤³¤ì¤é¤Î 3 ¤Ä¤Î¥­¡¼¥ï¡¼¥É (raise, persist, ctrl) ¤Ï¡¢ÀßÄê¥À¥¤¥¢¥í¥°¾å ¤Î¤ä¤ê¤È¤ê¤Ç¤âÀßÄꤷ¡¢µ­²±¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

92.72 X11

½ñ¼°:

  set terminal x11 {<n> | window "<string>"}
                   {title "<string>"}
                   {{no}enhanced} {font <fontspec>}
                   {linewidth LW} {solid|dashed}
                   {{no}persist} {{no}raise} {{no}ctrlq}
                   {close}
                   {size XX,YY} {position XX,YY}
  set terminal x11 {reset}

Ê£¿ô¤Î¥°¥é¥ÕÉÁ²è¥¦¥£¥ó¥É¥¦¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£set terminal x11 < n> ¤ÏÈÖ¹æ n ¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦¤Ë½ÐÎϤ·¤Þ¤¹¡£n ¤¬ 0 ¤Ç¤Ê¤±¤ì¤Ð¡¢¥¿¥¤¥È¥ë¤¬ÌÀ ¼¨Åª¤Ë»ØÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤½¤ÎÈֹ椬¥¦¥£¥ó¥É¥¦¥¿¥¤¥È¥ë¤È¤·¤Æ¤Ä¤±¤é¤ì¡¢ ¥¢¥¤¥³¥ó¤Ë¤Ï Gnuplot < n> ¤È¥é¥Ù¥ëÉÕ¤±¤µ¤ì¤Þ¤¹¡£¸½ºßÍ­¸ú¤Ê¥¦¥£¥ó¥É¥¦ ¤Ï¥«¡¼¥½¥ëµ­¹æ¤ÎÊѲ½¤Ç¶èÊ̤Ǥ­¤Þ¤¹ (¥Ç¥Õ¥©¥ë¥È¥«¡¼¥½¥ë¤«¤é½½»ú¥«¡¼¥½¥ë ¤Ø)¡£

x11 ½ÐÎÏ·Á¼°¤Ï¡¢³°Éô¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÀ¸À®¤µ¤ì¤Æ¤¤¤ë X ¤Î¥¦¥£ ¥ó¥É¥¦¤Î X ID (16 ¿Êɽµ­) ¤ò¥ª¥×¥·¥ç¥ó window ¤Î¸å¤Ëʸ»úÎó¤È¤·¤Æ»ØÄê ¤¹¤ë¤³¤È¤Ç¡¢¤½¤Î¥¦¥£¥ó¥É¥¦¤ÈÀܳ¤Ç¤­¤Þ¤¹¡£X ¤ÏÊ£¿ô¤Î¥¯¥é¥¤¥¢¥ó¥È¤Ë¥¤¥Ù ¥ó¥È ButtonPress ¤ÎÁªÂò¤òǧ¤á¤Ê¤¤¤¿¤á¡¢gnuplot ¤½¤Î³°Éô¥¦¥£¥ó¥É¥¦¤ò¥³¥ó ¥Æ¥Ê¤È¤·¤Æ»ÈÍѤ·¤Þ¤¹¡£¤³¤ÎÊýË¡¤Ë¤è¤ê¡¢gnuplot ¤Î¥Þ¥¦¥¹µ¡Ç½¤Ï¤È¤ê¤³¤Þ¤ì ¤¿ÉÁ²è¥¦¥£¥ó¥É¥¦Æâ¤Ç¤âºîÆ°¤·¤Þ¤¹¡£


  set term x11 window "220001e"

x11 ½ÐÎÏ·Á¼°¤Ï¡¢ÍøÍѲÄǽ¤Ê¥Õ¥©¥ó¥È¤Î¸µ¤Ç³Èĥʸ»úÎó½èÍý¥â¡¼¥É (°Ê²¼»²¾È:enhanced (12)) ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£Ê¸»úÎó¤ËËä¤á¹þ¤Þ¤ì¡¢ÍÍ¡¹¤Ê¸ú²Ì¤òÍ¿¤¨ ¤ë¥Õ¥©¥ó¥È¥µ¥¤¥ºÌ¿Îá¤Î¤¿¤á¤Ë¡¢¥Ç¥Õ¥©¥ë¥È¤Î x11 ¥Õ¥©¥ó¥È¤¬¥¹¥±¡¼¥é¥Ö¥ë ¥Õ¥©¥ó¥È¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤è¤Ã¤Æ¡¢°Ê²¼¤ÎºÇ½é¤ÎÎã¤Ï¤¦¤Þ¤¯¤¤¤¯¤Ç¤·¤ç¤¦¤¬¡¢2 ÈÖÌܤΤâ¤Î¤Ï¤½¤¦¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¡£


  set term x11 enhanced font "arial,15" 
  set title '{/=20 Big} Medium {/=5 Small}'


  set term x11 enhanced font "terminal-14" 
  set title '{/=20 Big} Medium {/=5 Small}'

gnuplot ¥É¥é¥¤¥Ð¤¬Ê̤ʽÐÎϥɥ饤¥Ð¤ËÊѹ¹¤µ¤ì¤Æ¤â¡¢ÉÁ²è¥¦¥£¥ó¥É¥¦¤Ï³« ¤¤¤¿¤Þ¤Þ¤Ë¤Ê¤ê¤Þ¤¹¡£ÉÁ²è¥¦¥£¥ó¥É¥¦¤Ï¡¢¤½¤Î¥¦¥£¥ó¥É¥¦¤Ë¥«¡¼¥½¥ë¤òÃÖ¤¤¤Æ ʸ»ú q ¤ò²¡¤¹¤«¡¢¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤Î¥á¥Ë¥å¡¼¤Î close ¤òÁªÂò¤¹¤ì¤Ð ÊĤ¸¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£reset ¤ò¼Â¹Ô¤¹¤ì¤ÐÁ´¤Æ¤Î¥¦¥£¥ó¥É¥¦¤ò°ìÅÙ¤ËÊĤ¸ ¤ì¤Þ¤¹¡£¤½¤ì¤Ï¼ÂºÝ¤Ë¥¦¥£¥ó¥É¥¦¤ò´ÉÍý¤·¤Æ¤¤¤ë»Ò¥×¥í¥»¥¹¤ò½ªÎ»¤·¤Þ¤¹ (¤â ¤· -persist ¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð)¡£¥³¥Þ¥ó¥É close ¤Ï¡¢¸Ä¡¹¤ÎÉÁ²è ¥¦¥£¥ó¥É¥¦¤òÈÖ¹æ¤ò»ØÄꤷ¤ÆÊĤ¸¤ë¤Î¤Ë»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤·¤«¤·¡¢persist ¤Î¤¿¤á¤Ë»Ä¤Ã¤Æ¤¤¤ë¤è¤¦¤ÊÉÁ²è¥¦¥£¥ó¥É¥¦¤Ï close ¥³¥Þ¥ó¥É¤Ç¤ÏÊĤ¸¤ë¤³¤È ¤Ï¤Ç¤­¤Þ¤»¤ó¡£ÈÖ¹æ¤ò¾Êά¤·¤Æ close ¤·¤¿¾ì¹ç¤Ë¤Ï¸½ºßÍ­¸ú¤ÊÉÁ²è¥¦¥£¥ó¥É ¥¦¤òÊĤ¸¤Þ¤¹¡£

gnuplot ¤Î³°¤Ë¤¢¤ë¥É¥é¥¤¥Ð gnuplot_x11 ¤Ï¡¢¥×¥í¥°¥é¥à¤Î¥³¥ó¥Ñ¥¤¥ë»þ¤Ë ÁªÂò¤µ¤ì¤¿¥Ç¥Õ¥©¥ë¥È¤Î¾ì½ê¤¬¸¡º÷¤µ¤ì¤Þ¤¹¡£¤³¤ì¤Ï´Ä¶­ÊÑ¿ô GNUPLOT_DRIVER_DIR ¤ò°Û¤Ê¤ë¾ì½ê¤ÈÄêµÁ¤¹¤ë¤³¤È¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£

ÉÁ²è¥¦¥£¥ó¥É¥¦¤Ï -persisit ¥ª¥×¥·¥ç¥ó¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢ÂÐÏäΠ½ªÎ»»þ¤Ë¼«Æ°Åª¤ËÊĤ¸¤é¤ì¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó persist ¤È raise ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤ÏÀßÄꤵ¤ì¤Æ¤¤¤Þ¤»¤ó¤¬¡¢ ¤½¤ì¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤ÎÃÍ (persist == no ¤Ç raise == yes) ¤«¡¢¥³¥Þ¥ó¥É¥é ¥¤¥ó¥ª¥×¥·¥ç¥ó -persist / -raise ¤Î»ØÄ꤫¡¢¤Þ¤¿¤Ï X ¤Î¥ê¥½¡¼¥¹Ãͤ¬»È¤ï ¤ì¤ë¡¢¤È¤¤¤¦¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£[no]persist ¤« [no]raise ¤¬»ØÄꤵ¤ì¤ë¤È ¤½¤ì¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤ä X ¥ê¥½¡¼¥¹¤ÎÀßÄê¤è¤ê¤âÍ¥À褵¤ì¤Þ¤¹¡£ ¤³¤ì¤é¤Î¥ª¥×¥·¥ç¥ó¤ÎÀßÄê¤Ïľ¤Á¤Ë¸úÎϤò»ý¤Á¤Þ¤¹¤Î¤Ç¡¢´û¤Ëµ¯Æ°¤·¤Æ¤¤¤ë¥É ¥é¥¤¥Ð¤ÎµóÆ°¤ÏÊѹ¹¤µ¤ì¤Þ¤¹¡£¥¦¥£¥ó¥É¥¦¤òÁ°Ì̤˽Ф»¤Ê¤¤¾ì¹ç¤Ï¡¢°Ê²¼»²¾È:raise (76)¡£

¥ª¥×¥·¥ç¥ó title "< title name> " ¤Ï¸½ºß¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦¤Ë¡¢¤Þ¤¿¤ÏÈÖ¹æ ¤ò»ØÄꤹ¤ì¤Ð¤½¤ÎÈÖ¹æ¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦¤ËÂФ¹¤ë¥¦¥£¥ó¥É¥¦¥¿¥¤¥È¥ë̾¤ò¤Ä¤± ¤Þ¤¹¡£¤½¤Î¥¿¥¤¥È¥ë¤¬É½¼¨¤µ¤ì¤ë¾ì½ê¡¢¤Þ¤¿¤Ïɽ¼¨¤µ¤ì¤ë¤«¤É¤¦¤«¤Ï¡¢»È¤Ã¤Æ ¤¤¤ë X ¤Î¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤Ë°Í¸¤·¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó size ¤Ï¡¢ÉÁ²è¥¦¥£¥ó¥É¥¦¤Î¥µ¥¤¥º¤òÀßÄꤹ¤ë¤Î¤Ë»ÈÍѤǤ­¤Þ¤¹¡£ ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¤½¤Î¸å¤ËÀ¸À®¤¹¤ë¥¦¥£¥ó¥É¥¦¤Î¤ß¤ËŬÍѤµ¤ì¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó position ¤Ï¡¢ÉÁ²è¥¦¥£¥ó¥É¥¦¤Î°ÌÃÖ¤òÀßÄꤹ¤ë¤Î¤Ë»È¤¨¤Þ¤¹¡£ ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¤½¤Î¸å¤ËÀ¸À®¤¹¤ë¥¦¥£¥ó¥É¥¦¤Î¤ß¤ËŬÍѤµ¤ì¤Þ¤¹¡£

ÉÁ²è¥µ¥¤¥º¤È¥¢¥¹¥Ú¥¯¥ÈÈæ¤Ï¡¢gnuplot ¤Î¥¦¥£¥ó¥É¥¦¤ò¥ê¥µ¥¤¥º¤¹¤ë¤³¤È¤Ç ¤âÊѹ¹¤Ç¤­¤Þ¤¹¡£

Àþ¤ÎÉý¤ÈÅÀ¤Î¥µ¥¤¥º¤Ï gnuplot ¤Î set linestyle ¤ÇÊѹ¹²Äǽ¤Ç¤¹¡£

½ÐÎϥɥ饤¥Ð x11 ¤Ë´Ø¤·¤Æ¤Ï¡¢gnuplot ¤Ï (µ¯Æ°»þ¤Ë)¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¡¢ ¤Þ¤¿¤ÏÀßÄê¥Õ¥¡¥¤¥ë¤«¤é¡¢geometry ¤ä font, name ¤Ê¤É¤ÎÄ̾ï¤Î X Toolkit ¥ª¥×¥·¥ç¥ó¤ä¥ê¥½¡¼¥¹¤Î»ØÄê¤ò¼õ¤±ÉÕ¤±¤Þ¤¹¡£¤½¤ì¤é¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤Æ¤Ï X(1) ¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸ (¤ä¤½¤ì¤ÈƱÅù¤Î¤â¤Î) ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

¾¤Ë¤â x11 ½ÐÎÏ·Á¼°ÍѤο¤¯¤Î gnuplot ¤Î¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì ¤é¤Ï gnuplot ¤ò¸Æ¤Ö¤È¤­¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤È¤·¤Æ»ØÄꤹ¤ë¤«¡¢ ¤Þ¤¿¤ÏÀßÄê¥Õ¥¡¥¤¥ë ".Xdefaults" ¤Î¥ê¥½¡¼¥¹¤È¤·¤Æ»ØÄê¤Ç¤­¤Þ¤¹¡£¤³¤ì¤é ¤Ïµ¯Æ°»þ¤ËÀßÄꤵ¤ì¤ë¤Î¤Ç¡¢gnuplot ¼Â¹Ô»þ¤Ë¤ÏÊѹ¹¤Ç¤­¤Þ¤»¤ó (persist ¤È raise °Ê³°¤Ï)¡£

92.72.1 X11 ¤Î¥Õ¥©¥ó¥È (x11_fonts)

½é´üµ¯Æ°»þ¤Ï¡¢¥·¥¹¥Æ¥à¤ÎÀßÄ꤫¡¢¥æ¡¼¥¶¤Î .Xdefaults ¥Õ¥¡¥¤¥ë¤ÎÀßÄ꤫¡¢ ¥³¥Þ¥ó¥É¥é¥¤¥ó»ØÄ꤫¡¢¤Î¤¤¤º¤ì¤«¤Ë¤è¤ë X11 ¥ê¥½¡¼¥¹¤Ë¤è¤Ã¤Æ¥Ç¥Õ¥©¥ë¥È ¤Î¥Õ¥©¥ó¥È¤¬ÁªÂò¤µ¤ì¤Þ¤¹¡£

Îã:

     gnuplot*font: lucidasans-bold-12

¿·¤·¤¤¥Ç¥Õ¥©¥ë¥È¤Î¥Õ¥©¥ó¥È¤ò¡¢gnuplot ÆâÉô¤«¤é x11 ¥É¥é¥¤¥Ð¤Ë°Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ»Ø¼¨¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹:
    `set term x11 font "<fontspec>"`

¤Þ¤º x11 ¥É¥é¥¤¥Ð¤Ï¡¢Í¿¤¨¤é¤ì¤¿¥Õ¥©¥ó¥È¤ÎÀµ¼°Ì¾¤ò X ¥µ¡¼¥Ð¤Ë¿Ò¤Í¤Þ¤¹¡£ ¤³¤ÎÌ䤤¹ç¤ï¤»¤¬¼ºÇÔ¤·¤¿¾ì¹ç¡¢< fontspec> ¤ò "< font> ,< size> ,< slant> ,< weight> " ¤È²ò¼á¤·¡¢°Ê²¼¤Î·Á¤Î´°Á´¤Ê X11 ¥Õ¥©¥ó¥È̾¤òÀ¸À®¤·¤è¤¦¤È¤·¤Þ¤¹:
     -*-<font>-<weight>-<s>-*-*-<size>-*-*-*-*-*-<encoding>


<font> ¤Ï¥Õ¥©¥ó¥È¤Î´ðËÜ̾ (base name) (Îã: Times, Symbol)
<size> ¤Ï¥Ý¥¤¥ó¥È¥µ¥¤¥º (»ØÄ꤬¤Ê¤±¤ì¤Ð¥Ç¥Õ¥©¥ë¥È¤Ï 12)
<s> ¤Ï <slant>=="italic" ¤Ê¤é `i`, <slant>=="oblique" ¤Ê¤é `o`, ¤½¤Î¾¤Ï `r`
<weight> ¤ÏÌÀ¼¨Åª¤Ë»ØÄꤵ¤ì¤ì¤Ð `medium` ¤« `bold`¡¢¤½¤Î¾¤Ï `*`
<encoding> ¤Ï¸½ºß¤Îʸ»ú½¸¹ç¤Ë´ð¤Å¤¤¤ÆÀßÄê (°Ê²¼»²¾È: `set encoding`)

¤è¤Ã¤Æ set term x11 font "arial,15,italic" ¤Ï (¥Ç¥Õ¥©¥ë¥È¤Î encoding ¤À¤È¤¹¤ì¤Ð) -*-arial-*-i-*-*-15-*-*-*-*-*-iso8859-1 ¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£ < size> , < slant> , < weight> »ØÄê¤Ï¤¤¤º¤ì¤âɬ¿Ü¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£< slant> ¤ä < weight> ¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢¥Õ¥©¥ó¥È¥µ¡¼¥Ð¤¬ºÇ½é¤Ë¸«¤Ä¤±¤¿¡¢ÊÑ¼ï ¤Î¥Õ¥©¥ó¥È¤ò¼èÆÀ¤¹¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¥Ç¥Õ¥©¥ë¥È¤Î¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤Ï¡¢Âбþ¤¹¤ë X11 ¥ê¥½¡¼¥¹¤ò»È¤Ã¤ÆÀßÄꤹ¤ë¤³ ¤È¤â¤Ç¤­¤Þ¤¹¡£Îã:
     gnuplot*encoding: iso8859-15

x11 ¥É¥é¥¤¥Ð¤Ï¡¢°ìÈÌŪ¤Ê PostScript ¥Õ¥©¥ó¥È̾¤âǧ¼±¤·¡¢¤½¤ì¤ÈƱÅù¤ÇÍ­ ¸ú¤Ê X11 ¥Õ¥©¥ó¥È¤« TrueType ¥Õ¥©¥ó¥È¤ËÃÖ¤­´¹¤¨¤Þ¤¹¡£ ¤³¤ì¤ÈƱ¤¸¼ê½ç¤¬¡¢set label ¤ÎÍ×µá¤Ë¤è¤ë¥Õ¥©¥ó¥È¤ÎÀ¸À®¤Ç¤â»È¤ï¤ì¤Æ¤¤ ¤Þ¤¹¡£

¤¢¤Ê¤¿¤Î gnuplot ¤¬ configure ¤Î -enable-x11-mbfonts ¥ª¥×¥·¥ç¥ó¤ò¤Ä¤± ¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿¤â¤Î¤Ê¤é¡¢¥Õ¥©¥ó¥È̾¤ÎÁ°¤Ë "mbfont:" ¤ò¤Ä¤±¤ë¤³ ¤È¤Ç¥Þ¥ë¥Á¥Ð¥¤¥È¥Õ¥©¥ó¥È¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¥Õ¥©¥ó¥È̾¤òÊ£¿ô»ØÄê ¤¹¤ë¸Ä¤È¤â¤Ç¤­¤Þ¤¹¤¬¡¢¤½¤Î¾ì¹ç¤Ï¥»¥ß¥³¥í¥ó¤Ç¶èÀÚ¤ê¤Þ¤¹¡£¥Þ¥ë¥Á¥Ð¥¤¥È¥Õ ¥©¥ó¥È¤Î¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤Ï locale ¤ÎÀßÄê¤Ë½¾¤¤¤Þ¤¹¤Î¤Ç¡¢´Ä¶­ÊÑ¿ô LC_CTYPE ¤òŬÀÚ¤ÊÃÍ (Î㤨¤Ð ja_JP.eucJP, ko_KR.EUC, zh_CN.EUC ¤Ê¤É) ¤Ë ¤ËÀßÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

Îã:

     set term x11 font 'mbfont:kana14;k14'
           # 'kana14' ¤È 'k14' ¤ÏÆüËܸì¤Î X11 font ¥¨¥¤¥ê¥¢¥¹Ì¾¡¢';'
           # ¤Ï¥Õ¥©¥ó¥È̾¤Î¶èÀÚ¤ê¤Ç¤¹¡£
     set term x11 font 'mbfont:fixed,16,r,medium'
           # <font>,<size>,<slant>,<weight> ·Á¼°¤â»ÈÍѤǤ­¤Þ¤¹¡£
     set title '(mb strings)' font 'mbfont:*-fixed-medium-r-normal--14-*'

Ʊ¤¸½ñ¼°¤Ï X ¤Î¥ê¥½¡¼¥¹¤Ç¤Î¥Ç¥Õ¥©¥ë¥È¥Õ¥©¥ó¥È¤ÎÀßÄê¤Ç¤âÍ­¸ú¤Ç¤¹¡£Îã:

     gnuplot*font: \
         mbfont:-misc-fixed-medium-r-normal--14-*-*-*-c-*-jisx0208.1983-0

gnuplot ¤¬ -enable-x11-mbfonts ¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿¾ì¹ç¡¢"mbfont:" ¤ò¤Ä¤±¤Ê¤¯¤Æ¤â 2 ¤Ä¤ÎÆÃÊÌ¤Ê PostScript ¥Õ¥©¥ó¥È̾ 'Ryumin-Light-*', 'GothicBBB-Medium-*' (ɸ½àŪ¤ÊÆüËܸì PS ¥Õ¥©¥ó¥È) ¤ò»È¤¦¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

92.72.2 ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó (command-line_options)

X Toolkit ¥ª¥×¥·¥ç¥ó¤Ë²Ã¤¨¡¢°Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤¬ gnuplot ¤ÎΩ¤Á¾å¤²»þ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¡¢¤Þ¤¿¤Ï¥æ¡¼¥¶¤Î¥Õ¥¡¥¤¥ë ".Xdefaults" Æâ¤Î¥ê¥½¡¼¥¹¤È¤·¤Æ»ØÄê¤Ç¤­¤Þ¤¹ (raise ¤È persist ¤Ï set term x11 [no]raise [no]persist¤Ë¤è¤Ã¤Æ¾å½ñ¤­¤µ¤ì¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤):

`-mono` ¥«¥é¡¼¥Ç¥£¥¹¥×¥ì¥¤¾å¤Ç¶¯À©Åª¤ËÇò¹õÉÁ²è
`-gray` ¥°¥ì¥¤¥¹¥±¡¼¥ë¤Þ¤¿¤Ï¥«¥é¡¼¥Ç¥£¥¹¥×¥ì¥¤¾å¤Ç¤Î¥°¥ì¥¤¥¹¥±¡¼¥ëÉÁ²è
  (¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥°¥ì¥¤¥¹¥±¡¼¥ë¥Ç¥£¥¹¥×¥ì¥¤¤ÏÇò¹õÉÁ²è¤ò¼õ¤±ÉÕ¤±¤ë)
`-clear` ¿·¤·¤¤ÉÁ²è¤òɽ¼¨¤¹¤ëÁ°¤Ë (½Ö´ÖŪ¤Ë) ²èÌ̤ò¾Ãµî
`-tvtwm` geometry ¥ª¥×¥·¥ç¥ó¤Ë¤è¤ë°ÌÃ֤λØÄê¤ò¡¢²¾Áۥ롼¥È¥¦¥£¥ó¥É¥¦Ãæ¤Î
  ¸½ºß¤Îɽ¼¨Éôʬ¤ËÂФ¹¤ëÁêÂÐŪ¤Ê°ÌÃ֤ˤ¹¤ë
`-raise` ³ÆÉÁ²è¸å¤ËÉÁ²è¥¦¥£¥ó¥É¥¦¤òºÇÁ°Ì̤ؽФ¹
`-noraise` ³ÆÉÁ²è¸å¤ËÉÁ²è¥¦¥£¥ó¥É¥¦¤òºÇÁ°Ì̤ؽФ¹¤³¤È¤Ï¤·¤Ê¤¤
`-noevents` ¥Þ¥¦¥¹¡¢¥­¡¼¤ÎÆþÎϤò½èÍý¤·¤Ê¤¤
`-persist` gnuplot ¥×¥í¥°¥é¥à½ªÎ»¸å¤âÉÁ²è¥¦¥£¥ó¥É¥¦¤ò»Ä¤¹
¾åµ­¤Î¥ª¥×¥·¥ç¥ó¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó¾å¤Ç¤Î»ØÄê½ñ¼°¤Ç¡¢".Xdefaults" ¤Ë¥ê ¥½¡¼¥¹¤È¤·¤Æ»ØÄꤹ¤ë¤È¤­¤Ï°Û¤Ê¤ë½ñ¼°¤ò»È¤¤¤Þ¤¹¡£

Îã:

     gnuplot*gray:  on
     gnuplot*ctrlq: on

gnuplot ¤ÏÉÁ²è¥¹¥¿¥¤¥ë points ¤ÇÉÁ²è¤¹¤ëÅÀ¤Î¥µ¥¤¥º¤ÎÀ©¸æ¤Ë¤â¡¢¥³¥Þ¥ó¥É ¥é¥¤¥ó¥ª¥×¥·¥ç¥ó (-pointsize < v> ) ¤È¥ê¥½¡¼¥¹ (gnuplot*pointsize: < v> ) ¤òÄ󶡤·¤Æ¤¤¤Þ¤¹¡£ÃÍ v ¤ÏÅÀ¤Î¥µ¥¤¥º¤Î³ÈÂçΨ¤È¤·¤Æ»È¤ï¤ì¤ë¼Â¿ôÃÍ (0 < v < = 10) ¤Ç¡¢Î㤨¤Ð -pointsize 2 ¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥µ¥¤¥º¤Î 2 ÇÜ¡¢ -pointsize 0.5 ¤ÏÉáÄ̤Υµ¥¤¥º¤ÎȾʬ¤ÎÅÀ¤¬»È¤ï¤ì¤Þ¤¹¡£

-noevents ¤Ï¥Þ¥¦¥¹¡¢¥­¡¼¤ÎÁ´¤Æ¤ÎÆþÎϤνèÍý¤ò̵¸ú¤Ë¤·¤Þ¤¹ (q ¤È < space> ¤Ë¤è¤ë¥¦¥£¥ó¥É¥¦¤Î½ªÎ»¤ò½ü¤¤¤Æ)¡£¤³¤ì¤Ï¡¢gnuplot ¤Î¥á¥¤¥ó¥× ¥í¥°¥é¥à¤È¤ÏÆÈΩ¤·¤¿·Á¤Ç x11 ¥É¥é¥¤¥Ð¤òÍøÍѤ¹¤ë¥×¥í¥°¥é¥à¤ËÍ­ÍѤǤ¹¡£

-ctrlq ¥¹¥£¥Ã¥Á¤Ï¡¢ÉÁ²è¥¦¥£¥ó¥É¥¦¤òÊĤ¸¤ë¥Û¥Ã¥È¥­¡¼¤ò q ¤«¤é < ctrl> q ¤ËÊѹ¹¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢pause mouse keystroke ¤Ë¤è¤ë¥­¡¼¥¹¥È ¥í¡¼¥¯¤ÎÊݸµ¡Ç½¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢Â¾¤Î¥¢¥ë¥Õ¥¡¥Ù¥Ã¥Èʸ»ú¤ÈƱÍÍ¤Ë q ¤òÊݸ¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ë¤Î¤ÇÍ­ÍѤǤ·¤ç¤¦¡£Æ±¤¸Íýͳ¤Ç¡¢-ctrlq ¥¹¥£ ¥Ã¥Á¤Ï < space> ¥Û¥Ã¥È¥­¡¼¤â < ctrl> < space> ¤ËÃÖ¤­´¹¤¨¤Þ¤¹¡£

92.72.3 Çò¹õ¥ª¥×¥·¥ç¥ó (monochrome_options)

Çò¹õ¥Ç¥£¥¹¥×¥ì¥¤¤ËÂФ·¤Æ¤Ï gnuplot ¤ÏÉÁ²è¿§ (foreground) ¤âÇØ·Ê¿§ (background) ¤âÍ¿¤¨¤Þ¤»¤ó¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤ÏÇطʤÏÇò¡¢ÉÁ²è¤Ï¹õ¤Ç¤¹¡£-rv ¤ä gnuplot*reverseVideo: on ¤Î¾ì¹ç¤Ë¤ÏÇطʤ¬¹õ¤ÇÉÁ²è¤ÏÇò¤Ë¤Ê¤ê¤Þ¤¹¡£

92.72.4 ¥«¥é¡¼¥ê¥½¡¼¥¹ (color_resources)

x11 ½ÐÎÏ·Á¼°¤Ï°Ê²¼¤Î¥ê¥½¡¼¥¹ (¤³¤³¤Ç¤Ï¤½¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃͤò¼¨¤·¤Þ¤¹)¡¢ ¤Þ¤¿¤ÏÇò¹õ³¬Ä´ (greyscale) ¤Î¥ê¥½¡¼¥¹¤ò»²¾È¤·¤Þ¤¹¡£¥ê¥½¡¼¥¹¤ÎÃͤϥ·¥¹ ¥Æ¥à¾å¤Î X11 rgb.txt ¥Õ¥¡¥¤¥ë¤Ë½ñ¤«¤ì¤Æ¤¤¤ë¿§Ì¾¡¢¤Þ¤¿¤Ï 16 ¿Ê¤Î¿§»ØÄê (X11 ¤Î¥Þ¥Ë¥å¥¢¥ë¤ò»²¾È) ¤«¡¢¿§Ì¾¤È¶¯ÅÙ (0 ¤«¤é 1 ¤Î´Ö¤ÎÃÍ) ¤ò¥³¥ó¥Þ¤Ç ¶èÀڤä¿Ãͤò»ÈÍѤǤ­¤Þ¤¹¡£Î㤨¤Ð blue, 0.5 ¤ÏȾʬ¤Î¶¯ÅÙ¤ÎÀÄ¡¢¤ò°ÕÌ£ ¤·¤Þ¤¹¡£

  gnuplot*background: white
  gnuplot*textColor: black
  gnuplot*borderColor: black
  gnuplot*axisColor: black
  gnuplot*line1Color: red
  gnuplot*line2Color: green
  gnuplot*line3Color: blue
  gnuplot*line4Color: magenta
  gnuplot*line5Color: cyan
  gnuplot*line6Color: sienna
  gnuplot*line7Color: orange
  gnuplot*line8Color: coral

¤³¤ì¤é¤Ë´Ø¤¹¤ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Î½ñ¼°¤Ï¡¢ÇØ·Ê (bacground) ¤Ë´Ø¤·¤Æ¤Ïñ½ã¤Ç Ä̾ï¤Î X11 toolkit ¥ª¥×¥·¥ç¥ó¤Î "-bg" ¤ËľÀÜÂбþ¤·¤Þ¤¹¡£Â¾¤Î¤â¤Î¤â¡¢ Á´¤Æ°ìÈÌŪ¤Ê¥ê¥½¡¼¥¹¤Î¾å½ñ¤­¥ª¥×¥·¥ç¥ó "-xrm" ¤ò»È¤¦¤³¤È¤ÇÀßÄê¤Ç¤­¤Þ ¤¹¡£

Îã:

ÇØ·Ê¿§¤òÊѹ¹¤¹¤ë¤Ë¤Ï

     gnuplot -background coral

Àþ¼ï 1 ÈÖÌܤ理ò½ñ¤­´¹¤¨¤ë¤Ë¤Ï

     gnuplot -xrm 'gnuplot*line1Color:blue'

92.72.5 ³¥¿§³¬Ä´¥ê¥½¡¼¥¹ (grayscale_resources)

-gray ¤òÁªÂò¤¹¤ë¤È¡¢gnuplot ¤Ï¡¢¥°¥ì¥¤¥¹¥±¡¼¥ë¤Þ¤¿¤Ï¥«¥é¡¼¥Ç¥£¥¹¥× ¥ì¥¤¤ËÂФ·¤Æ¡¢°Ê²¼¤Î¥ê¥½¡¼¥¹¤ò»²¾È¤·¤Þ¤¹ (¤³¤³¤Ç¤Ï¤½¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃͤò¼¨¤·¤Þ¤¹)¡£¥Ç¥Õ¥©¥ë¥È¤ÎÇØ·Ê¿§¤Ï¹õ¤Ç¤¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

  gnuplot*background: black
  gnuplot*textGray: white
  gnuplot*borderGray: gray50
  gnuplot*axisGray: gray50
  gnuplot*line1Gray: gray100
  gnuplot*line2Gray: gray60
  gnuplot*line3Gray: gray80
  gnuplot*line4Gray: gray40
  gnuplot*line5Gray: gray90
  gnuplot*line6Gray: gray50
  gnuplot*line7Gray: gray70
  gnuplot*line8Gray: gray30

92.72.6 ÀþÉÁ²è¥ê¥½¡¼¥¹ (line_resources)

gnuplot ¤ÏÉÁ²è¤ÎÀþ¤ÎÉý (¥Ô¥¯¥»¥ëñ°Ì) ¤ÎÀßÄê¤Î¤¿¤á¤Ë°Ê²¼¤Î¥ê¥½¡¼¥¹¤ò»²¾È¤·¤Þ¤¹ (¤³¤³¤Ç¤Ï¤½¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃͤò¼¨¤·¤Þ¤¹)¡£0 ¤Þ¤¿¤Ï 1 ¤ÏºÇ¾®¤Î ÀþÉý¤Î 1 ¥Ô¥¯¥»¥ëÉý¤ò°ÕÌ£¤·¤Þ¤¹¡£2 ¤Þ¤¿¤Ï 3 ¤ÎÃͤˤè¤Ã¤Æ¥°¥é¥Õ¤Î³°´Ñ¤ò ²þÁ±¤Ç¤­¤ë¾ì¹ç¤â¤¢¤ë¤Ç¤·¤ç¤¦¡£

  gnuplot*borderWidth: 2
  gnuplot*axisWidth: 0
  gnuplot*line1Width: 0
  gnuplot*line2Width: 0
  gnuplot*line3Width: 0
  gnuplot*line4Width: 0
  gnuplot*line5Width: 0
  gnuplot*line6Width: 0
  gnuplot*line7Width: 0
  gnuplot*line8Width: 0

gnuplot ¤ÏÀþÉÁ²è¤Ç»ÈÍѤ¹¤ëÅÀÀþ¤Î·Á¼°¤ÎÀßÄêÍѤ˰ʲ¼¤Î¥ê¥½¡¼¥¹¤ò»²¾È¤·¤Þ¤¹¡£0 ¤Ï¼ÂÀþ¤ò°ÕÌ£¤·¤Þ¤¹¡£2 ·å¤Î 10 ¿Ê¿ô jk (j ¤È k ¤Ï 1 ¤«¤é 9 ¤Þ¤Ç¤ÎÃÍ) ¤Ï¡¢j ¸Ä¤Î¥Ô¥¯¥»¥ë¤ÎÉÁ²è¤Ë k ¸Ä¤Î¶õÇò¤Î¥Ô¥¯¥»¥ë¤¬Â³¤¯ ¥Ñ¥¿¡¼¥ó¤Î·«¤êÊÖ¤·¤«¤é¤Ê¤ëÅÀÀþ¤ò°ÕÌ£¤·¤Þ¤¹¡£Î㤨¤Ð '16' ¤Ï 1 ¸Ä¤Î¥Ô¥¯ ¥»¥ë¤Î¸å¤Ë 6 ¤Ä¤Î¶õÇò¤¬Â³¤¯¥Ñ¥¿¡¼¥ó¤ÎÅÀÀþ¤Ë¤Ê¤ê¤Þ¤¹¡£¤µ¤é¤Ë¡¢4 ·å¤Î 10 ¿Ê¿ô¤Ç¤è¤ê¾ÜºÙ¤Ê¥Ô¥¯¥»¥ë¤È¶õÇò¤ÎÎó¤Î¥Ñ¥¿¡¼¥ó¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£Î㤨¤Ð¡¢ '4441' ¤Ï 4 ¤Ä¤Î¥Ô¥¯¥»¥ë¡¢4 ¤Ä¤Î¶õÇò¡¢4 ¤Ä¤Î¥Ô¥¯¥»¥ë¡¢1 ¤Ä¤Î¶õÇò¤Î¥Ñ¥¿ ¡¼¥ó¤ò°ÕÌ£¤·¤Þ¤¹¡£°Ê²¼¤Î¥Ç¥Õ¥©¥ë¥È¤Î¥ê¥½¡¼¥¹Ãͤϡ¢Çò¹õ¥Ç¥£¥¹¥×¥ì¥¤¡¢¤¢¤ë¤¤¤Ï¥«¥é¡¼¤äÇò¹õ³¬Ä´ (grayscale) ¥Ç¥£¥¹¥×¥ì¥¤¾å¤ÎÇò¹õÉÁ²è¤Ë¤ª¤±¤ëÃÍ ¤Ç¤¹¡£ ¥«¥é¡¼¥Ç¥£¥¹¥×¥ì¥¤¤Ç¤Ï dashed:off ¤¬¥Ç¥Õ¥©¥ë¥È¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

  gnuplot*dashed: off
  gnuplot*borderDashes: 0
  gnuplot*axisDashes: 16
  gnuplot*line1Dashes: 0
  gnuplot*line2Dashes: 42
  gnuplot*line3Dashes: 13
  gnuplot*line4Dashes: 44
  gnuplot*line5Dashes: 15
  gnuplot*line6Dashes: 4441
  gnuplot*line7Dashes: 42
  gnuplot*line8Dashes: 13

92.72.7 X11 pm3d ¥ê¥½¡¼¥¹ (pm3d_resources)

ŬÀÚ¤Ê visual ¥¯¥é¥¹¤È¿§¿ô¤òÁªÂò¤¹¤ë¤Î¤Ï¡¢X11 ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ë¤È¤Ã¤Æ ¶ì¤·¤¯¡¢¤Á¤ç¤Ã¤ÈÌñ²ð¤Ê¤³¤È¤Ç¤¹¡£¤½¤ì¤Ï X11 ¤¬°Û¤Ê¤ë¿¼ÅÙ (depth) ¤Î 6 ¤Ä¤Î visual ·¿¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤«¤é¤Ç¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï gnuplot ¤Ï¤½¤Î¥¹¥¯¥ê¡¼¥ó¤Î¥Ç¥Õ¥©¥ë¥È¤Î visual ¤ò»ÈÍÑ ¤·¤Þ¤¹¡£³ä¤êÅö¤Æ¤ë¤³¤È¤Î¤Ç¤­¤ë¿§¿ô¤ÏÁªÂò¤µ¤ì¤¿ visual ¥¯¥é¥¹¤Ë¤è¤Ã¤ÆÊÑ ¤ï¤ê¤Þ¤¹¡£12bit ¤òĶ¤¨¤ë¿¼ÅÙ¤ò»ý¤Ä visual ¥¯¥é¥¹¾å¤Ç¤Ï¡¢gnuplot ¤ÏºÇÂç ¿§¿ô¤Ç¤¢¤ë 0x200 (=512) ¿§¤Çµ¯Æ°¤·¤Þ¤¹¡£8bit ¤òĶ¤¨¤ë (12bit °Ê²¼¤Ç) ¿¼Å٤Πvisual ¥¯¥é¥¹¤Ç¤ÏºÇÂ翧¿ô¤Ï 0x100 (=256) ¿§¡¢8bit °Ê²¼¤Î¥Ç¥£¥¹¥×¥ì¥¤¤Ç¤ÏºÇÂ翧¤Ï 240 (16 ¿§¤Ï¶ÊÀþ¤Î¿§ÍѤ˼è¤é¤ì¤ë) ¤Ë¤Ê¤ê¤Þ¤¹¡£

gnuplot ¤ÏºÇ½é¤Ë¡¢¾å¤Ë½Ò¤Ù¤¿¤è¤¦¤ÊºÇÂ翧¤ò³ä¤êÅö¤Æ¤è¤¦¤Èµ¯Æ°¤·¤Þ¤¹¡£¤³ ¤ì¤Ë¼ºÇÔ¤¹¤ë¤È¤½¤Î¿§¿ô¤Ï¡¢gnuplot ¤¬¤½¤ÎÁ´Éô¤ò³ä¤êÉÕ¤±¤ë¤³¤È¤¬¤Ç¤­¤ë¤Þ ¤Ç¡¢1/2 ¤º¤Ä¸º¤é¤µ¤ì¤Þ¤¹¡£maxcolors ¤ò·«¤êÊÖ¤· 2 ¤Ç³ä¤Ã¤¿·ë²Ì¡¢ mincolors ¤è¤ê¤â¾®¤µ¤¤¿ô»ú¤Ë¤Ê¤Ã¤¿¾ì¹ç¡¢gnuplot ¤Ï private ¥«¥é¡¼ ¥Þ¥Ã¥×¤ò»È¤ª¤¦¤È¤·¤Þ¤¹¡£¤³¤Î¾ì¹ç¡¢¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤Ï¡¢¥Ý¥¤¥ó¥¿¤¬ X11 ¥É¥é¥¤¥Ð¤Î¥¦¥£¥ó¥É¥¦¤ËÆþ¤ë¤«½Ð¤ë¤«¤Ç¥«¥é¡¼¥Þ¥Ã¥×¤òÂàÈò (swapping) ¤µ¤»¤ëÀÕǤ¤ò»ý¤Ä¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

mincolors ¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÃÍ¤Ï maxcolors / (num_colormaps > 1 ? 2 : 8) ¤Ç¡¢num_colormaps ¤Ï gnuplot ¤¬¸½ºß»ÈÍѤ·¤Æ¤¤¤ë¥«¥é¡¼¥Þ¥Ã¥×¤Î¿ô¤Ç¡¢¤³ ¤ì¤Ï¡¢x11 ¤Î¥¦¥£¥ó¥É¥¦¤¬ 1 ¤Ä¤À¤±³«¤¤¤Æ¤¤¤ë¤è¤¦¤ÊÄ̾ï¤Î¾ì¹ç¤Ï 1 ¤Ç¤¹¡£

Ê£¿ô¤Î (°Û¤Ê¤ë) visual ¥¯¥é¥¹¤ò¡¢°ì¤Ä¤Î¥¹¥¯¥ê¡¼¥ó¾å¤Ç¥µ¥Ý¡¼¥È¤¹¤ë¤è¤¦ ¤Ê¥·¥¹¥Æ¥à¤â¤¢¤ê¤Þ¤¹¡£¤³¤Î¤è¤¦¤Ê¥·¥¹¥Æ¥à¤Ç¤Ï¡¢gnuplot ¤Ë»ØÄꤷ¤¿ visual ¥¯¥é¥¹¤ò¶¯À©Åª¤Ë»È¤ï¤»¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£Î㤨¤Ð¡¢¥Ç¥Õ¥©¥ë¥È¤Î visual ¤¬ 8bit PseudoColor ¤À¤±¤ì¤É¤â¥¹¥¯¥ê¡¼¥ó¤Ï 24bit TrueColor ¤ò ¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Æ¤à¤·¤í¤³¤Á¤é¤ÎÊý¤òÁªÂò¤¹¤Ù¤­¤Ç¤¢¤ë¤è¤¦¤Ê¾ì¹ç¤Ç¤¹¡£

X ¥µ¡¼¥Ð¤ÎǽÎϤ˴ؤ¹¤ë¾ðÊó¤Ï¥×¥í¥°¥é¥à xdpyinfo ¤Ç¼èÆÀ¤Ç¤­¤Þ¤¹¡£ visual ̾¤Ï¼¡¤Î¤¦¤Á¤Î°ì¤Ä¤¬ÁªÂò¤Ç¤­¤Þ¤¹: StaticGray, GrayScale, StaticColor, PseudoColor, TrueColor, DirectColor¡£¤½¤Î X ¥µ¡¼¥Ð¤¬Í×µá ¤µ¤ì¤¿ visual ·¿¤Î°Û¤Ê¤ëÊ£¿ô¤Î¿¼ÅÙ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¾ì¹ç¡¢gnuplot ¤Ï ºÇ¤âÂ礭¤¤ (ºÇ¿¼¤Î) ¿¼Å٤Πvisual ¥¯¥é¥¹¤òÁªÂò¤·¤Þ¤¹¡£Í׵ᤵ¤ì¤¿ visual ¥¯¥é¥¹¤¬¥Ç¥Õ¥©¥ë¥È¤Î visual ¤È¤¢¤Ã¤Æ¤¤¤Æ¡¢¤½¤Î·¿¤ÎÊ£¿ô¤Î¥¯¥é¥¹ ¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î visual ¤¬ÁªÂò¤µ¤ì¤Þ¤¹¡£

Îã: 8bit PseudoColor ¤Î visual ¾å¤Ç¤Ï¡¢gnuplot*maxcolors: 240¡¢µÚ¤Ó gnuplot*mincolors: 240 ¤È»ØÄꤹ¤ë¤³¤È¤Ç¶¯À©Åª¤Ë private ¥«¥é¡¼¥Þ¥Ã¥× ¤ò»È¤¦¤è¤¦¤Ë¤Ç¤­¤Þ¤¹¡£

  gnuplot*maxcolors: À°¿ô
  gnuplot*mincolors: À°¿ô
  gnuplot*visual: visual ̾

92.72.8 X11 ¤Î¾¤Î¥ê¥½¡¼¥¹ (other_resources)

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¸½ºß¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦¤ÎÆâÍƤϡ¢¥¦¥£¥ó¥É¥¦¤Î X ¥¤¥Ù¥ó¥È ¤Ë½¾¤Ã¤Æ X11 ¥¯¥ê¥Ã¥×¥Ü¡¼¥É¤ËÁ÷¤é¤ì¤Þ¤¹¡£'gnuplot*exportselection' ¤Î ¥ê¥½¡¼¥¹¤ÎÃͤò 'off' ¤« 'false' ¤ÈÀßÄꤹ¤ë¤³¤È¤Ë¤è¤ê¤³¤ì¤ò̵¸ú¤Ë¤Ç¤­¤Þ ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢Ê¸»ú¤Î²óž¤Ï®¤¯¤½¤ì¤ò¹Ô¤Ê¤¦ÊýË¡¤¬»È¤ï¤ì¤Þ¤¹¤¬¡¢ÇØ·Ê¿§ ¤Ë¤è¤Ã¤Æ¤Ï¤½¤ÎÉն᤬±ø¤ì¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤¬µ¯¤³¤ë¾ì¹ç¤Ï¡¢¥ê¥½¡¼¥¹ 'gnuplot.fastrotate' ¤ò 'off' ¤Ë¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

  gnuplot*exportselection: off
  gnuplot*fastrotate: on
  gnuplot*ctrlq: off

92.73 Xlib

xlib ¥É¥é¥¤¥Ð¤Ï X11 Windows System ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥É¥é¥¤ ¥Ð¤Ï gnuplot_x11 ¤Ø¤ÎÌ¿Îá¤òÀ¸À®¤·¤Þ¤¹¤¬¡¢set output '< filename> ' ¤ò »ØÄꤹ¤ë¤È¤½¤ì¤é¤ò¥Õ¥¡¥¤¥ë¤Ë½ñ¤­½Ð¤·¤Þ¤¹¡£set term x11 ¤Ï¡¢ set output "| gnuplot_x11 -noevents"; set term xlib ¤ÈƱÃͤǤ¹¡£ xlib ¤Ë¤Ï x11 ¤ÈƱ¤¸¥ª¥×¥·¥ç¥ó¤ÎÁȤòÍ¿¤¨¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£


5 ¥Ð¥° (Bugs)

¥Ð¥°¥ê¥Ý¡¼¥È¤Ï e-mail ¤Ç gnuplot-bugs ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤ØÁ÷¤ë¤«¡¢¤Þ¤¿¤Ï SourceForge ¤Î gnuplot ¥¦¥§¥Ö¥µ¥¤¥È¤Ë¤½¤ÎÊó¹ð¤òÅê¹Æ¤·¤Æ¤¯¤À¤µ¤¤¡£¤½¤Î ºÝ¡¢¤¢¤Ê¤¿¤¬»ÈÍѤ·¤Æ¤¤¤ë gnuplot ¤Î¥Ð¡¼¥¸¥ç¥ó¤Î´°Á´¤Ê¾ðÊ󡢤½¤·¤Æ²Äǽ ¤Ê¤é¤Ð¤½¤Î¥Ð¥°¤ò¼Â¾Ú¤¹¤ë¥Æ¥¹¥È¥¹¥¯¥ê¥×¥È¤òÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£°Ê²¼»²¾È:seeking-assistance (3)¡£

93 ÃΤé¤ì¤Æ¤¤¤ëÀ©¸Â (limitations)

do ¤ä while ¥ë¡¼¥×¤ÎÃæ³ç¸ÌÆâ¤Ç¤Ï¡¢plot '-' ... ¤Î¤è¤¦¤Ê¥¤¥ó¥é¥¤¥ó ¥Ç¡¼¥¿¤Ï»ÈÍѤǤ­¤Þ¤»¤ó¡£

¥°¥é¥Õ¤Î key ¤ÎʤÙÊý¤È°ÌÃ֤ϡ¢key ʸ»úÎó¤È¤·¤Æ¾åÉÕ¤­¡¢²¼ÉÕ¤­Ê¸»ú¤¬»È ¤ï¤ì¤¿¤ê¡¢ÌÀ¼¨Åª¤Ê¥Õ¥©¥ó¥È»ØÄ꤬¹Ô¤ï¤ì¤ë¤ÈÉÔÀµ³Î¤Ë¤Ê¤ê¤Þ¤¹ (4.7 ¤Ç¤Ï½¤ ÀµºÑ¤ß)¡£

ÉâÆ°¾®¿ô·×»»Îã³° (ÉâÆ°¾®¿ôÃͤ¬Â礭¤¹¤®¤ë (¤Þ¤¿¤Ï¾®¤µ¤¹¤®¤ë) ¾ì¹ç¡¢0 ¤Ç ³ä»»¤·¤¿¾ì¹ç¤Ê¤É) ¤Ï¡¢¥æ¡¼¥¶ÄêµÁ´Ø¿ô¤Ë¤ª¤¤¤Æ»þÀÞȯÀ¸¤·¤Þ¤¹¡£Æäˡ¢¤¤¤¯ ¤Ä¤«¤Î¥Ç¥â¤Ç¡¢ÉâÆ°¾®¿ô¤ÎÈϰϤò±Û¤¨¤ë¿ôÃͤòÀ¸À®¤¹¤ë¤³¤È¤¬µ¯¤³¤ë¤è¤¦¤Ç¤¹¡£ ¥·¥¹¥Æ¥à¤¬¤½¤Î¤è¤¦¤ÊÎã³°¤ò̵»ë¤¹¤ë (gnuplot ¤Ï¤½¤Î¤è¤¦¤ÊÅÀ¤òÄêµÁ¤Ç¤­ ¤Ê¤¤¤â¤Î¡¢¤È¸«¤Ê¤·¤Þ¤¹) ¤«¡¢¤Þ¤¿¤Ï gnuplot ¤Î¼Â¹Ô¤òÃæ»ß¤¹¤ë¤«¤Ï¡¢¥³ ¥ó¥Ñ¥¤¥ë»þ (¤¢¤ë¤¤¤Ï¼Â¹Ô»þ) ¤Î´Ä¶­¤Ë¤è¤ê¤Þ¤¹¡£

¥¬¥ó¥Þ´Ø¿ô¤È¥Ù¥Ã¥»¥ë´Ø¿ô¡¢erf ´Ø¿ô¤ÏÊ£ÁÇ¿ô°ú¿ô¤ËÂФ·¤Æ¤ÏÆ°ºî¤·¤Þ¤»¤ó¡£

"»þ¹ï" ¤È¤·¤Æ»ØÄꤵ¤ì¤¿ºÂɸ¤Ï 24 »þ¤ÇÀÞ¤êÊÖ¤·¤Þ¤¹¡£

nohidden3d ¤Ï¡¢Á´ÂÎŪ¤ÊÀßÄê¤Ç¤¢¤ë set hidden3d ¤ò¡¢¸Ä¡¹¤ÎÉÁ²è¤ËÂÐ ¤·¤ÆÌȽü¤¹¤ë¤¿¤á¤Î¥ª¥×¥·¥ç¥ó¤Ç¤¹¤¬¡¢¤³¤ì¤ÏÇÞ²ðÊÑ¿ô¤Î¶ÊÀþ (parametric) ¤ËÂФ·¤Æ¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£

X11 ½ÐÎÏ·Á¼°: UTF-8 ¥Õ¥©¥ó¥È¤ÎÁªÂò¤¬º¤Æñ¤Ç¤¹¡£¥×¥í¥°¥é¥à¤Ï¡¢x11 ½ÐÎÏ¥¦ ¥£¥ó¥É¥¦¤Î¥¢¥¹¥Ú¥¯¥ÈÈæ¤ÎÀµ¤·¤µ¤òÄɵᤷ¤Þ¤»¤ó¡£¤½¤ì¤Ï¡¢"set size ratio" ¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¤¬Àµ¾ï¤Ëµ¡Ç½¤¹¤ë¤¿¤á¤Ë¤Ï¡¢x11 ¥¦¥£¥ó¥É¥¦¼«ÂΤ¬Åù¤·¤¤¹â ¤µ¤ÈÉý¤ò»ý¤¿¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤«¤é¤Ç¤¹¡£ ¤¹¤Ù¤Æ¤Î x11 ÉÁ²è¥¦¥£¥ó¥É¥¦¤ËÂÐ ¤·¤Æ¡¢°ìÅÙ¤Ë 1 ¤Ä¤Î¥«¥é¡¼¥Ñ¥ì¥Ã¥È¤Î¤ß¤¬Í­¸ú¤Ç¤¹¡£¤³¤ì¤Ï¡¢°Û¤Ê¤ë¥Ñ¥ì¥Ã ¥È¤ò»ÈÍѤ¹¤ëÉÁ²è¤ò´Þ¤ó¤À multiplot ¤Ç¤Ï x11 ¾å¤Ç¤ÏÀµ¤·¤¯É½¼¨¤µ¤ì¤Ê¤¤¡¢ ¤È¤¤¤¦¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£

Qt ½ÐÎÏ·Á¼°: ¥³¥ó¥Ñ¥¤¥ë»þ¤Ë»ÈÍѤµ¤ì¤ë qt ´Ä¶­¤¬¥ì¥ó¥À¥ê¥ó¥°¥â¡¼¥É¤È¤· ¤Æ "opengl" ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Ê¤±¤ì¤Ð¿³Ñ·Á¤È¶ÊÌÌɽ¼¨¤Ï¤«¤Ê¤ê¯¤Ê¤ë²Ä ǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£

94 ³°Éô¥é¥¤¥Ö¥é¥ê (External libraries)

³°Éô¥é¥¤¥Ö¥é¥ê GD (PNG/JPEG/GIF ¥É¥é¥¤¥Ð¤Ç»ÈÍÑ): ¥Ð¡¼¥¸¥ç¥ó 2.0.33 ¤Þ¤Ç¤Î libgd ¤Ë¤Ï¡¢Adobe ¤Î Symbol ¥Õ¥©¥ó¥È¤Îʸ»ú¤Î ¥Þ¥Ã¥Ô¥ó¥°¤Ë´Ø¤¹¤ë¤¤¤¯¤Ä¤«¤Î¥Ð¥°¤¬¤¢¤ê¤Þ¤¹¡£¤Þ¤¿¡¢¥¢¥ó¥Á¥¨¥¤¥ê¥¢¥¹¤µ¤ì ¤¿Àþʬ¤¬¥­¥ã¥ó¥Ð¥¹¤Î¾å¤Î³Ñ¤È¸ò¤ï¤ë¾ì¹ç¤Ë¡¢¥é¥¤¥Ö¥é¥ê¤¬¥»¥°¥á¥ó¥Æ¡¼¥·¥ç ¥ó¥Õ¥©¥ë¥È¤ò°ú¤­µ¯¤¹¤³¤È¤â¤¢¤ê¤Þ¤¹¡£

³°Éô¥é¥¤¥Ö¥é¥ê PDFlib (PDF ¥É¥é¥¤¥Ð¤Ç»ÈÍÑ): gnuplot ¤Ï libpdf ¤Î¥Ð¡¼¥¸¥ç¥ó 4, 5, 6 ¤Î¤¤¤º¤ì¤«¤ò¥ê¥ó¥¯¤Ç¤­¤Þ¤¹¡£¤· ¤«¤·¡¢¤³¤ì¤é¤Ï¥Ð¡¼¥¸¥ç¥ó¤Ë¤è¤Ã¤Æ¥Ñ¥¤¥×¤µ¤ì¤¿Æþ½ÐÎϤνèÍý¤¬°ã¤Ã¤Æ¤¤¤Þ¤¹ ¤Î¤Ç¡¢¥Ñ¥¤¥×¤ò»È¤Ã¤Æ PDF ¤ò½ÐÎϤ¹¤ë gnuplot ¥¹¥¯¥ê¥×¥È¤Ï¡¢PDFlib ¤Î¤¢ ¤ë¥Ð¡¼¥¸¥ç¥ó¤Ç¤À¤±¤·¤«¤Á¤ã¤ó¤ÈÆ°¤«¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£

³°Éô¥é¥¤¥Ö¥é¥ê svgalib (linux, vgadl ¥É¥é¥¤¥Ð¤Ç»ÈÍÑ): ¤³¤ì¤Ï gnuplot ¤¬ root ¤Ë setuid (·ù!) ¤µ¤ì¤ë¤³¤È¤òÍ׵ᤷ¤Þ¤¹¤·¡¢¥Ó¥Ç ¥ª¥«¡¼¥É¤ä X11 ¤Ç»ÈÍѤµ¤ì¤ë¥°¥é¥Õ¥£¥Ã¥¯¥É¥é¥¤¥Ð¤ËÆÃÍ­¤Î¿¤¯¤Î¥Ð¥°¤¬¤¢ ¤ê¤Þ¤¹¡£

¹ñºÝ²½ (¥í¥±¡¼¥ë¤ÎÀßÄê): gnuplot ¤Ï¡¢Æþ½ÐÎϤοô¡¢»þ¹ï¡¢ÆüÉÕʸ»úÎó¤Î¥í¥±¡¼¥ë¤Ë°Í¸¤·¤¿½ñ¼°¤ÎÀ©¸æ ¤ò¡¢C ¥é¥ó¥¿¥¤¥à¥é¥¤¥Ö¥é¥ê¤Ë´Þ¤Þ¤ì¤ë setlocale() ¤òÍѤ¤¤Æ¹Ô¤¦¤Î¤Ç¡¢¥í ¥±¡¼¥ë¤ÎÍ­¸úÀ­¤ä¡¢¥í¥±¡¼¥ëµ¡Ç½¤Î¥µ¥Ý¡¼¥È¤Î¥ì¥Ù¥ë (Î㤨¤Ð¿ô»ú¤Î 3 ·åËè ¤Î¶èÀÚ¤êʸ»ú¤Ê¤É) ¤Ê¤É¤Ï¡¢¤¢¤Ê¤¿¤Î¥³¥ó¥Ô¥å¡¼¥¿¤¬Ä󶡤¹¤ë¹ñºÝ²½¤Î¥µ¥Ý¡¼ ¥È¤ÎÅٹ礤¤Ë°Í¸¤·¤Þ¤¹¡£

6 Index


º÷°ú

.gnuplot
21
3D
57
abs
14.1
acos
14.1
acosh
14.1
acsplines
72.3.5.1
adobeglyphnames
92.51.4
aed512
92.1
aed767
92.1
aifm
92.2
airy
14.1
all
74
angles
82.1 | 82.57
aqua
92.3 | 92.3
arg
14.1
arrow
82.2 | 82.66.1
arrowstyle
50 | 50 | 82.66.1
asin
14.1
asinh
14.1
atan
14.1
atan2
14.1
atanh
14.1
automated
39.2
autoscale
72.3 | 72.8 | 82.3
avs
72.2.7.1
axes
10 | 16 | 20 | 72.1
background
17.1.1
backquotes
23.1
bars
28 | 30 | 30 | 35 | 51 | 52 | 53 | 54 | 55 | 56 | 72.4 | 72.5 | 82.4
batch/interactive
2 | 6 | 63 | 69 | 81
be
92.4 | 92.4
besj0
14.1
besj1
14.1
bessel
93
besy0
14.1
besy1
14.1
bezier
72.3.5.2
bgnd
4.2 | 17.1.1
binary
72.2 | 72.2.7
bind
18 | 18.1 | 80 | 82.5 | 82.5 | 82.40 | 82.40
bitwise operators
14.2.2
bmargin
82.6
border
82.7 | 82.26 | 82.71
boxerrorbars
26 | 82.8
boxes
27 | 29 | 82.8
boxplot
4.3 | 28 | 28 | 30 | 82.66.2
boxwidth
28 | 30 | 82.8
boxxyerrorbars
29
branch
64.5
bugs
5
cairolatex
92.5
call
59 | 69
candlesticks
28 | 30 | 35 | 82.66.2
canvas
7 | 92.24 | 92.34 | 92.49
cbdata
82.116
cbdtics
82.117
cblabel
82.124
cbmtics
82.125
cbrange
17 | 17.1 | 82.53 | 82.53.1 | 82.66.7 | 82.126
cbtics
82.127
cd
58
ceil
14.1
center
40
cgi
92.7
cgm
92.8
circle
31 | 82.47.3
circles
4.3 | 31
clabel
82.9 | 82.11 | 82.14 | 82.30
clear
60
clip
50 | 82.10
cnormal
72.3.5.10
cntrparam
20 | 82.11 | 82.14 | 84.3
color resources
92.72.4
colorbox
17.1 | 82.12 | 82.53 | 82.53.1 | 82.53.5 | 82.126
colornames
17 | 17.1 | 82.13 | 82.66.7
colors
17 | 17 | 17.1 | 72.11 | 82.54.1 | 82.54.2 | 82.66.7
colorspec
17.1 | 32 | 82.31 | 82.47 | 82.66.7 | 82.66.9 | 82.76
column
14.1 | 72.3.8
columnhead
4.1 | 14.1 | 72.3.8
columnheader
11 | 72.10 | 82.30
command line editing
8
command line options
92.72.2
command-line-editing
78
command-line-options
18.1.1
commands
3
comments
2 | 9 | 69
commentschars
9 | 82.16.5
compatibility
5
context
92.9
contour
20 | 57 | 82.9 | 82.11 | 82.14 | 82.27 | 82.67 | 82.68 | 84.3
coordinates
10 | 82.2 | 82.2 | 82.30.1 | 82.31 | 82.31 | 82.47.1 | 82.47.2 | 82.47.3 | 82.47.4 | 82.49 | 82.66.1 | 82.71 | 82.76 | 82.93 | 82.96
copyright
1
corel
92.10
cos
14.1
cosh
14.1
csplines
72.3.5.3
cubehelix
82.54.4
cumulative
4.5 | 72.3.5.9
cycle
82.32
data
42 | 72 | 72.3 | 82.15
data file
72.3
datafile
20 | 64 | 72.3 | 82.3 | 82.14 | 82.27 | 84.2
datastrings
11 | 42 | 72.10
date specifiers
82.23.3
debug
92.11
decimalsign
82.17 | 82.20 | 82.23 | 82.35
defined
14.1
degrees
82.1
depthorder
57 | 82.53.2 | 82.53.3 | 82.53.3
dgrid3d
4.5 | 82.18 | 82.64 | 82.68 | 84.3
division
14
do
4.1 | 61 | 68
dots
33
dpu414
92.20
dumb
92.12
dummy
82.3 | 82.19
dx
40 | 72.2.8.3
dxf
92.13
dxy800a
92.14
dy
40 | 72.2.8.3
edf
72.2.7.2
editing
8
editing postscript
92.51.1
eepic
92.15
ehf
72.2.7.2
ellipse
32 | 32 | 32 | 32 | 82.47.2 | 82.47.2 | 82.66.10
ellipses
4.3 | 32 | 82.66.10
elliptic integrals
14.1.1
emf
92.16
emtex
92.36
emxvesa
92.17
emxvga
92.17
encoding
12 | 82.20 | 82.35 | 92.30 | 92.47 | 92.50 | 92.71
encodings
82.20
enhanced
12 | 92.3 | 92.46 | 92.47 | 92.50 | 92.51 | 92.55 | 92.58 | 92.71 | 92.72
environment
13
epoch
25
eps
15.3
epscairo
92.18
epslatex
92.19
epson 180dpi
92.20
epson 60dpi
92.20
epson lx800
92.20
equal
82.65 | 82.65
equal axes
82.82.1
erf
14.1
erfc
14.1
error estimates
64.2 | 64.2
error state
14.4 | 80
errorbars
72.3 | 72.4
errorlines
72.3 | 72.4 | 72.5
errors
14.4 | 14.4
evaluate
62
every
72.3.1
example
72.3.2
examples
72.3.8.1
excl
92.21
exists
14.1 | 23.2
exit
63
exp
14.1
expint
14.1
exponentiation
14.2.2
expressions
14 | 73 | 82.25
factorial
14.2.1
failsafe
40.2
faq
3 | 3
fig
92.22
file
72.3
filetype
72.2.7
fill
27 | 29 | 30 | 39 | 39
filledcurves
34
fillsteps
4.3 | 37
fillstyle
28 | 30 | 31 | 32 | 72.11 | 82.47 | 82.66.4 | 82.66.9 | 92.49
financebars
30 | 35 | 82.66.2
fit
13 | 14.4 | 14.4 | 64 | 64.2 | 72.3.8 | 90
fit parameters
64.1
fitting
64.2
flipx
40
floating point exceptions
82.16.2 | 93
floor
14.1
flush
82.53.3
fontfile
15.3 | 92.51 | 92.51.2 | 92.51.4
fontpath
82.22 | 92.51.2
fonts
15 | 15.1 | 15.2 | 15.3 | 92.24.1 | 92.49.1 | 92.72.1
format
82.23 | 82.68 | 82.75 | 82.92 | 82.94 | 82.96
format specifiers
82.23.2
fortran
82.16.1
fpe trap
82.16.2
frequency
72.3.5.8
fsteps
36
function
72.6 | 82.24
functions
14.5 | 14.5 | 72 | 72.6 | 72.6
gamma
14.1 | 93
gamma correction
82.54.6
gd
15.2
general
72.2 | 82.16.6 | 82.54.5 | 84.1.1
geomean
82.53.5
ggi
92.23
gif
15.2 | 92.24
glossary
16 | 72.3.1
gnuplot
1
gnuplot defined
14.4
gpic
92.25
gprintf
22 | 82.23.1 | 82.31
GPVAL
14.4 | 14.4
graph menu
92.70.1
graph-menu
92.70 | 92.70.5
grass
92.26
grayscale resources
92.72.5
grid
82.26 | 82.60
grid data
82.14 | 82.18 | 84.1 | 84.2
guidelines
64.3.2
hcgi
92.7
heatmap
40
help
65
help desk
3
hidden3d
57 | 82.27 | 82.29
histeps
38
histograms
39
history
66
historysize
82.28
hotkey
18.1
hotkeys
18.1
hp2623a
92.27
hp2648
92.28
hp500c
92.29
hpdj
92.31
hpgl
92.30
hpljii
92.31
hppj
92.32
ibeta
14.1
if
4.1 | 67 | 91
if old
67.1
if-old
67
igamma
14.1
imag
14.1
image
40 | 48 | 49
imagen
92.33
impulses
41
index
72.3 | 72.3.3
initialization
4.2 | 21
int
14.1
internationalization
94
interval
82.66.7
introduction
2
inverf
14.1
invnorm
14.1
isosamples
20 | 72.6 | 82.27 | 82.29 | 82.64 | 84.2 | 84.2 | 84.3
iterate
68
iteration
4.1 | 39 | 39.2 | 61 | 68 | 68 | 72.9 | 82 | 82 | 89 | 89
jpeg
15.2 | 92.34
kdensity
4.5 | 72.3.5.11
kdensity2d
82.18
key
72.10 | 82.30
kyo
92.35
label
42 | 82.31 | 82.40
labels
11 | 42 | 72.3 | 82.31 | 82.40
lambertw
14.1
latex
92.36
lc
17.1
least squares
64
legend
82.30
lgamma
14.1
libgd
94
license
1
line
82.2 | 82.12 | 82.66.1
line editing
8
line resources
92.72.6
linecolor
17.1 | 26 | 29 | 30 | 35 | 50
lines
43 | 44 | 45
linespoints
44 | 82.66.7
linestyle
43 | 82.66.7
linetype
4.2 | 17 | 43 | 72.11 | 82.32 | 82.66.6 | 82.66.7
linetypes
17
linewidth
43 | 82.66.7 | 82.66.7
linux
92.37
lmargin
82.33
load
69
loadpath
82.34
locale
82.17 | 82.20 | 82.35 | 94
log
14.1 | 82.8
log10
14.1
logscale
82.36
lower
70
lp
44
lua
92.38 | 92.64
macintosh
92.39
macros
14.5 | 23.2 | 62
map
57.1 | 82.53.5
mapping
82.38 | 82.57
margin
82.6 | 82.33 | 82.39 | 82.41 | 82.61 | 82.77
Marquardt
64
matrix
72.2 | 72.2.1 | 72.3.2 | 82.16.6
max
82.53.5
mcsplines
72.3.5.4
mean
82.53.5
median
82.53.5
metafont
92.40
metapost
92.42
mf
92.40
mif
92.41
min
82.53.5
missing
82.16.3
mixing macros backquotes
23.3
modulo
14.2.2
monochrome options
92.72.3
mouse
18 | 18.1 | 82.40 | 92.55 | 92.70.1 | 92.71
mouseformat
82.40.2
mousewheel
82.40.3
mousing
82.40
mp
92.42
multi branch
64.5
multi-branch
64 | 64.4.1
multiplot
60 | 82.41 | 92.63
mx2tics
82.42
mxtics
82.42 | 82.43 | 82.44 | 82.45 | 82.46 | 82.71
my2tics
82.44
mytics
82.45
mztics
82.46
NaN
14 | 14.5 | 72.3.8.1
nec cp6
92.20
negation
14.2.1
new features
4
newhistogram
39.1
next
92.43 | 92.43
noarrow
82.2
noautoscale
82.3
noborder
82.7
nocbdtics
82.117
nocbmtics
82.125
nocbtics
82.127
noclip
82.10
nocontour
82.14
nodgrid3d
82.18
nofpe trap
82.16.2
nogrid
82.26
nohidden3d
82.27 | 93
nohistorysize
82.28
nokey
82.30
nolabel
82.31
nologscale
82.36
nomouse
82.40
nomultiplot
82.41
nomx2tics
82.42
nomxtics
82.43
nomy2tics
82.44
nomytics
82.45
nomztics
82.46
nonuniform
84.1.1
nooffsets
82.48
noparametric
82.51
nopolar
82.57
norm
14.1
nosurface
82.67
notimestamp
82.74
nox2dtics
82.85
nox2mtics
82.87
nox2tics
82.89
nox2zeroaxis
82.90
noxdtics
82.92
noxmtics
82.94
noxtics
82.96
noxzeroaxis
82.98
noy2dtics
82.100
noy2mtics
82.102
noy2tics
82.104
noy2zeroaxis
82.105
noydtics
82.107
noymtics
82.109
noytics
82.111
noyzeroaxis
82.112
nozdtics
82.114
nozmtics
82.121
noztics
82.123
nozzeroaxis
82.115
object
82.47
offsets
82.39 | 82.48
okidata
92.20
one's complement
14.2.1
openstep
92.44 | 92.44 | 92.44
operator precedence
14.2.1
operators
14.2
options
2
origin
60 | 82.41 | 82.49
output
82.50
palette
17 | 72.11 | 82.12 | 82.31 | 82.53 | 82.53.1 | 82.54 | 82.54 | 82.66.7 | 82.66.7 | 82.76 | 82.126
parametric
82.3 | 82.51
pause
71
pbm
92.45
pcl5
92.30
pdf
15.1 | 92.46 | 94
pdfcairo
92.5 | 92.47
persist
19
pi
14.5
placement
82.30
plot
72 | 72 | 78 | 84 | 84 | 85
plotting
20
pm
92.48
pm3d
82.2 | 82.12 | 82.12 | 82.53 | 82.66.1 | 82.66.7
pm3d resources
92.72.7
png
15.1 | 15.2 | 92.49
pngcairo
92.50
pointinterval
44 | 82.66.7
pointintervalbox
82.55
points
45
pointsize
72.11 | 82.56
polar
4.4 | 20 | 46 | 82.57 | 82.60 | 82.63
polygon
82.47.4
pop
82.69
position
82.53
postscript
15.3 | 92.51 | 92.51
practical guidelines
64.3.2
prescribe
92.35
print
73
printing
92.70 | 92.70.1 | 92.70.2
projection
57.1
prologue
13 | 92.19 | 92.51 | 92.51.3 | 92.52
psdir
82.59 | 92.51.3
pseudocolumns
72.3.3 | 72.3.8 | 72.3.8.2
pslatex
92.5 | 92.19 | 92.52
pstex
92.52
pstricks
92.53
punctuation
24
push
82.69
pwd
74
qms
92.54
qt
92.55
quit
75
quotes
24.1
raise
76 | 92.72
rand
14.1 | 14.1.2
random
14.1.2
range frame
82.96.2
rangelimited
82.96.2
ranges
64 | 72.8
ratio
82.65
raxis
82.60
real
14.1
rectangle
82.47 | 82.47.1 | 82.66.4
refresh
72.3.6 | 72.3.9 | 77
regis
92.56
replot
72.3.6 | 78
reread
67.1 | 79
reset
80 | 82
restore
82.95
rgbalpha
40
rgbcolor
17.1 | 17.1.3
rgbformulae
82.54.1
rgbimage
40
rmargin
82.61
rotate
40
rrange
4.4 | 46 | 82.3.2 | 82.57 | 82.60 | 82.62
rtics
82.60 | 82.63
samples
72.3.5 | 72.6 | 82.27 | 82.29 | 82.64 | 82.68
save
81
sbezier
72.3.5.5
scansautomatic
82.53.3
scansbackward
82.53.3
scansforward
82.53.3
screendump
92.70.2
scrolling
82.40.3 | 92.70.1
seeking assistance
3
seeking-assistance
5
separator
72.3.8 | 82.16.4
set
82
sgn
14.1
shell
83 | 86
show
82
sin
14.1
sinh
14.1
size
60 | 82.41 | 82.41 | 82.51 | 82.65 | 92.24 | 92.34 | 92.49
SJIS
82.20
skip
72.3.2 | 72.3.4 | 72.3.4
smooth
4.5 | 72.3.5
space
18.1
special filenames
72.3.6
special-filenames
23.1 | 84.1
specifiers
82.23.1
specify
24
splot
72 | 82.27 | 84
sprintf
14.1 | 22 | 82.31
sqrt
14.1
square
46
starc
92.20
start
21
start up
21
starting values
64.6
startup
13 | 21
statistical overview
64.3.1
statistics
85
stats
4.7 | 85
steps
37 | 47
strcol
14.1
strftime
14.1
string operators
14.2.2
stringcolumn
14.1
strings
22 | 82.31
strlen
14.1
strptime
14.1
strstrt
14.1
style
72.3.8 | 72.4 | 72.5 | 72.11 | 82.31
styles
72.11 | 82.66 | 82.66.3 | 82.66.5
substitution
23 | 24.1 | 82.37
substr
14.1
substring
14.1 | 22
summation
4.1 | 14.3
sun
92.57
surface
57 | 82.14 | 82.67 | 84.3
svg
92.58
svga
92.59
svgalib
94
syntax
2 | 24 | 82.23 | 82.30 | 82.76 | 82.93
system
14.1 | 86
table
82.68
tan
14.1
tandy 60dpi
92.20
tanh
14.1
tc
17.1
tek40
92.60
tek410x
92.61
term
81 | 92
terminal
92 | 92
terminals
82.69
termoption
82.70
ternary
14.2.3
test
17.1 | 87
texdraw
92.62
text
24.1 | 82.31 | 92.48 | 92.70
text menu
92.70.3
text-menu
92.70.5
textcolor
17.1
tgif
92.63
thru
72.3.7
tics
82.71
ticscale
82.73
ticslevel
82.72
tikz
92.64
time
4.6 | 14.1
time specifiers
25 | 82.23.3
time/date
25 | 82.75 | 82.91
timecolumn
14.1
timefmt
10 | 72.8 | 82.23.2 | 82.31 | 82.74 | 82.75 | 82.91 | 93
timestamp
82.74
tips
64.7
title
11 | 82.30 | 82.76
tkcanvas
92.65
tm hour
14.1
tm mday
14.1
tm min
14.1
tm mon
14.1
tm sec
14.1
tm wday
14.1
tm yday
14.1
tm year
14.1
tmargin
82.77
tpic
92.66
trange
82.78
transparency
40.1
transparent
82.66.4.1
unary
14.2.1
undefine
88
unique
72.3.5.1 | 72.3.5.3 | 72.3.5.5 | 72.3.5.6
unset
89
unwrap
72.3.5.7
update
64 | 90
urange
82.79
user defined
14.5
user-defined
72.6
using
11 | 14 | 14.2.3 | 2 | 64 | 72.3.8 | 72.4 | 72.5 | 82.53.1
UTF 8
82.20 | 92.51.4
valid
14.1
value
14.1.3 | 14.5
variable
26 | 27 | 29 | 29 | 30 | 35 | 42 | 43 | 50 | 72.3.3 | 82.53.5
variables
14.1.3 | 14.4 | 14.4 | 14.4 | 14.5 | 14.5 | 14.5 | 18 | 18.2 | 64.2 | 71
vectors
50
vgagl
92.67
vgal
92.17
view
82.82 | 82.97 | 84
voigt
14.1
volatile
72.3.9
vrange
82.83
vttek
92.60
VWS
92.68
vx384
92.69
wgnuplot.ini
92.70.5
wgnuplot.mnu
92.70.4
while
4.1 | 91
windows
92.70
with
72.4 | 72.5 | 72.11 | 82.30 | 82.56 | 82.66 | 92.22
word
14.1 | 14.1
words
14.1 | 14.1
writeback
82.95
wxt
15.1 | 92.71
X resources
92.72 | 92.72.2 | 92.72.3 | 92.72.4 | 92.72.5 | 92.72.6 | 92.72.7 | 92.72.8
x11
2 | 92.72 | 92.72
x11 fonts
92.72.1
x11 mouse
82.40.4
x2data
82.84
x2dtics
82.85
x2label
82.86
x2mtics
82.87
x2range
82.88
x2tics
82.89
x2zeroaxis
82.90
xdata
10 | 82.31 | 82.75 | 82.84 | 82.91 | 82.99 | 82.106 | 82.113 | 82.116
xdtics
82.85 | 82.92 | 82.100 | 82.107 | 82.114 | 82.117
xerrorbars
51
xerrorlines
54
xfig
92.22
xlabel
82.86 | 82.93 | 82.101 | 82.108 | 82.120 | 82.124
xlib
92.73
xmtics
82.87 | 82.94 | 82.102 | 82.109 | 82.121 | 82.125
xrange
82.3 | 82.57 | 82.78 | 82.79 | 82.83 | 82.88 | 82.95 | 82.103 | 82.110 | 82.122 | 82.126 | 85
xterm
92.60
xticlabels
11 | 72.3.8.3 | 72.3.8.4 | 72.3.8.5 | 72.3.8.6 | 72.3.8.7
xtics
82.7 | 82.23 | 82.26 | 82.36 | 82.43 | 82.63 | 82.71 | 82.89 | 82.96 | 82.104 | 82.111 | 82.123 | 82.127
xyerrorbars
52
xyerrorlines
55
xyplane
10 | 82.72 | 82.82.1 | 82.97 | 82.115 | 84
xzeroaxis
82.98
y2data
82.99
y2dtics
82.100
y2label
82.101
y2mtics
82.102
y2range
82.103
y2tics
82.104
y2zeroaxis
82.105
ydata
82.106
ydtics
82.107
yerrorbars
53
yerrorlines
56
ylabel
82.108
ymtics
82.109
yrange
82.110
ytics
82.111
yzeroaxis
82.112
zdata
82.113
zdtics
82.114
zero
82.118
zeroaxis
82.90 | 82.97 | 82.98 | 82.105 | 82.112 | 82.115 | 82.119
zlabel
82.120
zmtics
82.121
zoom
82.40.5
zrange
82.122
ztics
82.123
zzeroaxis
82.115

¤³¤Îʸ½ñ¤Ë¤Ä¤¤¤Æ...

¤³¤Îʸ½ñ¤ÏLaTeX2HTML ËÝÌõ¥×¥í¥°¥é¥à Version 2008 (1.71)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds,
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

¤òÆüËܸ첽¤·¤¿¤â¤Î( 2008 (1.71) JA patch-2.1beta1.13 ÈÇ)

Copyright © 1998, 1999, Kenshi Muto, Debian Project.
Copyright © 2001-2011, Shige TAKENO, Niigata Inst.Tech.

¤òÍѤ¤¤ÆÀ¸À®¤µ¤ì¤Þ¤·¤¿¡£

¥³¥Þ¥ó¥É¹Ô¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤·¤¿¡£:
latex2html -image_type gif -split 0 -show_section_numbers -dir gnuplot-ja -html_version 4.0,math -nonavigation gnuplot-ja-ref.tex.

ËÝÌõ¤Ï ÃÝÌîÌм£ ¤Ë¤è¤Ã¤Æ 2015ǯ6·î19Æü ¤Ë¼Â¹Ô¤µ¤ì¤Þ¤·¤¿¡£


ÃÝÌîÌм£¡÷¿·³ã¹©²ÊÂç³Ø
2015ǯ6·î19Æü