Ask Your Question

Implicit plotting accuracy

asked 2013-11-23 05:01:36 -0600

aspras gravatar image

updated 2017-01-08 05:18:27 -0600

FrédéricC gravatar image

I am trying to plot this implicit function image description

What I get is image description

Is there a way to make the curves thinner ?

edit retag flag offensive 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.

kcrisman gravatar imagekcrisman ( 2013-11-23 05:52:47 -0600 )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.

aspras gravatar imageaspras ( 2013-11-23 06:00:24 -0600 )edit

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

kcrisman gravatar imagekcrisman ( 2013-11-25 01:58:21 -0600 )edit

1 answer

Sort by » oldest newest most voted

answered 2013-11-23 06:59:58 -0600

ndomes gravatar image

updated 2013-11-23 08:32:02 -0600

var('x y')
k = 8/5
eqn = sin((k*x)^2+(k*y)^2) == cos(k^2*x*y)
edit flag offensive delete link 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 ?

aspras gravatar imageaspras ( 2013-11-23 08:52:32 -0600 )edit

Yes. The linewidth option works for me. The documentation is [here]( 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)

dazedANDconfused gravatar imagedazedANDconfused ( 2013-11-23 09:36:57 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-11-23 05:01:36 -0600

Seen: 329 times

Last updated: Nov 23 '13