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


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

labels plotting style

Newsgroups comp.graphics.apps.gnuplot
Date 2013-02-02 11:08 -0800
Message-ID <a3fc5706-cdfc-4fe3-9d08-2367259b9b39@u7g2000yqg.googlegroups.com> (permalink)
Subject labels plotting style
From "Ivan K." <ivan_521521@yahoo.com>

Show all headers | View raw


I am working with the  labels "plotting style"
as discussed in the manual version 4.6, page 54.


Appended below are a command file and two simple data files
which illustrate what I am trying to do.


Evidently, the default behavior for the plot command
I use below is that the relationship of the plotted label
to the specified coordinate is:

  horizontally, centered at the specified coordinate.
  vertically, _below_ the specified coordinate.

Are there any commands that can change this default
behavior?  What I would like to do is have the label:

   horizontally, to the right of the specified coordinate
   vertically, above the specified coordinate


Hopefully, I was clear.

Thank you for your help.





:::::::::::::: label_test01.com ::::::::::::::

set term pngcairo enhanced size 200, 200

set output 'label_test01.png';
set nokey;
set origin 0.0, 0.0;

plot [0:2][ 60 :80 ] 'label_test01_point.dat', \
  'label_test01_label.dat' \
   using 2:3:(sprintf("{/=%d %s}", $4, stringcolumn(1))) with labels


:::::::::::::: label_test01_label.dat ::::::::::::::

Fred     1.0    71      22

:::::::::::::: label_test01_point.dat ::::::::::::::

1.0     71

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


Thread

labels plotting style "Ivan K." <ivan_521521@yahoo.com> - 2013-02-02 11:08 -0800
  Re: labels plotting style sfeam <sfeam@users.sourceforge.net> - 2013-02-02 17:04 -0800
    Re: labels plotting style "Ivan K." <ivan_521521@yahoo.com> - 2013-02-02 17:37 -0800

csiph-web