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


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

Re: Can I display tics to show the value of my paramter.

From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Can I display tics to show the value of my paramter.
Date 2016-11-24 10:00 +0100
Organization solani.org
Message-ID <o16a7l$q8m$1@solani.org> (permalink)
References <alpine.WNT.2.20.1611231443210.9732@dhcp3-6> <o14nsm$rqr$1@solani.org> <alpine.WNT.2.20.1611240914540.9264@dhcp3-6>

Show all headers | View raw


Am 24.11.2016 um 09:16 schrieb Jean-Pierre Coulon:
> Thanks, this works but I want a logarithmic set of labels. I am
> happy like this:
> 
> set sample 30
> set trange [1:30]
> x(f) = f/10 * sin(f/5)
> y(f) = f/10 * cos(f/5)
> set param
> set dummy f
> set label "10" at x(10), y(10)
> set label "20" at x(20), y(20)
> # etc.
> plot x(f), y(f)

  set table $samp1
  set samp 11
  set xr [0:10]
  plot "+" us (2**$1) with table notitle
  unset table

  plot  $samp1 using (x($1)):(y($1)):(sprintf("%.f",$1)) \
		with labels point pt 1
  set samp 100
  rep "+" using (x($1)):(y($1))

That way you don't use that crummy parametric mode, and don't have
to retype all your labels for every new plot.

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


Thread

Can I display tics to show the value of my paramter. Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2016-11-23 14:49 +0100
  Re: Can I display tics to show the value of my paramter. Karl Ratzsch <mail.kfr@gmx.net> - 2016-11-23 19:41 +0100
    Re: Can I display tics to show the value of my paramter. Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2016-11-24 09:16 +0100
      Re: Can I display tics to show the value of my paramter. Karl Ratzsch <mail.kfr@gmx.net> - 2016-11-24 10:00 +0100

csiph-web