subplots of heatmap versus lineplots in same x-axes
3 views (last 30 days)
Show older comments
Poulomi Ganguli
on 12 Feb 2019
Answered: Naman Bhaia
on 25 Feb 2019
Hello:
I have a heat map plot at subplot(2,1,1) and a line plot at subplot(2,1,2). Both have the same x-axes. I want to show them in the same axes.
I am generating heatmaps using customizable heatmaps available at File exchange: https://de.mathworks.com/matlabcentral/fileexchange/24253-customizable-heat-maps
I wanted to use same axis available again at file exchange: https://de.mathworks.com/matlabcentral/fileexchange/7169-samexaxis-nice-subplots-with-same-x-axis
However, I couldn't achieved as desired. Could anyone help me in this?
0 Comments
Accepted Answer
Naman Bhaia
on 25 Feb 2019
Hey Poulomi,
What I understood from your question was that you want to plot both graphs overlaid one on top of another so for that you can try the ‘hold’ function.
And for any further details, you will need to contact the owner of the files you are referencing on File Exchange.
0 Comments
More Answers (0)
See Also
Categories
Find more on Data Distribution 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!