星期日, 7月 27, 2008

Fortran and NCAR Graphics

如果你是愛寫程式之人,個人認為不要錯過

Intel Softeare Evaluation Center
,
他提供試用版的C++及Fortran Comiler.

什麼是NCAR Graphics:
NCAR Graphics is a Fortran and C based software package for scientific visualization.

安裝好NCAR Graphics,
可以寫一小段程式測試,
ex: world.f
============
program world
call opngks
call supmap(8,0.,180.,0., -90.,0.
+,90.,360.,2,10,4,0,ierr)
call frame
call clsgks
stop
end
=============

編譯方法:
ncargf77 world.f -o world
./world
mv gmeta world.gmeta

測試看圖:
ctrans -d X11 world.gmeta


參考資料1:Building NCAR Graphics* with the Intel® compilers
參考資料2:NCAR Graphics

沒有留言: