Last active
December 29, 2015 09:39
-
-
Save kaz-utashiro/7651536 to your computer and use it in GitHub Desktop.
Golden Ratio Superellipse by Gnuplot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set border lw 0.1 | |
set samples 1000 | |
set title "x^2.8 + (y/1.6)^2.8 = 1" | |
n = 2.8 | |
h = 1.6 | |
unset key | |
set size ratio h | |
set xr[0:1.0] | |
set yr[0:h] | |
plot 1.6 * (1 - abs(x)**n)**(1.0/n) lw 2 lc rgb "black" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment