3D Histogram/Intensity Map set the center/origin

2 views (last 30 days)
I am running a simulation of many particles starting from the center of a screen that diffuses towards the edges of the screen. I have data for the coordinates of the particles for every second, and i want to generate a histogram for all the data. But each histogram is centered differently, so I don't get a smooth transition between each picture. I am currently just using the simple command: hist3(data); How can I set the center of the histogram to (0,0) to make it constant for all my graphs?

Answers (0)

Community Treasure Hunt

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

Start Hunting!