Q. Write a program to add titles for the X-axis, Y-axis and for the whole chart in above codes.
Answer :-
import matplotlib.pyplot as plt import numpy as np A = np.arange(2, 20, 2) B = np.log(A) plt.plot(A, B) plt.xlabel("Number") plt.ylabel("Log of Number") plt. show()
Output :-
Where is the answer of question no. 1 it's not given, you have skipped it . Please can you post answer of question no 1
ReplyDeletePlease tell me question.
DeleteAbout b and c
ReplyDeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )