as per instruction all works good till above mention time. after that when i am going to give title to current plot it will show me blank graph with title. and after that for all other option i am getting same, blank graph and particular command output.
Hi Team,What is X and Sin(x) represents inside plot(x,sin(x)) command. Could please explain.
Facing error for X lable command while Y label command work properly, kindly guide me if I doing any mistake in syntax.
hi there how we know that when to use sin and cos? and what is -pi and pi?
plot(x,sin(x),'b--,linewidth=3) File "<ipython-input-61-43923530a9ca>", line 1 plot(x,sin(x),'b--,linewidth=3) ^SyntaxError: EOL while scanning string literalWhy it is showing error with statement ?
if i want a transparent graph what all should we do to get a transparent background graph directly is their a solution.
I see this tutorial but I am not understand that it's use ? Can I draw any type of mathematical model with the help of this plot ?
In the solution to the question number 2, the answer is given as No.But it is possible to modify the alignment of the given label using **kargs of text. That means:ylabel("Y", horizontalalignment='left', verticalalignment='top')would modify the text alignment of the Y label.Then why the answer to the solution is given as No?
In following command plot(x,sin(x),'2r')What 2 signifies ?
Dotted line in graph not reflected
what is the maximum linewidth we can enter in python??
after typing xlable() and ylable() command, a name error displayed:NameError: name 'xlabel' is not defied
plot(x,sin(x),'r--',linewidth=3)in the above format we use '--' as line style.what should i do if i want to plot it using dots ' . ' or plus sign '+'.if i palce dot or plus in place of - it is dispalying an error
when i type plot(x,sin(x),'r--',linewidth=3) it is showing an error thatillegal format string "r - -";
After using plot(x,y), if i give title("graph"), a blank graph is created. How to merge the title, xlabel, ylabel with already created graph?
What is the requirement for including 'r' before the title in latex styling?
Why this command is not working annotate("local maxima" xy=(2,-1))?
what is the use of this **kwargs parameter i.e .Text properties
In [68]: title("Parabolic function -x^2+4x-5")Out[68]: Text(0.5, 1, 'Parabolic function -x^2+4x-5')
While completing the exercise given in video, I written the code plot(x,cos(x), '.',"r", linewidth=3).The output plot I obtained was of blue color rather than red.
while i give title("name") it returns an error str object not callable
52233 visits
Outline:Use Python 3.4.3 Use Ipython version 5.1.0 Modify the attributes of a plot Pass additional keyword arguments to plot command Add title to a plot using 'title' command. Incorporate LaTeX style formatting by adding a $ sign before and after the string. Label x and y axes using xlabel() and ylabel() commands. Add annotations to a plot using annotate() command. Get the limits of axes using xlim() and ylim() commands. Set the limits of axes using xlim() and ylim() commands.
Use Python 3.4.3 Use Ipython version 5.1.0 Modify the attributes of a plot Pass additional keyword arguments to plot command Add title to a plot using 'title' command. Incorporate LaTeX style formatting by adding a $ sign before and after the string. Label x and y axes using xlabel() and ylabel() commands. Add annotations to a plot using annotate() command. Get the limits of axes using xlim() and ylim() commands. Set the limits of axes using xlim() and ylim() commands.
Show video info
Pre-requisite