Multi lined xaxis ticks for a plot

조회 수: 1 (최근 30일)
Arcot Manjunath Shreepal
Arcot Manjunath Shreepal 2022년 7월 8일
답변: NIVEDITA MAJEE 2022년 7월 8일
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?

답변 (1개)

NIVEDITA MAJEE
NIVEDITA MAJEE 2022년 7월 8일
Hi Arcot,
You can refer to the following MathWorks documentation which shows how you can "Display Data with Multiple Scales and Axes Limits": https://in.mathworks.com/help/matlab/creating_plots/graph-with-multiple-x-axes-and-y-axes.html#:~:text=For%20example%2C%20you%20can%20create,%3A20%3B%20y2%20%3D%20x2.
Hope this helps!

카테고리

Help CenterFile Exchange에서 Grid Lines, Tick Values, and Labels에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by