brief description: to create a comparative line plot of famous architects using multiple variables – year of birth, year in which one seminal work was completed and year of death. a plot showing progression of architecture career.
progress update > three methods. Seaborn vs. Pandas vs. Matplotlib
1. Seaborn
the plot using Seaborn Point Plot, sns.pointplot(). the table on the right shows data organization in excel.
python code using Seaborn:
2. Pandas
the plot using Pandas Parallel Coordinates, pd.plotting.parallel_coordinates().
the table on the right shows data organization in excel.
python code using Pandas:
3. Matplotlib
the plot using Matplotlib, ax.plot().
the table on the right shows data organization in excel.
python code using Matplotlib:
i adapted the code I found online. at the moment, i don’t fully understand how it works. but i managed to understand the basic idea. the plot is done in segments and stitched back together. below image shows the subplots.
No comments:
Post a Comment