# Implicit plotting accuracy

I am trying to plot this implicit function

What I get is

Is there a way to make the curves thinner ?

edit retag close merge delete

Can you give the precise code you used to plot this? The thickness parameter may be helpful, if I understand your question correctly.

( 2013-11-23 05:52:47 -0500 )edit

I use implicit_plot which does not have a thickness option as far as I know. Changing plot_points and linewidths options doesn't seem to make any difference.

( 2013-11-23 06:00:24 -0500 )edit

@dazedANDconfused answers this piece - we should probably standardize these names...

( 2013-11-25 01:58:21 -0500 )edit

Sort by » oldest newest most voted
var('x y')
k = 8/5
eqn = sin((k*x)^2+(k*y)^2) == cos(k^2*x*y)
implicit_plot(eqn,(x,-10,10),(y,-10,10),plot_points=1000)

more

This seems to work, I rewrote it like this and got better results: f(x,y)=sin(x^2+y^2)-cos(x*y) implicit_plot(f,(x,-10,10),(y,-10,10),plot_points=3000) Still I am also looking for a way to make the lines thinner, is it possible ?

( 2013-11-23 08:52:32 -0500 )edit
2

Yes. The linewidth option works for me. The documentation is [here](http://www.sagemath.org/doc/reference/plotting/sage/plot/contour_plot.html#sage.plot.contour_plot.implicit_plot). Perhaps you haven't used it properly? Try making the last command: implicit_plot(eqn,(x,-10,10),(y,-10,10),plot_points=1000,linewidth=.1)

( 2013-11-23 09:36:57 -0500 )edit