Page 1 of 1

Question: Read and plot data [20] Edit the file “electricity.txt" used for Excel assignment. Only use rows from 1994 to

Posted: Wed May 11, 2022 9:43 pm
by answerhappygod
Question Read And Plot Data 20 Edit The File Electricity Txt Used For Excel Assignment Only Use Rows From 1994 To 1
Question Read And Plot Data 20 Edit The File Electricity Txt Used For Excel Assignment Only Use Rows From 1994 To 1 (732.7 KiB) Viewed 22 times
Question: Read and plot data [20] Edit the file “electricity.txt" used for Excel assignment. Only use rows from 1994 to 2014. Only use columns: Year, Brazil, China and Mauritius. Write an Octave script that reads in the electricity data from the modified “electricity.txt" file and plots the data as a line graph. Plot each line using a different colour. Label your X- and y-axis, "Year" and "Electricity Consumption" respectively. Include an appropriate legend. Ensure grid is displayed. Set axis range to [1993, 2015, 500, 4000). Set title to "Electricity consumption over 20 years". Electricity consumption over 20 years TEL Electricity Consumplion ņ