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


Groups > comp.graphics.apps.gnuplot > #3951 > unrolled thread

smooth unwrap does not work with an explicit function

Started byJean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
First post2018-05-27 08:05 +0200
Last post2018-05-28 13:43 +0200
Articles 5 — 3 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  smooth unwrap does not work with an explicit function Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2018-05-27 08:05 +0200
    Re: smooth unwrap does not work with an explicit function Chris Elvidge <chris@mshome.net> - 2018-05-27 11:38 +0100
      Re: smooth unwrap does not work with an explicit function Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2018-05-27 12:51 +0200
      Re: smooth unwrap does not work with an explicit function Karl Ratzsch <mail.kfr@gmx.net> - 2018-05-28 10:42 +0200
        Re: smooth unwrap does not work with an explicit function Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2018-05-28 13:43 +0200

#3951 — smooth unwrap does not work with an explicit function

FromJean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
Date2018-05-27 08:05 +0200
Subjectsmooth unwrap does not work with an explicit function
Message-ID<alpine.WNT.2.20.1805270800560.1992@BecaneCoulon>
See my workaround:

set log x; set nolog y; jay = {0,1}; p(x) = jay*x
set xrange [.1:10]; set grid
model(x) = 1/((1+p(x))*(1+p(x))*(1+p(x)))
plot arg(model(x)) smooth unwrap,\
"uninteresting.txt" using 1:(arg(model($1))) with lines  smooth unwrap title "workaround"

where uninteresting.txt contains .1 1 .2 1 etc 10 1

Is it a bug or a feature?

Jean-Pierre Coulon

[toc] | [next] | [standalone]


#3952

FromChris Elvidge <chris@mshome.net>
Date2018-05-27 11:38 +0100
Message-ID<pee1qu$7g6$1@dont-email.me>
In reply to#3951
On 27/05/2018 07:05, Jean-Pierre Coulon wrote:
> See my workaround:
> 
> set log x; set nolog y; jay = {0,1}; p(x) = jay*x
> set xrange [.1:10]; set grid
> model(x) = 1/((1+p(x))*(1+p(x))*(1+p(x)))
> plot arg(model(x)) smooth unwrap,\
> "uninteresting.txt" using 1:(arg(model($1))) with linesĀ  smooth unwrap 
> title "workaround"
> 
> where uninteresting.txt contains .1 1 .2 1 etc 10 1
> 
> Is it a bug or a feature?
> 
> Jean-Pierre Coulon

I'd say a feature:

http://www.bersch.net/gnuplot-doc/plot.html

"The smooth options have no effect on function plots."

-- 

Chris Elvidge, England

[toc] | [prev] | [next] | [standalone]


#3953

FromJean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
Date2018-05-27 12:51 +0200
Message-ID<alpine.WNT.2.20.1805271249080.660@BecaneCoulon>
In reply to#3952
On Sun, 27 May 2018, Chris Elvidge wrote:

> I'd say a feature:
>
> http://www.bersch.net/gnuplot-doc/plot.html
>
> "The smooth options have no effect on function plots."

Thanks. I thought *one* instruction in the Gnuplot source would have 
solved my problem. :-)

Jean-Pierre Coulon

[toc] | [prev] | [next] | [standalone]


#3954

FromKarl Ratzsch <mail.kfr@gmx.net>
Date2018-05-28 10:42 +0200
Message-ID<pegfe4$r3j$1@solani.org>
In reply to#3952
Am 27.05.2018 um 12:38 schrieb Chris Elvidge:
> 
> I'd say a feature:
> 
> 
> "The smooth options have no effect on function plots."
> 

You can use smoothing in function plots using the special filename '+'

plot '+' using 1:(f($1)) smooth unwrap

[toc] | [prev] | [next] | [standalone]


#3955

FromJean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
Date2018-05-28 13:43 +0200
Message-ID<alpine.WNT.2.20.1805281343070.1956@dhcp3-6>
In reply to#3954
On Mon, 28 May 2018, Karl Ratzsch wrote:

> You can use smoothing in function plots using the special filename '+'
>
> plot '+' using 1:(f($1)) smooth unwrap

Thanks.
-- 
Jean-Pierre Coulon

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web