Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Custom Histogram, not filtered by occurance

1 view (last 30 days)
Richard Youden
Richard Youden on 16 Nov 2018
Closed: MATLAB Answer Bot on 20 Aug 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 Comments
Rik
Rik on 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 on 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.

Answers (1)

Richard Youden
Richard Youden on 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 Comment
Rik
Rik on 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.

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!