This page will describe in detail how to plot data of a single DensePak field. If you want to plot Hydra data, please read the note at the bottom of the page first.
! IDL backing store
idl.retain: 2
idl.gr_visual: PseudoColor
idl.gr_depth: 8
You have to restart your computer, so that it reads the changes in your
.Xresources file. This can be done either by logging out and back in or by
typing the command
xrdb -merge .Xresources
under UNIX.
IDL>window,xsize=600,ysize=600
IDL>fibers
Enter name of data file: dpexample.rslt
Enter number of lines: 86
Enter minimum value for color bar: 150
Enter maximum value for color bar: 300
Enter plot title: NGC4449 - vel. (km/s)
Note:
| if z(0) eq 0 | with | if z(0) eq -20 | (in line 57) and |
| if z(i) eq 0 | with | if z(i) eq -20 | (in line 68). |
-6.23 -17.92 196.082
-2.08 -17.92 211.979
-2.08 -17.92 230.702
2.08 -17.92 191.194
6.23 -17.92 201.861
10.38 -17.92 201.724
10.38 -17.92 219.534
14.54 -17.92 209.101
Note: The background will be white and the axes black when printed onto paper.
IDL>set_plot,'ps'
IDL>device,file='n4449.ps',bits=8,/color,xsize=5,ysize=5,xoffset=1.5,$
IDL>yoffset=5,/inches
IDL>fibers
Enter name of data file: dpexample.rslt
Enter number of lines: 86
Enter minimum value for color bar: 150
Enter maximum value for color bar: 300
Enter plot title: NGC4449 - vel. (km/s)
IDL>device,/close
IDL>set_plot,'x'
i.e. you have to run the program again to write the plot into the
postscript file. You can change the size and position of the plot on your
paper by changing the numbers in
xsize=5,ysize=5,xoffset=1.5,yoffset=5 above.
Special thanks to Matt Haffner for helping me write the program fibers.pro.