double labels on x axis on a tiledlayout plot
22 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Chidvi Modala
2021-3-12
编辑:Walter Roberson
2024-8-18,4:13
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Log Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!