# LIne

LIne ON [glist] Draw a line connecting all the points in each plot group specified in "[glist]".

LIne OFf [glist] Produce a scatter diagram by turning off the line for each plot group specified in "[glist]".

LIne Stepped [ON] [glist] Produce a stepped-line plot for each plot group specified in "[glist]".

LIne # [ON] [glist] PLT always draws straight lines between mesh points and the default is each data point corresponds to a mesh point. When plotting a line it is sometimes useful to use more mesh points than data points. The LIne # will force PLT to use ABS(#) mesh points. If # is greater than zero, then the line is evaluated at # points between the current x-scale Minimum and Maximum. If # is less than 0, then the line is evaluated at "ABS(#)" points between the Data Min and Data Max --- i.e., no extrapolation is allowed. If # equals 0, then the line is evaluated at the data points. (This is the default.) If a mesh point lies between two data points then a cubic spline using Akima coefficients is used to evalute the location of the mesh point. This gives the illusion that a smooth line connects the data points. Note: this command will only work if the x values are strictly increasing.

Note: If you set "Error OFf", "MArker OFf", and "LIne OFf", then the line will still appear. The only way to prevent data from being plotted is to use the "COlor OFf" command.

## examples

```PLT> LIne ON         ! Use a line for all groups
PLT> LIne OFf 1,3    ! Turn off the line for groups 1 and 3
PLT> LIne Step 1,5   ! Plot groups 1 and 5 with a stepped line
PLT> LIne 200 ON 2   ! Plot 'smooth' line on 200 points over current X range
PLT> LIne -200 ON 3  ! Plot 'smooth' line over 200 points from data min
! to data max
```