|
From: Mahmood N. <nt_...@ya...> - 2013-05-09 08:39:27
|
It doesn't work for me. You can create a data file and paste 10 20 30 40 50 now these two commands generates different plots gnuplot> plot "data.txt" using 1 gnuplot> plot "<zcat data.tar.gz" using 1 and gnuplot> plot "<zcat data.tar.gz" using 1:2 ^ x range is invalid Regards, Mahmood ________________________________ From: Ethan A Merritt <eam...@gm...> To: gnu...@li...; Mahmood Naderan <nt_...@ya...> Cc: Roman Dzvinkovsky <rom...@gm...> Sent: Thursday, May 9, 2013 10:25 AM Subject: Re: [Gnuplot-info] reading from a zip file On Wednesday, 08 May 2013, Roman Dzvinkovsky wrote: > You can use named pipes (https://en.wikipedia.org/wiki/Named_pipe). > > On *nix it is easy: > % mkfifo input > % gunzip -c input.gz >input & > [2] 2379 > % gnuplot myplot.gp >out.png > [2] + done gunzip -c input.gz > input > > You'll need to write data into pipe as many times as you plot it in your > script. It's even easier than that. The pipe can be implicit in the plot command give to gnuplot: gnuplot> plot "<zcat input.gz" using 1:2 Ethan > > > 2013/5/9 Mahmood Naderan <nt_...@ya...> > > > Hi > > It seems that ghbplot can not read data from a compressed archive (gz, > > bzip2, ...). > > > > If that is true, there is there any tweak for that or it can read from > > plain text only? > > > > > > > > Regards, > > Mahmood -- Tradition is not the worship of ashes, but the preservation of fire. - Gustav Mahler |