matplotlib.pyplot.xticks() and matplotlib.pyplot.yticks() - Python Automation and Machine Learning for ICs - - An Online Book - |
||||||||
Python Automation and Machine Learning for ICs http://www.globalsino.com/ICs/ | ||||||||
Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix | ||||||||
================================================================================= matplotlib.pyplot.xticks(): The annotate() function is used to get and set the current tick locations and labels of the x-axis. matplotlib.pyplot.yticks(): The annotate() function is used to get and set the current tick locations and labels of the y-axis.
=============================================== labels on x-axis. Code:
=============================================== Generate a scatter plot with the first 4 characters in the headers as the x-axis and their corresponding values as the y-axis. Code:
===============================================
|
||||||||
================================================================================= | ||||||||
|
||||||||