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


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

Re: How to plot (x^2+y^2-1)^3 - x^2*y^3 =0 in gunplot?

From Hans-Bernhard Bröker <HBBroeker@t-online.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: How to plot (x^2+y^2-1)^3 - x^2*y^3 =0 in gunplot?
Date 2012-10-28 11:46 +0100
Message-ID <af4gnsFfjc3U1@mid.dfncis.de> (permalink)
References <3df1436e-8d8f-4bc0-a6b7-ec678649e11b@googlegroups.com>

Show all headers | View raw


On 27.10.2012 18:51, Shin wrote:
> Does anybody knows how to plot (x^2+y^2-1)^3 - x^2*y^3 =0 in gunplot?

gnuplot generally only does explicit or parametric curves, not implicit 
ones like the above.  But you can fake it to some extent by asking for 
z=0 contour of the surface z = f(x,y)=(x^2+y^2-1)^3 - x^2*y^3:

gnuplot> f(x,y) = (x**2+y**2-1)**3 - x**2*y**3
gnuplot> set contour base
gnuplot> set cntrparam lev discrete 0
gnuplot> set isosamp 50
gnuplot> set view map; unset surf
gnuplot> sp [-1.5:1.5][-1.5:1.5] f(x,y) w l

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


Thread

How to plot (x^2+y^2-1)^3 - x^2*y^3 =0 in gunplot? Shin <liu.genesis@gmail.com> - 2012-10-27 09:51 -0700
  Re: How to plot (x^2+y^2-1)^3 - x^2*y^3 =0 in gunplot? Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-10-28 11:46 +0100

csiph-web