summaryrefslogtreecommitdiff
path: root/tests/examplefiles
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-02-17 10:38:49 +0100
committerGeorg Brandl <georg@python.org>2016-02-17 10:38:49 +0100
commitaadd10d025b2074f26d7df0aa851ebcaedc61783 (patch)
tree39befe74091e97e9ef93b1b3884164c5ce42df5c /tests/examplefiles
parentf6bb38daeebe6a7225a283641c36671b4f722e66 (diff)
parentc29d2ffff5eb120017c514fab4a6cad1ad017da5 (diff)
downloadpygments-aadd10d025b2074f26d7df0aa851ebcaedc61783.tar.gz
Merged in wqshen/pygments-main (pull request #536)
Add a lexer for NCAR Command Language (NCL)
Diffstat (limited to 'tests/examplefiles')
-rw-r--r--tests/examplefiles/test.ncl20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/examplefiles/test.ncl b/tests/examplefiles/test.ncl
new file mode 100644
index 00000000..f20f8159
--- /dev/null
+++ b/tests/examplefiles/test.ncl
@@ -0,0 +1,20 @@
+load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
+load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
+load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
+begin
+ int_num = 1
+ float_num = 0.1
+ str = "A void map"
+ array = (/1, 2, 3, 4, 5/)
+
+
+ wks = gsn_open_wks("X11", "test_for_pygments")
+
+ res = True
+ res@mpMinLonF = 90.
+ res@mpMaxLonF = 180.
+ res@mpMinLatF = 0.
+ res@mpMaxLatF = 90.
+
+ plot = gsn_csm_map_ce(wks, res)
+end \ No newline at end of file