Ideas for presenting data vs. two variables,
62 views (last 30 days)
Show older comments
Noob
on 30 Dec 2024 at 16:05
Commented: Noob
on 1 Jan 2025 at 12:17
Hi there!
I currently have a beautiful figure that presents data vs. two variables. I went from using Matlab's subplot function to using tiledLayout. I have six tiles. To present data vs. two variables, I use the x-axis for one variable, and I use colors for the second variable. For colors, I use a Matlab colormap and customized it a tad, adding a color to the beginning of the spectrum. tiledLayout lets me use a global colorbar, which is great. I have a seventh plot, which is a separate quiver plot to show the associated vector arrows on an object, and I use Adobe Illustrator to merge this seventh plot with the six tiles. If I wanted to present this data in another way, what would be a good way to do it?
A little while back, I made 3D surface plots in Matlab, using the x- and y-axes for the two variables. However, while the surfaces looked super pretty the communication of information wasn't so great, perhaps. I am revisiting surface plots today, but this time I might choose different variables to use for the x- and y-axes. For 2D plotting, I am using a simplified version of a mathematical model I cooked up. So, each tile has 11 evenly-spaced curves. The curves are simple in shape: think sines and cosines, smooth v-shapes, inverted v-shapes, circles, etc. For instance, one tile might have 11 circles, all positioned differently and sized differently as I sweep through the variables / parameters. Another tile might have 11 sine curves, and these curves might increase or decrease in amplitude, but the frequency appears to be mostly unchanged, and the periodicity appears unchanged.
Thanks in advance,
8 Comments
Accepted Answer
KALYAN ACHARJYA
on 30 Dec 2024 at 16:17
Combining 2D contour plots with superimposed vector fields could be a fantastic alternate strategy. To ensure clarity while maintaining visual effect, you can utilize the x- and y-axes for two variables and contour levels (with a colormap) for the third.
More Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!