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


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

Re: Can use unwrap with input data associated with a function?

From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Can use unwrap with input data associated with a function?
Date 2018-05-25 09:46 +0200
Organization solani.org
Message-ID <pe8evr$ogc$1@solani.org> (permalink)
References <alpine.WNT.2.20.1805250905200.11560@dhcp3-6>

Show all headers | View raw


Am 25.05.2018 um 09:15 schrieb Jean-Pierre Coulon:
> My input file "phasedata.txt" contains:
> 1e3 -10
> 3e3 -38
> 1e4 -40
> 3e4 -78 1e5 -80
> 
> My gnuplot file is:
> reset; set log x; set nolog y; set angle degrees; set grid
> set xrange [1e3:1e5]; set yrange [-180:180]; jay = {0,1}; p(x) = jay*x
> other(x) = 1/((1 + p(x)/1e4)*(1 + p(x)/1e4)*(1 + p(x)/1e4))
> set format y "%.0f%c\260"
> set ytics 90; set mytics 2
> plot "phasedata.txt" with lines title "simple input data",\
> arg(other(x)) title "other function",\
> "phasedata.txt" us 1:($2 +arg(other($1))) with lines title "with other
> function, as is",\
> "phasedata.txt" us 1:($2 +arg(other($1))) with lines  title
> "unwrapped"
> 
> My 3rd plot is correct by my 4th plot is not, even in the [1000:10000]
> domain, where no unwrap job is required. Why?


I'd say thats a bug. Looks like "smooth unwrap" does not like the "angle
degree" setting.

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


Thread

Can use unwrap with input data associated with a function? Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2018-05-25 09:15 +0200
  Re: Can use unwrap with input data associated with a function? Karl Ratzsch <mail.kfr@gmx.net> - 2018-05-25 09:46 +0200
    Re: Can use unwrap with input data associated with a function? Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2018-05-25 10:10 +0200
      Re: Can use unwrap with input data associated with a function? Karl Ratzsch <mail.kfr@gmx.net> - 2018-05-25 11:24 +0200

csiph-web