|
From: Ethan A M. <sf...@us...> - 2011-10-11 19:01:24
|
On Tuesday, October 11, 2011 11:25:15 am Juhász Péter wrote: > > An idea I've just had: > perhaps it would be worth introducing a feature like "man -k" in *nix > or ?? in R. > > If the user were looking for the way to do something but didn't know > where he should look, he could use a hypothetical new "searchhelp" or > "helpindex" command with some keyword related to his troubles, and > gnuplot would list the relevant help topics. Doesn't this already exist? The same keywords and index entries used to generate the index in the TeX-based documentation are supposed to be found by the "help" command also. The usual problem, of which the current query is a perfect example, is that the user doesn't know what keyword to search for. "help sample" works fine, but only if you think of asking about "sample". I have myself pretty much abandoned the builtin "help" in favor of the PDF document. It has an index, and allows searching. It also has figures. But you still need a starting point. Anyhow, suggestions for keyword/index entries are very welcome. Ethan > > By the way, an answer to your original question would be > > plot "datafile" using 1:2, "" using 1:(f($1)) > > which would evaluate your function at exactly the same points as the > datafile. > > Péter Juhász |