graph alignment problem with Plot and Stem
4 views (last 30 days)
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
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'))
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!