Why is my priceandvol chart not showing all the values? how do i label the price chart and the volume chart? how do i get dates on the price chart?

1 visualizzazione (ultimi 30 giorni)
clear
clc
walmart = xlsread('WMT_Daily_Returns3.xlsx');
dateconvert=x2mdate(walmart, 0, 'datetime');
priceandvol(walmart(:,2:end));
xlabel('Date')
ylabel('Volume')
dateaxis('X', 12, min(walmart(:,1)))
title('Walmart Stock Price and Volume')
legend('Volume of Shares')

Risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by