Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Plot a given number of periods of a periodic function
ResourceFunction["FunctionPeriodPlot"][f,x] plots one period of a periodic function f of x. | |
ResourceFunction["FunctionPeriodPlot"][f,x,n] plots n periods of a periodic function f of x. |
"PeriodAlignment" | Center | determine where to align the period relative to the starting point using the values Left,Right or Center |
"StartingPoint" | 0 | where to start plotting the period |
Plot a single period of a periodic function:
In[1]:= |
Out[1]= |
Plot two periods of a periodic function:
In[2]:= |
Out[2]= |
Use "StartingPoint" to determine the base point and "PeriodAlignment" to determine whether or not to plot the period(s) centered around, to the right of or to the left of that point:
In[3]:= |
Out[3]= |
FunctionPeriodPlot returns unevaluated when the input expression is not periodic:
In[4]:= |
Out[4]= |
This work is licensed under a Creative Commons Attribution 4.0 International License