Why do the x-tick labels overlap when I update them in a plot created using PLOTYY?
Show older comments
When I use PLOTYY to generate a figure, a subsequent change to the x-tick labels causes the new x-tick labels to overlap the old ones.
The following code demonstrates this behavior:
x=[1:10]
y1=2*x;
y2=3*x;
plotyy(x, y1, x, y2)
datetick('x',2) % modify the x-tick labels
Accepted Answer
More Answers (0)
Categories
Find more on Two y-axis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!