Title: Marvin Simkin http:simkin.asu.edu
1(No Transcript)
2Marvin Simkinhttp//simkin.asu.edu
3HoloDraw instructions
- color 1 0 0
- line 0 0 0, 1 2 3
- point 2 2 2
- color 0.0 0.5 0.5
- line 1 1 1, 4 4 4, 1 4 1
- point 5 5 5, 5 6 7
4Login and Setup
- vi .cshrc
- Add HoloDraw to your "path"
- update environment to include . in path
- set path ( path . /export/home4/msimkin/holodra
w ) - Save your changes
- wq
- Test it using a DIFFERENT terminal window!
- Window, New Terminal
- echo path
5Make Your Own 3D Image
- cat hello.draw
- text20 0 0,Hello
- line0 0 0,5 5 5
- control-D
- drawbbox.pl hellobox.draw
- Bounding box is 0 0 0 to 5 5 5
- TickFreqX1,TickLenX0.5
- TickFreqY1,TickLenY0.5
- TickFreqZ1,TickLenZ0.5
- cat hello.draw hellobox.draw drawwrl.pl
hello.wrl
6My Computer, wherever you saved the file, try to
open it
7Browse to c\Program Files\Mozilla Firefox
8Select firefox
9 X, Y, Z,A0.9961,14.671,12.409,20.31
91,1.6958,24.077,80.1797,11.501,15.133,32.7960,1
4.565,6.2765,12.6589,15.011,6.1656,11.7052,12.37
6,7.1086,12.6402,4.9692,15.413,70.8833,10.468,7.
9641,10.0428,0.9109,16.076,70.5855,10.315,11.851
,20.1297,7.0747,5.1924,5
Columns
Rows
10point0.9961 14.671 12.409 point0.3191 1.6958
24.077 point0.1797 11.501 15.133 point2.7960
14.565 6.2765 point2.6589 15.011
6.1656 point1.7052 12.376 7.1086 point2.6402
4.9692 15.413 point0.8833 10.468
7.9641 point0.0428 0.9109 16.076 point0.5855
10.315 11.851
Unix does this
HoloDraw does this
File transfer to PC
11awk ' BEGIN FS "" print 5 ' /etc/passwd
- Generic awk recipe
- Use awk for data that has a delimiter
Copy these spaces and quotes exactly
What is your delimiter?
What do you want to output?
Where is your data coming from?
12pscoast
- pscoast -R0/360/-90/90 -A1000 -W -Dc -M head
-33 - Data from the crude resolution GMT shoreline,
borders, and rivers database - Shore Bin 0, Level 1
- 20 79.1594
- 18.2831 79.6211
- 17.6718 79.3608
- 16.2698 80.0587
- 16.5267 78.9055
- 14.7265 79.7887
- 14.0432 79.2638
- 12.3482 79.5799
- 13.8064 79.8772
- 10.6648 79.5467
- 13.0001 78.2045
- 15.3466 78.8505
- 15.4232 78.4578
- 16.5701 78.7163
- 17.3983 78.4294
- 13.5982 78.0568