Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #870
| From | pg <picanog@yahoo.it> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Plotting data from an SQL |
| Date | 2012-01-25 15:43 +0100 |
| Organization | C.U. srl News Server |
| Message-ID | <jfp4e3$q8a$1@tdi.cu.mi.it> (permalink) |
| References | <jfhc4v$ef8$1@tdi.cu.mi.it> <jfmr05$81b$1@dont-email.me> |
Tks Michael, from your answer I understand there is no way to do the same directly from Gnuplot command line under Windows. This way needs to pre-prepare data so that you lost the power of the interaction. Under Linux piped input helps, so tath from Gnuplot command line you ca do the same you well eplained staying into the application. I don't know if under windows, customizing something, could be possible enable the piped input. In any case thanks for your answer. Il 24/01/2012 18.50, Michael ha scritto: > 22.01.2012 23:05, pg пишет: >> Is it possible to pass to the load command an SQL string to read data >> from an SQL db? >> >> I read this is possible (piped input) under Linux but I'm not be able to >> found the same (also with a package) under Windows environment. >> >> Any help will be appreciated. > > For example, if you have a SQLite database. > > plot.gp: > plot "data.dat" using 1:2 w linesp > > plot.bat: > sqlite3 base.db "select x,y from tbl" >data.dat > gnuplot -persist plot.gp > > > You can change the first command if the batch file according to your > database. >
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
Plotting data from an SQL pg <picanog@yahoo.it> - 2012-01-22 17:05 +0100
Re: Plotting data from an SQL Michael <proximum@land.ru> - 2012-01-25 00:50 +0700
Re: Plotting data from an SQL pg <picanog@yahoo.it> - 2012-01-25 15:43 +0100
Re: Plotting data from an SQL Michael <proximum@land.ru> - 2012-01-26 04:01 +0700
csiph-web