Plots
%% Plot Function
clear;
clc;
fplot('x^2 + x^3',[-10,10],':r');
%% multiple graphs in the same plot
clear;
clc;
a = xlsread('C:\Users\PGDM Test\Desktop\Gold_data.xlsx');
nifty = a(:,2);
gold = a(:,3);
plot(nifty);
hold on;
plot(gold);
nifty = a(:,2);
gold = a(:,3);
subplot(1,2,1);
plot(nifty);
subplot(1,2,2);
plot(gold);