I have 2 sets of input, one that displays 3 points and the other that displays a line function. Seperately they both work fine but I cannot figure out how to combine them so that the line function appears on the same graph as the points.
Here is the line function:
Clear[f,x];
a = -0.3;
b = 2;
f[x_] = a x + b;
Plot[f[x],{x,0,5}, PlotStyle->{{Red,Thickness[0.015]}}, AxesLabel->{"x","f[x]"}]
Welcome to Wolfram Community, Bill! Please note how your code was formatted in special code-blocks. This makes it easy to read it and copy it. Use Spikey button in the editor - see image below. If you could also upgrade your profile information - it’d be great!