Plot data with months on X and numerical value on Y

3 Ansichten (letzte 30 Tage)
Priyadarshan Priyadarshan
Priyadarshan Priyadarshan am 5 Okt. 2022
Kommentiert: Adam Danz am 10 Nov. 2022
Hello I have an excel file with column 1 as montly data in the fromat dec,jan,feb.... and the column 2 has sales value. I have imported this matlab. but how do i plot this in bar graph ?

Antworten (1)

Eric Delgado
Eric Delgado am 5 Okt. 2022
See image below...
  5 Kommentare
Priyadarshan Priyadarshan
Priyadarshan Priyadarshan am 10 Nov. 2022
If the dates are in format mm-dd-yyyy hh:mm:ss vs value. How can I plot the graph for this? Could you please advise me on this
Adam Danz
Adam Danz am 10 Nov. 2022
if you are using datetime values, then it doesn't matter what date-time format they have when plotting. Are you asking about how to read-in datetime data.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by