Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Plot the composition of cycles having different radii, frequencies and phases
ResourceFunction["EpicyclePlot"][{r1,r2,…},t] plots the epicycle where the component cycle of frequency i has radius ri. | |
ResourceFunction["EpicyclePlot"][{{r1,f1},{r2,f2},…},t] plots the epicycle with component radii ri and frequencies fi. | |
ResourceFunction["EpicyclePlot"][{{r1,f1,ϕ1},{r2,f2,ϕ2},…},t] plots the epicycle with the given component radii and frequencies, with relative phases given by the ϕi. | |
ResourceFunction["EpicyclePlot"][data,t,{t0,t1}] plots the epicycle given by data at time t together with the path traced between time t0 and t1. |
A plot of epicycles with radii 1, 0.2 and 0.1 and frequencies of 1, 2 and 3:
In[1]:= |
|
Out[1]= |
|
Replot, also showing the path traced out by the composition between t=0 and t=2π:
In[2]:= |
|
Out[2]= |
|
The style of the four elements of an EpicyclePlot are controlled with "PathStyle", "SpokeStyle", "CircleStyle" and "PointStyle":
In[3]:= |
|
Out[3]= |
|
The options "PathStyle", "SpokeStyle", "CircleStyle" and "PointStyle" accept style directives:
In[4]:= |
|
Out[4]= |
|
All Graphics options are supported:
In[5]:= |
|
Out[5]= |
|
Explore loci of epicycles of radius 1/3, 1/2, 1:
In[6]:= |
|
Out[6]= |
|
This work is licensed under a Creative Commons Attribution 4.0 International License