MATLAB Answers

subplots of heatmap versus lineplots in same x-axes

4 views (last 30 days)
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
However, I couldn't achieved as desired. Could anyone help me in this?

  0 Comments

Sign in to comment.

Accepted Answer

Naman Bhaia
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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!