DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python plot axis labels
ticks
=
[
0
,
1
,
2
]
labels
=
[
"a"
,
"b"
,
"c"
]
plt
.
figure
(
)
plt
.
xticks
(
ticks
,
labels
)
plt
.
show
(
)
Source by www.kite.com #
PREVIOUS
NEXT
Tagged:
#python
#plot
#axis
#labels
ADD COMMENT
Topic
COMMENT
Name
5+5 =
Submit