Multi lined xaxis ticks for a plot

1 view (last 30 days)
I have two tables. One of size 3800x2 which corresponds to the main plot. A second table of size 3800x1 which should represent a second x-axis/ ticks for the same plot. Is it possible to add multiple x-axis ticks for a plot reading data from lists this way?

Answers (1)

NIVEDITA MAJEE on 8 Jul 2022
Hi Arcot,
You can refer to the following MathWorks documentation which shows how you can "Display Data with Multiple Scales and Axes Limits":,%3A20%3B%20y2%20%3D%20x2.
Hope this helps!




Community Treasure Hunt

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

Start Hunting!