plotlinefit

plotlinefit(D::GMTdataset, kwargs...)

Plot the line fit of the points in the D GMTdataset type including confidence intervals and error ellipses. The D input is the result of having run your data through the linearfitxy function. See its docs for the meaning of the parameters mentioned below.

Other than the above options you can use most of the plot options that control line and marker symbol.

Examples

using GMT

plotlinefit(D, band_ab=true, band_ci=true, legend=true, show=1)

Source Code

This function has multiple methods:

See Also

linearfitxy, plot

Alphabetical Function List