Plot data with months on X and numerical value on Y

5 vues (au cours des 30 derniers jours)
Priyadarshan Priyadarshan
Commenté : Adam Danz le 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 ?

Réponses (1)

Eric Delgado
Eric Delgado le 5 Oct 2022
See image below...
  5 commentaires
Priyadarshan Priyadarshan
Priyadarshan Priyadarshan le 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 le 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.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by