|
From: Mahmood N. <nt_...@ya...> - 2013-05-09 11:34:06
|
OK the problem was that I used tar.gz and NOT gz (gzip utility). It is now fine. Regards, Mahmood ________________________________ From: Mahmood Naderan <nt_...@ya...> To: "EAM...@gm..." <EAM...@gm...>; "gnu...@li..." <gnu...@li...> Sent: Thursday, May 9, 2013 1:09 PM Subject: Re: [Gnuplot-info] reading from a zip file 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 ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ gnuplot-info mailing list gnu...@li... https://lists.sourceforge.net/lists/listinfo/gnuplot-info |