saving . . . saved regarding the function plot has been deleted. regarding the function plot has been hidden .
regarding the function plot
Title
Question
how is it possible that a plot function works properly with a single argument and also using double arguments.
For example p=linspace(1,100,100)
plot (p,cos(p))
other way of using plot
x =linspace(-pi,pi,50)
plot(sin(x)*sin(x))/x

Python Plotting-the-data 01-02 min 0-10 sec 25-05-19, 3:15 p.m. sunanda.gupta

Answers:

For plot(y) you get plot y using x as index array 0..N-1

Please type plot? in your ipython interpreter for details on how the plot function works
25-05-19, 3:22 p.m. doke.akshen@gmail.com


Log-in to answer to this question.