guide to lcurve and plot


At the UNIX prompt, type: lcurve
the lcurve routine operates only on files with extension .lc  that are located in the same directory;
the lcurve routine outputs a *.flc file on which the powspec routine operates
lcurve prompts will run in the order they are listed in the table below.


The information within brackets [] is either the default value or the last value selected.

Pressing <Enter> without typing anything automatically selects this value.




input command/response


description of
input command/response



software response
to input
lcurve

Number of time series for this task[ ]
1
A time series is an observation within a FITS file.  Generally will plot only 1. Max=4
Ser. 1 filename +options (or @file of filenames +options) [ ]
4523.lc
Respond with filename of .lc file to be analyzed.

For concatenated files, use the @ symbol before the file name.
Name of the window file ('-' for default window) [ ]
-
Configuration of window for plotting.  The default window is most commonly used.
 Newbin Time or negative rebinning
 [ ]
indef

"indef"  accepts default value
A bin is an interval of time over which the data is lumped together for analysis.

In general, select the (provided) Minimum Newbin Time to provide the best time resolution for the data analysis.  It is commonly used unless there are too few photons in this bin size. 

The Newbin Time entered MUST be an integral multiple of the Minimum Newbin Time.
Number of Newbins/Interval [ ]
indef

"indef"  accepts default value
The prompt is asking how many bins you want the complete data set broken into.

Select Maximum Newbin No. in order to see the entire observation.
Name of output file
[ ]
suggest use of obsid number
Saves light curve results in an output .flc file which can then be used to create a power spectrum.

The default option saves the power spectrum with a filename identical to that used for the input file (a .lc) but ending with the .fps extension.
Do you want to plot your results? [ ]
yes
"yes" Displays the light curve in graphical form.
Enter PGPLOT device [ ]
/xw Selects device used for drawing the graph on screen.  Most commonly this is /xw or sometimes /xterm
PLT>
quit
quits lcurve routine;
writes file name with .flc extension;
returns to UNIX prompt


guide to PLT Commands
After plotting your graph, xterm enters PLT> mode,
the following commands (at the PLT> prompt) allow you to modify the current graph window.


Command
Action
Example
help
Accesses PLT documentation.
Type the name of a PLT command to display a brief command description
help
plot
Refreshes on-screen graph with any changes you have made.
plot
marker Z on/off
Markers are symbols reprsenting the data points on graph. 
Different Z values represent different symbol styles .
Range of Z is 1-16.
marker 6 on
marker size Z
Alters the size of the markers.
Range of Z is 1.0-5.0
marker size 2
line on/off
on connects the data points in the plot;
off displays a scatter plot of data without lines connecting the data.
line off
error on/off
Switches error bars on or off at the data points.
error off
rescale x xmin xmax
Rescales the x axis of graph based on entered values for xmin and xmax.
rescale x 0 100
rescale y ymin ymax
Rescales the y axis of graph based on entered values for ymin and ymax. rescale y 0 50
label position string
Puts a label of string in position. The positions are x, y, top, ox, oy.
label top Light Curve
hardcopy filename/ps
Saves the screen image into a .ps file.  If filename isn't specified, image is saved as pgplot.ps
hardcopy c02468.ps