Re: gnuplot,eps

名前: abc
日時: 2001-12-22 02:30:55
IPアドレス: 61.112.148.*

>>4634 level3さんの set terminal latex set output "test.tex" topgunさんの set term eps set ouput "zu.eps" plot ほげほげ 大友さんの set terminal postscript eps set output "filename.eps" replot 奥村晴彦さんの gnuplot -> obj -> tgif -> eps とやり方が4通りあるようですね。 ためしにやってみたので報告します。 level3さんのやり方 G N U P L O T MS-Windows 32 bit version 3.7 patchlevel 1 (+1.2.0 2001/01/11) last modified Fri Oct 22 18:00:00 BST 1999 Copyright(C) 1986 - 1993, 1998, 1999 Thomas Williams, Colin Kelley and many others Type `help` to access the on-line reference manual The gnuplot FAQ is available from <http://www.ucc.ie/gnuplot/gnuplot-faq.html> Send comments and requests for help to <info-gnuplot@dartmouth.edu> Send bugs, suggestions and mods to <bug-gnuplot@dartmouth.edu> Terminal type set to 'windows' gnuplot> plot exp(-x**2) gnuplot> save 'abc.eps' gnuplot> load 'abc.eps' gnuplot> set terminal latex Terminal type set to 'latex' Options are 'roman 10' gnuplot> set output "abc.eps" gnuplot> set output " Texの文章 \documentclass[12pt]{jarticle} \begin{document} \begin{figure} \begin{center} \input{abc.eps} \end{center} \end{figure} \end{document} Microsoft(R) Windows 98 (C)Copyright Microsoft Corp 1981-1999. C:\WINDOWS>cd \Tmp C:\TMP>platex def.tex This is pTeX, Version p2.1.10, based on TeX, Version 3.14159 (SJIS) (Web2C 7.3.3 ) (./def.tex pLaTeX2e <2000/11/03>+0 (based on LaTeX2e <2000/06/01> patch level 0) (c:/usr/local/share/texmf/ptex/platex/base/jarticle.cls Document Class: jarticle 1999/05/18 v1.1q Standard pLaTeX class (c:/usr/local/share/texmf/ptex/platex/base/jsize12.clo)) No file def.aux. (./abc.eps) [1] (./def.aux) ) Output written on def.dvi (1 page, 212 bytes). Transcript written on def.log. C:\TMP>dviout def C:\TMP> 結果は何も表示されてません。 topgunさんのやり方 gnuplot> set term eps ^ unknown or ambiguous terminal type; type just 'set terminal' for a list gnuplot> set ouput "abc.eps" ^ valid set options: [] = choose one, {} means optional 'angles', '{no}arrow', '{no}autoscale', 'bars', '{no}border', 'boxwidth', '{no}clabel', '{no}clip', 'cntrparam', '{no}contour', 'data style', '{no}dgrid3d', 'dummy', 'encoding', 'format', 'function style', '{no}grid', '{no}hidden3d', 'isosamples', 'kanjifont', '{no}key', '{no}label', '{no}linestyle', 'locale', '{no}logscale', '[blrt]margin', 'mapping', 'missing', '{no}multiplot', 'offsets', 'origin', 'output', '{no}parametric', 'pointsize', '{no}polar', '[rtuv]range', 'samples', 'size', '{no}surface', 'terminal', 'tics', 'ticscale', 'ticslevel', '{no}timestamp', 'timefmt', 'title', 'view', '[xyz]{2}data', '[xyz]{2}label', '[xyz]{2}range', '{no}{m}[xyz]{2}tics', '[xyz]{2}[md]tics', '{no}{[xyz]{2}}zeroaxis', 'zero' gnuplot> plot ^ use 'set term' to set terminal type first gnuplot> Texの文章 \documentclass[12pt]{jarticle} \begin{document} \begin{figure} \begin{center} \input{abc.eps} \end{center} \end{figure} \end{document} Microsoft(R) Windows 98 (C)Copyright Microsoft Corp 1981-1999. C:\WINDOWS>cd \Tmp C:\TMP>platex def.tex This is pTeX, Version p2.1.10, based on TeX, Version 3.14159 (SJIS) (Web2C 7.3.3 ) (./def.tex pLaTeX2e <2000/11/03>+0 (based on LaTeX2e <2000/06/01> patch level 0) (c:/usr/local/share/texmf/ptex/platex/base/jarticle.cls Document Class: jarticle 1999/05/18 v1.1q Standard pLaTeX class (c:/usr/local/share/texmf/ptex/platex/base/jsize12.clo)) (./def.aux) (./abc.eps ! Missing $ inserted. <inserted text> $ l.17 /hpt_ 31.5 def ? 大友さんのやり方 gnuplot> set terminal postscript eps Terminal type set to 'postscript' Options are 'eps noenhanced monochrome dashed defaultplex "Helvetica" 14' gnuplot> set output "abc.eps" gnuplot> replot gnuplot> Texの文章 \documentclass[12pt]{jarticle} \begin{document} \begin{figure} \begin{center} \input{abc.eps} \end{center} \end{figure} \end{document} Microsoft(R) Windows 98 (C)Copyright Microsoft Corp 1981-1999. C:\WINDOWS>cd \Tmp C:\TMP>platex def.tex This is pTeX, Version p2.1.10, based on TeX, Version 3.14159 (SJIS) (Web2C 7.3.3 ) (./def.tex pLaTeX2e <2000/11/03>+0 (based on LaTeX2e <2000/06/01> patch level 0) (c:/usr/local/share/texmf/ptex/platex/base/jarticle.cls Document Class: jarticle 1999/05/18 v1.1q Standard pLaTeX class (c:/usr/local/share/texmf/ptex/platex/base/jsize12.clo)) (./def.aux) (./abc.eps ! Missing $ inserted. <inserted text> $ l.17 /hpt_ 31.5 def ? ちなみにヘルプのキーワードでhelp terminalやhelp postscriptを打っても helpでしか読み込んでくれませんでした。

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます)