作者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
推 vanessaWA:請問,我把.bat輸進去跑之後,他為什麼不會給我.ps檔? 10/07 17:08
你有指定輸出的檔案名稱嗎?
要不要把你的.bat檔案貼出來看一下?
※ 編輯: Piin 來自: 155.69.18.218 (10/07 17:09)
→ vanessaWA:(已裝Ghostviewer跟Ghostscript了 10/07 17:09
→ vanessaWA:我是直接複製GMT官網上的範例貼到記事本上耶 10/07 17:12
→ vanessaWA:所以要在哪裡指定輸出檔案名稱? 10/07 17:12
推 vanessaWA:我好像知道問題在哪裡了!!!!!!!!!!!!!! 10/07 20:31
→ vanessaWA:感謝Piin大大的指導 10/07 20:31