<?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=R%2FC2%2FPlotting-Histograms-and-Pie-Chart%2FEnglish-timed</id>
		<title>R/C2/Plotting-Histograms-and-Pie-Chart/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=R%2FC2%2FPlotting-Histograms-and-Pie-Chart%2FEnglish-timed"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Plotting-Histograms-and-Pie-Chart/English-timed&amp;action=history"/>
		<updated>2026-04-23T19:45:13Z</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=R/C2/Plotting-Histograms-and-Pie-Chart/English-timed&amp;diff=52502&amp;oldid=prev</id>
		<title>Sakinashaikh at 11:03, 5 June 2020</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Plotting-Histograms-and-Pie-Chart/English-timed&amp;diff=52502&amp;oldid=prev"/>
				<updated>2020-06-05T11:03:02Z</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 11:03, 5 June 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 359:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 359:&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;|-&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;|-&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;|| 07:33&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;|| 07:33&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;|| &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Cose &lt;/del&gt;this 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;|| &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Close &lt;/ins&gt;this 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;|-&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;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sakinashaikh</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=R/C2/Plotting-Histograms-and-Pie-Chart/English-timed&amp;diff=52144&amp;oldid=prev</id>
		<title>Sakinashaikh: Created page with &quot;  {| border =1 |'''Time''' |'''Narration'''  |- || 00:01  || Welcome to the spoken tutorial on '''Plotting Histograms and Pie Chart. '''  |- || 00:08 || In this tutorial, we w...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Plotting-Histograms-and-Pie-Chart/English-timed&amp;diff=52144&amp;oldid=prev"/>
				<updated>2020-05-22T10:44:24Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;  {| border =1 |&amp;#039;&amp;#039;&amp;#039;Time&amp;#039;&amp;#039;&amp;#039; |&amp;#039;&amp;#039;&amp;#039;Narration&amp;#039;&amp;#039;&amp;#039;  |- || 00:01  || Welcome to the spoken tutorial on &amp;#039;&amp;#039;&amp;#039;Plotting Histograms and Pie Chart. &amp;#039;&amp;#039;&amp;#039;  |- || 00:08 || In this tutorial, we w...&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;
&lt;br /&gt;
{| border =1&lt;br /&gt;
|'''Time'''&lt;br /&gt;
|'''Narration'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:01 &lt;br /&gt;
|| Welcome to the spoken tutorial on '''Plotting Histograms and Pie Chart. '''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:08&lt;br /&gt;
|| In this tutorial, we will learn how to: &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:12&lt;br /&gt;
|| Plot '''histograms'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:15 &lt;br /&gt;
|| Plot '''pie chart'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:18&lt;br /&gt;
|| Save plots&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:21 &lt;br /&gt;
|| To understand this tutorial, you should know, &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:25 &lt;br /&gt;
|| '''Data frames''' in '''R'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:28 &lt;br /&gt;
|| Basics of Statistics &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:31 &lt;br /&gt;
|| If not, please locate the relevant tutorials on '''R''' on this website.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:39 &lt;br /&gt;
|| This tutorial is recorded on&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:43 &lt;br /&gt;
|| '''Ubuntu Linux '''OS version '''16.04'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:48 &lt;br /&gt;
|| '''R''' version '''3.4.4'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:52 &lt;br /&gt;
|| '''RStudio''' version '''1.1.456'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:58 &lt;br /&gt;
|| Install '''R''' version '''3.2.0''' or higher. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:04&lt;br /&gt;
|| For this tutorial, we will use&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:07&lt;br /&gt;
||  A '''data frame moviesData.csv'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:12 &lt;br /&gt;
||  A '''script file myPlots.R'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:17&lt;br /&gt;
|| Please download these files from the '''Code files''' link of this tutorial. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:24&lt;br /&gt;
|| I have downloaded and moved these files to '''Plots''' folder. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:30&lt;br /&gt;
|| This folder is located in '''myProject''' folder on my '''Desktop'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:36&lt;br /&gt;
|| I have also set this folder as my '''Working Directory.''' &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:42&lt;br /&gt;
|| Let us switch to '''Rstudio'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:46&lt;br /&gt;
|| Open the '''script myPlots.R '''in''' RStudio'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:52&lt;br /&gt;
|| Run this '''script''' by clicking on '''Source''' button. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:58&lt;br /&gt;
|| '''movies data frame''' opens in the '''Source''' window. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:03&lt;br /&gt;
|| This '''data frame''' has 600 rows and 31 columns. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:09&lt;br /&gt;
|| It means this '''data frame''' has 600 '''observations''' of 31 '''variables'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:17&lt;br /&gt;
|| To know about more this '''dataframe,''' please refer to the''' Additional Material section '''on this website.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:25&lt;br /&gt;
|| In the '''Source''' window, scroll from left to right to see the remaining '''objects''' of '''movies data frame'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:34&lt;br /&gt;
|| Now we will learn how to plot a '''histogram''' of the '''object''' named '''runtime '''in '''movies'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:42&lt;br /&gt;
|| A '''histogram''' is &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:44&lt;br /&gt;
|| A visual representation of the distribution of a '''dataset'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:49&lt;br /&gt;
|| Used to plot the frequency of score occurrences in a continuous '''dataset'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:56&lt;br /&gt;
|| Let us switch to '''RStudio'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||02:59&lt;br /&gt;
|| Click on the '''script myPlots.R'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:04&lt;br /&gt;
|| In the '''Source''' window, type '''hist''', within parentheses '''movies''' dollar sign '''runtime'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:13&lt;br /&gt;
|| Save the '''script''' and run the current line by pressing '''Run '''button. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:20&lt;br /&gt;
|| The '''histogram''' appears in the '''Plots''' window. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:24&lt;br /&gt;
|| Click on '''Zoom''' to maximize this plot. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:29&lt;br /&gt;
|| In the '''histogram''' there are 9 '''bins'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:33&lt;br /&gt;
|| Height of a '''bin''' represents the number of observations lying in that interval.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:40&lt;br /&gt;
|| Now, we will learn how to add labels to this '''histogram'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:46&lt;br /&gt;
|| Also, we will change the color of '''bins''' in this '''histogram'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:51&lt;br /&gt;
|| For this, we will add more '''arguments''' to the '''hist function'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:56&lt;br /&gt;
|| Close the '''histogram'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:59&lt;br /&gt;
|| In the '''Source''' window, type the following '''command'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:04&lt;br /&gt;
|| Here, we have used the following '''arguments''':&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:08&lt;br /&gt;
||  '''main''' for adding title to the '''histogram''' &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:12&lt;br /&gt;
||  '''xlab''' for adding label to the x axis &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:17&lt;br /&gt;
|| '''xlim''' to set the range of values on x axis &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:23&lt;br /&gt;
|| '''col''' to set the color of '''bins''' &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:28&lt;br /&gt;
|| Run the current line. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:31&lt;br /&gt;
|| In the '''Files''' and '''Plots''' window, click on '''Zoom''' to maximize the plot. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:38&lt;br /&gt;
|| The labels and the title of '''histogram''' have been changed. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:44&lt;br /&gt;
|| We can observe that most of the movies have the runtime of around 75 to 125 minutes. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:53&lt;br /&gt;
|| Now we will modify the number of '''breaks''' in the '''histogram'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:58&lt;br /&gt;
|| We can make the groups finer or coarser by modifying the number of '''breaks.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:05&lt;br /&gt;
|| Close this plot. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:08&lt;br /&gt;
|| Let us add '''breaks argument''' in '''hist function''' and set it to 4. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:15&lt;br /&gt;
|| In the '''Source''' window, type the following '''command'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:20&lt;br /&gt;
|| Save the '''script''' and run the current line. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:25&lt;br /&gt;
|| In the '''Files''' and '''Plots''' window, click on '''Zoom''' to maximize the plot. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:31&lt;br /&gt;
|| Now, there are five '''bins''' in the '''histogram'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:35&lt;br /&gt;
|| Remember we had set '''breaks''' to be 4. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:40&lt;br /&gt;
|| Close the plot. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:43&lt;br /&gt;
|| In the '''Source''' window, click on '''movies'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:47&lt;br /&gt;
|| I am scrolling from right to left. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:52&lt;br /&gt;
|| Now, we will learn how to create a '''pie chart''' from the '''object genre''' in the '''movies data  frame'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:00&lt;br /&gt;
|| A '''pie chart''' is &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:02&lt;br /&gt;
|| A circular chart. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:04&lt;br /&gt;
|| Divided into wedge-like sectors, illustrating proportion. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:10&lt;br /&gt;
|| The total value of the '''pie''' is always 100 percent.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:15&lt;br /&gt;
|| Let us switch to '''RStudio'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:18&lt;br /&gt;
|| First, we will make a table of the number of different '''genres'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:24&lt;br /&gt;
|| For this, we use '''table function'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:28&lt;br /&gt;
|| Click on the '''script myPlots.R'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:32&lt;br /&gt;
|| In the '''Source''' window, type the following '''command'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:36&lt;br /&gt;
|| Run the last two lines. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:40&lt;br /&gt;
|| We can see that there are 65 movies in '''Action &amp;amp; Adventure''' and 87 movies in '''Comedy'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:49&lt;br /&gt;
|| Now, we draw a '''pie chart''' with '''genreCount'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:54&lt;br /&gt;
|| Click on the '''script myPlots.R'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:58&lt;br /&gt;
|| In the '''Source''' window, type '''pie''' within parentheses '''genreCount'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:05&lt;br /&gt;
|| Run the current line. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:08&lt;br /&gt;
|| The '''pie chart''' appears in the '''Plots''' window. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:12&lt;br /&gt;
|| Click on '''Zoom''' to maximize this '''pie chart'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:17&lt;br /&gt;
|| We can see that '''Drama''' has largest share of '''movies'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:23&lt;br /&gt;
|| Now, we will change the color of border in this '''pie chart'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:28&lt;br /&gt;
|| For this, we will add more '''arguments''' to the '''pie function'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:33&lt;br /&gt;
|| Cose this plot. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:36&lt;br /&gt;
|| In the '''Source''' window, type the following '''command'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:40&lt;br /&gt;
|| Save the script and run the current line. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:45&lt;br /&gt;
|| The modified '''pie chart''' appears in the '''Plots''' window. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:50&lt;br /&gt;
|| Click on '''Zoom''' to maximize the plot.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:54&lt;br /&gt;
|| Now, we will learn how to save this '''pie chart''' as an image on our computer. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:01&lt;br /&gt;
|| Close this plot. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:03&lt;br /&gt;
|| I am resizing the '''Files''' and '''Plots''' window. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:08&lt;br /&gt;
|| In the '''Plots''' window, click on '''Export'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:12&lt;br /&gt;
|| From the drop-down menu, select '''Save as Image. '''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:17&lt;br /&gt;
|| A window named '''Save Plot as Image''' appears. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:22&lt;br /&gt;
|| You can select the format in which you want to save your image. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:28&lt;br /&gt;
|| I am saving it in '''JPEG''' format. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||08:33&lt;br /&gt;
|| Below the '''Image format''' option, you can select the directory where you want to save your image. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:41&lt;br /&gt;
|| By default, '''RStudio''' will save the image in the directory where the '''script''' has been placed. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:49&lt;br /&gt;
|| I will save the image in this folder. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:53&lt;br /&gt;
|| Below the directory, in the field '''File name''', you can write the name of the image to be saved. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:03&lt;br /&gt;
|| I am saving the image with the name '''pieChart''' with capital '''C'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:09&lt;br /&gt;
|| In the top right corner of this window, you can modify the dimensions of this image. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:17&lt;br /&gt;
|| I am setting the width to 650. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:21&lt;br /&gt;
|| Please make sure that '''Maintain aspect ratio''' is checked. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:26&lt;br /&gt;
|| Below '''Maintain aspect ratio''', click on '''Update Preview''' button. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:32&lt;br /&gt;
|| The image with larger dimensions is shown. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:37&lt;br /&gt;
|| Finally, click on '''Save'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:41&lt;br /&gt;
|| I am resizing the '''Files''' and '''Plots''' window. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:46&lt;br /&gt;
|| Now, click on the '''Files''' tab. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:50&lt;br /&gt;
|| The image '''pieChart.jpeg''' has been saved in the '''Plots''' folder.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:57&lt;br /&gt;
|| Click on this image to see the saved '''pie chart'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:03&lt;br /&gt;
|| Let us summarize what we have learnt.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:07&lt;br /&gt;
|| In this tutorial, we have learnt how to:&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:12&lt;br /&gt;
|| Plot '''histograms''' &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:15&lt;br /&gt;
|| Plot '''pie chart'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:18&lt;br /&gt;
|| Save plots&lt;br /&gt;
|-&lt;br /&gt;
||10:21&lt;br /&gt;
|| We now suggest an assignment.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:25&lt;br /&gt;
|| Read the file '''moviesData.csv'''. Create a '''histogram''' of the '''object''' named '''imdb_num_votes''' in this file. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:41&lt;br /&gt;
|| Create a '''pie chart''' of the '''object mpaa_rating'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:48&lt;br /&gt;
|| Save both the plots. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:51&lt;br /&gt;
|| The video at the following link summarises the Spoken Tutorial project.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:56&lt;br /&gt;
||Please download and watch it.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:00&lt;br /&gt;
|| We conduct workshops using Spoken Tutorials and give certificates.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:06&lt;br /&gt;
||Please contact us.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:09&lt;br /&gt;
|| Please post your timed queries in this forum.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:14&lt;br /&gt;
|| Please post your general queries in this forum.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:19&lt;br /&gt;
|| The '''FOSSEE '''team coordinates the '''TBC '''project.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:23&lt;br /&gt;
||For more details, please visit these sites.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:27&lt;br /&gt;
|| The Spoken Tutorial project is funded by NMEICT, MHRD, Govt. of India&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:34&lt;br /&gt;
|| The script for this tutorial was contributed by Tushar Bajaj (TISS Mumbai).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:42&lt;br /&gt;
||This is Sudhakar Kumar from IIT Bombay signing off. Thanks for watching.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Sakinashaikh</name></author>	</entry>

	</feed>