home *** CD-ROM | disk | FTP | other *** search
/ World of Graphics / WOGRAPH.BIN / 161.SAMPLE.CMD < prev    next >
OS/2 REXX Batch file  |  1991-04-30  |  4KB  |  255 lines

  1. ;Sample GRAFSYS Command File
  2.  
  3. ;To execute this command file, run GRAFSYS as follows:
  4.  
  5. ;         GRAFSYS SAMPLE.CMD
  6.  
  7. ;Define title, axis labels, and units:
  8.  
  9. PLOTTITLE 'Sample # 11: \theta\=1.13'
  10. AXISLABEL X 'Voltage'
  11. AXISLABEL Y 'Conductance'
  12. LABELUNITS X '\mu\V'
  13. LABELUNITS Y '\uomega\\sup\-1\sub\'
  14.  
  15. ;A bit of text inside the plot
  16.  
  17. DATATEXT 2 12 0 0.15 1 'V\sub\0\sup\ = 2.53 V'
  18.  
  19. ;First set of data points:  We'll plot these with little squares.
  20.  
  21. PLOTSYMBOL SQUARE
  22. INLINEDATA ERRBARS
  23.  2.418 2.583 2.014
  24.  3.230 3.003 1.116
  25.  3.979 3.684 1.424
  26.  3.053 7.285 1.103
  27.  6.422 0.104 2.093
  28.  6.909 14.16 0.919
  29.  2.138 2.582 1.398
  30.  2.726 6.294 0.837
  31.  4.372 4.767 2.623
  32. ;END OF INLINE DATA
  33.  
  34. ;Second set of data points:  Turn off the squares...
  35.  
  36. PLOTSYMBOL NONE
  37.  
  38. ;Then, select a plot line:
  39.  
  40. PLOTLINE 0.010 SHORTDASH 1
  41.  
  42. ;This is a "fitting" line, and we want it to extend to the edge of
  43. ;the plot area, so we will have the autorange algorithm ignore it.
  44. ;GRAFSYS will automatically "crop" the line to prevent it from going
  45. ;beyond the plot area.
  46.  
  47. INCLUDE NO
  48.  
  49. INLINEDATA NOERRBARS
  50. 1.000 2.344
  51. 1.035 2.380
  52. 1.070 2.417
  53. 1.105 2.453
  54. 1.140 2.490
  55. 1.175 2.527
  56. 1.210 2.564
  57. 1.245 2.602
  58. 1.280 2.639
  59. 1.315 2.676
  60. 1.350 2.714
  61. 1.385 2.752
  62. 1.420 2.790
  63. 1.455 2.828
  64. 1.490 2.866
  65. 1.525 2.904
  66. 1.560 2.943
  67. 1.595 2.981
  68. 1.630 3.020
  69. 1.665 3.059
  70. 1.700 3.098
  71. 1.735 3.138
  72. 1.770 3.177
  73. 1.805 3.217
  74. 1.840 3.257
  75. 1.875 3.297
  76. 1.910 3.337
  77. 1.945 3.378
  78. 1.980 3.418
  79. 2.015 3.459
  80. 2.050 3.500
  81. 2.085 3.541
  82. 2.120 3.583
  83. 2.155 3.625
  84. 2.190 3.667
  85. 2.225 3.709
  86. 2.260 3.751
  87. 2.295 3.794
  88. 2.330 3.837
  89. 2.365 3.880
  90. 2.400 3.923
  91. 2.435 3.967
  92. 2.470 4.010
  93. 2.505 4.055
  94. 2.540 4.099
  95. 2.575 4.144
  96. 2.610 4.188
  97. 2.645 4.234
  98. 2.680 4.279
  99. 2.715 4.325
  100. 2.750 4.371
  101. 2.785 4.417
  102. 2.820 4.463
  103. 2.855 4.510
  104. 2.890 4.557
  105. 2.925 4.605
  106. 2.960 4.653
  107. 2.995 4.701
  108. 3.030 4.749
  109. 3.065 4.798
  110. 3.100 4.847
  111. 3.135 4.896
  112. 3.170 4.945
  113. 3.205 4.995
  114. 3.240 5.046
  115. 3.275 5.096
  116. 3.310 5.147
  117. 3.345 5.198
  118. 3.380 5.250
  119. 3.415 5.302
  120. 3.450 5.354
  121. 3.485 5.407
  122. 3.520 5.460
  123. 3.555 5.513
  124. 3.590 5.567
  125. 3.625 5.621
  126. 3.660 5.676
  127. 3.695 5.731
  128. 3.730 5.786
  129. 3.765 5.842
  130. 3.800 5.898
  131. 3.835 5.954
  132. 3.870 6.011
  133. 3.905 6.068
  134. 3.940 6.126
  135. 3.975 6.184
  136. 4.010 6.242
  137. 4.045 6.301
  138. 4.080 6.360
  139. 4.115 6.420
  140. 4.150 6.480
  141. 4.185 6.541
  142. 4.220 6.602
  143. 4.255 6.663
  144. 4.290 6.725
  145. 4.325 6.787
  146. 4.360 6.850
  147. 4.395 6.913
  148. 4.430 6.977
  149. 4.465 7.041
  150. 4.500 7.105
  151. 4.535 7.170
  152. 4.570 7.236
  153. 4.605 7.302
  154. 4.640 7.368
  155. 4.675 7.435
  156. 4.710 7.502
  157. 4.745 7.570
  158. 4.780 7.639
  159. 4.815 7.707
  160. 4.850 7.777
  161. 4.885 7.847
  162. 4.920 7.917
  163. 4.955 7.988
  164. 4.990 8.059
  165. 5.025 8.131
  166. 5.060 8.203
  167. 5.095 8.276
  168. 5.130 8.350
  169. 5.165 8.424
  170. 5.200 8.498
  171. 5.235 8.573
  172. 5.270 8.649
  173. 5.305 8.725
  174. 5.340 8.801
  175. 5.375 8.879
  176. 5.410 8.956
  177. 5.445 9.035
  178. 5.480 9.113
  179. 5.515 9.193
  180. 5.550 9.273
  181. 5.585 9.353
  182. 5.620 9.435
  183. 5.655 9.516
  184. 5.690 9.599
  185. 5.725 9.681
  186. 5.760 9.765
  187. 5.795 9.849
  188. 5.830 9.934
  189. 5.865 10.019
  190. 5.900 10.105
  191. 5.935 10.191
  192. 5.970 10.278
  193. 6.005 10.366
  194. 6.040 10.454
  195. 6.075 10.543
  196. 6.110 10.633
  197. 6.145 10.723
  198. 6.180 10.814
  199. 6.215 10.905
  200. 6.250 10.997
  201. 6.285 11.090
  202. 6.320 11.184
  203. 6.355 11.278
  204. 6.390 11.372
  205. 6.425 11.468
  206. 6.460 11.564
  207. 6.495 11.660
  208. 6.530 11.758
  209. 6.565 11.856
  210. 6.600 11.954
  211. 6.635 12.054
  212. 6.670 12.154
  213. 6.705 12.255
  214. 6.740 12.356
  215. 6.775 12.458
  216. 6.810 12.561
  217. 6.845 12.665
  218. 6.880 12.769
  219. 6.915 12.874
  220. 6.950 12.979
  221. 6.985 13.086
  222. 7.020 13.193
  223. 7.055 13.301
  224. 7.090 13.409
  225. 7.125 13.518
  226. 7.160 13.628
  227. 7.195 13.739
  228. 7.230 13.851
  229. 7.265 13.963
  230. 7.300 14.076
  231. 7.335 14.189
  232. 7.370 14.304
  233. 7.405 14.419
  234. 7.440 14.535
  235. 7.475 14.652
  236. 7.510 14.769
  237. 7.545 14.888
  238. 7.580 15.007
  239. 7.615 15.127
  240. 7.650 15.247
  241. 7.685 15.369
  242. 7.720 15.491
  243. 7.755 15.614
  244. 7.790 15.738
  245. 7.825 15.862
  246. 7.860 15.988
  247. 7.895 16.114
  248. 7.930 16.241
  249. 7.965 16.369
  250. 8.000 16.498
  251. ;END OF INLINE DATA
  252.  
  253. RELEASE SCRN
  254. END
  255.