Question:I have two two-dimensional arrays with data, these arrays have the same dimension. Arrays are saved to a file
Example of an array:
Could you tell me please, how can I use some graph to show the difference between these two arrays? You can offer any type of chart. I would like something like
thank you very much!
Answer:I don’t think a 3D scatterplot will help you to see the difference between the two data files, but if you nevertheless want to show the data in a scatterplot you can do it as follows:
However, as I wrote in the comment above, I’d recommend using
matshowwith a diverging colormap to show the difference of the two arrays:
Or, if you don’t like differences, you can show both arrays side by side:
a2in one plot with different colors
a2in two wireframe plots
a2in one wireframe plot
If you have better answer, please add a comment about this, thank you!