Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Visualize a lifetime in weeks or months
ResourceFunction["LifetimeChart"][] charts a human lifetime as a grid of weeks. | |
ResourceFunction["LifetimeChart"][age] charts a human lifetime grid for a human of a given age. |
Appearance | "Vertical" | may be either "Horizontal" or "Vertical" |
"FutureStyle" | Automatic | styling Directive for grid items in future |
"Granularity" | "Week" | chart by "Week", "Month", or "Year" |
"Grouped" | True | add spacing to show groups of 40⨯10 items |
"PastStyle" | Automatic | styling Directive for grid items in past |
"Shape" | "Square" | specifies the grid item to use ("Disk" or "Square") |
Spacings | 1 | scale the spacings of charted items |
Chart a life in months (a row is 3-years):
In[1]:= |
Out[1]= |
Set the option "Granularity"→"Month" to chart by months:
In[2]:= |
Out[2]= |
Set the option "Granularity"→"Year" to chart by years:
In[3]:= |
In[4]:= |
Out[4]= |
Plot a life in weeks (a row is a year) with custom styling and layout:
In[5]:= |
Out[5]= |
Use an inverted color scheme and horizontal layout:
In[6]:= |
Out[6]= |
Setting the Magnification option will decrease resolution of an exported "PDF":
In[7]:= |
In[8]:= |
Out[8]= |
Charting in "Years" may result in seemingly extra weeks (one year is 365/7 weeks):
In[9]:= |
Out[9]= |
This work is licensed under a Creative Commons Attribution 4.0 International License