File:FatTrifolium.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 1,000 × 1,000 pixels, file size: 472 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: Flower with 3 petals. Fat trifolium curves. One single folium curve with different radii, and it's 2 rotation images ( 1/3 and 2/3
Date
Source Own work
Author Adam majewski
Other versions
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Gnuplot.
 
 This plot uses embedded text that can be easily translated using a text editor.
Source code
InfoField

Gnuplot code

/*

Batch file for Maxima CAS
save as a o.mac
run maxima :
       
 maxima
 
and then : 

batch("a.mac");

*/
kill(all);
remvalue(all);
ratprint:false; /*  It doesn't change the computing, just the warnings. */
display2d:false;
numer: true;





/* 

folium curve
https://www.mathcurve.com/courbes2d.gb/foliumsimple/foliumsimple.shtml

r = a* cos^3(t)

with rotation 
https://math.stackexchange.com/questions/154743/how-to-rotate-a-polar-equation 

*/

FoliumCurve_Polar(a,rotation):= 
	/* polar(radius, ang, minang, maxang) */
	polar(a*(sin(t + rotation))^3,t,0,2*%pi)$
	
	

FoliumCurves_Polar(aMin, aMax, aStep):= block(

	[a,l, ll],
	ll:[],
	for a:aMin step aStep thru aMax do (
		l:FoliumCurve_Polar(a, 0),
		ll: cons(l,ll),
		l:FoliumCurve_Polar(a, 2*%pi/3),
		ll: cons(l,ll) ,
		l:FoliumCurve_Polar(a, 4*%pi/3),
		ll: cons(l,ll)  
		 
	),
	
	return (ll)


)$




ll:FoliumCurves_Polar(1, 20, 0.5)$


load(draw);

/* strings */
path:"~/c/julia/parabolic/hawaian/3/"$ /*  if empty then file is in a home dir , path should end with "/" */ 
FileName:  "FatTrifolium"$


draw2d(
	terminal      = svg,
	file_name = sconcat(path, FileName,""),
	title = "Fat trifolium curves ",
	dimensions = [1000, 1000], 
	nticks=300,
	ll)$

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current17:52, 6 December 2018Thumbnail for version as of 17:52, 6 December 20181,000 × 1,000 (472 KB)Soul windsurfer (talk | contribs)User created page with UploadWizard

Metadata