Combine contour plot with Histogram

3 visualizaciones (últimos 30 días)
Clayton
Clayton el 22 de Oct. de 2013
Comentada: Image Analyst el 22 de Oct. de 2013
I have two maps that I need to combine and plot in matlab. The first is an elevation map of land. I made a contour plot of the land. I have a second map that displays gas pockets of the land. I need to make a histogram of the gas pockets and combine it with the contour map. I can do each part seperatly but don't know how to combine the two graphs.

Respuestas (1)

Image Analyst
Image Analyst el 22 de Oct. de 2013
I don't know how you would either. All spatial information is lost when you make a histogram from the elevation image, so how could the histogram be on the same image as the elevation image and make sense? Why do you think that you need to combine these? I suggest you don't combine them unless you mean just to put the elevation as either a surface or image with contour lines, and the histogram in an axes next to it.
  5 comentarios
Clayton
Clayton el 22 de Oct. de 2013
I got some clarification. THe histogram is essential a bar graph. It would show say you drill down to 500 feet. then a gas pocket is uner that of 200 feet. SO the bar would start at 500 feet and go to 700 feet. I would be dividing my map into a grid and averaging the data in the block.
Image Analyst
Image Analyst el 22 de Oct. de 2013
A bar chart is not always a histogram, so don't call every bar chart a histogram. In fact the bar chart you mention is not a histogram. A histogram is a frequency of occurrence. I'm not even sure how you would represent bars over an image like how you want it. Do you want a bar at every single pixel? That would be too crowded that you wouldn't be able to see anything at all - the thousands or millions of bars would all obscure each other.

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by