The following Matlab project contains the source code and Matlab examples used for gives a nearly optimal set of points [x y] for a plot of y = f(x) with uniform specified accuracy. .
OPTPLOT finds a nearly optimal number of points between given x-limits at which a real scalar function f(x) has to be calculated so that the plot of this function has a nearly uniform accuracy on the screen, specified by a parameter TOL, and either plots the graph or returns the calculated points for use with PLOT.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

## Project Files:

File Name | Size |
---|---|

optplot.m | 4852 |

optplottest.m | 3900 |