Jump to content

File talk:Plot 4xx4.png

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Hi. Great image. Thx. Could you give here source code ? --Adam majewski (talk) 19:41, 8 December 2008 (UTC)[reply]

Yes. It requires mpmath and matplotlib.
from mpmath import *
cplot(lambda x: sign(4**x-x**4), [-20, 20], [-20, 20], points=100000, verbose=1)
Fredrik Johansson 20:13, 8 December 2008 (UTC)[reply]



Thx. I didn't know these programs. Looks great. I will try it.

I have put sorce code on file page ( if you don't mind it ).

I'm using maxima and gnuplot. Can you compare it with your programs ?

If you like you can :

  • move it to commons ,
  • make new category ( in commons) like in gnuplot and maxima case :
    • Category:Gnuplot_diagrams
    • Category:Created with Maxima (software)
  • ad new categories to your's image page

Do you know Visualizing Conformal Maps by Michael J. Gruber ? --Adam majewski (talk) 15:58, 9 December 2008 (UTC)[reply]

I don't see a need to upload this to commons since it was just intended to answer a question on the reference desk. I'm not too familiar with gnuplot, sorry. I might have seen that web page before. Fredrik Johansson 16:47, 9 December 2008 (UTC)[reply]