Changes between Version 25 and Version 26 of FrequentQuestions/LinuxFu
- Timestamp:
- 06/21/12 10:51:29 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FrequentQuestions/LinuxFu
v25 v26 348 348 349 349 == Projecting okc files into curve files for plotting particle positions over projections == 350 [[CollapsibleStart( )]]350 [[CollapsibleStart(Example)]] 351 351 The awk line selects only odd numbered lines starting at 31 and prints out the 2nd and 3rd fields. This is for projecting along x. To project along y or z, just change {{{$2, $3}}} to {{{$3, $1}}} or {{{$1, $2}}} 352 352 Curve and okc files in a database always have to have 1 entry - which in the okc file is 0.0 0.0. The sed just switches these for -100,-100 so they don't appear in the window when projecting.