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


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

Re: plotting data directly from an Internet link?

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: plotting data directly from an Internet link?
Followup-To comp.graphics.apps.gnuplot
Date 2012-10-29 18:53 -0700
Organization gnuplot development team
Message-ID <k6nbur$pep$1@dont-email.me> (permalink)
References <cf7a8cca-4187-432d-84f9-1c6df0bf7871@googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


TonyG wrote:

> Is it possible to use an Internet link to some column-formatted data
> as the data source for the 'file' part of the 'plot' command?
> 
> A good example would be plotting selected columns from
> http://www.ndbc.noaa.gov/data/5day2/44013_5day.txt
> 
> BTW, since I use a WinXP OS, I doubt I could use the pop(x) method as
> described in the Help file, e.g.,
> 
> pop(x) = 103*exp(-x/10)
> plot "< awk '{print $1-1965, $2}' population.dat", pop(x)


You say "I doubt I could use....".
But have you actually tried it?
So long as the gnuplot executable supports pipes, you should
be OK.

At least under linux one answer is
  plot "< GET http://www.ndbc.noaa.gov/data/5day2/44013_5day.txt"

where GET is a widely-distributed perl script roughly equivalent
to wget.  If you prefer wget, then 
  plot "< wget -O - http://www.ndbc.noaa.gov/data/5day2/44013_5day.txt"

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


Thread

plotting data directly from an Internet link? TonyG <tgozdz@gmail.com> - 2012-10-29 10:15 -0700
  Re: plotting data directly from an Internet link? James <jjpuzzles@wowway.com> - 2012-10-29 13:00 -0700
    Re: plotting data directly from an Internet link? TonyG <tgozdz@gmail.com> - 2012-10-29 15:19 -0700
  Re: plotting data directly from an Internet link? sfeam <sfeam@users.sourceforge.net> - 2012-10-29 18:53 -0700
    Re: plotting data directly from an Internet link? TonyG <tgozdz@gmail.com> - 2012-10-30 08:56 -0700
      Re: plotting data directly from an Internet link? sfeam <sfeam@users.sourceforge.net> - 2012-10-30 22:54 -0700
        Re: plotting data directly from an Internet link? TonyG <tgozdz@gmail.com> - 2012-10-31 06:44 -0700

csiph-web