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


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

Re: passing an axis range parameter to set label position

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: passing an axis range parameter to set label position
Followup-To comp.graphics.apps.gnuplot
Date 2012-06-29 17:03 -0700
Organization gnuplot development team
Message-ID <jslfoi$l29$1@dont-email.me> (permalink)
References <3f32b988-a9be-43c1-9324-f992dc8407de@googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


TonyG wrote:

> I'd like to use the max value of yrange, Y, defined by my data set to
> calculate the label position in the expression 'set label 1 sprintf("b =
> %3.3f", b) at x,Y'.  Is there a way to pass the max(y) value to Y?

  stats "dataset" using 2
  set label 1 at x, STATS_max
  plot "dataset" using 1:2

> If it's not easily done, can I define the label position as a relative
> position in the plot window, such as 10% of the total height and 80% of
> the total width?

  set label 1 at screen 0.8, screen 0.1

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


Thread

passing an axis range parameter to set label position TonyG <tgozdz@gmail.com> - 2012-06-29 14:28 -0700
  Re: passing an axis range parameter to set label position sfeam <sfeam@users.sourceforge.net> - 2012-06-29 17:03 -0700
    Re: passing an axis range parameter to set label position TonyG <tgozdz@gmail.com> - 2012-06-30 08:17 -0700

csiph-web