Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3399

Re: Gnuplot Word labels

From Jörg Buchholz <bookwood4new@freenet.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Gnuplot Word labels
Date 2016-09-20 13:03 +0200
Organization A noiseless patient Spider
Message-ID <nrr52f$ibh$1@dont-email.me> (permalink)
References <e4982d3e-5ea1-4ef9-a03b-3cf9ffbb191e@googlegroups.com> <nrqjoc$ud5$1@dont-email.me>

Show all headers | View raw


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

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Find similar


Thread

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

csiph-web