Path: csiph.com!news.freedyn.net!news.dns-netz.com!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx03.am4.POSTED!not-for-mail Subject: Re: How to clear command history? Newsgroups: comp.graphics.apps.gnuplot References: <054f8fa2-210f-4e99-ac5b-937a74a575f1@googlegroups.com> <936fdee1-e3b9-4e51-bada-6a2733f76d7f@googlegroups.com> From: Colin Brough User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <936fdee1-e3b9-4e51-bada-6a2733f76d7f@googlegroups.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Lines: 30 Message-ID: X-Complaints-To: http://netreport.virginmedia.com NNTP-Posting-Date: Tue, 05 Feb 2019 10:03:17 UTC Organization: virginmedia.com Date: Tue, 5 Feb 2019 10:03:17 +0000 X-Received-Bytes: 1836 X-Received-Body-CRC: 3656496798 Xref: csiph.com comp.graphics.apps.gnuplot:4129 On 05/02/2019 09:09, Savin Beniwal wrote: > On Tuesday, 5 February 2019 12:53:03 UTC+5:30, Quoc Hung Bui wrote: >> Is there anyway to clear the command history of gnuplot? > > Hi Quoc. > I think just use--> >> reset > in your gnucommand. > > It will reset all the plots range. Please let me know is it useful > Not sure what system you are using. On my Linux installation, command history is stored in ~/.gnuplot_history To completely clear it - exit gnuplot, delete that file, and restart gnuplot.... I can't get the 'history' or 'set history' commands to have any impact on the saved command history. Cheers Colin -- ---------------------------------------------------------------------- Colin Brough Colin.Brough@blueyonder.invalid (Replace .invalid with .co.uk to reply)