home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Graphics / Plotting / NXplot3d.3.2 / Source / plot3d.nib / data.nib (.txt) < prev   
Encoding:
NeXT TypedStream Data  |  1994-12-06  |  30.0 KB  |  352 lines

  1. streamtyped
  2. IBObjectData
  3. Object
  4. CustomObject
  5. Application
  6. Button
  7. Control
  8.     Responder
  9. Matrix
  10. @:@iiii
  11. SliderCell
  12. ActionCell
  13.     Helvetica
  14. dddf@d@
  15. ff@@#::s
  16. FormCell
  17. Field:
  18. TextFieldCell
  19. ButtonCell
  20. Surface:
  21. NXImage
  22. NXswitch
  23.     NXswitchH
  24. Contour Surf:
  25. Floor:
  26. Surface
  27. Resolution:
  28. Photoreal Overlays
  29. Frames:
  30. Switch
  31.     Animation
  32. Photoreal Axis Titles
  33. Font Size:
  34. Title
  35. Slider
  36.     TextField
  37. Symbol
  38. Ambient Light
  39. Distant Light
  40. Points
  41. NXradio
  42. NXradioH
  43. Lines
  44. Planes
  45. Smooth
  46. Radio
  47. Style
  48. Density
  49. Contour
  50.     Tick Mesh
  51.     Data Mesh
  52. Labels
  53. 2D Mode
  54. Floor
  55. Backs
  56. Ticks
  57. Label
  58. NXColorWell
  59. Options
  60. Start:
  61. Spacing:
  62. Orthographic
  63. Perspective
  64. Limits
  65. MenuTemplate
  66. *@*@ccc
  67. OtherViews
  68. MenuCell
  69. Display Options
  70. Photoreal/Anim
  71.     PopUpList
  72. popUp:
  73. NXpopup
  74. [10@]
  75. MinX:
  76. Max X:
  77. MinY:
  78. MaxY:
  79. MinZ:
  80. MaxZ:
  81. Display Min/Max
  82. Zoom In
  83. Zoom Out
  84. Freeze
  85. Data M/M
  86. downleft
  87.     Distance:
  88. Aspect:
  89. Format:
  90. %4.2g
  91. Set 1
  92. Set 2
  93. Set 3
  94. Set 4
  95. Set 5
  96. Formula
  97.     Mesh Data
  98. Scatter Data
  99. ScrollView
  100. ClipView
  101. ciifffcfffs
  102. [168c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
  103. \margl40
  104. \margr40
  105. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 
  106. NXCursor
  107. NXibeam
  108. Scroller
  109. _doScroller:
  110. @@@ffs
  111. Z(x,y)=
  112. sphere
  113. sphereS
  114. torus
  115. torusS
  116. meshS
  117.     spherical
  118. sphericalS
  119. NXCachedImageRep
  120. NXImageRep
  121. iisssss
  122. iiiiii
  123. Shape
  124. Colors
  125. Height
  126. Next Set Z
  127. plot3d
  128. Document
  129. Open Mesh...
  130. Open Scatter...
  131.     Save Data
  132. Generate RIB
  133. Photoreal TIFF
  134. Density EPS
  135. submenuAction:
  136. NXmenuArrow
  137. Paste
  138. Tools
  139.     Inspector
  140. Print
  141. Page Layout
  142. Print 3D
  143. Print Density
  144. Info Panel...
  145. Preferences...
  146. Help...
  147. ERROR
  148. WindowTemplate
  149. iiii***@s@
  150. Render Control
  151. Panel
  152. CustomView
  153. Plot3DView
  154. Window
  155. NXplot3d
  156. Steve Ludtke
  157. Version 3.2
  158. 4Copyright 1992-4, Steve Ludtke  All Rights Reserved.
  159. meicon
  160. 1Home page: http://pgsa.rice.edu/~stevel/home.html
  161. PControl
  162. Messages
  163. Control Panel
  164. DensView
  165. Density/Contour
  166. [8563c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
  167. \margl40
  168. \margr40
  169. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b\i0\ulnone\fs36\fc0\cf0 Plot3d Version 1.1\
  170. \b0\fs24 Copyright 1992  Steve Ludtke\
  171. This program is freeware. You may freely copy and redistribute it. Permission is granted to modify the source for your own purposes, but NOT to redistribute the modifications without permission of the author. If you use this program while doing scientific research, please cite this program in the acknowledements of any resulting publications. \
  172. There is absolutely no warrantee on this program. The author takes no responsibility for any damage caused by this program. The author takes no responsibilty for time lost if incorrect or misleading results are produced by this program. If a warrantee is required by law where you intend to use this software, permission to use this software there is revoked. \
  173. Now that that's out of the way, suggestions and bug reports would be greatly appreciated!! I can be contacted at any of the following :\
  174. steve@ion.rice.edu  or  ludtke@physics.rice.edu\
  175. 72335,1537  - compuserve\
  176. Steve Ludtke\
  177. Physics Dept.\
  178. Rice University\
  179. Houston, TX  77251-1892\
  180. \b\ul Changes since 1.0
  181. \b0\ulnone \
  182. Source included\
  183. Full mesh added (for functions only)\
  184. 3d view can be resized\
  185. Printing works better (still won't print "dots")\
  186. Alt and az displayed in 3d window\
  187. Zoom In and Freeze added\
  188. ln() changed to log() and log10() added\
  189. Formula input larger\
  190. Formulas can contain '[' and ']'  (treated like '(' and ')' )\
  191. Uppercase ok in functions, eg 'Sin(x)' is ok now\
  192. Fixed bug in expressions like : 'x+3.2'\
  193. Infinities/undefined results are dealt with gracefully.\
  194. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\b\ul\fc0\cf0 Plans for the Future:\
  195. \b0\ulnone Get color to work (should be easy).\
  196. Fix density plot so there aren't holes when data is plotted.\
  197. Hidden line/dot removal (I know how to do it, it will just take some time ...)\
  198. Tic marks and/or a scale on the plot.\
  199. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0\cf0 Improvements to function parser (since I didn't write it,this can be tricky)\
  200. More flexible spinning options.\
  201. \b\ul \
  202. Introduction
  203. \b0\ulnone \
  204. There are a variety of programs on the NeXT that will generate nice, publication quality, 3d plots (Mathematica, gnuplot, etc ...)  However, there seems to be a lack of programs which allow real time interactive rotation and comparison of 3d data and formulas. Plot3d is an attempt to fill that gap.\
  205. The plots generated by plot3d aren't publication quality, and they aren't designed to be. The display algorithm used by plot3d is specifically designed for speed, not quality. While the NeXT is a pretty speedy machine, spinning 3d plots around on the screen in real time approaches the limits of it's capabilities. This program is especially good at doing quick plots to compare data with formulas, and to determine the best viewing angle to use with publication quality, but slower, programs.\
  206. \b\ul Using Plot3d
  207. \b0\ulnone \
  208. \b Spinning:
  209. \b0  Plot3d will start with a spinning sample function on the screen.  This will give you an opportunity to become accustomed to the interface. To control the viewing angle and spin of the plot, drag around the plot window with the mouse. If the pointer is still moving when you release the mouse button, the plot will continue to spin on the screen. To stop the spinning (and massively reduce the load on your NeXT), click the mouse without moving it. If you don't do this just right, the display may appear stationary, but still be spinning very slowly. If this is occuring the mouse pointer will appear to flicker slightly when it is over the 3d view, and your machine will appear unusually slow. Updates occur at up to 10 times per second, but with a large number of points this will be reduced considerably. Spinning only occurs in the azimuthal (x-y plane) angle, the altitude remains where you last left it.\
  210. \b Zooming:
  211. \b0  Changing MinX,MinY,MaxX or MaxY manually will cause a corresponding change in the visible region of the plot. You may also zoom in on a region of the plot using the mouse in zoom mode. It's a bit difficult to describe, but in mouse mode, the region is selected as if the plot were being viewed from directly overhead, no matter how it's currently oriented. Playing with it is the best way to understand what I'm trying to describe. Zoom out and zoom in are self-explanitory. The easiest way to zoom is to use the :\
  212. \b Density Plot:
  213. \b0 \
  214. To make zooming easier and to provide an alternate way to view the data, a density plot is provided. Obviously only one set at a time can be displayed on the density plot, so only the plot currently selected in the Inspector panel will be displayed. If the set is turned "off", the density plot will remain blank. The mouse mode does not affect the density plot. Dragging the mouse on the density plot will always cause zooming.\
  215. Both functions and files can be displayed in the density plot window, but you may need to play with the resolution to prevent 'holes' from appearing when files are viewed.\
  216. \b Resolution:
  217. \b0  The Points selector in the Control window allows you to select how many points in x and y to sample when plotting equations. Changing this parameter for data files will effect only the density plot, the 3d view will be unaffected.\
  218. \b Symbols:
  219. \b0  Plot3d can plot up to 5 simultaneous data sets.  Each set can use one of 7 different display styles (or be turned off). Most of the time required between updates on the display is taken by the actual drawing process. If the display begins to slow down, try using the dot or 1/2mesh symbols (they're the fastest to draw). You must click OK for a new symbol to take effect. The full mesh does not work on files.\
  220. \b Colors:
  221. \b0 \
  222. Unfortunately I only have access to a monochrome NeXT, so for the moment only greyscale "colors" can be used. There is a colorwell in the inspector window. You can bring up a color selector using the tools menu. Drag a color into the well on the inspector, then click OK to make it take effect. Any non-grey color will currently be mapped to its corresponding gray value.\
  223. \b Formulas/Files:
  224. \b0  Plot3d can plot both 3d data files and non parametric formulas. Formula parsing is done using Trey Matteson's Expression object (from the "graph" example in the extended release of 2.1). The parser currently supports the following expressions (more functions can be added upon request):\
  225. Variables x and y (sometimes z)\
  226. Numbers in normal, exponential, or radix (16#FE3, 2#11011) form\
  227. Simple operators +,-,*,/,% and ^. (% == modulus)\
  228. Parentheses and square brackets\
  229. Constants pi and e\
  230. Functions: sin(),cos(),tan(),asin(),acos(),sqrt(),.log(),log10(),exp() (log and exp are base e)\
  231. \pard\tx1340\tx6080\fc0\cf0 (more functions can be easily added if people tell me what they want)\
  232. I have tried to add a few things to make Mathematica and C style expressions more acceptible to plot3d. Square brackets now work, and capitalization in function names is now ok. pow(x,y) is still not valid, and whitespace is not interpreted as multiplication. If you have any specific suggestions on things I should add/change to increase compatibility, let me know.\
  233. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0\cf0 Selecting "file" will bring up an Open Panel. Files must be in "x y z\\n" or "x,y,z\\n" format with optional comment lines at the top of the file beginning with #. If the selected file cannot be read, "formula" will automatically be reselected. Once the data is read, x/y/z max/min values will be set to match the file. Data from the file is NOT interpolated, so if you zoom, the data will not be mapped to a new grid, it will just be clipped. \
  234. Data from files may also be transformed before being displayed. You may enter a formula as a function of x,y and z to remap the data. When the file is read, the formula is automatically reset to z(x,y)=z. So, for example, if you want a log plot, just enter "log(z)" as the formula. If you enter an invalid formula it will be reset to "0". \
  235. Suggestions and/or comments would be greatly appreciated. If I don't hear from people, I will assume that nobody's using it, and stop working on it. It's already at a level sufficient for my own use, so if you'd like something changed, let me know !!!\
  236.                                         --steve@ion.rice.edu
  237. Data Inspector
  238. File's Owner
  239. Field
  240. ScrollingText
  241. VersionNumber
  242. Field2
  243. Field1
  244. Matrix1
  245. MainMenu
  246.     Colors...
  247. Button1
  248. Inspectors
  249. Errors
  250. [142@]
  251. IBControlConnector
  252. IBConnector
  253. hide:
  254. terminate:
  255. copy:
  256. paste:
  257. makeKeyAndOrderFront:
  258. orderFrontColorPanel:
  259. disPref:
  260.     readFile:
  261. clearFile:
  262. stoPref:
  263. IBOutletConnector
  264. d3View
  265. dView
  266. ffSel
  267. runPageLayout:
  268. equation
  269. delegate
  270. showHelpPanel:
  271. controller
  272.     setLight:
  273. setLightX:
  274. setLightY:
  275. setAmbLight:
  276. setMode:
  277. gridx
  278. symsel
  279. printPSCode:
  280. performClick:
  281.     saveData:
  282. IBHelpConnector
  283. 3dView.rtf
  284. Density.rtf
  285. color1
  286. color2
  287. color3
  288. color4
  289. color5
  290. colorsel
  291.     colortype
  292. gridy
  293. setDenFlag:
  294. performClose:
  295. errMsg
  296. errPan
  297. camera
  298. dminZ
  299. dmaxZ
  300. tickpos
  301. autotick
  302. zoomIn:
  303. zoomOut:
  304. togFreeze:
  305. zoom:
  306. I_dis
  307. I_pho
  308. I_BOX
  309. I_lim
  310. dzSwitch
  311. newInsp:
  312.     setFlags:
  313. setFlagColor:
  314. flagSel
  315. dumpRib:
  316. savePS:
  317. tiffRes
  318. setEye:
  319. varMin
  320. varMax
  321. setVarS:
  322. setVarT:
  323. setVarMinMax:
  324. varSli
  325. varText
  326. setOverlay:
  327. levels
  328. autoCont
  329. setAsp:
  330. setMinMax:
  331. animFlag
  332. animFrames
  333. errTitle
  334.     makeAnim:
  335.     axisTitle
  336. aspectS
  337.     aspect11:
  338. fontSize
  339. setProj:
  340. PRTiff:
  341. Inspector.rtf
  342. Control.rtf
  343. Photoreal.rtf
  344. Render.rtf
  345. readSFile:
  346. setPhi:
  347. readDEM:
  348. stoMM:
  349. rclMM:
  350. demAsp
  351. alpha
  352.