dポイントプレゼントキャンペーン実施中!

Mac OS X 10.5を使用しています。
gnuplotを入れたのですが、ファイルの読み込み方法がわかりません。
windowsではcallやloadで難なく出来ていたのですが、
Macではどのようにしたらよいのでしょうか?

A 回答 (2件)

適切なパスを書けばいいような気がする.

    • good
    • 0
この回答へのお礼

ご回答ありがとうございます。

解決しました。
試行錯誤が足りませんでした。

お礼日時:2009/02/17 10:51

普通にloadコマンドが使えると思うのですが・・・。



[pMan@pMac:~/Desktop]$ cat tmp.plt
set terminal aqua
plot x**2
[pMan@pMac:~/Desktop]$ gnuplot

G N U P L O T
Version 4.0 patchlevel 0
last modified Thu Apr 15 14:44:22 CEST 2004
System: Darwin 9.6.0

Copyright (C) 1986 - 1993, 1998, 2004
Thomas Williams, Colin Kelley and many others

This is gnuplot version 4.0. Please refer to the documentation
for command syntax changes. The old syntax will be accepted
throughout the 4.0 series, but all save files use the new syntax.

Type `help` to access the on-line reference manual.
The gnuplot FAQ is available from
http://www.gnuplot.info/faq/

Send comments and requests for help to
<gnuplot-info@lists.sourceforge.net>
Send bugs, suggestions and mods to
<gnuplot-bugs@lists.sourceforge.net>


Terminal type set to 'x11'
gnuplot> load "tmp.plt"
gnuplot>


★何がどうなってダメなのかをご呈示いただかないと
★誰もアドバイスできないかと思います。

この回答への補足

質問が不十分で申し訳ございません。

初歩的な勘違いで、ファイルを置く場所の問題でした。

内容を変えて再度伺いたいのですが、
ファイルを任意の場所において実行することは可能でしょうか?
gnuplot実行時はcdなどが使えないようですが。

補足日時:2009/02/16 22:50
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!