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

Path csiph.com!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
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 Fri, 29 Jun 2012 17:03:29 -0700
Organization gnuplot development team
Lines 15
Message-ID <jslfoi$l29$1@dont-email.me> (permalink)
References <3f32b988-a9be-43c1-9324-f992dc8407de@googlegroups.com>
Reply-To sfeam@users.sourceforge.net
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
Injection-Date Sat, 30 Jun 2012 00:03:31 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="joalffpZlyHxFtpFd/PRrw"; logging-data="21577"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19gP29FAtMqMQ7oFp5g5Tcq"
User-Agent KNode/4.4.9
Cancel-Lock sha1:tT/5FWfEWj6UfJiH/Ej78V+Mmrg=
Xref csiph.com comp.graphics.apps.gnuplot:1233

Followups directed to: comp.graphics.apps.gnuplot

Show key headers only | 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