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


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

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

Newsgroups comp.graphics.apps.gnuplot
Date 2016-11-24 09:16 +0100
From Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
Subject Re: Can I display tics to show the value of my paramter.
Message-ID <alpine.WNT.2.20.1611240914540.9264@dhcp3-6> (permalink)
References <alpine.WNT.2.20.1611231443210.9732@dhcp3-6> <o14nsm$rqr$1@solani.org>
Organization Guest of ProXad - France

Show all headers | View raw


On Wed, 23 Nov 2016, Karl Ratzsch wrote:

> Something like
>
>  set samp 30
>
>   x(f) = f/10 * sin(f/5)
>   y(f) = f/10 * cos(f/5)
>
>  plot  sample [f=1:30] "+" \
>  using (x(f)):(y(f)):(sprintf("%.f",f)) with labels point pt 1

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)

Bye,
-- 
Jean-Pierre Coulon

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


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