Question: Read and plot data [20] Edit the file “electricity.txt" used for Excel assignment. Only use rows from 1994 to
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Question: Read and plot data [20] Edit the file “electricity.txt" used for Excel assignment. Only use rows from 1994 to
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 ņ
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!