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


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

missing part in graph

Started byJean Dubois <jeandubois314@gmail.com>
First post2014-03-11 05:24 -0700
Last post2014-03-11 06:12 -0700
Articles 3 — 2 participants

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


Contents

  missing part in graph Jean Dubois <jeandubois314@gmail.com> - 2014-03-11 05:24 -0700
    Re: missing part in graph Karl <mail.kfr@gmx.net> - 2014-03-11 13:53 +0100
      Re: missing part in graph Jean Dubois <jeandubois314@gmail.com> - 2014-03-11 06:12 -0700

#2337 — missing part in graph

FromJean Dubois <jeandubois314@gmail.com>
Date2014-03-11 05:24 -0700
Subjectmissing part in graph
Message-ID<371c1ddf-71b7-44e1-9e4a-1cc2759aeee9@googlegroups.com>
When plotting x^(1/3) as follows, the part in the middle is not shown.
What's the reason and workaround for this?

plot x**(1./3.), -(-x)**(1./3.)

thanks
jean

[toc] | [next] | [standalone]


#2338

FromKarl <mail.kfr@gmx.net>
Date2014-03-11 13:53 +0100
Message-ID<lfn102$a5s$1@news.rz.uni-karlsruhe.de>
In reply to#2337
Am 11.03.2014 13:24, schrieb Jean Dubois:
> plot x**(1./3.), -(-x)**(1./3.)

That´s because x=0 is not sampled with the default settings

xrange [-10:10]
set sample 100

plot x**(1./3.) w lp, -(-x)**(1./3.) w lp

If you change the number of samples to an odd number, the curves will
connect.


  Karl

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


#2339

FromJean Dubois <jeandubois314@gmail.com>
Date2014-03-11 06:12 -0700
Message-ID<8d852f83-dbc1-4505-bb6a-aaaa083969a5@googlegroups.com>
In reply to#2338
Op dinsdag 11 maart 2014 13:53:36 UTC+1 schreef Karl:
> Am 11.03.2014 13:24, schrieb Jean Dubois:
> 
> > plot x**(1./3.), -(-x)**(1./3.)
> 
> 
> 
> That´s because x=0 is not sampled with the default settings
> 
> 
> 
> xrange [-10:10]
> 
> set sample 100
> 
> 
> 
> plot x**(1./3.) w lp, -(-x)**(1./3.) w lp
> 
> 
> 
> If you change the number of samples to an odd number, the curves will
> 
> connect.
> 
> 
> 
> 
> 
>   Karl

thanks, that explains everything

kind regards,
Jean

[toc] | [prev] | [standalone]


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


csiph-web