saving . . . saved Last Exercise Question has been deleted. Last Exercise Question has been hidden .
Last Exercise Question
##### Question
I am trying to plot the graphs. But, unable to do so. I have written down this:
In : V=linspace(21,100,500)

In : T=linspace(200,200,500)

In : subplot(2,1,1)
Out: <matplotlib.axes._subplots.AxesSubplot at 0x68a96a0>

In : plot(V,nR*200/V)
Out: [<matplotlib.lines.Line2D at 0x87563c8>]

In : subplot(2,1,2)
Out: <matplotlib.axes._subplots.AxesSubplot at 0x72fb048>

In : plot(T,nR*200/V)
Out: [<matplotlib.lines.Line2D at 0x875d358>]

In : plot(T,2.0/V) # Tried this too as I wanted to test if I'm getting wrong with formula!
Out: [<matplotlib.lines.Line2D at 0x88b7630>]

I have attached the figure which I am getting.<img align="none" alt="" src="https://drive.google.com/file/d/0ByL-q6GsJUeLYWc1cEhFQVdZTG8/view?usp=sharing" style="line-height: 1.428571429;"> <a href="https://drive.google.com/file/d/0ByL-q6GsJUeLYWc1cEhFQVdZTG8/view?usp=sharing" target="_blank" title="Plot PVT Problem">Plot PVT Problem</a>

Python Multiple-plots 17-18 min 30-40 sec 31-05-15, 8:54 a.m. mitsu.w

Hi,

If you are trying to plot the same graphs as shown in the tutorial, then the formula that you have typed are not the same as shown in the tutorial & hence the difference in the plots.
As far as the plots you are getting are concerned, there is nothing wrong with it. It has plotted according the the formula you have given in the plot command.

Please feel free to ask any more questions if it is still confusing.

01-06-15, 11:49 a.m. hardythe1