1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Julia言語で楕円曲線を描いて、画像出力してみる

Last updated at Posted at 2020-05-31

Juliaで楕円曲線を描いて画像出力

JuliaのパーケージPlotsを紹介

Atomを起動して次のように書く。

using Plots
gr()
using ImplicitEquations
a = -1
b = 1
f(x,y) = y^2 - x^3 - a * x - b
plot(f  0, aspect_ratio=:equal)

savefig("Elliptic curve.png")

Atomで実行してみる。

スクリーンショット 2020-05-31 13.40.43.png

出来上がり!
コメントを外すとsavefigで画像ファイルとして保存されます。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?