Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Custom Histogram, not filtered by occurance

1 vue (au cours des 30 derniers jours)
Richard Youden
Richard Youden le 16 Nov 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
Looking for some advice here on analysing my data using a histogram.
I have a large set of data which is a 2-D array of temperature and distance tarvelled in that sample. I can easily create a histogram showing the duration spend at each temperature. What I'm looking to do is create a second histogram showing how far was travelled at each temperature.
Any pointers would be great.
Thanks.
  2 commentaires
Rik
Rik le 16 Nov 2018
If you already have a 2D array with you desired data, what is your question? Do you want to know how to plot a 2D bar plot? Are you looking for histogram2?
Image Analyst
Image Analyst le 16 Nov 2018
Can you attach your data plus code to read it in? Or simply the variable in a .mat file? Use the paper clip icon.

Réponses (1)

Richard Youden
Richard Youden le 16 Nov 2018
Ah yeah, it's probably the histogram2 command. I knew I'd seen something like that before, let me do some digging and see if that's what I need.
Thanks
  1 commentaire
Rik
Rik le 16 Nov 2018
This is not really an answer, but a comment. Please only post answers that solve your issue completely in the answer field and put the rest in a comment. The order of answers can change, which might be confusing for future readers.

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by