matplotlib command and Format: Tick scale Object Command collection

Source: Internet
Author: User
Tags scalar

Detailed reference official documents: http://matplotlib.org/api/axis_api.html

Tick Objects Class Matplotlib.axis. Tick (axes, loc, label, Size=none, Width=none, Color=none, Tickdir=none, Pad=none, Labelsize=none, Labelcolor=no NE, Zorder=none, Gridon=none, Tick1on=true, Tick2on=true, Label1on=true, Label2on=false, Major=true, labelrotation =0) Abstract base class for the axis ticks, grid lines and labels 1 refers to the bottom of the plot for Xticks and the L EFT for YTICKS2 refers to the "top of" plot for Xticks Yticks publicly accessible e a line2d instance tick2line a line2d instance gridline a line2d instance Label1 a text instance label2 a text instance g Ridon A Boolean which determines whether to draw the Tickline tick1on a Boolean which determines whether to draw the 1st T Ickline Tick2on A Boolean which determines whether to draw the 2nd Tickline label1on A Boolean which determines whether to Draw Tick Label Label2on A Boolean which determines whether to draw tick label Bbox are the bound2d bounding box in Display coords of the axesloc is the tick location in data coordssize be the tick size in points
Class Matplotlib.axis. XTick (axes, loc, label, Size=none, Width=none, Color=none, Tickdir=none, Pad=none, Labelsize=none, labelcolor=n One, Zorder=none, Gridon=none, Tick1on=true, Tick2on=true, Label1on=true, Label2on=false, Major=true, Labelrotatio n=0) Contains The artists needed to make a x tick-the tick line,the label text and the grid line Bbox is the Bound 2d bounding box in display coords of the Axesloc are the tick location in data coordssize are the tick size in points
Class Matplotlib.axis. Ytick (axes, loc, label, Size=none, Width=none, Color=none, Tickdir=none, Pad=none, Labelsize=none, labelcolor=n One, Zorder=none, Gridon=none, Tick1on=true, Tick2on=true, Label1on=true, Label2on=false, Major=true, Labelrotatio n=0) Contains The artists needed to make a Y tick-the tick line,the label text and the grid line Bbox is the Bound2 D bounding box in display coords of the Axesloc are the tick location in data coordssize are the tick size in points

Tick.apply_tickdir Calculate Self._pad and Self._tickmarkers
Tick.get_loc Return the tick location (data coords) as a scalar
Tick.get_pad Get the value of the tick label pad in points
Tick.get_pad_pixels
Tick.get_tick_padding Get the length of the tick outside of the axes.
Tick.get_tickdir
Tick.get_view_interval Return to the View Interval instance for the axis this tick is ticking
Tick.set_label1 Set the text of Ticklabel
Common and inherited methods XTick
Xtick.apply_tickdir
Xtick.get_loc Return the tick location (data coords) as a scalar
Xtick.get_pad Get the value of the tick label pad in points
Xtick.get_pad_pixels
Xtick.get_tick_padding Get the length of the tick outside of the axes.
Xtick.get_tickdir
Xtick.get_view_interval Return to the Interval instance for this axis view limits
Xtick.set_label1 Set the text of Ticklabel
Ytick td> get the value of the tick label pad in points
ytick.apply_tickdir  
ytick.get_loc /td> return the tick location (data coords) as a scalar
ytick.get_pad
ytick.get_pad_pixels &nbs P;
ytick.get_tick_padding Get the length of the tick outside of the axes.
ytick.get_tickdir  
ytick.get_view_interval return the Interval instance for this axis view limits

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.