graph alignment problem with Plot and Stem
Show older comments
hi, i've problem to alignment plot graph with stem graph
all Data have the same size
plot(Ax_Draw,XDates,TDR1)
ST=stem(Ax_Sys,XDates,TCC2)
size(XDates)
ans =
1333 1
ans =
size(TDR1)
1333 1
ans =
size(TCC2)
1333 1
3 Comments
Dyuman Joshi
on 5 Oct 2023
Can you share the code you are working with?
shamal
on 5 Oct 2023
shamal
on 5 Oct 2023
Answers (1)
Guillaume
on 5 Oct 2023
Hello,
Maybe a matter of XLIM on your two different axes ? You can try something like
xlim(Ax_Sys, get(Ax_Draw, 'xlim'))
Categories
Find more on Graph and Network Algorithms 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!