<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Python-3.4.3%2FC2%2FMultiple-plots%2FEnglish-timed</id>
		<title>Python-3.4.3/C2/Multiple-plots/English-timed - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Python-3.4.3%2FC2%2FMultiple-plots%2FEnglish-timed"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Python-3.4.3/C2/Multiple-plots/English-timed&amp;action=history"/>
		<updated>2026-04-10T04:36:53Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Python-3.4.3/C2/Multiple-plots/English-timed&amp;diff=47776&amp;oldid=prev</id>
		<title>Sandhya.np14 at 12:23, 12 June 2019</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Python-3.4.3/C2/Multiple-plots/English-timed&amp;diff=47776&amp;oldid=prev"/>
				<updated>2019-06-12T12:23:16Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://script.spoken-tutorial.org/index.php?title=Python-3.4.3/C2/Multiple-plots/English-timed&amp;amp;diff=47776&amp;amp;oldid=47736&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Sandhya.np14</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Python-3.4.3/C2/Multiple-plots/English-timed&amp;diff=47736&amp;oldid=prev</id>
		<title>PoojaMoolya at 05:22, 11 June 2019</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Python-3.4.3/C2/Multiple-plots/English-timed&amp;diff=47736&amp;oldid=prev"/>
				<updated>2019-06-11T05:22:03Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 05:22, 11 June 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 120:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 120:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 03:01&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 03:01&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| To &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/del&gt;distinguish&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/del&gt;between two '''overlaid plots''' we use the '''legend command.''' &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| To distinguish between two '''overlaid plots''' we use the '''legend command.''' &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 235:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 235:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| All the''' plot commands '''we run hereafter are applied to the selected '''plot'''. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| All the''' plot commands '''we run hereafter are applied to the selected '''plot'''. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this '''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;example, &lt;/del&gt;figure''' 1 is the '''sine plot''' and '''figure''' 2 is the '''cosine''' '''plot'''. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;example, &lt;/ins&gt;'''figure''' 1 is the '''sine plot''' and '''figure''' 2 is the '''cosine''' '''plot'''. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>PoojaMoolya</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Python-3.4.3/C2/Multiple-plots/English-timed&amp;diff=47597&amp;oldid=prev</id>
		<title>PoojaMoolya: Created page with &quot; {| border=1 | &lt;center&gt;'''Time'''&lt;/center&gt;  | &lt;center&gt;'''Narration'''&lt;/center&gt;   |-  | 00:01 | Hello Friends. Welcome to the spoken tutorial on &quot;'''Multiple plots'''&quot;.   |-  |...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Python-3.4.3/C2/Multiple-plots/English-timed&amp;diff=47597&amp;oldid=prev"/>
				<updated>2019-05-29T12:59:11Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; {| border=1 | &amp;lt;center&amp;gt;&amp;#039;&amp;#039;&amp;#039;Time&amp;#039;&amp;#039;&amp;#039;&amp;lt;/center&amp;gt;  | &amp;lt;center&amp;gt;&amp;#039;&amp;#039;&amp;#039;Narration&amp;#039;&amp;#039;&amp;#039;&amp;lt;/center&amp;gt;   |-  | 00:01 | Hello Friends. Welcome to the spoken tutorial on &amp;quot;&amp;#039;&amp;#039;&amp;#039;Multiple plots&amp;#039;&amp;#039;&amp;#039;&amp;quot;.   |-  |...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
{| border=1&lt;br /&gt;
| &amp;lt;center&amp;gt;'''Time'''&amp;lt;/center&amp;gt; &lt;br /&gt;
| &amp;lt;center&amp;gt;'''Narration'''&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:01&lt;br /&gt;
| Hello Friends. Welcome to the spoken tutorial on &amp;quot;'''Multiple plots'''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:07&lt;br /&gt;
| At the end of this tutorial, you will be able to, &lt;br /&gt;
&lt;br /&gt;
Draw multiple '''plots''' which are '''overlaid'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:15&lt;br /&gt;
|  Use the '''figure command'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:17&lt;br /&gt;
|  Use the '''legend command'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:20&lt;br /&gt;
|  Switch between the '''plots''' and perform some '''operations''' on each of them like saving the '''plots'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:28&lt;br /&gt;
| To record this tutorial, I am using '''Ubuntu Linux 14.04''' operating system &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:36&lt;br /&gt;
|  '''Python 3.4.3''' &lt;br /&gt;
&lt;br /&gt;
'''IPython 5.1.0''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:42&lt;br /&gt;
| To practise this tutorial, you should know how to use '''Plots''' interactively &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:49&lt;br /&gt;
|  Embellish a '''plot''' &lt;br /&gt;
&lt;br /&gt;
Save''' plots''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:53&lt;br /&gt;
| If not, see the pre-requisite '''Python '''tutorials on this website. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:59&lt;br /&gt;
| Let us first open the '''Terminal '''by pressing '''Ctrl+Alt+T '''keys simultaneously. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:07&lt;br /&gt;
| Now, type '''ipython3''' and press '''Enter'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:13&lt;br /&gt;
| Let us initialise the '''pylab package'''. &lt;br /&gt;
&lt;br /&gt;
Type '''percentage pylab '''and press''' Enter.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:21&lt;br /&gt;
| Let us create set of '''points''' for our '''plot '''by using the '''command linspace''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:29&lt;br /&gt;
| Type '''x equals to linspace''' inside the '''brackets 0 comma 50 comma 10''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:39&lt;br /&gt;
| Now let us draw a simple '''sine curve''' using these '''points.''' &lt;br /&gt;
&lt;br /&gt;
Type '''plot''' inside the '''brackets x comma sin(x)''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:51&lt;br /&gt;
| As we can see, this '''sine curve''' is not a '''smooth curve. '''  What really caused this? &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:59&lt;br /&gt;
| This happened because we selected few '''points''' that is 10 for this large '''interval''' of 0 to 50. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:08&lt;br /&gt;
| '''Plot function''' does not '''plot''' the '''analytical function.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:12&lt;br /&gt;
| It plots the '''points''' given by the '''analytical function'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:17&lt;br /&gt;
| Now, let us use '''linspace command''' to get 500 points between 0 and 50 and draw the '''sine curve''' again. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:29&lt;br /&gt;
| Type '''y equals to linspace''' inside the '''brackets 0 comma 50 comma 500.''' &lt;br /&gt;
 &lt;br /&gt;
|- &lt;br /&gt;
| 02:39&lt;br /&gt;
| '''plot''' inside the '''brackets y comma sin(y)''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:45&lt;br /&gt;
| Now we see a '''sine curve''' with a '''smooth curve'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:50&lt;br /&gt;
| Notice we will also have two '''plots''' one '''overlaid''' upon another. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:56&lt;br /&gt;
| In '''pylab''', by default all the '''plots''' are '''overlaid'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:01&lt;br /&gt;
| To '''distinguish''' between two '''overlaid plots''' we use the '''legend command.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:07&lt;br /&gt;
| Type '''legend''' inside the '''brackets square brackets sin(x) comma sin(y).''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:16&lt;br /&gt;
| The '''legend command''' takes '''parameter '''as a '''list''' of '''strings.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:21&lt;br /&gt;
| Then it assigns '''strings''' to''' plots''' in the order they were created. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:27&lt;br /&gt;
| Now we can see the '''legends''' being '''displayed''' for the '''two sine curves '''on the '''plot area'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:34&lt;br /&gt;
| In the '''IPython terminal''' now type '''clf()''' to clear the '''plot''' window. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:41&lt;br /&gt;
| Pause the video. Try this exercise and then resume the video. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:46&lt;br /&gt;
| Draw two '''plots''' first '''plot''' being a '''parabola''' of the form '''y equals to 4x square''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:56&lt;br /&gt;
| and the second being a '''straight line''' of the form '''y equals to 2x plus 3''' in the '''interval''' '''minus '''5 to 5. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:05&lt;br /&gt;
| Use '''legends''' to indicate what each '''plot''' is doing. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:11&lt;br /&gt;
| Switch to the terminal for solution. &lt;br /&gt;
&lt;br /&gt;
Type '''x is equal to linspace''' inside the '''brackets minus 5 comma 5 comma 100''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:25&lt;br /&gt;
| We can obtain the two '''plots''' in different '''colours''' using the following '''commands'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:31&lt;br /&gt;
| '''plot''' inside the '''brackets x comma 4 multiplied by''' inside the '''brackets x multiplied by x. ''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:42&lt;br /&gt;
| '''plot''' inside the '''brackets x comma 2 multiplied by x plus 3''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:50&lt;br /&gt;
| Now, we will add a '''legend''' to identify the '''plots'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:55&lt;br /&gt;
| Type '''legend''' inside the '''brackets''' inside '''square brackets r''' inside '''inverted commas dollar y is equal to 4 x square dollar comma r''' inside '''inverted commas dollar y equals to 2x plus 3 dollar. ''' &lt;br /&gt;
|- &lt;br /&gt;
| 05:19&lt;br /&gt;
| We can see the '''legend''' added to the '''plot'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:24&lt;br /&gt;
| Next we will learn to '''switch''' between the '''plots''' and perform '''operations''' such as saving the '''plots''' etc. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:33&lt;br /&gt;
| Let us see how to accomplish this. But before we move on, let us clear our screen. &lt;br /&gt;
&lt;br /&gt;
Type '''clf()''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:43&lt;br /&gt;
| Type '''x equals to linspace''' inside the '''brackets 0 comma 50 comma 500 ''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:53&lt;br /&gt;
| To accomplish more control over '''individual plots''' we use the '''figure command ''' &lt;br /&gt;
&lt;br /&gt;
Type &lt;br /&gt;
&lt;br /&gt;
'''figure(1)''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:03&lt;br /&gt;
| '''plot''' inside the '''brackets x comma sin(x) comma inside inverted commas b''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:12&lt;br /&gt;
| '''figure(2)''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:14&lt;br /&gt;
| '''plot''' inside the '''brackets x comma cos(x) comma inside inverted commas g''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:24&lt;br /&gt;
| Now we have two''' plots''', a '''sine curve '''and a '''cosine curve''' in two different '''figures'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:33&lt;br /&gt;
| The '''figure command''' takes an '''integer''' as an '''argument. ''' &lt;br /&gt;
&lt;br /&gt;
This is''' '''the '''serial number''' of the '''plot''' to select corresponding '''plot'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:43&lt;br /&gt;
| All the''' plot commands '''we run hereafter are applied to the selected '''plot'''. &lt;br /&gt;
&lt;br /&gt;
In this '''example, figure''' 1 is the '''sine plot''' and '''figure''' 2 is the '''cosine''' '''plot'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:56&lt;br /&gt;
| For example, we can '''save''' each''' plot '''separately. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:01&lt;br /&gt;
| Type '''title''' inside '''brackets''' inside '''inverted commas cos(x)''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:09&lt;br /&gt;
| '''savefig''' inside the '''brackets''' inside '''inverted commas cosine.png''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:18&lt;br /&gt;
| '''figure(1)''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:21&lt;br /&gt;
| '''title''' inside the '''brackets''' inside '''inverted commas sin(x)''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:28&lt;br /&gt;
|'''savefig''' inside the '''brackets''' inside '''inverted commas sine.png''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:36&lt;br /&gt;
| The figures will be saved in current working directory. &lt;br /&gt;
&lt;br /&gt;
Now close both the '''plot''' windows. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:44&lt;br /&gt;
| Pause the video.Try this exercise and then resume the video. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:49&lt;br /&gt;
| Draw a line of the form '''y equals to x''' as one '''figure''' and another line of the form '''y is equal to 2x plus 3'''. &lt;br /&gt;
&lt;br /&gt;
Save each of them. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 08:05&lt;br /&gt;
| Switch to the '''terminal''' for solution. &lt;br /&gt;
&lt;br /&gt;
To solve this problem we will use the '''figure command''' to create first '''plotting area''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 08:15&lt;br /&gt;
|Type &lt;br /&gt;
&lt;br /&gt;
'''figure(1) ''' &lt;br /&gt;
&lt;br /&gt;
'''x equals to linspace''' inside the '''brackets minus 5 comma 5 comma 100''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 08:29&lt;br /&gt;
|'''plot''' inside the '''brackets x comma x''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 08:35&lt;br /&gt;
| Now use the '''figure command''' to create second '''plotting area''' and '''plot '''the''' figure''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 08:43&lt;br /&gt;
|Type &lt;br /&gt;
&lt;br /&gt;
'''figure(2) ''' &lt;br /&gt;
 &lt;br /&gt;
'''plot''' inside the '''brackets x comma 2x plus 3''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|08:56&lt;br /&gt;
| We will save the '''figure''' as follows. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 08:59&lt;br /&gt;
|Type &lt;br /&gt;
&lt;br /&gt;
'''figure(1)''' &lt;br /&gt;
&lt;br /&gt;
'''savefig''' inside '''brackets''' inside '''inverted commas plot1.png ''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 09:11&lt;br /&gt;
|'''figure(2)''' &lt;br /&gt;
&lt;br /&gt;
'''savefig''' inside '''brackets''' inside '''inverted commas plot2.png''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 09:23&lt;br /&gt;
| This brings us to the end of this tutorial. In this tutorial, we have learnt to,&lt;br /&gt;
&lt;br /&gt;
Draw '''multiple plots''' which are '''overlaid'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 09:33&lt;br /&gt;
| Use the '''figure command'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 09:35&lt;br /&gt;
|Use the '''legend command. ''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 09:38&lt;br /&gt;
| Switch between the '''plots''' and perform some '''operations''' on each of them like saving the '''plots'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 09:46&lt;br /&gt;
| Here are some self assessment questions for you to solve &lt;br /&gt;
&lt;br /&gt;
What '''command''' is used to get individual '''plots''' separately? &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 09:55&lt;br /&gt;
| What will be the '''command''' to identify '''sine''' and '''cosine curve'''? &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 10:00&lt;br /&gt;
| And the answers,&lt;br /&gt;
&lt;br /&gt;
The '''command &amp;quot;figure()&amp;quot;''' can get us the individual '''plots''' separately. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 10:07&lt;br /&gt;
|The legend command  '''legend''' inside the '''brackets''' inside '''square brackets''' inside '''inverted commas sin(x) comma inside inverted commas cos(x)''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 10:21&lt;br /&gt;
| Please post your timed queries in this forum. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|10:26&lt;br /&gt;
| Please post your general queries on Python in this forum. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 10:31&lt;br /&gt;
| FOSSEE team coordinates the TBC project. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 10:35&lt;br /&gt;
| Spoken-tutorial is funded by NMEICT, MHRD, Govt. of India. &lt;br /&gt;
&lt;br /&gt;
For more details, visit this website. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 10:45&lt;br /&gt;
| This is Usha from IIT Bombay signing off. Thank You &lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>PoojaMoolya</name></author>	</entry>

	</feed>