Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2645
| Newsgroups | comp.graphics.apps.gnuplot |
|---|---|
| Date | 2014-11-26 10:28 -0800 |
| References | <m51ket$hre$1@news.rz.uni-karlsruhe.de> |
| Message-ID | <44b17216-99dc-43dc-8b43-24fa2f53e878@googlegroups.com> (permalink) |
| Subject | Re: comparing char variables |
| From | RockDoctor <akarley@gmail.com> |
On Tuesday, 25 November 2014 10:08:30 UTC, Karl wrote: > Hi, > > i´ve got a (possibly stupid) question: > > Is there a way in gnuplot to compare two character variables, i.e. to > find out which one contains a letter coming later in the alphabet? > > Karl If you're trying to sequence the plotting of data files (for example), couldn't you pipe the list of files through "sed" or "awk" (sorry, not a Un*x Gnuru) to get the list ordered by whatever criteria you want, then process that sorted list as it gets piped back out to gnuplot? I'm pretty sure that gnuplot can pipe commands out to a shell and feed on the (stdout) results ; never needed to use it, but I'm pretty sure I read that in TFM. (My involvement with gnuplot was to try to work out how to replace a closed-source plotting programme at work. I decided it was possible, but never needed to put it into practice.)
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
comparing char variables Karl <mail.kfr@gmx.net> - 2014-11-25 11:11 +0100 Re: comparing char variables Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2014-11-25 21:32 +0100 Re: comparing char variables Gavin Buxton <gavinbuxton@gmail.com> - 2014-11-26 06:35 -0800 Re: comparing char variables RockDoctor <akarley@gmail.com> - 2014-11-26 10:28 -0800 Re: comparing char variables ab <ab.3942@googlemail.com> - 2014-11-26 23:15 -0800
csiph-web