Adding Options to Plot

Stan Wagon
Macalester College
St. Paul, Minnesota

Here is a way to overload [Graphics:../Images/tricks_gr_146.gif] to include two new options for displaying the sampled plot points.


The code calls the standard [Graphics:../Images/tricks_gr_153.gif] (without the options) and then finds the plot points using [Graphics:../Images/tricks_gr_154.gif]. This code fragment also turns the plot points into graphical [Graphics:../Images/tricks_gr_155.gif] objects, which are combined with the standard plot and displayed. For example:


Document converted by Mathematica of Wolfram Research