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


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

Re: Draw circle with standard form?

From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Draw circle with standard form?
Date 2017-10-16 10:10 +0200
Organization solani.org
Message-ID <os1pgu$8e7$1@solani.org> (permalink)
References <60ca5673-4741-4fe6-b183-5c0cda561e14@googlegroups.com>

Show all headers | View raw


Am 15.10.2017 um 17:41 schrieb Lawrence Bottorff:
> Would it be possible to plot a circle in an x,y cartesian graph by just giving the standard form, i.e., (x - h)**2 + (y - k)**2 = r**2 ... or some variation thereof like a circle centered on (0,0) x**2 + y**2 = r**2 ?
> 

Gnuplot is not a symbolic math package.

It has to calculate the x and y values of each point on the circle from
one independent variable that you can sample over the circumference.

  plot sample [th=0:2*pi] "+" us (r*cos(th)):(r*sin(th))


 Karl

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


Thread

Draw circle with standard form? Lawrence Bottorff <borgauf@gmail.com> - 2017-10-15 08:41 -0700
  Re: Draw circle with standard form? Karl Ratzsch <mail.kfr@gmx.net> - 2017-10-16 10:10 +0200
    Re: Draw circle with standard form? ruben safir <ruben@mrbrklyn.com> - 2017-10-24 17:41 -0400

csiph-web