result: below images show initial results.
i started by learning how to manipulate texts/annotations in matplotlib.
three points (x,y coordinates) are generated randomly, plotted with text
i applied the same logic to below plots of ‘architecture career’.
the point list is the data of the years (x,y = 0, 1880). some issues encountered are
references
texts
https://matplotlib.org/tutorials/text/text_intro.html#sphx-glr-tutorials-text-text-intro-py
https://matplotlib.org/tutorials/text/text_props.html#sphx-glr-tutorials-text-text-props-py
https://matplotlib.org/3.1.1/gallery/text_labels_and_annotations/annotation_demo.html
colors
https://matplotlib.org/3.1.0/gallery/color/named_colors.html
https://matplotlib.org/tutorials/colors/colormap-manipulation.html
https://matplotlib.org/tutorials/colors/colormaps.html
https://stackoverflow.com/questions/38208700/matplotlib-plot-lines-with-colors-through-colormap/38219022
- counting of points correctly for line plotting
- understanding of data hierarchy in excel and python
see high-res > image 1
below image shows the final result.
- plotting of points and lines in correct order
- adding of texts
- changing colour of lines, which still need improvement
see high-res > image 2
python code:
texts
https://matplotlib.org/tutorials/text/text_intro.html#sphx-glr-tutorials-text-text-intro-py
https://matplotlib.org/tutorials/text/text_props.html#sphx-glr-tutorials-text-text-props-py
https://matplotlib.org/3.1.1/gallery/text_labels_and_annotations/annotation_demo.html
colors
https://matplotlib.org/3.1.0/gallery/color/named_colors.html
https://matplotlib.org/tutorials/colors/colormap-manipulation.html
https://matplotlib.org/tutorials/colors/colormaps.html
https://stackoverflow.com/questions/38208700/matplotlib-plot-lines-with-colors-through-colormap/38219022




No comments:
Post a Comment