Path: csiph.com!1.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Karl Ratzsch Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Format change converter to 5.0? Date: Fri, 31 Mar 2017 05:14:54 +0200 Organization: solani.org Lines: 28 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1490930094 24520 eJwNxskBwDAIA7CVwmEo46QG9h+h1UuwkGB6IByLJR/NV9twsNfz9nBEUByejWWklP3XbvfqDy4LEcA= (31 Mar 2017 03:14:54 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Fri, 31 Mar 2017 03:14:54 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:5qdjeVbuHF4DDtnM9ICH2jBySyQ= X-User-ID: eJwFwYERgDAIA8CVSkMSGEfl2H8E/wmFPqeo5HJbnpvunaYPuYjXx+X2IFXjnIsHa9yKiR/89g/W In-Reply-To: X-NNTP-Posting-Host: eJwFwQkBwDAIA0BL5QtFzgrEv4TdhUHQ6Qh4MPgaW8t64Mr6paEgd0LraJ7R9oE49yMMyR8qoxFP Xref: csiph.com comp.graphics.apps.gnuplot:3602 Am 30.03.2017 um 20:44 schrieb Olaf Schultz: > I have several files from older versions (4.4, 4.6...) which must now > run also under 5.0... and that (censored) version complains not only > ones about strange format and does nothing (better than just plot and > strange results on the screen)... > Actual: > > set timefmt x "%Y-%m" > > Is there a script/tool existing which is able to convert the format of > gnuplot-files to the new version? ("censored"?) Not to my knowledge. Who would want to spend more time on developing such a tool than on converting a few old scripts? But you can just go and strip the axis specifiers from all "set timefmt" commands in your scripts, and see what happens. I'll doubt you see any difference. According to the docs, even version 4.4 never expected any axis specifier there (it was accepted, though, up to 4.6.6). ("set timefmt" is for _reading in_ time data, not for formatting the output, that was always done by "set format". You don't have different time formats in one data file, do you?) Karl