Re: help functions

*To*: mathgroup at smc.vnet.net*Subject*: [mg2469] Re: [mg2435] help functions*From*: Allan Hayes <hay at haystack.demon.co.uk>*Date*: Sun, 12 Nov 1995 22:27:58 -0500

Jack Goldberg <jackgold at math.lsa.umich.edu> >Subject: [mg2435] help functions Writes >I would like to have a "help" command which generates more >information than ?. Jack: You can make you own additions as in the following example. You might put the extensions in a package (MoreHelp` ?) and put this into your init file for automatic loading at the start of each session. Unprotect[Plot]; Make your additions. Plot::usage = StringJoin[Plot::usage;, "\nMy additions"]; Here they are ?Plot Plot[f, {x, xmin, xmax}] generates a plot of f as a function of x from xmin to xmax. Plot[{f1, f2, ...}, {x, xmin, xmax}] plots several functions fi. My additions Protect[Plot] Allan Allan Hayes hay at haystack.demon.co.uk