dear sir here my plot option is not working for the t values.it shows an error msg-x and y must have same dimemsions
I am trying to plot the graphs. But, unable to do so. I have written down this:In [17]: V=linspace(21,100,500)In [18]: T=linspace(200,200,500)In [19]: subplot(2,1,1)Out[19]: <matplotlib.axes._subplots.AxesSubplot at 0x68a96a0>In [20]: plot(V,nR*200/V)Out[20]: [<matplotlib.lines.Line2D at 0x87563c8>]In [21]: subplot(2,1,2)Out[21]: <matplotlib.axes._subplots.AxesSubplot at 0x72fb048>In [22]: plot(T,nR*200/V)Out[22]: [<matplotlib.lines.Line2D at 0x875d358>]In [23]: plot(T,2.0/V) # Tried this too as I wanted to test if I'm getting wrong with formula!Out[23]: [<matplotlib.lines.Line2D at 0x88b7630>]I have attached the figure which I am getting. Plot PVT ProblemPlease let me know where I'm getting wrong. Thanks in advance!
9767 visits
Outline: Multiple plots overlays linspace give one with very few points, more points show smoothness of the curve legend figure 1, figure2 subplots
Multiple plots overlays linspace give one with very few points, more points show smoothness of the curve legend figure 1, figure2 subplots
Show video info
Pre-requisite