Last active
May 7, 2019 20:40
-
-
Save jhidding/c5cb6e78f24ec55f923ac2ec972bd9aa to your computer and use it in GitHub Desktop.
Flowery patterns using polar plots in Gnuplot
This file contains hidden or 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
# Create nice flower patterns in Gnuplot | |
set term svg | |
set output "flower.svg" | |
unset border | |
unset raxis | |
unset tics | |
unset key | |
set parametric | |
set polar | |
set trange [0:2*pi] | |
set samples 1000 | |
set size square | |
plot t+0.1*sin(30*t)**2, sin(10*t) + 0.2*cos(11*t) w filledcurves, \ | |
t+0.1*sin(30*t+10)**2, 0.8*sin(10*t+5) + 0.2*cos(11*t) w filledcurves lc '#55ff0055' | |
# Do play around with the numbers! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment