Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4427 > unrolled thread
| Started by | David Partridge <david.partridge@perdrix.co.uk> |
|---|---|
| First post | 2021-09-07 04:04 -0700 |
| Last post | 2021-09-09 09:51 +0200 |
| Articles | 4 — 3 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Newb question David Partridge <david.partridge@perdrix.co.uk> - 2021-09-07 04:04 -0700
Re: Newb question Olaf Schultz <o.schultz@enhydralutris.de> - 2021-09-07 13:51 +0200
Re: Newb question David Partridge <david.partridge@perdrix.co.uk> - 2021-09-08 01:11 -0700
Re: Newb question Jörg Buchholz <bookwood4new@freenet.de> - 2021-09-09 09:51 +0200
| From | David Partridge <david.partridge@perdrix.co.uk> |
|---|---|
| Date | 2021-09-07 04:04 -0700 |
| Subject | Newb question |
| Message-ID | <6896eea2-e0ec-4606-89c7-bfa5e8cbc8e9n@googlegroups.com> |
I tried to find this out from the "friendly manual", but failed - too overwhelmed by information. I want GNUPlot to process a CSV whose 1st record provides "metadata" about the remainder of the data in the file (test conditions to be added as annotations to the plot). Is this easy to do? If so a pointer to a working example or tutorial for this would be hugely helpful. Thanks David
[toc] | [next] | [standalone]
| From | Olaf Schultz <o.schultz@enhydralutris.de> |
|---|---|
| Date | 2021-09-07 13:51 +0200 |
| Message-ID | <ipp228Fi2enU1@mid.individual.net> |
| In reply to | #4427 |
On 9/7/21 13:04, David Partridge wrote: > I tried to find this out from the "friendly manual", but failed - too overwhelmed by information. > > I want GNUPlot to process a CSV whose 1st record provides "metadata" about the remainder of the data in the file (test conditions to be added as annotations to the plot). > > Is this easy to do? If so a pointer to a working example or tutorial for this would be hugely helpful. > > Thanks > David > Moin, perhaps try it with "with labels" http://gnuplot.sourceforge.net/demo/ espacially http://gnuplot.sourceforge.net/demo/datastrings.html is a good hint for you. Greetings, Olaf
[toc] | [prev] | [next] | [standalone]
| From | David Partridge <david.partridge@perdrix.co.uk> |
|---|---|
| Date | 2021-09-08 01:11 -0700 |
| Message-ID | <a89a3cbd-7fbf-4b0e-b040-c76c8c00a27fn@googlegroups.com> |
| In reply to | #4428 |
On Tuesday, September 7, 2021 at 12:51:40 PM UTC+1, Olaf Schultz wrote: > On 9/7/21 13:04, David Partridge wrote: > > I tried to find this out from the "friendly manual", but failed - too overwhelmed by information. > > > > I want GNUPlot to process a CSV whose 1st record provides "metadata" about the remainder of the data in the file (test conditions to be added as annotations to the plot). > > > > Is this easy to do? If so a pointer to a working example or tutorial for this would be hugely helpful. > > > > Thanks > > David > > > Moin, perhaps > > try it with "with labels" > > http://gnuplot.sourceforge.net/demo/ > > espacially > > http://gnuplot.sourceforge.net/demo/datastrings.html > > is a good hint for you. > > Greetings, > > Olaf Not really as there wasn't any explanation of what was happening. Lets try this with a different approach. What if the first record is a comment line and therefore csv metadata. Is there a way to get GNUPlot to display that comment line as a caption? D.
[toc] | [prev] | [next] | [standalone]
| From | Jörg Buchholz <bookwood4new@freenet.de> |
|---|---|
| Date | 2021-09-09 09:51 +0200 |
| Message-ID | <shcee7$7lh$1@dont-email.me> |
| In reply to | #4429 |
On 08.09.2021 10:11, David Partridge wrote: > On Tuesday, September 7, 2021 at 12:51:40 PM UTC+1, Olaf Schultz wrote: >> On 9/7/21 13:04, David Partridge wrote: >>> I tried to find this out from the "friendly manual", but failed - too overwhelmed by information. >>> >>> I want GNUPlot to process a CSV whose 1st record provides "metadata" about the remainder of the data in the file (test conditions to be added as annotations to the plot). >>> >>> Is this easy to do? If so a pointer to a working example or tutorial for this would be hugely helpful. >>> >>> Thanks >>> David >>> >> Moin, perhaps >> >> try it with "with labels" >> >> http://gnuplot.sourceforge.net/demo/ >> >> espacially >> >> http://gnuplot.sourceforge.net/demo/datastrings.html >> >> is a good hint for you. >> >> Greetings, >> >> Olaf > Not really as there wasn't any explanation of what was happening. Lets try this with a different approach. What if the first record is a comment line and therefore csv metadata. > > Is there a way to get GNUPlot to display that comment line as a caption? > > D. > Hi David as a example, if your datafile is something like this and named "data.dat": This is the title 1 2 1 3 1 4 1 5 2 1 Than you can do the following and you have a plot with "This is the title" as the title. set datafile separator ";" set term unknow plot 'data.dat' every ::0::0 using (textVar=stringcolumn(1),0) set title textVar set datafile separator whitespace set term qt plot 'data.dat' skip 1 u 1:2 Jörg
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web