Since you are new, let us show you how Trendy works.

Close-button

Price of Oil vs. Gas Prices in the United States (normalized)

  • Created by: Rob Nickerson
  • Latest result: Plot created
  • Created on: 27 Feb 2012
  • Liked: 2 times

A somewhat obvious plot showing the relationship between gas prices and oil prices.

Plot Image
% time1449 and data1449 available for use
% for Price of Oil (per barrel)
% 
% Gas Prices in the United States  (regular gas, per gallon)
%   time vector is: time1499
%   data vector is: data1499
hold all
plot(time1499,100*data1499/data1499(1))
plot(time1449,100*data1449/data1449(1))
hold off
datetick
title('The Rise of Oil and Gas Prices')
ylabel('Rate')
legend({'Gas','Oil'},...
'Location','SouthWest')
Tags:

Add Tags


0 comments