next up previous contents index
Next: Size Up: Set-show Previous: Rrange   Contents   Index


Samples

The sampling rate of functions, or for interpolating data, may be changed by the set samples command.

Syntax:

     set samples <samples_1> {,<samples_2>}
     show samples

By default, sampling is set to 100 points. A higher sampling rate will produce more accurate plots, but will take longer. This parameter has no effect on data file plotting unless one of the interpolation/approximation options is used. See plot smooth (p. [*]) re 2-d data and set cntrparam (p. [*]) and set dgrid3d (p. [*]) re 3-d data.

When a 2-d graph is being done, only the value of 4#4samples_15#5 is relevant.

When a surface plot is being done without the removal of hidden lines, the value of samples specifies the number of samples that are to be evaluated for the isolines. Each iso-v line will have 4#4sample_15#5 samples and each iso-u line will have 4#4sample_25#5 samples. If you only specify 4#4samples_15#5, 4#4samples_25#5 will be set to the same value as 4#4samples_15#5. See also set isosamples (p. [*]).


Alex T Prengel 2007-03-13