Custom Histogram, not filtered by occurance

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 Comments

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?
Can you attach your data plus code to read it in? Or simply the variable in a .mat file? Use the paper clip icon.

Answers (1)

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 Comment

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.

This question is closed.

Tags

Asked:

on 16 Nov 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!