Multiple plots  English
 Questions posted on Forums
 Python Tutorials  English

formula t
dear sir here my plot option is not working for the t values.it shows an error msgx and y must have same dimemsions
0607M 4050SAug. 23, 2019, 6:06 p.m. ManishaSugandhi

Last Exercise Question
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!
1718M 3040SAug. 23, 2019, 7:11 p.m. mitsu.w

1Getting started with ipython

2Using the plot command interactively

3Embellishing a plot

4Saving plots

Multiple plots

6Additional features of IPython

7loading data from files

8Plotting the data

9Other types of plots

10Getting started with sage notebook

11Getting started with symbolics

12Using Sage

13Using sage to teach

14Getting started with lists

15Getting started with for

16Getting started with strings

17Getting started with files

18Parsing data

19Statistics

20Getting started with arrays

21Accessing parts of arrays

22Matrices

23Least square fit

24Basic datatypes and operators

25I O

26Conditionals

27Loops

28Manipulating lists

29Manipulating strings

30Getting started with tuples

31Dictionaries

32Sets

33Getting started with functions

34Advanced features of functions

35Using python modules

36Writing python scripts

37Testing and debugging
Questions posted on ST Forums:
8187 visits
Outline:
Multiple plots overlays linspace give one with very few points, more points show smoothness of the curve legend figure 1, figure2 subplots
Width:  608  Height:  480 

Duration:  00:20:30  Size:  12.7 MB 
Show video info