Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Ethan A Merritt Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Scatter plot with a label on each point Date: Sat, 18 Apr 2015 17:10:38 -0700 Organization: A noiseless patient Spider Lines: 27 Message-ID: References: <3f0ed7d8-744f-45dc-b289-42ecf17a630a@googlegroups.com> <5c08b6c6-8ccc-409c-9ce4-69237ebf7869@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit Injection-Date: Sun, 19 Apr 2015 00:09:42 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="7bbfccb08e3cb0f92ebf95516f5f5a81"; logging-data="24773"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18n3GNdIcHcdNll1I6wucEG" User-Agent: KNode/4.12.5 Cancel-Lock: sha1:lyjK8AAQfxJ1hEHRS8JbRZcQPAA= Xref: csiph.com comp.graphics.apps.gnuplot:2887 Gavin Buxton wrote: > On Saturday, April 18, 2015 at 8:14:44 AM UTC-4, pietr...@gmail.com > wrote: >> Il giorno venerdì 31 maggio 2013 10:19:58 UTC+2, Christoph Bersch ha >> scritto: >> > Am 31.05.2013 10:07, schrieb ginosal: >> > > Hi. I would like to plot the following data, using column one as >> > > y and column two as x, and column 3 as labels for each point. >> > >> > plot 'datafile' using 2:1:3 with labels >> > >> > Christoph >> >> How to also add points? > > plot 'datafile' using 2:($1-5):3 with labels, '' u 2:1 Alternatively, ... All labels have properties (font, justification, {no}enhanced, etc) including {no}point {pointttype} {pointsize} {offset x,y}. The default is nopoint but you can specify that you want points as part of the labels command, e.g.: plot 'datafile' using 2:1:3 with labels point pt 7 offset .5, 0