double labels on x axis on a tiledlayout plot

11 Ansichten (letzte 30 Tage)
giacomo labbri
giacomo labbri am 9 Mär. 2021
Beantwortet: Chidvi Modala am 12 Mär. 2021
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?

Antworten (1)

Chidvi Modala
Chidvi Modala am 12 Mär. 2021
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)
axtoolbar(tl, 'default')
ax1 = axes(tl)
ax2= axes(tl)
ax2.Color = 'none'
ax2.YAxis.Visible = 'off'
ax2.XAxisLocation = 'top'

Kategorien

Mehr zu Log Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by