Ethan Merritt - 2018-07-14

I do not understand the samples/isosamples usage in the current code so I would hesitate to touch it myself. Any changes to "set sample" or "set isosample" have to reconcile two contradictory goals:
1) If there is a new variant of the commands that reduces both time and space used by 50% that clearly should become the new default
2) If there is a new variant that does not act as the program as done historically then for backwards compatibility the old behaviour should be the default

But maybe we could side-step this conflict by leaving the two existing commands alone. Instead we could introduce a new command, something on the order of
set gridsamples <N>
unset gridsamples

If gridsamples is unset, the current action of samples and isosamples is maintained.
After "set gridsamples N", both samples and isosamples are ignored and N is used instead.
It might turn out that some contexts should always ignore the new parameter (e.g. hidden3d?).
Backwards compatibility is maintained because no old script will use "set gridsample".
New scripts or one's preferences file ~/.gnuplot can include "set gridsample 100" and all scripts benefit from reduced overhead.