Assuming you have the fit object g, you can use the plot method of the object along with the confint function to plot the fit and its corresponding 95% confidence intervals as follows:
main.m320 chars10 lines
This will plot the fit curve in blue and its corresponding 95% confidence bounds in red dashed line. Note that you can replace 0.95 with any desired confidence level (e.g., 0.99 for 99% confidence interval).
gistlibby LogSnag