作者Piin (过去 现在与未来)
看板EarthScience
标题Re: [问题] GMT安装在Windows上
时间Mon Oct 7 09:41:26 2013
开始 -> Run -> cmd (enter)
pscoast [If your GMT works and the paths had been set, this should show you
a pscoast's readme]
if not,
cd c:\
cd programs [This should be the default folder of GMT]
cd GMT
cd bin
pscoast [If your GMT installnation success, you should see a pscoast's readme
here, so go back to setup your paths]
Once you have no problem on that, you can open the notepad and creat a .bat
file in your working folder, to test your script.
When you need run it, again, go to 开始 -> Run -> cmd (enter)
go to your folder, then type the .bat name (e.g., coastline.bat)
--
This should work for the version from WinXP to Win7.
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 155.69.18.218
1F:推 vanessaWA:请问,我把.bat输进去跑之後,他为什麽不会给我.ps档? 10/07 17:08
你有指定输出的档案名称吗?
要不要把你的.bat档案贴出来看一下?
※ 编辑: Piin 来自: 155.69.18.218 (10/07 17:09)
2F:→ vanessaWA:(已装Ghostviewer跟Ghostscript了 10/07 17:09
3F:→ vanessaWA:我是直接复制GMT官网上的范例贴到记事本上耶 10/07 17:12
4F:→ vanessaWA:所以要在哪里指定输出档案名称? 10/07 17:12
5F:推 vanessaWA:我好像知道问题在哪里了!!!!!!!!!!!!!! 10/07 20:31
6F:→ vanessaWA:感谢Piin大大的指导 10/07 20:31