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


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

Re: labels plotting style

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: labels plotting style
Followup-To comp.graphics.apps.gnuplot
Date 2013-02-02 17:04 -0800
Organization gnuplot development team
Message-ID <kekd3a$f9j$1@dont-email.me> (permalink)
References <a3fc5706-cdfc-4fe3-9d08-2367259b9b39@u7g2000yqg.googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


Ivan K. wrote:

> 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

   with labels left offset 0,1


> 
> 
> 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 | NextPrevious in thread | Next 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