名前: 早坂勝 日時: 2002-02-08 17:00:41 IPアドレス: 160.28.250.*
>>6311 gnuplot で書いたグラフ(eepic 形式)に色をつけることに 成功しました。しかし,色をつけると,そのグラフだけ少しずれてしまいます。 このずれを直す方法はあるのでしょうか? 長くなりますが,これがそのTeX ファイルです。 ------------------------------------------------------------------------------- \documentclass{jarticle} \usepackage{graphicx} \usepackage{color} \usepackage{epic,eepic} \begin{document} % GNUPLOT: LaTeX picture using EEPIC macros \setlength{\unitlength}{0.240900pt} \begin{picture}(1500,900)(0,0) \footnotesize \thicklines \path(132,90)(152,90) \thicklines \path(1433,90)(1413,90) \put(110,90){\makebox(0,0)[r]{-10}} \thicklines \path(132,282)(152,282) \thicklines \path(1433,282)(1413,282) \put(110,282){\makebox(0,0)[r]{-5}} \thicklines \path(132,473)(152,473) \thicklines \path(1433,473)(1413,473) \put(110,473){\makebox(0,0)[r]{0}} \thicklines \path(132,665)(152,665) \thicklines \path(1433,665)(1413,665) \put(110,665){\makebox(0,0)[r]{5}} \thicklines \path(132,856)(152,856) \thicklines \path(1433,856)(1413,856) \put(110,856){\makebox(0,0)[r]{10}} \thicklines \path(132,90)(132,110) \thicklines \path(132,856)(132,836) \put(132,45){\makebox(0,0){-10}} \thicklines \path(457,90)(457,110) \thicklines \path(457,856)(457,836) \put(457,45){\makebox(0,0){-5}} \thicklines \path(783,90)(783,110) \thicklines \path(783,856)(783,836) \put(783,45){\makebox(0,0){0}} \thicklines \path(1108,90)(1108,110) \thicklines \path(1108,856)(1108,836) \put(1108,45){\makebox(0,0){5}} \thicklines \path(1433,90)(1433,110) \thicklines \path(1433,856)(1433,836) \put(1433,45){\makebox(0,0){10}} \thicklines \path(132,90)(1433,90)(1433,856)(132,856)(132,90) \put(1259,814){\makebox(0,0)[r]{x}} {\color[named]{Red}\thinlines \path(1281,814)(1389,814)} {\color[named]{Red}\thinlines \path(132,90)(132,90)(145,98)(158,105)(171,113)(185,121)(198,129)(211,136)(224,144)(237,152)(250,160)(263,167)(277,175)(290,183)(303,191)(316,198)(329,206)(342,214)(355,222)(369,229)(382,237)(395,245)(408,252)(421,260)(434,268)(447,276)(461,283)(474,291)(487,299)(500,307)(513,314)(526,322)(539,330)(553,338)(566,345)(579,353)(592,361)(605,369)(618,376)(631,384)(645,392)(658,399)(671,407)(684,415)(697,423)(710,430)(723,438)(737,446)(750,454)(763,461)(776,469)% \thinlines \path(776,469)(789,477)(802,485)(815,492)(828,500)(842,508)(855,516)(868,523)(881,531)(894,539)(907,547)(920,554)(934,562)(947,570)(960,577)(973,585)(986,593)(999,601)(1012,608)(1026,616)(1039,624)(1052,632)(1065,639)(1078,647)(1091,655)(1104,663)(1118,670)(1131,678)(1144,686)(1157,694)(1170,701)(1183,709)(1196,717)(1210,724)(1223,732)(1236,740)(1249,748)(1262,755)(1275,763)(1288,771)(1302,779)(1315,786)(1328,794)(1341,802)(1354,810)(1367,817)(1380,825)(1394,833)(1407,841)(1420,848)(1433,856)} \end{picture} \begin{picture}(1500,900)(0,0) \footnotesize \thicklines \path(132,90)(152,90) \thicklines \path(1433,90)(1413,90) \put(110,90){\makebox(0,0)[r]{-20}} \thicklines \path(132,218)(152,218) \thicklines \path(1433,218)(1413,218) \put(110,218){\makebox(0,0)[r]{0}} \thicklines \path(132,345)(152,345) \thicklines \path(1433,345)(1413,345) \put(110,345){\makebox(0,0)[r]{20}} \thicklines \path(132,473)(152,473) \thicklines \path(1433,473)(1413,473) \put(110,473){\makebox(0,0)[r]{40}} \thicklines \path(132,601)(152,601) \thicklines \path(1433,601)(1413,601) \put(110,601){\makebox(0,0)[r]{60}} \thicklines \path(132,728)(152,728) \thicklines \path(1433,728)(1413,728) \put(110,728){\makebox(0,0)[r]{80}} \thicklines \path(132,856)(152,856) \thicklines \path(1433,856)(1413,856) \put(110,856){\makebox(0,0)[r]{100}} \thicklines \path(132,90)(132,110) \thicklines \path(132,856)(132,836) \put(132,45){\makebox(0,0){-10}} \thicklines \path(457,90)(457,110) \thicklines \path(457,856)(457,836) \put(457,45){\makebox(0,0){-5}} \thicklines \path(783,90)(783,110) \thicklines \path(783,856)(783,836) \put(783,45){\makebox(0,0){0}} \thicklines \path(1108,90)(1108,110) \thicklines \path(1108,856)(1108,836) \put(1108,45){\makebox(0,0){5}} \thicklines \path(1433,90)(1433,110) \thicklines \path(1433,856)(1433,836) \put(1433,45){\makebox(0,0){10}} \thicklines \path(132,90)(1433,90)(1433,856)(132,856)(132,90) \put(1259,814){\makebox(0,0)[r]{x}} \thinlines \path(1281,814)(1389,814) \thinlines \path(132,154)(132,154)(145,155)(158,156)(171,158)(185,159)(198,160)(211,162)(224,163)(237,164)(250,165)(263,167)(277,168)(290,169)(303,171)(316,172)(329,173)(342,174)(355,176)(369,177)(382,178)(395,180)(408,181)(421,182)(434,183)(447,185)(461,186)(474,187)(487,189)(500,190)(513,191)(526,193)(539,194)(553,195)(566,196)(579,198)(592,199)(605,200)(618,202)(631,203)(645,204)(658,205)(671,207)(684,208)(697,209)(710,211)(723,212)(737,213)(750,214)(763,216)(776,217) \thinlines \path(776,217)(789,218)(802,220)(815,221)(828,222)(842,223)(855,225)(868,226)(881,227)(894,229)(907,230)(920,231)(934,232)(947,234)(960,235)(973,236)(986,238)(999,239)(1012,240)(1026,242)(1039,243)(1052,244)(1065,245)(1078,247)(1091,248)(1104,249)(1118,251)(1131,252)(1144,253)(1157,254)(1170,256)(1183,257)(1196,258)(1210,260)(1223,261)(1236,262)(1249,263)(1262,265)(1275,266)(1288,267)(1302,269)(1315,270)(1328,271)(1341,272)(1354,274)(1367,275)(1380,276)(1394,278)(1407,279)(1420,280)(1433,282) \put(1259,769){\makebox(0,0)[r]{x**2}} {\color[named]{Blue} \thicklines \path(1281,769)(1389,769)} {\color[named]{Blue} \thicklines \path(132,856)(132,856)(145,830)(158,805)(171,781)(185,757)(198,734)(211,711)(224,688)(237,666)(250,645)(263,624)(277,604)(290,584)(303,565)(316,546)(329,528)(342,510)(355,493)(369,476)(382,460)(395,444)(408,429)(421,415)(434,401)(447,387)(461,374)(474,362)(487,350)(500,338)(513,327)(526,317)(539,307)(553,297)(566,289)(579,280)(592,272)(605,265)(618,258)(631,252)(645,246)(658,241)(671,236)(684,232)(697,229)(710,226)(723,223)(737,221)(750,219)(763,218)(776,218) \thicklines \path(776,218)(789,218)(802,218)(815,219)(828,221)(842,223)(855,226)(868,229)(881,232)(894,236)(907,241)(920,246)(934,252)(947,258)(960,265)(973,272)(986,280)(999,289)(1012,297)(1026,307)(1039,317)(1052,327)(1065,338)(1078,350)(1091,362)(1104,374)(1118,387)(1131,401)(1144,415)(1157,429)(1170,444)(1183,460)(1196,476)(1210,493)(1223,510)(1236,528)(1249,546)(1262,565)(1275,584)(1288,604)(1302,624)(1315,645)(1328,666)(1341,688)(1354,711)(1367,734)(1380,757)(1394,781)(1407,805)(1420,830)(1433,856) } \end{picture} \end{document} ------------------------------------------------------------------------------- よろしくお願いします。
この書き込みへの返事: