Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3602

Re: Format change converter to 5.0?

From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Format change converter to 5.0?
Date 2017-03-31 05:14 +0200
Organization solani.org
Message-ID <obkhje$nu8$1@solani.org> (permalink)
References <ek51vjFffU1@mid.individual.net>

Show all headers | View raw


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

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Format change converter to 5.0? Olaf Schultz <o.schultz@enhydralutris.de> - 2017-03-30 20:44 +0200
  Re: Format change converter to 5.0? Karl Ratzsch <mail.kfr@gmx.net> - 2017-03-31 05:14 +0200
    Re: Format change converter to 5.0? Olaf Schultz <o.schultz@enhydralutris.de> - 2017-04-01 12:06 +0200
      Re: Format change converter to 5.0? Karl Ratzsch <mail.kfr@gmx.net> - 2017-04-01 23:17 +0200
        Re: Format change converter to 5.0? Ethan A Merritt <EAMerritt@gmail.com> - 2017-04-01 15:16 -0700
          Re: Format change converter to 5.0? Olaf Schultz <o.schultz@enhydralutris.de> - 2017-04-02 09:48 +0200
        Re: Format change converter to 5.0? Ethan A Merritt <EAMerritt@gmail.com> - 2017-04-01 15:32 -0700

csiph-web