Answers for "change y ticks matplotlib"

3

adjust tick label size matplotlib

plt.xticks(fontsize=)
Posted by: Guest on May-11-2020
0

change the y ticks in r plot

yticks = c('A', 'B', 'C')
x = c(0, 1, 2, 3, 4, 5)
y = c(1, 2, 3, 2, 1, 3)
plot(y = y, x = x, yaxt = 'n', type='b')
axis(side = 2, at = c(1,2,3), labels = yticks)
Posted by: Guest on January-26-2021

Python Answers by Framework

Browse Popular Code Answers by Language