Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3395 > unrolled thread
| Started by | carolyne.bakasa@gmail.com |
|---|---|
| First post | 2016-09-15 22:39 -0700 |
| Last post | 2016-09-20 13:03 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Gnuplot Word labels carolyne.bakasa@gmail.com - 2016-09-15 22:39 -0700
Re: Gnuplot Word labels Jörg Buchholz <bookwood4new@freenet.de> - 2016-09-20 08:08 +0200
Re: Gnuplot Word labels Jörg Buchholz <bookwood4new@freenet.de> - 2016-09-20 13:03 +0200
| From | carolyne.bakasa@gmail.com |
|---|---|
| Date | 2016-09-15 22:39 -0700 |
| Subject | Gnuplot Word labels |
| Message-ID | <e4982d3e-5ea1-4ef9-a03b-3cf9ffbb191e@googlegroups.com> |
Hello Help me label my bar graphs with words. I have seen how to label with integers but not words. I want to have Kim, Den, B3, CT, DL, M7 on top of the bars graphs my data -12.04 Kim -10.17 Den +9.00 B3 -13.10 CT -12.80 DL -11.80 M7 Thank you
[toc] | [next] | [standalone]
| From | Jörg Buchholz <bookwood4new@freenet.de> |
|---|---|
| Date | 2016-09-20 08:08 +0200 |
| Message-ID | <nrqjoc$ud5$1@dont-email.me> |
| In reply to | #3395 |
On 16.09.2016 07:39, carolyne.bakasa@gmail.com wrote: > Hello > > Help me label my bar graphs with words. I have seen how to label with integers > but not words. I want to have Kim, Den, B3, CT, DL, M7 on top of the bars graphs > > my data > -12.04 Kim > -10.17 Den > +9.00 B3 > -13.10 CT > -12.80 DL > -11.80 M7 plot 'my_data.dat' u 0:1 with boxes ,'' u 0:1:2 with labels center offset 0,1 notitle "with labels" works with words (strings). Jörg
[toc] | [prev] | [next] | [standalone]
| From | Jörg Buchholz <bookwood4new@freenet.de> |
|---|---|
| Date | 2016-09-20 13:03 +0200 |
| Message-ID | <nrr52f$ibh$1@dont-email.me> |
| In reply to | #3398 |
On 20.09.2016 08:08, Jörg Buchholz wrote: > On 16.09.2016 07:39, carolyne.bakasa@gmail.com wrote: >> Hello >> >> Help me label my bar graphs with words. I have seen how to label with >> integers >> but not words. I want to have Kim, Den, B3, CT, DL, M7 on top of the >> bars graphs >> >> my data >> -12.04 Kim >> -10.17 Den >> +9.00 B3 >> -13.10 CT >> -12.80 DL >> -11.80 M7 > > plot 'my_data.dat' u 0:1 with boxes ,'' u 0:1:2 with labels center > offset 0,1 notitle All labels on top of the boxes: plot 'labels.dat' u 0:1 with boxes ,'' u 0:($1 > 0 ? $1 : 0):2 with labels center offset 0,1 notitle Jörg
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web