About 1,920 results
Open links in new tab
  1. xticks - Set or query x-axis tick values - MATLAB - MathWorks

    XTick — Property that stores the x -axis tick values. XTickMode — Property that stores the x -axis tick value mode. When you set the x -axis tick values, this property changes to 'manual'.

  2. matplotlib.pyplot.xticks — Matplotlib 3.10.8 documentation

    locs The list of xtick locations. labels The list of xlabel Text objects. Notes Calling this function with no arguments (e.g. xticks()) is the pyplot equivalent of calling get_xticks and get_xticklabels on the …

  3. Set xticks Range and Interval in Matplotlib - Python Guides

    Dec 24, 2025 · If they can’t read the labels, the data doesn’t matter. You may read: Use tight_layout Colorbar and GridSpec in Matplotlib Use Matplotlib fill_between where and alpha for Data …

  4. Matplotlib.pyplot.xticks () in Python - GeeksforGeeks

    Jul 12, 2025 · matplotlib.pyplot.xticks () function is used to get or set the x-axis ticks in a plot. This function allows you to modify the labels and positions of the ticks along the x-axis, providing greater …

  5. python - How to set xticks in subplots - Stack Overflow

    If I plot a single imshow plot I can use fig, ax = plt.subplots () ax.imshow (data) plt.xticks ( [4, 14, 24], [5, 15, 25] ) to replace my xtick labels. Now, I am plotting 12 imshow plots using f, ax...

  6. How To Make X Axis Ticks In Matplotlib - blog.entomologist.net

    Feb 4, 2026 · To modify tick frequency, one can utilize two methods: matplotlib. pyplot. xticks () and matplotlib. ticker. MultipleLocator (). The xticks () function enables adjustment of tick label positions …

  7. Matplotlib xticks () in Python With Examples - Python Pool

    Dec 9, 2020 · Various ways of Implementing Matplotlib xticks () in Python Programs - setting frequency, spacing and rotation of xtick labels.

  8. How xticks and xticklabels Really Work: a Walkthrough

    Aug 17, 2021 · Getting Started Photo by Markus Winkler on Unsplash I was recently creating visualizations in Seaborn, which is based on Matplotlib, and when labeling the x-axis, I wasn’t getting …

  9. Controlling Matplotlib Ticks Frequency Using XTicks and YTicks

    Dec 15, 2020 · that can be easily accessed. Either the xticks or yticks functions take the following arguments: ticks – an array-like object of xtick

  10. Python Xticks in Python - Tpoint Tech - Java

    Mar 17, 2025 · The Parameters Used: Ticks: This argument contains a list of xtick positions. and a parameter that is optional. If an empty list is supplied as an argument, all xticks are removed. Labels: …