double labels on x axis on a tiledlayout plot
8 ビュー (過去 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 日
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 で Axis Labels についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!