double labels on x axis on a tiledlayout plot

3 visualizaciones (últimos 30 días)
giacomo labbri
giacomo labbri el 9 de Mzo. de 2021
Editada: Walter Roberson el 18 de Ag. de 2024
Hi,
I would like to have two series of label on a tile in a tileled layout plot.
One axis would indicate time and another would indicate position.
How can I achive that?

Respuestas (1)

Chidvi Modala
Chidvi Modala el 12 de Mzo. de 2021
Editada: Walter Roberson el 18 de Ag. de 2024
You can put both axes in a "tiledlayout" (overlapping in the same tile), and then add the "axestoolbar" to the layout.
tl = tiledlayout(1,1)
axextoolbar(tl, 'default')
ax1 = axes(tl)
ax2= axes(tl)
ax2.Color = 'none'
ax2.YAxis.Visible = 'off'
ax2.XAxisLocation = 'top'
  1 comentario
Aliza Sloan
Aliza Sloan el 18 de Ag. de 2024
What about 2 x-axes on only one of multiple tiled subplots?

Iniciar sesión para comentar.

Categorías

Más información sobre Axes Appearance en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by